Personality value: Difference between revisions

no edit summary
m (→‎Intro: Requested by [email protected] on #bulbapedia , cause of him feeling unworthy to have an account here to edit himself cause he knows nothing on the Pokémon games.)
No edit summary
Line 1: Line 1:
A Pokémon's '''personality value''' is an {{wp|Signedness|unsigned}} {{wp|32-bit}} {{wp|Integer (computer science)|integer}} that is created when the Pokémon is first encountered; it is set as soon as the Pokémon appears in the wild, the Pokémon's Egg is received from the {{pkmn|Day Care}} man or another [[Non-player character|NPC]], or the Pokémon itself is received from an NPC.  As an unsigned 32-bit integer, its value can be anywhere between 0 and 4,294,967,295 inclusive, represented as a string of thirty-two 0's and/or 1's in binary, respectively. This value was introduced with the [[Pokémon data structure in the GBA|Pokémon data structure]] overhaul that occurred at the start of [[Generation III]], and is generated using the games' [[Pseudo-random number generation in Pokémon|pseudorandom number generator]].
A Pokémon's '''personality value''' is an {{wp|Signedness|unsigned}} {{wp|32-bit}} {{wp|Integer (computer science)|integer}} that is created when the Pokémon is first encountered; it is set as soon as the Pokémon appears in the wild, the Pokémon's Egg is received from the {{pkmn|Day Care}} man or another [[Non-player character|NPC]], or the Pokémon itself is received from an NPC.  As an unsigned 32-bit integer, its value can be anywhere between 0, which is represented as 00,000,000,000,000,000,000,000,000,000,000, thirty-two zeroes in binary, and 4,294,967,295, represented as 11,111,111,111,111,111,111,111,111,111,111, thirty-two ones in binary, inclusive. This value was introduced with the [[Pokémon data structure in the GBA|Pokémon data structure]] overhaul that occurred at the start of [[Generation III]], and is generated using the games' [[Pseudo-random number generation in Pokémon|pseudorandom number generator]].


For each operation, the portion of the 32-bit value used will be indicated at the beginning of the section by highlighting, unless the full value is used. The integer's full value will be known as ''p'', other values will be declared as ''p<sub>x</sub>'', ''p<sub>y</sub>'', and so on. Much of this article will be discussing values in binary.
For each operation, the portion of the 32-bit value used will be indicated at the beginning of the section by highlighting, unless the full value is used. The integer's full value will be known as ''p'', other values will be declared as ''p<sub>x</sub>'', ''p<sub>y</sub>'', and so on. Much of this article will be discussing values in binary.
Line 235: Line 235:


{| {{bluetable2}}
{| {{bluetable2}}
! Attribute !! Attribute modifier !! Personality digit !! Neutral nature +10 !! Neutral nature -10 !! Other nature stat
! Attribute
! Attribute modifier
! Personality digit
! Neutral nature +10
! Neutral nature -10
! Other nature stat
|-
|-
| Power || 0 || Ones || Hardy || Bashful || Attack
| Power
| 0
| Ones
| Hardy
| Bashful
| Attack
|-
|-
| Stamina || 1 || Tens || Docile || Quirky || Defense
| Stamina
| 1
| Tens
| Docile
| Quirky
| Defense
|-
|-
| Skill || 2 || Hundreds || Quirky || Serious || Sp. Def
| Skill
| 2
| Hundreds
| Quirky
| Serious
| Sp. Def
|-
|-
| Jump || 3 || Thousands || Bashful || Docile || Sp. Atk
| Jump
| 3
| Thousands
| Bashful
| Docile
| Sp. Atk
|-
|-
| Speed || 4 || Ten-thousands || Serious || Hardy || Speed
| Speed
| 4
| Ten-thousands
| Serious
| Hardy
| Speed
|}
|}


Line 253: Line 283:
{| {{bluetable2}}
{| {{bluetable2}}
! Stars
! Stars
| -4 || -3 || -2 || -1 || 0 || 1 || 2 || 3 || 4
| -4
| -3
| -2
| -1
| 0
| 1
| 2
| 3
| 4
|-
|-
! Score
! Score
| < -120 || -119 - -80 || -79 - -40 || -39 - -15 || -14 - 14 || 15 - 39 || 40 - 79 || 80 - 119 || > 120
| < -120
| -119 - -80
| -79 - -40
| -39 - -15
| -14 - 14
| 15 - 39
| 40 - 79
| 80 - 119
| > 120
|}
|}