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

m
m (Text replacement - "Pseudorandom number generation in Pokémon" to "Pseudorandom number generation")
m (→‎Alternate forms: replaced: Alternate forms → Alternate forms)
 
Line 437: Line 437:


==Alternate forms==
==Alternate forms==
[[List of Pokémon with form differences|Alternate forms]] are stored at offset 0x40 of the Pokémon structure. Each form follows the pattern of <code>index << 3</code> where index starts at zero for the main form.
Alternate [[form]]s are stored at offset 0x40 of the Pokémon structure. Each form follows the pattern of <code>index << 3</code> where index starts at zero for the main form.


{{p|Rotom}}'s alternate forms, {{p|Giratina}}'s Origin Forme, and {{p|Shaymin}}'s Sky Forme will only be displayed in Pokémon Platinum, HeartGold and SoulSilver. Rotom may be traded among Pokémon Diamond, Pearl, and Platinum without losing its alternate form.
{{p|Rotom}}'s alternate forms, {{p|Giratina}}'s Origin Forme, and {{p|Shaymin}}'s Sky Forme will only be displayed in Pokémon Platinum, HeartGold and SoulSilver. Rotom may be traded among Pokémon Diamond, Pearl, and Platinum without losing its alternate form.