78
edits
Tiddlywinks (talk | contribs) m (Section titles have sentence case) |
(Researched location of Pokémon species names.) |
||
Line 3: | Line 3: | ||
A '''base stats structure''' is a 32-byte piece of data. | A '''base stats structure''' is a 32-byte piece of data. | ||
Every [[Pokémon|Pokémon species]] in the [[Generation II]] {{pkmn|games}} has a 32-byte base stats structure stored in the game's ROM somewhere. It determines all information inherent to the species, such as base Defense, [[type]]s, [[catch rate]] and [[Egg Group]]s. | Every [[Pokémon|Pokémon species]] in the [[Generation II]] {{pkmn|games}} has a 32-byte base stats structure stored in the game's ROM somewhere. It determines all information inherent to the species, such as base Defense, [[type]]s, [[catch rate]] and [[Egg Group]]s. The Pokémon species' names are not part of this structure, but are instead stored [[#Names|elsewhere]]. | ||
{| class="roundy" style="width:auto; text-align:center; background: #ccf; border: 3px solid blue;" | {| class="roundy" style="width:auto; text-align:center; background: #ccf; border: 3px solid blue;" | ||
Line 213: | Line 213: | ||
The following are ROM offsets for the first entry (Bulbasaur) in each GBC game: | The following are ROM offsets for the first entry (Bulbasaur) in each GBC game: | ||
* Gold (en): 0x051b0b | * Gold (en): <code>0x051b0b</code> | ||
* Silver (en): 0x051b0b | * Silver (en): <code>0x051b0b</code> | ||
* Crystal (en): 0x051424 | * Crystal (en): <code>0x051424</code> | ||
==Names== | |||
The names of all the Pokémon are stored elsewhere, in a simple array of 256 names of 10 bytes each in international versions, and 5 bytes each in Japanese versions. These names are used for a variety of things, such as naming wild Pokémon and diplaying the species name in the Pokédex and on summary screens. The names are encoded with the [[Character encoding in Generation II|Generation II character encoding]], with any bytes after the name all being the string terminator <code>0x50</code>. The first name is Bulbasaur (index number 1), and the last (256th) name is that of the glitch Pokémon [[Five question marks#Hex 00|????? at index 0]]. | |||
The following are ROM offsets for the first name (Bulbasaur) in each game: | |||
{| class="roundy" style="text-align: center; background: #C0C0FF; border: 3px solid blue; margin-bottom: 10px" | |||
! Game || English || Japanese | |||
|- style="background:#F8F8FF" | |||
| '''{{color2|{{gold color}}|Pokémon Gold and Silver Versions|Gold}}''' | |||
| <code>0x1B0B74</code> | |||
| <code>0x053A09</code> | |||
|- style="background:#F8F8FF" | |||
| '''{{color2|{{silver color}}|Pokémon Gold and Silver Versions|Silver}}''' | |||
| <code>0x1B0B74</code> | |||
| <code>0x053A09</code> | |||
|- style="background:#F8F8FF" | |||
| '''{{color2|{{crystal color}}|Pokémon Crystal Version|Crystal}}''' | |||
| <code>0x053384</code> | |||
| <code>0x05341A</code> | |||
|} | |||
{{data structure}}<br> | {{data structure}}<br> | ||
{{Project Games notice|data structure}} | {{Project Games notice|data structure}} |
edits