Personality value: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
Line 9: Line 9:


In a Pokémon species's [[Pokémon base stats data structure in the GBA|base stat structure]], there is a byte that may be set to any value between <code>00000000</code> and <code>11111111</code>. For genderless Pokémon such as {{p|Magnemite}}, the value of this byte always is <code>11111111</code>.  For female only Pokémon such as {{p|Nidoran♀}}, the value of this byte is <code>11111110</code>.  For male only Pokémon such as {{p|Nidoran♂}}, the value of this byte is <code>00000000</code>.  Pokémon with ''both'' genders, however, occupy the rest of the spectrum.  For these Pokémon, if the value of ''p<sub>gender</sub>'' is greater than that of the base stat value, the Pokémon is male, otherwise it is female.
In a Pokémon species's [[Pokémon base stats data structure in the GBA|base stat structure]], there is a byte that may be set to any value between <code>00000000</code> and <code>11111111</code>. For genderless Pokémon such as {{p|Magnemite}}, the value of this byte always is <code>11111111</code>.  For female only Pokémon such as {{p|Nidoran♀}}, the value of this byte is <code>11111110</code>.  For male only Pokémon such as {{p|Nidoran♂}}, the value of this byte is <code>00000000</code>.  Pokémon with ''both'' genders, however, occupy the rest of the spectrum.  For these Pokémon, if the value of ''p<sub>gender</sub>'' is greater than that of the base stat value, the Pokémon is male, otherwise it is female.
<br><br>
 
 
<!--Is this calctable correct?-->
<!--Is this calctable correct?-->
{| border=1 align="left" style="background: #fff; border:1px solid #000; border-collapse:collapse;"
{| border=1 align="left" style="background: #fff; border:1px solid #000; border-collapse:collapse;"
509

edits

Navigation menu