30,354
edits
(Added information on gender threshold value.) |
Tiddlywinks (talk | contribs) m (Section titles have sentence case) |
||
Line 82: | Line 82: | ||
* 0x1b: Dark | * 0x1b: Dark | ||
===Wild | ===Wild held items=== | ||
Sources disagree about the exact chance for each slot. [http://upokecenter.com/games/gs/attachments.php UPC] says 25% and 8%, [http://serebii.net/gs/attach.shtml Serebii] says 25% and 1.5%. | Sources disagree about the exact chance for each slot. [http://upokecenter.com/games/gs/attachments.php UPC] says 25% and 8%, [http://serebii.net/gs/attach.shtml Serebii] says 25% and 1.5%. | ||
Line 88: | Line 88: | ||
Note that, unlike subsequent generation of games, if both item slots are set to the same item, the chance is ''not'' 100%. | Note that, unlike subsequent generation of games, if both item slots are set to the same item, the chance is ''not'' 100%. | ||
=== Gender | ===Gender ratio=== | ||
The gender ratio is expressed as a 1-byte threshold for the Pokémon to be male. The possible values are: | The gender ratio is expressed as a 1-byte threshold for the Pokémon to be male. The possible values are: | ||
Line 138: | Line 138: | ||
A Pokémon's gender is calculated based on this threshold value and the Pokémon's Attack IV, following [[Individual values#Gender|a certain set of rules]]. | A Pokémon's gender is calculated based on this threshold value and the Pokémon's Attack IV, following [[Individual values#Gender|a certain set of rules]]. | ||
=== Frontsprite dimensions === | ===Frontsprite dimensions=== | ||
One [[wp:nybble|nybble]] each for width and height in 8×8 pixel tiles. They always match and are always 5, 6, or 7 tiles. | One [[wp:nybble|nybble]] each for width and height in 8×8 pixel tiles. They always match and are always 5, 6, or 7 tiles. | ||
=== Blank === | ===Blank=== | ||
In the GB games, this is where the Pokémon's Lv.1 moves were stored. In GSC, Lv.1 moves were moved in with the rest of the moves. | In the GB games, this is where the Pokémon's Lv.1 moves were stored. In GSC, Lv.1 moves were moved in with the rest of the moves. | ||
=== Growth | ===Growth rate=== | ||
* 0. Medium Fast | * 0. Medium Fast | ||
Line 153: | Line 153: | ||
* 5. Slow | * 5. Slow | ||
=== Egg Groups === | ===Egg Groups=== | ||
The low nybble is one group, and the high nybble is another. For a Pokémon in only one group, both are set to the same value. | The low nybble is one group, and the high nybble is another. For a Pokémon in only one group, both are set to the same value. | ||
Line 173: | Line 173: | ||
* 0x0f: No Eggs | * 0x0f: No Eggs | ||
=== TMs === | ===TMs=== | ||
The TMs which a Pokémon can learn are stored as a bunch of flags. Starting from the LSB of the first byte, and ending with the MSB of the last byte. The seven HMs are treated as TMs 51-57. | The TMs which a Pokémon can learn are stored as a bunch of flags. Starting from the LSB of the first byte, and ending with the MSB of the last byte. The seven HMs are treated as TMs 51-57. | ||