static void DecompileM12Misc() { // Item names var itemNames = M12TextTables.ReadItemNames(m12Rom); DecompileM12MiscStringCollection("m12-itemnames", itemNames); // Menu choices var menuChoices = M12TextTables.ReadMenuChoices(m12Rom); DecompileM12MiscStringCollection("m12-menuchoices", menuChoices); // Misc text var miscText = M12TextTables.ReadMiscText(m12Rom); DecompileM12MiscStringCollection("m12-misctext", miscText); // Dad var dadText = M12TextTables.ReadDadText(m12Rom); DecompileM12MiscStringCollection("m12-dadtext", dadText); // PSI text var psiText = M12TextTables.ReadPsiText(m12Rom); DecompileM12MiscStringCollection("m12-psitext", psiText); // Enemy names var enemyNames = M12TextTables.ReadEnemyNames(m12Rom); DecompileM12MiscStringCollection("m12-enemynames", enemyNames); // PSI names var psiNames = M12TextTables.ReadPsiNames(m12Rom); DecompileFixedStringCollection(m12Decompiler, m12Rom, "m12-psinames", psiNames); // PSI targets var miscText2 = M12TextTables.ReadPsiTargets(m12Rom); DecompileFixedStringCollection(m12Decompiler, m12Rom, "m12-psitargets", miscText2); }
static void DecompileM12Misc() { // Item names var itemNames = M12TextTables.ReadItemNames(m12Rom); DecompileM12MiscStringCollection("m12-itemnames", itemNames); // Menu choices var menuChoices = M12TextTables.ReadMenuChoices(m12Rom); DecompileM12MiscStringCollection("m12-menuchoices", menuChoices); // Misc text var miscText = M12TextTables.ReadMiscText(m12Rom); DecompileM12MiscStringCollection("m12-misctext", miscText); // Dad var dadText = M12TextTables.ReadDadText(m12Rom); DecompileM12MiscStringCollection("m12-dadtext", dadText); // PSI text var psiText = M12TextTables.ReadPsiText(m12Rom); DecompileM12MiscStringCollection("m12-psitext", psiText); // Enemy names var enemyNames = M12TextTables.ReadEnemyNames(m12Rom); DecompileM12MiscStringCollection("m12-enemynames", enemyNames); // PSI names var psiNames = M12TextTables.ReadPsiNames(m12Rom); DecompileFixedStringCollection(m12Decompiler, m12Rom, "m12-psinames", psiNames); // PSI targets var miscText2 = M12TextTables.ReadPsiTargets(m12Rom); DecompileFixedStringCollection(m12Decompiler, m12Rom, "m12-psitargets", miscText2); // Other DecompileHardcodedStringCollection(m12Decompiler, m12Rom, "m12-other", 0xB1B492, 0xB1B497, 0xB1B49C, 0xB1B4A1, 0xB1B4A6, 0xB1BA00, 0xB1BA05, 0xB1BA0A, 0xB1BA0F, 0xB1BA14, 0xB1BA1A, 0xB1BA20, 0xB1BA26, 0xB1BA2C, 0xB1BA36, 0xB1BA40, 0xB1BA4A, 0xB1BA54, 0xB1BA61, 0xB1BA6E, 0xB1BA7B); // Teleport destinations var teleportNames = M12TextTables.ReadTeleportNames(m12Rom); DecompileFixedStringCollection(m12Decompiler, m12Rom, "m12-teleport-names", teleportNames); }