Personality value: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
no edit summary
m (Fixing inter-wiki redirect)
mNo edit summary
Line 156: Line 156:
:The <span style="background:#FF9999">red value</span> will be represented as ''p<sub>1</sub>'', while the <span style="background:#9999FF">blue value</span> will be represented as ''p<sub>2</sub>''.
:The <span style="background:#FF9999">red value</span> will be represented as ''p<sub>1</sub>'', while the <span style="background:#9999FF">blue value</span> will be represented as ''p<sub>2</sub>''.


Whether a Pokémon is {{shiny2}} or not depends on the values of the [[Trainer ID number]], [[secret ID number]], and personality value. There is an [[Alternate_coloration#Generations_III_and_IV|8 in 65536 chance]] (0.00012207% or 2<sup>-13</sup>) of a Pokémon being shiny (which simplifies to 1/8192).
Whether a Pokémon is {{shiny2}} or not depends on the values of the [[Trainer ID number]], [[secret ID number]], and personality value. There is an [[Shiny Pokémon#Generations III and IV|8 in 65536 chance]] (0.00012207% or 2<sup>-13</sup>) of a Pokémon being shiny (which simplifies to 1/8192).


Variables ''E'' and ''F'' are declared to hold the values that result.
Variables ''E'' and ''F'' are declared to hold the values that result.
7,546

edits

Navigation menu