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

Line 215: Line 215:
| 0xE4 || 6th Pokemon structure || 44 Bytes
| 0xE4 || 6th Pokemon structure || 44 Bytes
|-
|-
| 0X110 || 4 0x000B's to terminate || 4 Words
| 0X110 || x 0x000B's to terminate || x Words
|}
|}




The list of party index values ends with FF, which is followed by 00s through the rest of the section; however, if the party contains only 1 Pokemon, the FF may or may not be there.  
The list of party index values ends with FF, which is followed by 00s through the rest of the section; however, if the party contains only 1 Pokemon, the FF may or may not be there. Finally, the terminating 0x000B's vary in number, and other information appears to follow, but its significance is not yet clear.


Also of note is that the storage of the current Pokemon's information during battle. The internal index of the current is stored at 0xCF91, and the full Pokemon data structure begins at 0xCF98.
Also of note is that the storage of the current Pokemon's information during battle. The internal index of the current is stored at 0xCF91, and the full Pokemon data structure begins at 0xCF98.
10

edits