Personality value: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
No edit summary
Line 202: Line 202:
{{p|Spinda}} has four spots: two on its face, and one on each of its ears. Each of the four bytes represents the coordinates of the spot on Spinda's face or ears. The first four digits of each byte represents the x-coordinate of the top left of the spot when translated into decimal notation, while the last four represent the y-coordinate of the top left of the spot when translated into decimal. There are [[Spinda (Pokémon)#Trivia|4,294,967,296 different]] spot variations.
{{p|Spinda}} has four spots: two on its face, and one on each of its ears. Each of the four bytes represents the coordinates of the spot on Spinda's face or ears. The first four digits of each byte represents the x-coordinate of the top left of the spot when translated into decimal notation, while the last four represent the y-coordinate of the top left of the spot when translated into decimal. There are [[Spinda (Pokémon)#Trivia|4,294,967,296 different]] spot variations.


==Unown's letter (Gen III only)==
==Unown's letter (Generation III only)==
<code>000000<span style="background:#FF9999">00</span> 000000<span style="background:#9999FF">00</span> 000000<span style="background:#99FF99">00</span> 000000<span style="background:#FFFF99">00</span></code>
<code>000000<span style="background:#FF9999">00</span> 000000<span style="background:#9999FF">00</span> 000000<span style="background:#99FF99">00</span> 000000<span style="background:#FFFF99">00</span></code>


''p<sub>letter</sub>'' = <code><span style="background:#FF9999">00</span><span style="background:#9999FF">00</span><span style="background:#99FF99">00</span><span style="background:#FFFF99">00</span></code>
''p<sub>letter</sub>'' = <code><span style="background:#FF9999">00</span><span style="background:#9999FF">00</span><span style="background:#99FF99">00</span><span style="background:#FFFF99">00</span></code>


{{p|Unown}}'s letter (in [[Generation III]], for [[Generation II]] see [[individual values]]) is taken from the modulus of the combination of the least significant 2 bits of each byte in ''p''. With A representing 0, and each letter thereafter representing the following number value (? as 26 and ! as 27), the letter can be determined by:
In Generation III, {{p|Unown}}'s letter is taken from the modulus of the combination of the least significant 2 bits of each byte in ''p''. With A representing 0, and each letter thereafter representing the following number value (? as 26 and ! as 27), the letter can be determined by:


<code>''u<sub>p</sub>'' = ''p<sub>letter</sub>'' % 28</code>
<code>''u<sub>p</sub>'' = ''p<sub>letter</sub>'' % 28</code>


In Gens IV and V Unown's letter is determined by a separate byte, unrelated to the personality value.
In Generation II this is determined using [[individual values]]. In Generations IV and V Unown's letter is determined by a separate byte, unrelated to the personality value.


==Wurmple's evolution==
==Wurmple's evolution==

Navigation menu