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

I keep forgetting these things... >_>
(Also, that is wrong.)
(I keep forgetting these things... >_>)
Line 32: Line 32:
* '''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.
* '''Pokémon offset''' is a signed 16-bit integer - if the raw value is greater 0x8000, then it is negative, with 0x8000 as -32,768 and 0xFFFF as -1.
* '''Pokémon offset''' is a signed 16-bit integer - if the raw value is 0x8000 or greater, then it is negative, with 0x8000 as -32,768 and 0xFFFF as -1.


==Size compare function==
==Size compare function==
659

edits