Skip to content

Commit

Permalink
Decap save, main menu text
Browse files Browse the repository at this point in the history
  • Loading branch information
Pseurae committed Oct 26, 2024
1 parent 22f18fe commit 102e97c
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions tools/decap/decap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,31 @@ int main(int argc, char *argv[])

File f = File(argv[1]);

f.ProcessString(0x40f81a, 0xFF); // Exp. Points
f.ProcessString(0x40f826, 0xFF); // Next Lv.
f.ProcessString(0x40e6e4, 0xFF); // Close Bag
f.ProcessString(0x40df7c, 0xFF); // Main Menu - Player
f.ProcessString(0x40df83, 0xFF); // Main Menu - Pokedex
f.ProcessString(0x40df8b, 0xFF); // Main Menu - Time
f.ProcessString(0x40df90, 0xFF); // Main Menu - Badge
f.ProcessString(0x42c983, 0xFF); // Save - Player
f.ProcessString(0x42c992, 0xFF); // Save - Pokedex
f.ProcessString(0x42c99a, 0xFF); // Save - Time
f.ProcessString(0x42c98a, 0xFF); // Save - Badge
f.ProcessString(0x40dcd0, 0xFF); // Main Menu - New Game
f.ProcessString(0x40dcd9, 0xFF); // Main Menu - Continue
f.ProcessString(0x40dce2, 0xFF); // Main Menu - Options

f.ProcessStringArray(0x1f716c, 11, 412); // Species names
// f.ProcessStringArray(0x1f8320, 13, 355); // Move names
f.ProcessStringArray(0x1fa248, 13, 78); // Ability names
f.ProcessStringArray(0x1f0208, 13, 58); // Trainer class names
f.ProcessStringArray(0x3c5564, 14, 349, 44); // Item names

f.ProcessStringPointerArray(0x376d74, 2, 8); // Yes/No
f.ProcessStringPointerArray(0x1e79b0, 2, 8); // Boy/Girl
f.ProcessStringPointerArray(0x1e79c0, 5, 8); // Male preset names
f.ProcessStringPointerArray(0x1e79e8, 5, 8); // Female preset names
f.ProcessStringPointerArray(0x376d04, 6); // Stat labels
f.ProcessStringPointerArray(0x3c5564 + 20, 349, 44); // Item descriptions
f.ProcessStringPointerArray(0x3c1004, 25); // Nature names
Expand Down

0 comments on commit 102e97c

Please sign in to comment.