// Token: 0x0600205E RID: 8286 RVA: 0x0013E21C File Offset: 0x0013C41C
        private void fadeInStart()
        {
            uint num = 0U;

            while ((ulong)num < (ulong)((long)AppMain.CMain.c_local_create_action_table.Length))
            {
                AppMain.CMain.SLocalCreateActionTable slocalCreateActionTable = AppMain.CMain.c_local_create_action_table[(int)((UIntPtr)num)];
                A2S_AMA_HEADER        ama     = A2S.readAMAFile(this.m_file[(int)slocalCreateActionTable.file]);
                AppMain.CMain.SAction saction = this.m_act[(int)((UIntPtr)num)];
                saction.act     = AppMain.AoActCreate(ama, (uint)slocalCreateActionTable.idx);
                saction.tex     = this.m_tex[(int)((UIntPtr)slocalCreateActionTable.tex)];
                saction.flag[0] = true;
                saction.AcmInit();
                num += 1U;
            }
            uint num2 = 0U;

            while ((ulong)num2 < (ulong)((long)AppMain.CMain.c_local_create_trg_table.Length))
            {
                AppMain.CMain.SAction saction2     = this.m_act[(int)AppMain.CMain.c_local_create_trg_table[(int)((UIntPtr)num2)]];
                CTrgAoAction          ctrgAoAction = this.m_trg[(int)((UIntPtr)num2)];
                ctrgAoAction.Create(saction2.act);
                num2 += 1U;
            }
            AppMain.IzFadeInitEasy(0U, 0U, 30f);
            this.m_flag[7] = true;
            this.m_pTaskLink.AttachTask("dmBuyScreen::Execute", AppMain.c_priority, AppMain.c_user, AppMain.c_attribute);
            base.SetProc(this.fadeIn);
        }
Exemple #2
0
 // Token: 0x060017BD RID: 6077 RVA: 0x000D26FC File Offset: 0x000D08FC
 private static void dmManualProcCreateAct(AppMain.DMS_MANUAL_MAIN_WORK main_work)
 {
     for (uint num = 0U; num <= 13U; num += 1U)
     {
         A2S_AMA_HEADER      ama = AppMain.dm_manual_ama[0];
         AppMain.AOS_TEXTURE tex = AppMain.dm_manual_tex[0];
         AppMain.AoActSetTexture(AppMain.AoTexGetTexList(tex));
         main_work.act[( int )(( UIntPtr )num)] = AppMain.AoActCreate(ama, AppMain.g_dm_act_id_tbl_m[( int )(( UIntPtr )num)]);
     }
     for (uint num2 = 10U; num2 <= 11U; num2 += 1U)
     {
         main_work.trg_btn[( int )(( UIntPtr )(num2 - 10U))].Create(main_work.act[( int )(( UIntPtr )num2)]);
     }
     main_work.trg_return.Create(main_work.act[13]);
     for (uint num3 = 119U; num3 <= 120U; num3 += 1U)
     {
         A2S_AMA_HEADER      ama = AppMain.dm_manual_ama[1];
         AppMain.AOS_TEXTURE tex = AppMain.dm_manual_tex[1];
         AppMain.AoActSetTexture(AppMain.AoTexGetTexList(tex));
         main_work.act[( int )(( UIntPtr )num3)] = AppMain.AoActCreate(ama, AppMain.g_dm_act_id_tbl_m[( int )(( UIntPtr )num3)]);
     }
     main_work.proc_update = AppMain.dmManualProcFadeIn;
     main_work.proc_draw   = AppMain.dmManualProcActDraw;
     if (AppMain.dm_manual_is_pause_maingame)
     {
         AppMain.IzFadeInitEasyColor(0, 32767, 61439, 18U, 0U, 0U, 32f, true);
         return;
     }
     AppMain.IzFadeInitEasy(0U, 0U, 32f);
 }
    // Token: 0x060007CA RID: 1994 RVA: 0x00044D04 File Offset: 0x00042F04
    private void dmLogoSegaActionCreate(AppMain.DMS_LOGO_SEGA_WORK logo_work)
    {
        A2S_AMA_HEADER ama = A2S.readAMAFile(AmBind.Get(AppMain.dm_logo_sega_data[4], 0));

        for (uint num = 0U; num < 8U; num += 1U)
        {
            AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_logo_sega_aos_tex[( int )AppMain.dm_logo_sega_tex_id_tbl[( int )(( UIntPtr )num)]]));
            logo_work.act[( int )(( UIntPtr )num)] = AppMain.AoActCreate(ama, num);
        }
    }
