GBA Memory Locations
These are locations in memory that I found were helpful in debugging my changes in the ROM. Knowing some of these may be just what you need to make your own edits. Then again, maybe not. Intrepid cheaters could use these to their advantage as well, I suppose, but I digress…
Character data structure in memory
Structure size: 72 bytes, beginning at 0×020026cc. This means that the first character is defined, starting at 0×020026cc and ending at 0×02002713, the second character is beginning at 0×02002714, etc.
What follows is the information that is stored, to the best of my knowledge. I show a sample character, with Hex values above and the decoded meaning below.
|Character name, 6 letters||Class||Condition||Exp. Level|
|Experience||Cur. HP||Max. HP||Cur. MP||Max. MP||Spell Level||Str.||Agi.||Int.|
|Vit.||Luck||Accuracy||Evade||Magic Def.||Weapon||Shield||Helm||Armor||Gloves||Spell Level 1|
|Spell Level 2||Spell Level 3||Spell Level 4||Spell Level 5||Spell Level 6|
|Spell Level 7||Spell Level 8||?||?||?|
Gold is stored in 4 bytes at 0×02002ab4.
The current map that the party is in is stored in 0×02003874.
When in battle, the current monsters are stored in 88 bytes, beginning at 0×02014114.