Personality value: Difference between revisions

Undo revision 2454849 by Kyto (talk): sorry, but are you sure? the PID is an int, not a floating point value, so there are no decimals
m (Performance calculation mistakenly used binary instead of decimal digits)
(Undo revision 2454849 by Kyto (talk): sorry, but are you sure? the PID is an int, not a floating point value, so there are no decimals)
Line 344: Line 344:


===Performance changes===
===Performance changes===
<code>00000000 00000000 00000000 000<span style="background:#FF9999">0</span><span style="background:#9999FF">0</span><span style="background:#99FF99">0</span><span style="background:#FFFF99">0</span><span style="background:#FF99FF">0</span></code>


The day-to-day [[performance]] of a Pokémon in the [[Pokéathlon]] depends on its personality value and the day of the month. It also depends on Nature, which is also calculated based on the personality value. The five least significant decimal digits of ''p'' will here be referred to as ''p''<sub>0</sub> to ''p''<sub>4</sub>, in order from the least significant bit to the most significant, and they govern (in order) the attributes Power, Stamina, Skill, Jump, and Speed.
The day-to-day [[performance]] of a Pokémon in the [[Pokéathlon]] depends on its personality value and the day of the month. It also depends on Nature, which is also calculated based on the personality value. The five least significant digits of ''p'' will here be referred to as ''p''<sub>0</sub> to ''p''<sub>4</sub>, in order from the least significant bit to the most significant, and they govern (in order) the attributes Power, Stamina, Skill, Jump, and Speed.


The change in performance in a particular attribute is calculated as the sum of the following factors:
The change in performance in a particular attribute is calculated as the sum of the following factors:
Line 351: Line 352:
** ''Day'' is the day of the month.
** ''Day'' is the day of the month.
** ''Attribute'' is 0 for Power, 1 for Stamina, 2 for Skill, 3 for Jump, and 4 for Speed.
** ''Attribute'' is 0 for Power, 1 for Stamina, 2 for Skill, 3 for Jump, and 4 for Speed.
** ''p<sub>attribute</sub>'' is the digit of ''p'' governing the current attribute.
** ''p<sub>attribute</sub>'' is the bit of ''p'' governing the current attribute.
:Note that this modifier's values range from -9 to +9, and it only takes on odd values. This also means that the day of the month modifier cycles every 10 days, excepting for Power and Speed where the modifiers for Day 1 are different from those for Days 11, 21, and 31.
:Note that this modifier's values range from -9 to +9, and it only takes on odd values. This also means that the day of the month modifier cycles every 10 days, excepting for Power and Speed where the modifiers for Day 1 are different from those for Days 11, 21, and 31.
:Since Nature is determined by the last two digits of the personality value, the Nature of a Pokémon will reveal constrains on possible values of this modifier for Power (and, to a lesser extent, Stamina). For example, a Hardy {{p|Wurmple}} (last digit of ''p'': 0 or 5) will never get a +9 or a +7 from this modifier in Power. If it evolves into a {{p|Cascoon}} (last digit of ''p'': 5), this further reveals that its best day-of-the-month modifier (+5) will be on the first day of a month only. On the other hand, a Hardy {{p|Silcoon}} will have a +5 boost six times a month (on days ending with 4 or 6).
:Since Nature is determined by the last two digits of the personality value, the Nature of a Pokémon will reveal constrains on possible values of this modifier for Power (and, to a lesser extent, Stamina). For example, a Hardy {{p|Wurmple}} (last digit of ''p'': 0 or 5) will never get a +9 or a +7 from this modifier in Power. If it evolves into a {{p|Cascoon}} (last digit of ''p'': 5), this further reveals that its best day-of-the-month modifier (+5) will be on the first day of a month only. On the other hand, a Hardy {{p|Silcoon}} will have a +5 boost six times a month (on days ending with 4 or 6).
1,422

edits