コード例 #1
0
        public static void MakeTextIDArray(List <UseTextID> list, uint script_addr)
        {
            script_addr = U.toOffset(script_addr);
            if (!U.isSafetyOffset(script_addr))
            {
                return;
            }

            InputFormRef InputFormRef = Init(null);

            InputFormRef.ReInit(script_addr);

            UseTextID.AppendTextID(list, FELint.Type.POINTER_TALKGROUP, InputFormRef, new uint[] { 0 });
        }
コード例 #2
0
ファイル: EDForm.cs プロジェクト: MrMeow76/FEBuilderGBA
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            {
                InputFormRef InputFormRef = N1_Init(null);
                UseTextID.AppendTextID(list, FELint.Type.ED, InputFormRef, new uint[] { 4 });
            }
            {
                InputFormRef InputFormRef = N2_Init(null);
                UseTextID.AppendTextID(list, FELint.Type.ED, InputFormRef, new uint[] { 4 });

                InputFormRef.ReInitPointer
                    ((Program.ROM.RomInfo.ed_3b_pointer()));
                UseTextID.AppendTextID(list, FELint.Type.ED, InputFormRef, new uint[] { 4 });
            }
        }
コード例 #3
0
ファイル: TextDicForm.cs プロジェクト: MrMeow76/FEBuilderGBA
 public static void MakeTextIDArray(List <UseTextID> list)
 {
     {
         InputFormRef InputFormRef = Init(null);
         UseTextID.AppendTextID(list, FELint.Type.DIC, InputFormRef, new uint[] { 2, 4 });
     }
     {
         InputFormRef InputFormRef = N1_Init(null);
         UseTextID.AppendTextID(list, FELint.Type.DIC, InputFormRef, new uint[] { 0 });
     }
     {
         InputFormRef InputFormRef = N2_Init(null);
         UseTextID.AppendTextID(list, FELint.Type.DIC, InputFormRef, new uint[] { 0 });
     }
 }
コード例 #4
0
        //テキストの取得
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef ifr;

            if (PatchUtil.SearchSkillSystem() != PatchUtil.skill_system_enum.SkillSystem)
            {
                return;
            }

            {
                uint basetextP = FindTextPointer();
                if (basetextP == U.NOT_FOUND)
                {
                    return;
                }
                ifr = Init(null, basetextP);
                UseTextID.AppendTextID(list, FELint.Type.SKILL_CONFIG, ifr, new uint[] { 0 });
            }
        }
コード例 #5
0
        //テキストの取得
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef ifr;

            if (PatchUtil.SearchSkillSystem() != PatchUtil.skill_system_enum.FE8N_ver2)
            {
                return;
            }

            uint[] pointer = FindSkillFE8NVer2IconPointers();
            if (pointer == null)
            {
                return;
            }
            if (g_SkillBaseAddress == 0)
            {
                return;
            }

            ifr = Init(null);
            UseTextID.AppendTextID(list, FELint.Type.SKILL_CONFIG, ifr, new uint[] { 0 });
        }
コード例 #6
0
        //テキストの取得
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            uint[] pointer;

            PatchUtil.skill_system_enum skill = PatchUtil.SearchSkillSystem();
            if (skill == PatchUtil.skill_system_enum.FE8N ||
                skill == PatchUtil.skill_system_enum.yugudora)
            {
                pointer = FindSkillFE8NVer1IconPointers();
            }
            else if (skill == PatchUtil.skill_system_enum.FE8N_ver2)
            {
                pointer = SkillConfigFE8NVer2SkillForm.FindSkillFE8NVer2IconPointers();
            }
            else
            {
                return;
            }

            if (pointer == null)
            {
                return;
            }

            InputFormRef ifr = Init(null);

            for (int i = 0; i < pointer.Length; i++)
            {
                ifr.ReInitPointer(pointer[i]);
                if (ifr.DataCount <= 0)
                {
                    continue;
                }
                UseTextID.AppendTextID(list, FELint.Type.SKILL_CONFIG, ifr, new uint[] { 2 });
            }
        }
コード例 #7
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.WMAP_BASE_POINT, InputFormRef, new uint[] { 28 });
        }
コード例 #8
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.CLASS, InputFormRef, new uint[] { 0, 2 });
        }
コード例 #9
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.MAPSETTING, InputFormRef, new uint[] { 48, 50, 52, 60 });
        }
コード例 #10
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.SOUNDROOM, InputFormRef, new uint[] { 4, 8 });
        }
コード例 #11
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.BATTTLE_TALK, InputFormRef, new uint[] { 8 });
        }
コード例 #12
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.STATUS_GAME_OPTION, InputFormRef, new uint[] { 0, 4, 6, 12, 14, 20, 22, 28, 30 });
        }
コード例 #13
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.STATUS_UNITS_MENU, InputFormRef, new uint[] { 4, 12 });
        }
コード例 #14
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.MAPSETTING, InputFormRef, new uint[] { 112, 114, 116, 118, 122, 124, 126, 128, 140, 142 });
        }
コード例 #15
0
        public static void MakeTextIDArray(List <UseTextID> list)
        {
            InputFormRef InputFormRef = Init(null);

            UseTextID.AppendTextID(list, FELint.Type.EVENT_FINAL_SERIF, InputFormRef, new uint[] { 4 });
        }