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

m
Type
m (Type)
Line 3: Line 3:
A '''base stats structure''' is a 28-byte piece of data.  
A '''base stats structure''' is a 28-byte piece of data.  


Every [[Pokémon species]] in the [[Generation III]] {{pkmn|games}} has a 28-byte base stats structure stored in the game's ROM somewhere. It determines all information inherent to the species, such as base Sp. Defense, [[Elemental types|Types]], [[Egg group]]s, and [[Effort values|EV yield]].
Every [[Pokémon species]] in the [[Generation III]] {{pkmn|games}} has a 28-byte base stats structure stored in the game's ROM somewhere. It determines all information inherent to the species, such as base Sp. Defense, [[Types]], [[Egg group]]s, and [[Effort values|EV yield]].


{| align="center" style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em;" cellspacing="3"
{| align="center" style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em;" cellspacing="3"
Line 23: Line 23:
| Base Sp. Defense || byte || The base Sp. Defense used in calculating a Pokémon of the species's [[stats|Sp. Defense]].
| Base Sp. Defense || byte || The base Sp. Defense used in calculating a Pokémon of the species's [[stats|Sp. Defense]].
|-
|-
| [[Elemental types|Type 1]]* || byte || The first type of Pokémon of the species.
| [[Type|Type 1]]* || byte || The first type of Pokémon of the species.
|-
|-
| [[Elemental types|Type 2]]* || byte || The second type of Pokémon of the species.
| [[Type|Type 2]]* || byte || The second type of Pokémon of the species.
|-
|-
| [[Catch rate]] || byte || The catch rate used in calculating the probability that a wild Pokémon of the species will be caught.  
| [[Catch rate]] || byte || The catch rate used in calculating the probability that a wild Pokémon of the species will be caught.