55,887
edits
(→Nature) |
(→Gender) |
||
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>. Pokémon ''with'' gender, however, occupy the rest of the gamut. 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. Likewise, if ''p<sub>gender</sub>'' is equal to or less than the base stat value, the Pokémon 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>. Pokémon ''with'' gender, however, occupy the rest of the gamut. 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. Likewise, if ''p<sub>gender</sub>'' is equal to or less than the base stat value, the Pokémon is female. | ||
<!--Is this calctable correct?--> | |||
{| border=1 align="left" style="background: #fff; border:1px solid #000; border-collapse:collapse;" | |||
|- style="background: #C0C0FF;" | |||
! colspan="2" | Base stat value | |||
! colspan="2" | Gender ratio | |||
|- style="background: #C0C0FF;" | |||
! Binary | |||
! Decimal | |||
! Male | |||
! Female | |||
|- align="center" | |||
| <code>11111111</code> | |||
| 255 | |||
| colspan="2" | Genderless | |||
|- align="center" | |||
| <code>11111110</code> | |||
| 254 | |||
| 0% | |||
| 100% | |||
|- align="center" | |||
| <code>11011111</code> | |||
| 223 | |||
| 12.5% | |||
| 87.5% | |||
|- align="center" | |||
| <code>10111111</code> | |||
| 191 | |||
| 25% | |||
| 75% | |||
|- align="center" | |||
| <code>01111111</code> | |||
| 127 | |||
| 50% | |||
| 50% | |||
|- align="center" | |||
| <code>00111111</code> | |||
| 63 | |||
| 75% | |||
| 25% | |||
|- align="center" | |||
| <code>00011111</code> | |||
| 31 | |||
| 87.5% | |||
| 12.5% | |||
|- align="center" | |||
| <code>00000000</code> | |||
| 0 | |||
| 100% | |||
| 0% | |||
|} | |||
<br clear="all"> | |||
==Ability== | ==Ability== |
edits