Exemple #4
0
    // Token: 0x060009AC RID: 2476 RVA: 0x00056CFC File Offset: 0x00054EFC
    public void dmLogoSonicActionCreate(AppMain.DMS_LOGO_SONIC_WORK logo_work)
    {
        A2S_AMA_HEADER ama = A2S.readAMAFile(AmBind.Get(AppMain.dm_logo_sonic_data[0], 0));

        for (uint num = 0U; num < 2U; num += 1U)
        {
            AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_logo_sonic_aos_tex[(int)AppMain.dm_logo_sonic_tex_id_tbl[(int)((UIntPtr)num)]]));
            logo_work.act[(int)((UIntPtr)num)] = AppMain.AoActCreate(ama, num);
        }
    }
Exemple #5
0
    // Token: 0x060018D5 RID: 6357 RVA: 0x000E28D8 File Offset: 0x000E0AD8
    private void dmTitleOpCreateAction(AppMain.DMS_TITLEOP_MGR_WORK top_mgr_work)
    {
        string         text = null;
        A2S_AMA_HEADER ama  = A2S.readAMAFile(AmBind.Get(AppMain.dm_titleop_data[1], 0, out text));

        for (uint num = 0U; num < 7U; num += 1U)
        {
            AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_titleop_aos_tex[0]));
            top_mgr_work.act[( int )(( UIntPtr )num)] = AppMain.AoActCreate(ama, num);
        }
        top_mgr_work.flag |= 2147483648U;
    }
Exemple #6
0
    // Token: 0x06001972 RID: 6514 RVA: 0x000E5F80 File Offset: 0x000E4180
    public static void ObjAction2dAMALoad(AppMain.OBS_ACTION2D_AMA_WORK obj_2d, AppMain.OBS_DATA_WORK data_work, string filename, int index, AMS_AMB_HEADER archive, AMS_AMB_HEADER amb_tex, uint id, int type_node)
    {
        A2S_AMA_HEADER a2S_AMA_HEADER = null;

        AppMain.ObjAction2dAMAWorkInit(obj_2d);
        if (archive != null)
        {
            obj_2d.flag |= 2147483648U;
        }
        if (filename != null)
        {
            a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataLoad(data_work, filename, archive));
            if (archive != null && a2S_AMA_HEADER == null)
            {
                obj_2d.flag   &= 2147483647U;
                a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataLoad(data_work, filename, null));
            }
        }
        else if (archive != null)
        {
            a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataLoadAmbIndex(data_work, index, archive));
            if (a2S_AMA_HEADER == null)
            {
                obj_2d.flag &= 2147483647U;
            }
        }
        else if (data_work != null)
        {
            a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataGetInc(data_work));
        }
        if (a2S_AMA_HEADER == null)
        {
            return;
        }
        obj_2d.ama = a2S_AMA_HEADER;
        if (data_work != null)
        {
            obj_2d.ama_data_work = data_work;
        }
        obj_2d.type_node = type_node;
        obj_2d.act_id    = id;
        AppMain.AoTexBuild(obj_2d.ao_tex, amb_tex);
        AppMain.AoTexLoad(obj_2d.ao_tex);
        obj_2d.flag |= 1073741824U;
        obj_2d.flag &= 3758096383U;
    }
