Personality value: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
no edit summary
mNo edit summary
Line 205: Line 205:
''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 (ever since [[Generation III]]) 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:
{{p|Unown}}'s letter (ever since [[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:


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

edits

Navigation menu