Pokédex data structure (Generation III): Difference between revisions

what is what the "mme"...?
(what is what the "mme"...?)
Line 29: Line 29:
* '''Name''' is 12 bytes long and comes in capital letters. 0x00 fills possible empty bytes. This is the Species Type not the Pokémon name (e.g. "SEED" not "BULBASAUR")
* '''Name''' is 12 bytes long and comes in capital letters. 0x00 fills possible empty bytes. This is the Species Type not the Pokémon name (e.g. "SEED" not "BULBASAUR")
* '''Height''' is measured in decimetres (10<sup>-1</sup> metres), and is then converted to other units in some games.
* '''Height''' is measured in decimetres (10<sup>-1</sup> metres), and is then converted to other units in some games.
* '''Weight''' is measured comes in hectogrammes (10<sup>-1</sup> kilogrammes), it is then converted to other units in some games.
* '''Weight''' is measured comes in hectograms (10<sup>-1</sup> kilograms), it is then converted to other units in some games.
* '''Description pointers''' show the game where the description for the particular Pokémon is; remember the GBA is little endian and that a ROM file is loaded at an offset of 0x08000000.
* '''Description pointers''' show the game where the description for the particular Pokémon is; remember the GBA is little endian and that a ROM file is loaded at an offset of 0x08000000.
:Ruby, Sapphire, FireRed and LeafGreen have two pages of text while Emerald has only one - the second "description" simply does not exist.
:Ruby, Sapphire, FireRed and LeafGreen have two pages of text while Emerald has only one - the second "description" simply does not exist.
659

edits