Ejemplo n.º 1
0
 // Token: 0x06000265 RID: 613 RVA: 0x00013948 File Offset: 0x00011B48
 private static void gmGmkStopperStay_Slot(OBS_OBJECT_WORK obj_work)
 {
     AppMain.ObjDrawObjectActionSet3DNNMaterial(obj_work, 0);
     obj_work.disp_flag &= 4294967279U;
     obj_work.disp_flag |= 4U;
     obj_work.ppFunc     = AppMain.gmGmkStopperStay_Slot_100;
     GmCamera.AllowSet(15f, 56f, 0f);
 }
Ejemplo n.º 2
0
 // Token: 0x06000262 RID: 610 RVA: 0x00013710 File Offset: 0x00011910
 private static void gmGmkStopperStay_Norm(OBS_OBJECT_WORK obj_work)
 {
     AppMain.GMS_GMK_STOPPER_WORK gms_GMK_STOPPER_WORK = (AppMain.GMS_GMK_STOPPER_WORK)obj_work;
     AppMain.ObjDrawObjectActionSet3DNNMaterial(obj_work, 0);
     obj_work.disp_flag &= 4294967279U;
     obj_work.disp_flag |= 4U;
     gms_GMK_STOPPER_WORK.player_pass_timer = 143;
     obj_work.ppFunc = AppMain.gmGmkStopperStay_Norm_100;
     GmCamera.AllowSet(15f, 32f, 0f);
 }
 // Token: 0x06001258 RID: 4696 RVA: 0x000A06EC File Offset: 0x0009E8EC
 public static void GmEndingStart()
 {
     AppMain.g_gm_main_system.game_flag |= 8388608U;
     AppMain.GmFixSetDispEx(false, false, false, true, false);
     AppMain.gm_ending_tcb = AppMain.MTM_TASK_MAKE_TCB(AppMain.gmEndingCtrl, null, 0U, 0, 18448U, 5, () => new AppMain.GMS_ENDING_WORK(), "ENDING_CTRL");
     AppMain.GMS_ENDING_WORK gms_ENDING_WORK = (AppMain.GMS_ENDING_WORK)AppMain.gm_ending_tcb.work;
     gms_ENDING_WORK.step  = 0;
     gms_ENDING_WORK.flag  = 1U;
     gms_ENDING_WORK.timer = 16U;
     GmCamera.AllowSet(0f, 50f, 0f);
     AppMain.g_gm_main_system.map_fcol.bottom = AppMain.g_gm_main_system.map_fcol.bottom - 32;
 }
Ejemplo n.º 4
0
    // Token: 0x06001235 RID: 4661 RVA: 0x0009F254 File Offset: 0x0009D454
    private static void gmGmkDrainTankOutMainReady(OBS_OBJECT_WORK obj_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;

        AppMain.GMS_GMK_DRAIN_TANK_OUT_WORK gms_GMK_DRAIN_TANK_OUT_WORK = (AppMain.GMS_GMK_DRAIN_TANK_OUT_WORK)obj_work;
        if ((gms_PLAYER_WORK.player_flag & 1024U) != 0U)
        {
            AppMain.gmGmkDrainTankOutUpdateDie(obj_work);
            int num = (int)AppMain.FX_FX32_TO_F32(gms_GMK_DRAIN_TANK_OUT_WORK.base_pos_x);
            num /= 64;
            num -= 3;
            num *= 262144;
            if (obj_work2.pos.x < num)
            {
                AppMain.g_gm_main_system.game_flag |= 8192U;
            }
            obj_work.spd.x = 0;
            obj_work.spd.y = 0;
            return;
        }
        if (AppMain.gmGmkDrainTankOutCheckDeleteTask(obj_work, 1843200, 1228800))
        {
            AppMain.gmGmkDrainTankOutRequestDeleteTask(obj_work);
            return;
        }
        int num2 = (int)(AppMain.gmGmkDrainTankGameSystemGetWaterLevel() * 4096);

        if (num2 + 196608 < obj_work2.pos.y)
        {
            AppMain.gmGmkDrainTankOutChangeModeWait(obj_work);
            gms_GMK_DRAIN_TANK_OUT_WORK.flag_dir_left = AppMain.gmGmkDrainTankOutCheckDirLeft(obj_work, obj_work2);
            int x = obj_work2.spd.x;
            AppMain.GmPlySeqInitDrainTank(gms_PLAYER_WORK);
            gms_GMK_DRAIN_TANK_OUT_WORK.player_offset_x += x * 5;
            AppMain.gmGmkDrainTankOutUpdateCameraOffset(gms_PLAYER_WORK, gms_GMK_DRAIN_TANK_OUT_WORK);
            GmCamera.AllowSet(10f, 10f, 10f);
        }
    }