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

no edit summary
No edit summary
Line 1: Line 1:
A '''base stats structure''' is a 28-byte structure that determines all information inherent to a Pokémon species, such as base [[stats]], [[type]]s, [[Egg Group]]s, and [[Effort values|EV yield]]. Every [[Pokémon species]] in the [[Generation III]] {{pkmn|games}} has a base stats structure stored in the game's ROM.
The '''Pokémon species data structure''' is a 28-byte structure that determines all information inherent to a Pokémon species, such as base [[stats]], [[type]]s, [[Egg Group]]s, and [[Effort values|EV yield]]. Every [[Pokémon species]] in the [[Generation III]] {{pkmn|games}} has a data structure stored in the game's ROM.


==Notes==
==Notes==
Line 256: Line 256:
==Storage==
==Storage==
{{incomplete|section|Are the Ruby and Sapphire addresses only for US games? For non-US games?}}
{{incomplete|section|Are the Ruby and Sapphire addresses only for US games? For non-US games?}}
The following are the RAM offsets for the first base stats entry ({{p|Bulbasaur}}) in each GBA game. Since a game is loaded into RAM at 0x08000000, this means that the offset in a ROM dump will only use the last six digits.
The following are the RAM offsets for the first data entry ({{p|Bulbasaur}}) in each GBA game. Since a game is loaded into RAM at 0x08000000, this means that the offset in a ROM dump will only use the last six digits.
{| style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em; border-collapse: collapse; margin: 0 0 0.5em 0.5em" cellpadding=2
{| style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em; border-collapse: collapse; margin: 0 0 0.5em 0.5em" cellpadding=2
! Game || Address
! Game || Address
Line 278: Line 278:


===Fingerprint===
===Fingerprint===
Below is a sample of the data for the first few base stat data structures.
Below is a sample of the data for the first Pokémon species data structures.
<pre>
<pre>
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  // ?????????? (used for unknown/glitch Pokémon)
00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00  // ?????????? (used for unknown/glitch Pokémon)