Shiny Pokémon: Difference between revisions

((1 / 8192) * 100 = 0,01220703125)
Line 31: Line 31:


===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 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 Pokémon is shiny.  This results in a [[Personality_value#Shininess|probability]] of 8 in 65536; simplified as 1/8192 (2<sup>-13</sup>, or approximately 0.012207%), 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 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.  
 
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 Pokémon is shiny.  This results in a [[Personality_value#Shininess|probability]] of 8 in 65536; simplified as 1/8192 (2<sup>-13</sup>, or approximately 0.012207%), just as in Generation II.  Symbolically:


(Trainer ID) '''xor''' (Secret ID) = E
(Trainer ID) '''xor''' (Secret ID) = E
Line 38: Line 40:


If E '''xor''' F is less than eight, then the Pokémon is shiny.
If E '''xor''' F is less than eight, then the Pokémon is shiny.
In Generation IV, some Pokémon, such as Mystery Gifts and Ranger Manaphy, can't be shiny due to the game's code. However, the Ranger Manaphy shininess won't be altered by the game if you trade it to another cartridge.


In the [[Trainer Tower]] in {{g|FireRed and LeafGreen}} there are two trainers which have shiny Pokémon. In the single battle mode, the seventh trainer has a shiny {{p|Meowth}}, while in [[double battle]] mode, the first pair of trainers have a shiny {{p|Espeon}}. In another series of battles, a trainer will send out a shiny {{p|Seaking}}.
In the [[Trainer Tower]] in {{g|FireRed and LeafGreen}} there are two trainers which have shiny Pokémon. In the single battle mode, the seventh trainer has a shiny {{p|Meowth}}, while in [[double battle]] mode, the first pair of trainers have a shiny {{p|Espeon}}. In another series of battles, a trainer will send out a shiny {{p|Seaking}}.
268

edits