Shiny Pokémon: Difference between revisions

m
Line 21: Line 21:
===Generations III and IV===
===Generations III and IV===
In Generation III, most of the data structures were redone. As such, a Pokémon's shininess would no longer need to be linked to its stats due to incompatibilities between the Generation III games and previous generations. The determinant for shininess is instead a calculation based on the [[Trainer ID number]] of the player encountering it and the [[personality value#Shininess|personality value]] of the Pokémon. <!-- This needs to be verified. I thought it was the same as in Generation II.: -->The secret ID  and trainer ID bytewords are first xored together, and then the first byteword of the personality value is xored with the second byteword of the personality value.  If the xor of these two results is less than eight, then the pokemon is shiny.  This results in a probability of 1 in 8192 (8/65536), just as in Generation II.  Symbolically:
In Generation III, most of the data structures were redone. As such, a Pokémon's shininess would no longer need to be linked to its stats due to incompatibilities between the Generation III games and previous generations. The determinant for shininess is instead a calculation based on the [[Trainer ID number]] of the player encountering it and the [[personality value#Shininess|personality value]] of the Pokémon. <!-- This needs to be verified. I thought it was the same as in Generation II.: -->The secret ID  and trainer ID bytewords are first xored together, and then the first byteword of the personality value is xored with the second byteword of the personality value.  If the xor of these two results is less than eight, then the pokemon is shiny.  This results in a probability of 1 in 8192 (8/65536), just as in Generation II.  Symbolically:


(Trainer ID) '''xor''' (Secret ID) = E
(Trainer ID) '''xor''' (Secret ID) = E
Line 28: Line 29:
if E '''xor''' F is less than eight, then the pokemon is shiny.
if E '''xor''' F is less than eight, then the pokemon is shiny.


===Mystery Dungeon===
It is sometimes thought that the TM Merchant in [[Pokemon Mystery Dungeon]] is a shiny-colored Pokemon. It is a Kecleon, and although Kecleon are normally green, he is actually purple, including his sprite. His brother, however, is green.


==In the anime==
==In the anime==
45

edits