Save data structure (Generation I): Difference between revisions

m
Didn't check... >_<
m (...)
m (Didn't check... >_<)
Line 130: Line 130:


;OT names
;OT names
This is a list of [[#Text data|text strings]] for the [[Original Trainer]] of each Pokémon in this list, 11 bytes per name. Each name can contain from 1 to 10 characters, terminated by <code>0x50</code>.
This is a list of [[Character encoding in Generation I|text strings]] for the [[Original Trainer]] of each Pokémon in this list, 11 bytes per name. Each name can contain from 1 to 10 characters, terminated by <code>0x50</code>.


;Pokémon names
;Pokémon names
This is a list of [[#Text data|text strings]] for the name of each Pokémon in this list, 11 bytes per name. Each name can contain from 1 to 10 characters, terminated by <code>0x50</code>.
This is a list of [[Character encoding in Generation I|text strings]] for the name of each Pokémon in this list, 11 bytes per name. Each name can contain from 1 to 10 characters, terminated by <code>0x50</code>.


A Pokémon's name is a [[nickname]] if it does not perfectly match the default name for a Pokémon (typically all uppercase) with any unused bytes of the entry's 11-byte capacity filled with <code>0x50</code> terminators.
A Pokémon's name is a [[nickname]] if it does not perfectly match the default name for a Pokémon (typically all uppercase) with any unused bytes of the entry's 11-byte capacity filled with <code>0x50</code> terminators.
Line 265: Line 265:


===Player name, rival name===
===Player name, rival name===
Represents [[#Text data|text strings]] that can be from 1 to 7 characters in length.
Represents [[Character encoding in Generation I|text strings]] that can be from 1 to 7 characters in length.


===Pokédex Owned, Pokédex Seen===
===Pokédex Owned, Pokédex Seen===