Pokémon species data structure (Generation I): 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|Pokémon species]] in the [[Generation I]] {{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 Attack, [[Elemental types|Types]], and [[catch rate]].
Every [[Pokémon|Pokémon species]] in the [[Generation I]] {{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 Attack, [[Types]], and [[catch rate]].


{| style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em; border-collapse: collapse; margin: 0 0 0.5em 0.5em;" cellspacing="1" cellpadding="2"
{| style="border: 1px solid #88a; background: #f8f8ff; padding: 0.5em; border-collapse: collapse; margin: 0 0 0.5em 0.5em;" cellspacing="1" cellpadding="2"
Line 23: Line 23:
| 0x05 || Base Special || byte
| 0x05 || Base Special || byte
|-
|-
| [[#Types|0x06]] || [[Elemental types|Type 1]] || byte
| [[#Types|0x06]] || [[Type|Type 1]] || byte
|-
|-
| [[#Types|0x07]] || [[Elemental types|Type 2]] || byte
| [[#Types|0x07]] || [[Type|Type 2]] || byte
|-
|-
| 0x08 || [[Catch rate]] || byte
| 0x08 || [[Catch rate]] || byte