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

no edit summary
No edit summary
Line 19: Line 19:
| 0x04 || [[Status_ailment|Status ailments]] || Byte
| 0x04 || [[Status_ailment|Status ailments]] || Byte
|-
|-
| 0x05 || Unknown || 3 bytes
| 0x05 || [[Elemental type|Type 1]] || Byte
|-
| 0x06 || Type 2 || Byte
|-
| 0x07 || Unknown || Byte
|-
|-
| 0x08 || [[List of moves#Generation I|Index number of first move]] || Byte
| 0x08 || [[List of moves#Generation I|Index number of first move]] || Byte
Line 108: Line 112:


Since being [[Status ailment#Badly poisoned|badly poisoned]] is a temporary condition in [[Pokémon battle|battles]], it is not stored here. Confusion is also not stored here. 0x00 means that the Pokémon is not affected by any major status ailment.
Since being [[Status ailment#Badly poisoned|badly poisoned]] is a temporary condition in [[Pokémon battle|battles]], it is not stored here. Confusion is also not stored here. 0x00 means that the Pokémon is not affected by any major status ailment.
=== Type ===
The [[elemental type]] of the Pokémon. If the Pokémon has only one type, both values are the same. It seems redundant, as there is no way a Pokémon can change type in Generation I besides [[Evolution|evolving]].


=== Original trainer ID number ===
=== Original trainer ID number ===
396

edits