443
edits
(→Notes) |
m (→Notes) |
||
Line 27: | Line 27: | ||
==Notes== | ==Notes== | ||
* '''Name''' is 12 bytes long and comes in capital letters. 0x00 fills possible empty bytes. This is the [[List of Pokémon by species|species]] | * '''Name''' is 12 bytes long and comes in capital letters. 0x00 fills possible empty bytes. This is the [[List of Pokémon by species|species]] name and not the Pokémon name ("SEED" instead of "BULBASAUR"). | ||
* '''Height''' is measured in decimeters (10<sup>-1</sup> meters), and is then converted to other units in | * '''Height''' is measured in decimeters (10<sup>-1</sup> meters), and is then converted to other units in specific versions of games. | ||
* '''Weight''' is measured comes in hectograms (10<sup>-1</sup> kilograms), | * '''Weight''' is measured comes in hectograms (10<sup>-1</sup> kilograms), and is then converted to other units in specific versions of games. | ||
* '''Description pointers''' show the game where the description for the particular Pokémon is | * '''Description pointers''' show the game where the description for the particular Pokémon is. Remember that 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 0x8000 or greater, then it is negative, with 0x8000 as -32,768 and 0xFFFF as -1. | * '''Pokémon offset''' is a signed 16-bit integer-- as a result, 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== |
edits