Exemple #7
0
    // Token: 0x06001974 RID: 6516 RVA: 0x000E60DC File Offset: 0x000E42DC
    public static void ObjAction2dAMALoadSetTexlist(AppMain.OBS_ACTION2D_AMA_WORK obj_2d, AppMain.OBS_DATA_WORK data_work, string filename, int index, AMS_AMB_HEADER archive, AppMain.NNS_TEXLIST texlist, uint id, int type_node)
    {
        A2S_AMA_HEADER a2S_AMA_HEADER = null;

        AppMain.ObjAction2dAMAWorkInit(obj_2d);
        if (archive != null)
        {
            obj_2d.flag |= 2147483648U;
        }
        if (filename != null)
        {
            a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataLoad(data_work, filename, archive));
            if (archive != null && a2S_AMA_HEADER == null)
            {
                obj_2d.flag   &= 2147483647U;
                a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataLoad(data_work, filename, null));
            }
        }
        else if (archive != null)
        {
            a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataLoadAmbIndex(data_work, index, archive));
            if (a2S_AMA_HEADER == null)
            {
                obj_2d.flag &= 2147483647U;
            }
        }
        else if (data_work != null)
        {
            a2S_AMA_HEADER = A2S.readAMAFile(AppMain.ObjDataGetInc(data_work));
        }
        if (a2S_AMA_HEADER == null)
        {
            return;
        }
        obj_2d.ama = a2S_AMA_HEADER;
        if (data_work != null)
        {
            obj_2d.ama_data_work = data_work;
        }
        obj_2d.type_node = type_node;
        obj_2d.act_id    = id;
        obj_2d.texlist   = texlist;
        obj_2d.flag     |= 536870912U;
        AppMain.ObjAction2dAMACreate(obj_2d);
    }
Exemple #8
0
 // Token: 0x06002554 RID: 9556 RVA: 0x0014C6F8 File Offset: 0x0014A8F8
 private void fadeInStart(int prio)
 {
     if (!AppMain.CMain_PauseMenu.canGoStageSelect())
     {
         AppMain.CMain_PauseMenu.local_create_action_table[11].idx = 2;
         AppMain.CMain_PauseMenu.local_create_action_table[14].idx = 7;
     }
     else
     {
         AppMain.CMain_PauseMenu.local_create_action_table[11].idx = 1;
         AppMain.CMain_PauseMenu.local_create_action_table[14].idx = 5;
     }
     if (AppMain.CMain_PauseMenu.isSpecialStage())
     {
         AppMain.CMain_PauseMenu.local_create_action_table[13].idx = 6;
     }
     else
     {
         AppMain.CMain_PauseMenu.local_create_action_table[13].idx = 4;
     }
     for (int i = 0; i < 17; i++)
     {
         AppMain.CMain_PauseMenu.SLocalCreateActionTable slocalCreateActionTable = AppMain.CMain_PauseMenu.local_create_action_table[i];
         A2S_AMA_HEADER ama = (A2S_AMA_HEADER)this.m_file[slocalCreateActionTable.file];
         AppMain.CMain_PauseMenu.SAction saction = this.m_act[i];
         saction.act     = AppMain.AoActCreate(ama, ( uint )slocalCreateActionTable.idx);
         saction.tex     = this.m_tex[slocalCreateActionTable.tex];
         saction.flag[0] = true;
         saction.flag[1] = true;
         saction.AcmInit();
     }
     for (int j = 0; j < 3; j++)
     {
         AppMain.CMain_PauseMenu.SAction saction2 = this.m_act[AppMain.CMain_PauseMenu.c_local_create_trg_table[j]];
         CTrgAoAction ctrgAoAction = this.m_trg[j];
         ctrgAoAction.Create(saction2.act);
     }
     this.m_flag[7]        = true;
     this.m_act[0].flag[1] = false;
     this.m_act[0].scale   = new Vector2(0f, 0f);
     this.m_se_handle      = GsSound.AllocSeHandle();
     base.AttachTask("gmPauseMenu.Execute", ( uint )prio, 0U, 0U);
     this.playSe(0);
     this.m_procCount.SetProc(this.fadeIn);
 }
    // Token: 0x060009C8 RID: 2504 RVA: 0x0005742C File Offset: 0x0005562C
    private static void dmLoadingProcCreateAct(AppMain.DMS_LOADING_MAIN_WORK main_work)
    {
        for (uint num = 0U; num < 8U; num += 1U)
        {
            A2S_AMA_HEADER      ama = AppMain.dm_loading_ama[0];
            AppMain.AOS_TEXTURE tex = AppMain.dm_loading_tex[0];
            AppMain.AoActSetTexture(AppMain.AoTexGetTexList(tex));
            main_work.act[(int)((UIntPtr)num)] =
                AppMain.AoActCreate(ama, AppMain.g_dm_act_id_tbl_loading[(int)((UIntPtr)num)]);
        }

        main_work.proc_update = AppMain.dmLoadingProcFadeIn;
        main_work.proc_draw   = AppMain.dmLoadingProcActDraw;
        if (main_work.is_maingame_load)
        {
            AppMain.IzFadeInitEasy(0U, 0U, 32f);
            return;
        }

        AppMain.IzFadeInitEasy(0U, 0U, 16f);
    }
