// Token: 0x06001233 RID: 4659 RVA: 0x0009F0E8 File Offset: 0x0009D2E8 private static void gmGmkDrainTankOutChangeModeSplash(OBS_OBJECT_WORK obj_work) { AppMain.GMS_ENEMY_3D_WORK gms_ENEMY_3D_WORK = (AppMain.GMS_ENEMY_3D_WORK)obj_work; AppMain.GMS_GMK_DRAIN_TANK_OUT_WORK gms_GMK_DRAIN_TANK_OUT_WORK = (AppMain.GMS_GMK_DRAIN_TANK_OUT_WORK)gms_ENEMY_3D_WORK; GMS_PLAYER_WORK gms_PLAYER_WORK = AppMain.g_gm_main_system.ply_work[(int)((UIntPtr)0)]; OBS_OBJECT_WORK obj_work2 = gms_PLAYER_WORK.obj_work; if (gms_GMK_DRAIN_TANK_OUT_WORK.flag_dir_left) { obj_work2.spd.x = -65536; } else { obj_work2.spd.x = 65536; } obj_work2.pos.y = obj_work.pos.y; obj_work2.move_flag |= 256U; GmPlayer.BreathingSet(gms_PLAYER_WORK); obj_work.move_flag |= 256U; AppMain.g_gm_main_system.game_flag |= 8192U; AppMain.GmEventMgrLocalEventBirth(305, obj_work.pos.x, obj_work.pos.y + 65536, gms_ENEMY_3D_WORK.ene_com.eve_rec.flag, gms_ENEMY_3D_WORK.ene_com.eve_rec.left, gms_ENEMY_3D_WORK.ene_com.eve_rec.top, gms_ENEMY_3D_WORK.ene_com.eve_rec.width, gms_ENEMY_3D_WORK.ene_com.eve_rec.height, 0); GmSound.PlaySE("Fluid2"); AppMain.GMM_PAD_VIB_SMALL(); GmPlayer.CameraOffsetSet(gms_PLAYER_WORK, 0, 0); GmCamera.AllowReset(); obj_work.ppFunc = AppMain.gmGmkDrainTankOutMainSplash; }
// Token: 0x06001238 RID: 4664 RVA: 0x0009F600 File Offset: 0x0009D800 private static void gmGmkDrainTankOutMainSplash(OBS_OBJECT_WORK obj_work) { GMS_PLAYER_WORK gms_PLAYER_WORK = AppMain.g_gm_main_system.ply_work[(int)((UIntPtr)0)]; if ((gms_PLAYER_WORK.player_flag & 1024U) != 0U) { AppMain.gmGmkDrainTankOutUpdateDie(obj_work); return; } if (AppMain.gmGmkDrainTankOutCheckDeleteTask(obj_work, 1638400, 1228800)) { AppMain.gmGmkDrainTankOutRequestDeleteTask(obj_work); return; } AppMain.GMS_GMK_DRAIN_TANK_OUT_WORK gms_GMK_DRAIN_TANK_OUT_WORK = (AppMain.GMS_GMK_DRAIN_TANK_OUT_WORK)obj_work; OBS_OBJECT_WORK obj_work2 = gms_PLAYER_WORK.obj_work; AppMain.GmWaterSurfaceRequestAddWatarLevel(0.001f, 0, true); OBS_CAMERA obs_CAMERA = ObjCamera.Get(0); obs_CAMERA.roll = gms_GMK_DRAIN_TANK_OUT_WORK.camera_roll; if (gms_GMK_DRAIN_TANK_OUT_WORK.base_pos_x < obj_work2.pos.x) { obj_work2.move_flag |= 128U; obj_work2.move_flag &= 4294967039U; obj_work2.spd.x = 65536; obj_work2.spd_add.x = -896; GmPlayer.CameraOffsetSet(gms_PLAYER_WORK, 0, 0); GmCamera.AllowReset(); AppMain.gmGmkDrainTankOutChangeModeEnd(obj_work); } }
// Token: 0x0600122F RID: 4655 RVA: 0x0009EFE0 File Offset: 0x0009D1E0 private static void gmGmkDrainTankOutRequestDeleteTask(OBS_OBJECT_WORK obj_work) { GMS_PLAYER_WORK ply_work = AppMain.g_gm_main_system.ply_work[(int)((UIntPtr)0)]; GmPlayer.CameraOffsetSet(ply_work, 0, 0); GmCamera.AllowReset(); AppMain.GmWaterSurfaceRequestChangeWaterLevel(ushort.MaxValue, 0, false); obj_work.ppFunc = AppMain.gmGmkDrainTankOutMainWaitDelete; }