Personality value: Difference between revisions

→‎Ability: clarity
(You need to use Heracross's height in metric (1.5 m * 1.725 = 2.5875 m = 101.87 in), not its height in imperial)
Tag: Undo
(→‎Ability: clarity)
Line 172: Line 172:
In Generation V, a Pokémon's Ability is determined differently depending on whether it originated in Generation V or an earlier generation. Pokémon from earlier generations will still have their Ability determined by the lowest bit in ''p''. Pokémon originating in Generation V, however, use the lowest bit of the upper half of ''p'' to determine their Ability. Just as with Generation III and IV Pokémon, a 0 still indicates a Pokémon's first Ability, while 1 indicates its second. This can be derived by calculating <math>\left\lfloor p / 65536 \right\rfloor \bmod 2</math>.
In Generation V, a Pokémon's Ability is determined differently depending on whether it originated in Generation V or an earlier generation. Pokémon from earlier generations will still have their Ability determined by the lowest bit in ''p''. Pokémon originating in Generation V, however, use the lowest bit of the upper half of ''p'' to determine their Ability. Just as with Generation III and IV Pokémon, a 0 still indicates a Pokémon's first Ability, while 1 indicates its second. This can be derived by calculating <math>\left\lfloor p / 65536 \right\rfloor \bmod 2</math>.


If a Pokémon is transferred to a later generation where its species' Abilities have changed, it will retain the Ability it had in the earlier generation so long as it does not evolve, since the games store a Pokémon's current Ability in a value separate from its personality value. However, in Generations IV and V, when a Pokémon evolves, its personality value is rechecked and the Pokémon's Ability may change. If a Pokémon that would change Abilities on evolution is transferred to [[Pokémon Bank]], it will be locked into its current Ability slot upon transfer through [[Poké Transporter]].
If a Pokémon is transferred to a later generation where its species' Abilities have changed, it will retain the Ability it had in the earlier generation so long as it does not evolve, since the games store a Pokémon's current Ability in a value separate from its personality value. However, in Generations IV and V, when a Pokémon evolves, its personality value is rechecked and the Pokémon's Ability may change. If a Pokémon that would change Abilities on evolution is transferred to [[Pokémon Bank]], it will be locked into the Ability slot corresponding to its current Ability upon transfer through [[Poké Transporter]].


As an example, in Generation III, {{p|Porygon}} and {{p|Porygon2}} only had the Ability {{a|Trace}}, but in Generation IV, they gained {{a|Download}} as a second Ability. If a {{p|Porygon}} from Generation III is brought to a Generation IV game, it will have Trace no matter what its personality value is; however, if it evolves into {{p|Porygon2}}, it will only keep Trace if ''p'' is even.
As an example, in Generation III, {{p|Porygon}} and {{p|Porygon2}} only had the Ability {{a|Trace}}, but in Generation IV, they gained {{a|Download}} as a second Ability. If a {{p|Porygon}} from Generation III is brought to a Generation IV game, it will have Trace no matter what its personality value is; however, if it evolves into {{p|Porygon2}}, it will only keep Trace if ''p'' is even.
2,881

edits