Exemple #10
0
    // Token: 0x060017C7 RID: 6087 RVA: 0x000D3048 File Offset: 0x000D1248
    private static void dmManualPageDraw(AppMain.DMS_MANUAL_MAIN_WORK main_work)
    {
        AppMain.AoActSysSetDrawTaskPrio(8192U);
        int  cur_disp_page = main_work.cur_disp_page;
        int  num           = AppMain.dm_manual_disp_act_cmn_tbl[cur_disp_page][0];
        int  num2          = AppMain.dm_manual_disp_act_cmn_tbl[cur_disp_page][1];
        int  num3          = AppMain.dm_manual_disp_act_lang_tbl[cur_disp_page][0];
        int  num4          = AppMain.dm_manual_disp_act_lang_tbl[cur_disp_page][1];
        bool flag          = main_work.cur_disp_page_prev != main_work.cur_disp_page;

        if (flag && 0 <= main_work.cur_disp_page_prev)
        {
            for (int i = AppMain.dm_manual_disp_act_cmn_tbl[main_work.cur_disp_page_prev][0]; i <= AppMain.dm_manual_disp_act_cmn_tbl[main_work.cur_disp_page_prev][1]; i++)
            {
                AppMain.AoActDelete(main_work.act[i]);
                main_work.act[i] = null;
            }
            for (int j = AppMain.dm_manual_disp_act_lang_tbl[main_work.cur_disp_page_prev][0]; j <= AppMain.dm_manual_disp_act_lang_tbl[main_work.cur_disp_page_prev][1]; j++)
            {
                AppMain.AoActDelete(main_work.act[j]);
                main_work.act[j] = null;
            }
        }
        main_work.cur_disp_page_prev = main_work.cur_disp_page;
        for (int k = num; k <= num2; k++)
        {
            if (flag)
            {
                A2S_AMA_HEADER ama = AppMain.dm_manual_ama[0];
                AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_manual_tex[0]));
                main_work.act[k] = AppMain.AoActCreate(ama, AppMain.g_dm_act_id_tbl_m[k]);
            }
            if (k != 118)
            {
                AppMain.AoActSortRegAction(main_work.act[k]);
            }
        }
        AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_manual_tex[1]));
        for (int l = num3; l <= num4; l++)
        {
            if (flag)
            {
                A2S_AMA_HEADER ama = AppMain.dm_manual_ama[1];
                main_work.act[l] = AppMain.AoActCreate(ama, AppMain.g_dm_act_id_tbl_m[l]);
                if (AppMain.GsEnvGetLanguage() == 6)
                {
                    if (AppMain.g_dm_act_id_tbl_m[l] == 9U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 120f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 10U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 125f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 48U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 120f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 49U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 125f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 18U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 90f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 19U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 200f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 52U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 90f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 53U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 200f;
                    }
                }
                if (AppMain.GsEnvGetLanguage() == 7)
                {
                    if (AppMain.g_dm_act_id_tbl_m[l] == 9U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 180f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 10U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 185f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 48U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 180f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 49U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 185f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 18U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 280f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 19U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 235f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 52U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 280f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 53U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 235f;
                    }
                }
                if (AppMain.GsEnvGetLanguage() == 8)
                {
                    if (AppMain.g_dm_act_id_tbl_m[l] == 9U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 160f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 10U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 245f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 48U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 160f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 49U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 245f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 18U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 19U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 220f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 52U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 53U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 220f;
                    }
                }
                if (AppMain.GsEnvGetLanguage() == 9)
                {
                    if (AppMain.g_dm_act_id_tbl_m[l] == 9U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 10U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 225f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 48U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 49U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 225f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 18U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 19U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 52U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 53U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                }
                if (AppMain.GsEnvGetLanguage() == 10)
                {
                    if (AppMain.g_dm_act_id_tbl_m[l] == 9U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 10U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 225f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 48U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 49U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 225f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 18U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 19U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 52U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                    if (AppMain.g_dm_act_id_tbl_m[l] == 53U)
                    {
                        (( A2S_AMA_ACT )main_work.act[l].data).mtn.trs_tbl[0].trs_x = 110f;
                    }
                }
            }
            AppMain.AoActSortRegAction(main_work.act[l]);
        }
        AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_manual_tex[0]));
        for (int m = num; m <= num2; m++)
        {
            if (m != 118)
            {
                AppMain.AoActUpdate(main_work.act[m], 1f);
                if (main_work.cur_disp_page_prev != 8)
                {
                    main_work.act[m].sprite.center_y -= 16f;
                    if (main_work.cur_disp_page_prev == 6 || main_work.cur_disp_page_prev == 7 || main_work.cur_disp_page_prev == 10 || main_work.cur_disp_page_prev == 12)
                    {
                        main_work.act[m].sprite.center_y -= 16f;
                    }
                    if (m == 14)
                    {
                        AppMain.AOS_SPRITE sprite = main_work.act[m].sprite;
                        sprite.offset.right = sprite.offset.right + 1f;
                    }
                }
                if ((m >= 54 && m <= 55) || (m >= 59 && m <= 61) || (m == 65 || m == 80 || m == 81 || m == 25 || m == 24 || (m >= 91 && m <= 93)) || (m >= 103 && m <= 105))
                {
                    main_work.act[m].sprite.center_y += 16f;
                }
                if (m >= 82 && m <= 90)
                {
                    AppMain.AOS_SPRITE sprite2 = main_work.act[m].sprite;
                    sprite2.offset.top = sprite2.offset.top + 40f;
                    AppMain.AOS_SPRITE sprite3 = main_work.act[m].sprite;
                    sprite3.offset.bottom = sprite3.offset.bottom - 40f;
                }
                else if (m >= 114 && m <= 116)
                {
                    AppMain.AOS_SPRITE sprite4 = main_work.act[m].sprite;
                    sprite4.offset.top = sprite4.offset.top + 80f;
                    AppMain.AOS_SPRITE sprite5 = main_work.act[m].sprite;
                    sprite5.offset.bottom = sprite5.offset.bottom - 80f;
                }
                else if ((m >= 67 && m <= 72) || (m >= 94 && m <= 102) || m == 80 || m == 81)
                {
                    AppMain.AOS_SPRITE sprite6 = main_work.act[m].sprite;
                    sprite6.offset.top = sprite6.offset.top + 20f;
                    AppMain.AOS_SPRITE sprite7 = main_work.act[m].sprite;
                    sprite7.offset.bottom = sprite7.offset.bottom - 20f;
                    if (m == 80 || m == 81)
                    {
                        AppMain.AOS_SPRITE sprite8 = main_work.act[m].sprite;
                        sprite8.offset.left = sprite8.offset.left + 25f;
                        AppMain.AOS_SPRITE sprite9 = main_work.act[m].sprite;
                        sprite9.offset.right = sprite9.offset.right - 25f;
                    }
                }
                else if (m == 117)
                {
                    main_work.act[m].sprite.center_y += 70f;
                }
            }
        }
        AppMain.AoActSetTexture(AppMain.AoTexGetTexList(AppMain.dm_manual_tex[1]));
        for (int n = num3; n <= num4; n++)
        {
            AppMain.AoActUpdate(main_work.act[n], 1f);
            if (main_work.cur_disp_page_prev < 3 || main_work.cur_disp_page_prev > 9 || main_work.cur_disp_page_prev == 7)
            {
                main_work.act[n].sprite.center_y -= 16f;
            }
            if (n == num3 && (main_work.cur_disp_page_prev < 3 || main_work.cur_disp_page_prev > 12))
            {
                main_work.act[n].sprite.center_y += 16f;
            }
            if (n == 143 || n == 144)
            {
                main_work.act[n].sprite.center_y -= 16f;
            }
            else if ((n >= 147 && n <= 148) || (n >= 151 && n <= 152) || n == 157 || n == 174 || n == 170 || n == 161 || n == 162 || main_work.cur_disp_page_prev == 11)
            {
                main_work.act[n].sprite.center_y += 16f;
            }
        }
        AppMain.AoActSortExecute();
        AppMain.AoActSortDraw();
        AppMain.AoActSortUnregAll();
    }