Individual values: Difference between revisions

Including the rounding in the formulas themselves rather than in the prose
(→‎Intro: "They prefer to do sth because they prefer to think sth" simply doesn't sound right.)
(Including the rounding in the formulas themselves rather than in the prose)
Line 5: Line 5:
In the games, the term '''potential''' is often used to allude to IVs, such as by the [[stats judge]]. [[Game Freak]] keeps IVs and {{EV}}s hidden because they prefer to think of {{OBP|Pokémon|species}} as "real, living creatures".<ref>[http://www.wired.co.uk/news/archive/2014-12/11/pokemon-interview Pokemon's Junichi Masuda: 'We weren’t explicitly targeting children' (Wired UK)]</ref>
In the games, the term '''potential''' is often used to allude to IVs, such as by the [[stats judge]]. [[Game Freak]] keeps IVs and {{EV}}s hidden because they prefer to think of {{OBP|Pokémon|species}} as "real, living creatures".<ref>[http://www.wired.co.uk/news/archive/2014-12/11/pokemon-interview Pokemon's Junichi Masuda: 'We weren’t explicitly targeting children' (Wired UK)]</ref>


==Overview==
Each of the six battle stats has an IV associated with it, with that IV coming into calculation alongside the Pokémon's [[base stats]] and {{EV}}s to determine the actual stat number. A Pokémon's IVs are determined when it is [[Pseudorandom number generation in Pokémon|generated by the game]]; when it is obtained as an {{pkmn|Egg}} from the [[Pokémon Day Care]], [[wild Pokémon|encountered in the wild]], or [[Gift Pokémon|given to the player by an NPC]].
Each of the six battle stats has an IV associated with it, with that IV coming into calculation alongside the Pokémon's [[base stats]] and {{EV}}s to determine the actual stat number. A Pokémon's IVs are determined when it is [[Pseudorandom number generation in Pokémon|generated by the game]]; when it is obtained as an {{pkmn|Egg}} from the [[Pokémon Day Care]], [[wild Pokémon|encountered in the wild]], or [[Gift Pokémon|given to the player by an NPC]].


===Generation I===
==Generation I and II==
In Generation I, there were only four IVs stored for each individual Pokémon: Attack, Defense, Speed, and Special. Each of these covered the respective stat, with the HP IV determined from the IVs stored for the other four. IVs had a range from 0-15, in binary 0000-1111, with the HP IV taking the final binary digit of the Attack, Defense, Speed, and Special IVs and placing it, in that order, for its own IV. As such, a Pokémon with an odd-number Attack IV had 8 added to its HP IV, Defense had 4 added, Speed had 2 added, and Special had 1 added.
In Generation I and II, only four IVs stored for each individual Pokémon: Attack, Defense, Speed, and Special. Each of these is used to determine their associated stat, with the HP IV determined from the IVs stored for the other four. IVs range from 0-15 (in binary 0000-1111).


The IVs' determination of stats follow the below formulas:
The HP IV is calculated by taking the {{wp|least significant bit}} (the final binary digit) of the Attack, Defense, Speed, and Special IVs, then creating a binary string by placing them in that order. As such, a Pokémon with an odd-number Attack IV has 8 added to its HP IV, an odd-number Defense IV has 4 added, an odd-number Speed IV has 2 added, and an odd-number Special IV has 1 added.
 
In Generation II, due to the Special stat being split into Special Attack and Special Defense, the Special IV is used for both Special Attack and Special Defense.
 
In Generation II, several things aside from stats are also based on stats IVs. From [[Generation III]] onward, all of these except the [[type]] and [[power]] of {{m|Hidden Power}} are determined by the Pokémon's [[personality value]] instead.
 
===Usage===
====Determination of stats====
In Generation I and II, a Pokémon's stats are determined according to the following formulas.


<!-- These really should be DV and STATEXP instead of IV and EV, which were introduced in Gen III. -->
<!-- These really should be DV and STATEXP instead of IV and EV, which were introduced in Gen III. -->
Line 18: Line 25:
[[File:Statcalc gen12.png]]
[[File:Statcalc gen12.png]]


The stat is rounded down if the result is a decimal. Note that the numerator is multiplied by two compared to this formula before rounding. For example, the quantity (base + IV + sqrt(EV)/8) for stats other than HP is rounded down to the nearest integer before multiplying by level and dividing by 50. This is crucial to calculating the exact stats, as otherwise rounding errors will occur.
'''Example'''<br />
 
For two {{p|Mewtwo}} caught in [[Cerulean Cave]]:
For two {{p|Mewtwo}} caught in [[Cerulean Cave]]:


{| style="{{roundy}}; border: 2px solid #{{red color}}; background: #{{green color}}; margin-right: 5px; margin-bottom: 5px;"
{| style="{{roundy}}; border: 2px solid #{{red color}}; background: #{{green color}}; margin-right: 5px; margin-bottom: 5px; text-align:center"
|-
! style="background:#{{green color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{green color light}}; {{roundytl|5px}};" | Pokémon
! style="background:#{{hp color light}}" | HP
! style="background:#{{hp color light}};" | HP
! style="background:#{{attack color light}}" | Attack
! style="background:#{{attack color light}};" | Attack
! style="background:#{{defense color light}}" | Defense
! style="background:#{{defense color light}};" | Defense
! style="background:#{{speed color light}}" | Speed
! style="background:#{{speed color light}};" | Speed
! style="background:#AFD7CF; {{roundytr|5px}}" | Special
! style="background:#AFD7CF; {{roundytr|5px}}" | Special
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{psychic color light}};" | Mewtwo A
! rowspan="2" style="background:#{{psychic color light}}" | Mewtwo A
| 234
| 234
| 178
| 178
Line 37: Line 42:
| 198
| 198
| 229  
| 229  
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 4<br>(<span style="font-family:Monospace;">0100</span>)
| 4<br>(<span style="font-family:Monospace">0100</span>)
| 14<br>(<span style="font-family:Monospace;">1110</span>)
| 14<br>(<span style="font-family:Monospace">1110</span>)
| 5<br>(<span style="font-family:Monospace;">0101</span>)
| 5<br>(<span style="font-family:Monospace">0101</span>)
| 8<br>(<span style="font-family:Monospace;">1000</span>)
| 8<br>(<span style="font-family:Monospace">1000</span>)
| 6<br>(<span style="font-family:Monospace;">0110</span>)
| 6<br>(<span style="font-family:Monospace">0110</span>)
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{psychic color light}}; {{roundybl|5px}}" | Mewtwo B
! rowspan="2" style="background:#{{psychic color light}}; {{roundybl|5px}}" | Mewtwo B
| 228
| 228
Line 50: Line 55:
| 201
| 201
| 237  
| 237  
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 0<br>(<span style="font-family:Monospace;">0000</span>)
| 0<br>(<span style="font-family:Monospace">0000</span>)
| 2<br>(<span style="font-family:Monospace;">0010</span>)
| 2<br>(<span style="font-family:Monospace">0010</span>)
| 6<br>(<span style="font-family:Monospace;">0110</span>)
| 6<br>(<span style="font-family:Monospace">0110</span>)
| 10<br>(<span style="font-family:Monospace;">1010</span>)
| 10<br>(<span style="font-family:Monospace">1010</span>)
| style="{{roundybr|5px}}" | 12<br>(<span style="font-family:Monospace;">1100</span>)
| style="{{roundybr|5px}}" | 12<br>(<span style="font-family:Monospace">1100</span>)
|}<br clear="all">
|}<br clear="all">


===Generation II===
====Gender====
To maintain backwards compatibility with the Generation I games, IVs remained unchanged, though now the four stored IVs covered for six stats. Whereas the HP IV's matter of determination went unchanged from the original games, the Special IV now covered for both Special Attack and Special Defense, being used in the calculations for both of them.
In Generation II, a Pokémon's [[gender]] is determined based solely on its Attack IV when compared to a [[List of Pokémon by gender ratio|value specific to each Pokémon species]]. A Pokémon is female if its Attack IV is less than or equal to its species' gender code, otherwise it is male. For species that are exclusively one gender or have no gender, the calculation based on the Attack IV is ignored.


Several things aside from stats came to be based on the randomly-generated IVs, however, in Generation II. While most of these would, in [[Generation III]] and later games, go on to be determined instead by the [[personality value]] of the Pokémon, the type and power of the move {{m|Hidden Power}} remains to the present based on a Pokémon's IV set.
Due to this calculation, it is impossible to obtain a female Pokémon with high Attack, unless the Pokémon is a member of an all-female species like {{p|Jynx}} or {{p|Chansey}}. Starter Pokémon and others with a gender ratio of seven males to one female suffer the most, with the maximum Attack IV for a female Pokémon of those species being 1.


====Gender====
Gender ratios are actually somewhat skewed from the theoretical values. For example, a Pokémon with a supposed 1:1 gender ratio will actually be male 9/16 of the time and female 7/16 of the time (when IVs are completely random).
A Pokémon's [[gender]] was determined based solely on its Attack IV when compared to a [[List of Pokémon by gender ratio|specific value native to each Pokémon species]]. If the Attack IV was less than or equal to the gender code associated with the Pokémon's species, it would be female, whereas in all other instances, the Pokémon would be male. For species of only one gender, or those with no gender, the calculation based on the Attack IV is ignored.


Due to this calculation, it is impossible to obtain a female Pokémon with high Attack, unless the Pokémon is a member of an all-female species like {{p|Jynx}} or {{p|Chansey}}. Starter Pokémon and others with a gender ratio of seven males to one female suffer the most, with the maximum Attack IV for a female Pokémon of those species being 1.
{| class="roundy" style="text-align:center; background: #{{silver color}}; border: 3px solid #{{gold color}}; margin-bottom: 10px"
! colspan="2" | Attack IV
! colspan="2" | Gender ratio
|-
! Male
! Female
! Male
! Female
|- style="background:#fff"
| ''N/A''
| ''N/A''
| colspan="2" | Genderless
|- style="background:#fff"
| 0-15
| ''N/A''
| 0.0%
| 100.0%
|- style="background:#fff"
| 2-15
| 0-1
| 12.5%
| 87.5%
|- style="background:#fff"
| 5-15
| 0-4
| 25.0%
| 75.0%
|- style="background:#fff"
| 7-15
| 0-6
| 50.0%
| 50.0%
|- style="background:#fff"
| 12-15
| 0-11
| 75.0%
| 25.0%
<!--|- style="background:#fff"
| 14-15
| 0-13
| 87.5%
| 12.5%-->
|- style="background:#fff"
| ''N/A''
| 0-15
| 100.0%
| 0.0%
|}


'''Example'''<br />
For two {{p|Cyndaquil}} obtained from [[Professor Elm]]:
For two {{p|Cyndaquil}} obtained from [[Professor Elm]]:


{| align="left" style="{{roundy}} border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px;"
{| style="{{roundy}} border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px; text-align:center"
|-
! style="background:#{{silver color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{silver color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{silver color light}};" | Gender
! style="background:#{{silver color light}}" | Gender
! style="background:#{{hp color light}};" | HP
! style="background:#{{hp color light}}" | HP
! style="background:#{{attack color light}};" | Attack
! style="background:#{{attack color light}}" | Attack
! style="background:#{{defense color light}};" | Defense
! style="background:#{{defense color light}}" | Defense
! style="background:#{{speed color light}};" | Speed
! style="background:#{{speed color light}}" | Speed
! style="background:#{{special attack color}};" | Sp. Atk
! style="background:#{{special attack color}}" | Sp. Atk
! style="background:#{{special defense color}}; {{roundytr|5px}}" | Sp. Def
! style="background:#{{special defense color}}; {{roundytr|5px}}" | Sp. Def
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{fire color light}};" | Cyndaquil A
! rowspan="2" style="background:#{{fire color light}}" | Cyndaquil A
! rowspan="2" style="background:#FF6060;" | ♀
! rowspan="2" style="background:#{{red color light}}" | ♀
| 20
| 20
| 10
| 10
Line 89: Line 140:
| 11
| 11
| 10  
| 10  
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 13<br>(<span style="font-family:Monospace;">1101</span>)
| 13<br>(<span style="font-family:Monospace">1101</span>)
| 1<br>(<span style="font-family:Monospace;">0001</span>)
| 1<br>(<span style="font-family:Monospace">0001</span>)
| 3<br>(<span style="font-family:Monospace;">0011</span>)
| 3<br>(<span style="font-family:Monospace">0011</span>)
| 10<br>(<span style="font-family:Monospace;">1010</span>)
| 10<br>(<span style="font-family:Monospace">1010</span>)
| colspan="2" | 9<br>(<span style="font-family:Monospace;">1001</span>)
| colspan="2" | 9<br>(<span style="font-family:Monospace">1001</span>)
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{fire color light}}; {{roundybl|5px}}" | Cyndaquil B
! rowspan="2" style="background:#{{fire color light}}; {{roundybl|5px}}" | Cyndaquil B
! rowspan="2" style="background:#0000FF;" | ♂
! rowspan="2" style="background:#{{blue color light}}" | ♂
| 19
| 19
| 11
| 11
Line 104: Line 155:
| 11
| 11
| 10  
| 10  
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 6<br>(<span style="font-family:Monospace;">0110</span>)
| 6<br>(<span style="font-family:Monospace">0110</span>)
| 14<br>(<span style="font-family:Monospace;">1110</span>)
| 14<br>(<span style="font-family:Monospace">1110</span>)
| 7<br>(<span style="font-family:Monospace;">0111</span>)
| 7<br>(<span style="font-family:Monospace">0111</span>)
| 11<br>(<span style="font-family:Monospace;">1011</span>)
| 11<br>(<span style="font-family:Monospace">1011</span>)
| style="{{roundybr|5px}}" colspan="2" | 2<br>(<span style="font-family:Monospace;">0010</span>)
| style="{{roundybr|5px}}" colspan="2" | 2<br>(<span style="font-family:Monospace">0010</span>)
|}<br clear="all">
|}<br clear="all">


====Shininess====
====Shininess====
Whether a Pokémon is {{Shiny}} is also determined by IVs, though in a much more specific manner than its gender is. A Shiny Pokémon, in Generation II only, must have IVs of 10 in Defense, Speed, and Special, as well as an IV of 2, 3, 6, 7, 10, 11, 14, or 15 in Attack. Such a lineup only has a 1/8192 chance of occurring, the standard rarity of a Shiny Pokémon to this day.
In Generation II, whether or not a Pokémon is Shiny is determined by its IVs.


Due to the lineup excluding Pokémon with a 0 or 1 IV in Attack, female Pokémon of species with a seven male to one female ratio can never be Shiny in Generation II.
A Pokémon is Shiny if and only if both of the following conditions are met.
*Its Defense, Speed, and Special IVs are all 10.
*Its Attack IV is 2, 3, 6, 7, 10, 11, 14, or 15.


Due to the way the HP IV is determined, a Shiny Pokémon's HP IV can only be 0 (if the Attack IV is even) or 8 (if the Attack IV is odd).
Except when IVs are influenced due to {{pkmn|breeding}}, this set of IVs has a 1/8192 chance of occurring, which is also the likelihood of a wild Pokémon being Shiny in Generation III, IV, and V. Due to HP IV being calculated from the other IVs, a Shiny Pokémon's HP IV can only be 0 (if the Attack IV is even) or 8 (if the Attack IV is odd).


Sandshrew A was Shiny. Sandshrew B was not Shiny.
Since 0 and 1 are not possible Attack IVs for a Shiny Pokémon, female Pokémon of {{cat|Pokémon with a gender ratio of seven males to one female|species with a seven male to one female ratio}} can never be Shiny in Generation II.


For two {{p|Sandshrew}} caught in [[Union Cave]]:
'''Example'''<br />
For two {{p|Sandshrew}} caught in [[Union Cave]] (Sandshrew A is Shiny, Sandshrew B is not Shiny):


{| align="left" style="{{roundy}}; border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px;"
{| style="{{roundy}}; border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px; text-align:center"
|-
! style="background:#{{silver color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{silver color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{silver color light}};" | Gender
! style="background:#{{silver color light}}" | Gender
! style="background:#{{hp color light}};" | HP
! style="background:#{{hp color light}}" | HP
! style="background:#{{attack color light}};" | Attack
! style="background:#{{attack color light}}" | Attack
! style="background:#{{defense color light}};" | Defense
! style="background:#{{defense color light}}" | Defense
! style="background:#{{speed color light}};" | Speed
! style="background:#{{speed color light}}" | Speed
! style="background:#{{special attack color}};" | Sp. Atk
! style="background:#{{special attack color}}" | Sp. Atk
! style="background:#{{special defense color}}; {{roundytr|5px}}" | Sp. Def
! style="background:#{{special defense color}}; {{roundytr|5px}}" | Sp. Def
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{ground color light}};" | Sandshrew A
! rowspan="2" style="background:#{{ground color light}}" | Sandshrew A
! rowspan="2" style="background:#FF6060;" | ♀[[File:ShinyIIStars.png]]
! rowspan="2" style="background:#{{red color light}}" | ♀[[File:ShinyIIStars.png]]
| 22
| 22
| 14
| 14
Line 142: Line 195:
| 8
| 8
| 9
| 9
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 8<br>(<span style="font-family:Monospace;">1000</span>)
| 8<br>(<span style="font-family:Monospace">1000</span>)
| 7<br>(<span style="font-family:Monospace;">0111</span>)
| 7<br>(<span style="font-family:Monospace">0111</span>)
| 10<br>(<span style="font-family:Monospace;">1010</span>)
| 10<br>(<span style="font-family:Monospace">1010</span>)
| 10<br>(<span style="font-family:Monospace;">1010</span>)
| 10<br>(<span style="font-family:Monospace">1010</span>)
| colspan="2" | 10<br>(<span style="font-family:Monospace;">1010</span>)
| colspan="2" | 10<br>(<span style="font-family:Monospace">1010</span>)
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{ground color light}}; {{roundybl|5px}}" | Sandshrew B
! rowspan="2" style="background:#{{ground color light}}; {{roundybl|5px}}" | Sandshrew B
! rowspan="2" style="background:#FF6060;" | ♀
! rowspan="2" style="background:#{{red color light}}" | ♀
| 22
| 22
| 14
| 14
Line 157: Line 210:
| 8
| 8
| 9  
| 9  
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 7<br>(<span style="font-family:Monospace;">0111</span>)
| 7<br>(<span style="font-family:Monospace">0111</span>)
| 6<br>(<span style="font-family:Monospace;">0110</span>)
| 6<br>(<span style="font-family:Monospace">0110</span>)
| 15<br>(<span style="font-family:Monospace;">1111</span>)
| 15<br>(<span style="font-family:Monospace">1111</span>)
| 7<br>(<span style="font-family:Monospace;">0111</span>)
| 7<br>(<span style="font-family:Monospace">0111</span>)
| style="{{roundybr|5px}}" colspan="2" | 5<br>(<span style="font-family:Monospace;">0101</span>)
| style="{{roundybr|5px}}" colspan="2" | 5<br>(<span style="font-family:Monospace">0101</span>)
|}<br clear="all">
|}<br clear="all">


====Unown's letter====
====Unown's letter====
{{p|Unown}}'s letter in Generation II is taken from the combination of the center two bits of the Attack, Defense, Speed and Special IV {{wp|nibble}}s. This combination is then divided by ten, and the result is [[wp:Floor_function|rounded down (''floor[]'')]] to only include the integer part of the number. This integer will range from 0-25, corresponding to a letter in the Latin alphabet, which will be the Unown's letter (where 0=A, 1=B, 2=C, ..., 23=X, 24=Y, 25=Z, and not including '!' or '?', which were introduced in Generation III).
In Generation II, {{p|Unown}}'s letter is taken from the combination of the center two bits of the Attack, Defense, Speed and Special IV {{wp|nibble}}s. This combination is then divided by ten, and the result is [[wp:Floor function|rounded down (''floor[]'')]] to only include the integer part of the number. This integer will range from 0-25, corresponding to a letter in the {{wp|Latin alphabet}}, which will be the Unown's letter (where 0=A, 1=B, 2=C, ..., 23=X, 24=Y, 25=Z).


In Generation II, due to this method of calculating Unown's letter and the way that {{Shiny}} Pokémon are determined, a Shiny Unown can only exist in the shape of the letter I or V.
In Generation II, due to this method of calculating Unown's letter and the way that {{Shiny}} Pokémon are determined, a Shiny Unown can only exist in the shape of the letter I or V.


In Generation III, Unown's letter is determined by the Pokémon's [[personality value]]. From Generation IV onward, it is determined by a separate form identifier.  
In Generation III, Unown's letter is determined by the Pokémon's [[personality value]]. From Generation IV onward, it is determined by a separate form identifier. Generation III also introduced Unown '!' or '?'.


'''Example'''<br />
For two Unown caught in the [[Ruins of Alph]]:
For two Unown caught in the [[Ruins of Alph]]:


{| align="left" style="{{roundy}}; border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px;"
{| style="{{roundy}}; border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px; text-align:center"
|-
! style="background:#{{silver color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{silver color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{hp color light}};" | HP
! style="background:#{{hp color light}}" | HP
! style="background:#{{attack color light}};" | Attack
! style="background:#{{attack color light}}" | Attack
! style="background:#{{defense color light}};" | Defense
! style="background:#{{defense color light}}" | Defense
! style="background:#{{speed color light}};" | Speed
! style="background:#{{speed color light}}" | Speed
! style="background:#{{special attack color}};" | Sp. Atk
! style="background:#{{special attack color}}" | Sp. Atk
! style="background:#{{special defense color}};" | Sp. Def
! style="background:#{{special defense color}}" | Sp. Def
! style="background:#{{silver color light}};" | Combination
! style="background:#{{silver color light}}" | Combination
! style="background:#{{silver color light}};" | Integer
! style="background:#{{silver color light}}" | Integer
! style="background:#{{silver color light}}; {{roundytr|5px}}" | Letter
! style="background:#{{silver color light}}; {{roundytr|5px}}" | Letter
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{psychic color light}};" | Unown 1
! rowspan="2" style="background:#{{psychic color light}}" | Unown 1
| 20
| 20
| 13
| 13
Line 194: Line 247:
| 13
| 13
| 11
| 11
! rowspan="2" | 67<br>(<span style="font-family:Monospace;"><span style="background:#{{attack color light}}">01</span><span style="background:#{{defense color light}}">00</span><span style="background:#{{speed color light}}">00</span><span style="background:#{{special attack color}}">11</span></span>)
! rowspan="2" | 67<br>(<span style="font-family:Monospace"><span style="background:#{{attack color light}}">01</span><span style="background:#{{defense color light}}">00</span><span style="background:#{{speed color light}}">00</span><span style="background:#{{special attack color}}">11</span></span>)
! rowspan="2" | 6
! rowspan="2" | 6
! rowspan="2" style="background:#{{psychic color light}};" | G
! rowspan="2" style="background:#{{psychic color light}}" | G
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 6<br>(<span style="font-family:Monospace;">0110</span>)
| 6<br>(<span style="font-family:Monospace">0110</span>)
| 10<br>(<span style="font-family:Monospace;">1<span style="background:#{{attack color light}}">01</span>0</span>)
| 10<br>(<span style="font-family:Monospace">1<span style="background:#{{attack color light}}">01</span>0</span>)
| 9<br>(<span style="font-family:Monospace;">1<span style="background:#{{defense color light}}">00</span>1</span>)
| 9<br>(<span style="font-family:Monospace">1<span style="background:#{{defense color light}}">00</span>1</span>)
| 1<br>(<span style="font-family:Monospace;">0<span style="background:#{{speed color light}}">00</span>1</span>)
| 1<br>(<span style="font-family:Monospace">0<span style="background:#{{speed color light}}">00</span>1</span>)
| colspan="2" | 14<br>(<span style="font-family:Monospace;">1<span style="background:#{{special attack color}}">11</span>0</span>)
| colspan="2" | 14<br>(<span style="font-family:Monospace">1<span style="background:#{{special attack color}}">11</span>0</span>)
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{psychic color light}}; {{roundybl|5px}}" | Unown 2
! rowspan="2" style="background:#{{psychic color light}}; {{roundybl|5px}}" | Unown 2
| 21
| 21
Line 211: Line 264:
| 12
| 12
| 10
| 10
! rowspan="2" | 182<br>(<span style="font-family:Monospace;"><span style="background:#{{attack color light}}">10</span><span style="background:#{{defense color light}}">11</span><span style="background:#{{speed color light}}">01</span><span style="background:#{{special attack color}}">10</span></span>)
! rowspan="2" | 182<br>(<span style="font-family:Monospace"><span style="background:#{{attack color light}}">10</span><span style="background:#{{defense color light}}">11</span><span style="background:#{{speed color light}}">01</span><span style="background:#{{special attack color}}">10</span></span>)
! rowspan="2" | 18
! rowspan="2" | 18
! rowspan="2" style="background:#{{psychic color light}}; {{roundybr|5px}}" | S
! rowspan="2" style="background:#{{psychic color light}}; {{roundybr|5px}}" | S
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 13<br>(<span style="font-family:Monospace;">1101</span>)
| 13<br>(<span style="font-family:Monospace">1101</span>)
| 5<br>(<span style="font-family:Monospace;">0<span style="background:#{{attack color light}}">10</span>1</span>)
| 5<br>(<span style="font-family:Monospace">0<span style="background:#{{attack color light}}">10</span>1</span>)
| 15<br>(<span style="font-family:Monospace;">1<span style="background:#{{defense color light}}">11</span>1</span>)
| 15<br>(<span style="font-family:Monospace">1<span style="background:#{{defense color light}}">11</span>1</span>)
| 10<br>(<span style="font-family:Monospace;">1<span style="background:#{{speed color light}}">01</span>0</span>)
| 10<br>(<span style="font-family:Monospace">1<span style="background:#{{speed color light}}">01</span>0</span>)
| colspan="2" | 5<br>(<span style="font-family:Monospace;">0<span style="background:#{{special attack color}}">10</span>1</span>)
| colspan="2" | 5<br>(<span style="font-family:Monospace">0<span style="background:#{{special attack color}}">10</span>1</span>)
|}<br clear="all">
|}<br clear="all">


===Generation III===
====Hidden Power====
In Generation III, the IV system was completely overhauled. Now, rather than having a range of 0-15, IVs would have a range of 0-31, with HP and Special Defense getting their own individually-determined IVs. The formula for calculation of stats by IVs was also changed, as with the IV system the {{EV}} system was also modified, and [[Nature]]s, newly-introduced, now modified certain stats either by raising or lowering them by 10%. The [[personality value]] handles a Pokémon's [[gender]], {{Shiny|Shiny status}}, and several other aspects.
{{main|Hidden Power (move)/Calculation}}
The calculated [[Type]] and [[Power]] of the move {{m|Hidden Power}} is based on the IVs of the Pokémon. Hidden Power can be of any type aside from {{t|Normal}}, have a power between 31 and 70. The formula used in Generation II is different to the one used in later generations.
 
The move's type is determined by the two {{wp|least significant bit}}s of the Attack and Defense IVs. The move's power is determined by the {{wp|most significant bit}} of each of the Pokémon's IVs, as well as the two least significant bits of the Special IVs.


This new system is part of the reason why it is impossible to trade between [[Generation II]] and [[Generation III]] games.
==Generation III onward==
In Generation III, the IV system was completely overhauled; now, IVs range from 0-31 rather than 0-15, with HP and Special Defense getting their own independent IVs.


The Generation III-on determination of stats follows the following two formulas:
Since IVs now have twice the range, they now have half the influence on a Pokémon's stats. The {{EV}} system overhaul and the addition of [[Nature]]s also result in small changes to formula used to determine stats. The [[personality value]] was introduced in Generation III, which handles a Pokémon's [[gender]] and {{Shiny|Shiny status}} instead, as well as several other properties; in Generation III, Unown's form was also handled using the personality value, but this is stored separately in Generation IV onward.
 
The overhaul of the Pokémon data structure is one of the reasons why it was not made possible to trade between [[Generation II]] and [[Generation III]] games.
 
===Usage===
====Determination of stats====
From Generation III onward, a Pokémon's stats are determined according to the following formulas.


[[File:HPStatCalcGen34.png]]
[[File:HPStatCalcGen34.png]]
Line 233: Line 296:
[[File:OtherStatCalcGen34.png]]
[[File:OtherStatCalcGen34.png]]


The IVs are now all stored together as a single 32-bit integer, separate from the equally-large [[personality value]], which is used to determine other aspects of a Pokémon. This integer's highest bits, single numbers, determine which of two Abilities a Pokémon has (if it has potential to have more than one) and whether or not the Pokémon is an unhatched egg or not. The remaining 30 bits are the IVs, five bits apiece, in the order of Sp. Def, Sp. Atk, Speed, Defense, Attack, and HP.
'''Example'''<br />
 
For two {{p|Marill}} caught on {{rt|120|Hoenn}}:
For two {{p|Marill}} caught on {{rt|120|Hoenn}}:


{| align="left" style="{{roundy}} border: 2px solid #{{ruby color}}; background: #{{sapphire color}}; margin-right: 5px; margin-bottom: 5px;"
{| style="{{roundy}} border: 2px solid #{{ruby color}}; background: #{{sapphire color}}; margin-right: 5px; margin-bottom: 5px; text-align:center"
|-
! style="background:#{{sapphire color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{sapphire color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{sapphire color light}};" | Ability
! style="background:#{{special defense color}}" | Sp. Def
! style="background:#{{sapphire color light}};" | Egg?
! style="background:#{{special attack color}}" | Sp. Atk
! style="background:#{{special defense color}};" | Sp. Def
! style="background:#{{speed color light}}" | Speed
! style="background:#{{special attack color}};" | Sp. Atk
! style="background:#{{defense color light}}" | Defense
! style="background:#{{speed color light}};" | Speed
! style="background:#{{attack color light}}" | Attack
! style="background:#{{defense color light}};" | Defense
! style="background:#{{attack color light}};" | Attack
! style="background:#{{hp color light}}; {{roundytr|5px}}" | HP
! style="background:#{{hp color light}}; {{roundytr|5px}}" | HP
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{water color light}};" | Marill A
! rowspan="2" style="background:#{{water color light}}" | Marill A
| Thick Fat
| No
| 46
| 46
| 22
| 22
Line 258: Line 315:
| 22
| 22
| 101
| 101
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 0<br>(<span style="font-family:Monospace;">0</span>)
| 19<br>(<span style="font-family:Monospace">10011</span>)
| 0<br>(<span style="font-family:Monospace;">0</span>)
| 8<br>(<span style="font-family:Monospace">01000</span>)
| 19<br>(<span style="font-family:Monospace;">10011</span>)
| 21<br>(<span style="font-family:Monospace">10101</span>)
| 8<br>(<span style="font-family:Monospace;">01000</span>)
| 20<br>(<span style="font-family:Monospace">10100</span>)
| 21<br>(<span style="font-family:Monospace;">10101</span>)
| 9<br>(<span style="font-family:Monospace">01001</span>)
| 20<br>(<span style="font-family:Monospace;">10100</span>)
| 20<br>(<span style="font-family:Monospace">10100</span>)
| 9<br>(<span style="font-family:Monospace;">01001</span>)
|- style="background:#FFFFFF"
| 20<br>(<span style="font-family:Monospace;">10100</span>)
|- align="center" style="background:#FFFFFF"
! rowspan="2" style="background:#{{water color light}}; {{roundybl|5px}}" | Marill B
! rowspan="2" style="background:#{{water color light}}; {{roundybl|5px}}" | Marill B
| Huge Power
| No
| 48
| 48
| 24
| 24
Line 277: Line 330:
| 23
| 23
| 97
| 97
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 1<br>(<span style="font-family:Monospace;">1</span>)
| 23<br>(<span style="font-family:Monospace">10111</span>)
| 0<br>(<span style="font-family:Monospace;">0</span>)
| 17<br>(<span style="font-family:Monospace">10001</span>)
| 23<br>(<span style="font-family:Monospace;">10111</span>)
| 4<br>(<span style="font-family:Monospace">00100</span>)
| 17<br>(<span style="font-family:Monospace;">10001</span>)
| 30<br>(<span style="font-family:Monospace">11110</span>)
| 4<br>(<span style="font-family:Monospace;">00100</span>)
| 12<br>(<span style="font-family:Monospace">01100</span>)
| 30<br>(<span style="font-family:Monospace;">11110</span>)
| style="{{roundybr|5px}}" | 10<br>(<span style="font-family:Monospace">01010</span>)
| 12<br>(<span style="font-family:Monospace;">01100</span>)
| style="{{roundybr|5px}}" | 10<br>(<span style="font-family:Monospace;">01010</span>)
|}<br clear="all">
|}<br clear="all">


If the Pokémon's species can have only one Ability in Generation III, the Ability bit is forced to 0 by the game, as being 1 in this instance would cause the Pokémon in question to have "No ability" listed as their Ability. This number is rechecked against the [[personality value]] upon evolution in Generation IV, allowing for a {{p|Zigzagoon}} with {{a|Pickup}} to retain the Ability if it is sent through [[Pal Park]] regardless of its personality value, but changing its Ability to {{a|Gluttony}} upon evolution into {{p|Linoone}} if the personality value does not match what the Ability should be.
====Hidden Power====
{{main|Hidden Power (move)/Calculation}}
The calculated [[Type]] and [[Power]] of the move {{m|Hidden Power}} is based on the IVs of the Pokémon. Hidden Power can be of any type aside from {{t|Normal}}, and prior to [[Generation VI]], have a power between 30 and 70.
 
The least significant bit of each IV determines the move's Type, and the second-least significant bit of each determines the move's Power.
 
===Evaluation===
====Stats judge====
{{main|Stats judge}}
From {{game|Emerald}} onward, there is a stats judge in the game in the region's battle facility or the city it is in. They give qualitative evaluations of the Pokémon's IVs.


In {{game|Emerald}}, an [[Stats judge#In Generation III|elderly man]] in the house north of the {{Gdis|Battle Frontier|III}}'s [[Pokémon Center]] will inspect a Pokémon in the player's party and give information about its IVs, revealing which of them is the highest in a vague manner.
*In {{game|Emerald}}, [[Stats judge#In Generation III|elderly man]] in the house north of the {{Gdis|Battle Frontier|III}}'s [[Pokémon Center]] will evaluate the Pokémon's IVs in a roundabout way.
*In the [[Generation IV]] games, a man in the {{Gdis|Battle Tower|IV}} or {{gdis|Battle Frontier|IV}} will evaluate the Pokémon's IVs in a roundabout way.
*In the [[Generation V]] games, an {{tc|Ace Trainer}} in the {{DL|Battle Subway|Gear Station}} will evaluate the Pokémon's IVs in a roundabout way, after the player enters the [[Hall of Fame]].
*In {{g|X and Y}}, an Ace Trainer in the [[Kiloude City]] [[Pokémon Center]] will evaluate the Pokémon's IVs in a roundabout way.
*In {{g|Omega Ruby and Alpha Sapphire}}, an Ace Trainer in the [[Battle Resort]] [[Pokémon Center]] will evaluate the Pokémon's IVs in a roundabout way.


===Generation IV===
Starting in Generation VI, the stats judge will also specifically note 0 IVs.
In Generation IV, much like in Generation II, the IV system was, for the most part, retained from the previous incarnation. Slight alteration was made to the meaning of the highest bit, which now, rather than indicating the Ability of the Pokémon, indicated whether or not it was nicknamed, and thus, made certain that a Pokémon traded to a foreign game without this bit set would evolve and change its name to that language's species name. For example, a {{p|Caterpie}} caught in a Japanese game and named キャタピー, when traded to an English game and evolved into a {{p|Metapod}}, would be named METAPOD, rather than getting the name トランセル, as happens in [[Generation III]] games when trading between languages. This bit's restriction can be circumvented, however, if a Pokémon is nicknamed the species name of its evolved form.


Additionally, [[Characteristic|a small blurb]] was added to Pokémon status screens that indicates the highest IV in a roundabout way. Rather than explicitly stating it, one of 30 of these short sentences is chosen, depending on which of the six stats the highest IV is in and how much more than a multiple of five it is.
====Characteristic====
{{main|Characteristic}}
From Generation IV onward, each Pokémon has a [[characteristic]], a small blurb that indicates which of the Pokémon's IVs is the highest in a roundabout way. Rather than explicitly stating it, one of 30 of these short sentences is chosen, depending on which of the six stats the highest IV is in and how much more than a multiple of five it is.


{| align="left" style="{{roundy}} border: 2px solid #{{diamond color}}; background: #{{pearl color}}; margin-right: 5px; margin-bottom: 5px;"
'''Example'''<br />
|-
{| style="{{roundy}} border: 2px solid #{{diamond color}}; background: #{{pearl color}}; margin-right: 5px; margin-bottom: 5px; text-align:center; text-align:center"
! style="background:#{{pearl color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{pearl color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{pearl color light}};" | Nicknamed?
! style="background:#{{special defense color}}" | Sp. Def
! style="background:#{{pearl color light}};" | Egg?
! style="background:#{{special attack color}}" | Sp. Atk
! style="background:#{{special defense color}};" | Sp. Def
! style="background:#{{speed color light}}" | Speed
! style="background:#{{special attack color}};" | Sp. Atk
! style="background:#{{defense color light}}" | Defense
! style="background:#{{speed color light}};" | Speed
! style="background:#{{attack color light}}" | Attack
! style="background:#{{defense color light}};" | Defense
! style="background:#{{hp color light}}" | HP
! style="background:#{{attack color light}};" | Attack
! style="background:#{{hp color light}};" | HP
! style="background:#{{pearl color light}}; {{roundytr|5px}}" | Characteristic
! style="background:#{{pearl color light}}; {{roundytr|5px}}" | Characteristic
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
! rowspan="2" style="background:#{{ghost color light}};" | Dusclops A
! rowspan="2" style="background:#{{ghost color light}}" | Dusclops A
| "Reaper"
| No
| 161
| 161
| 77
| 77
Line 320: Line 381:
| 107
| 107
| "Strong willed"
| "Strong willed"
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 1<br>(<span style="font-family:Monospace;">1</span>)
| 30<br>(<span style="font-family:Monospace">11110</span>)
| 0<br>(<span style="font-family:Monospace;">0</span>)
| 14<br>(<span style="font-family:Monospace">01110</span>)
| 30<br>(<span style="font-family:Monospace;">11110</span>)
| 9<br>(<span style="font-family:Monospace">01001</span>)
| 14<br>(<span style="font-family:Monospace;">01110</span>)
| 25<br>(<span style="font-family:Monospace">11001</span>)
| 9<br>(<span style="font-family:Monospace;">01001</span>)
| 16<br>(<span style="font-family:Monospace">10000</span>)
| 25<br>(<span style="font-family:Monospace;">11001</span>)
| 0<br>(<span style="font-family:Monospace">00000</span>)
| 16<br>(<span style="font-family:Monospace;">10000</span>)
| 30 (Sp. Def) mod 5 = 0
| 0<br>(<span style="font-family:Monospace;">00000</span>)
|- style="background:#FFFFFF"
| 30 (Sp.Def) mod 5 = 0
|- align="center" style="background:#FFFFFF"
! rowspan="2" style="background:#{{ghost color light}}; {{roundybl|5px}}" | Dusclops B
! rowspan="2" style="background:#{{ghost color light}}; {{roundybl|5px}}" | Dusclops B
| "DUSCLOPS"
| No
| 149
| 149
| 86
| 86
Line 341: Line 398:
| 115
| 115
| "Mischievous"
| "Mischievous"
|- align="center" style="background:#FFFFFF"
|- style="background:#FFFFFF"
| 0<br>(<span style="font-family:Monospace;">0</span>)
| 7<br>(<span style="font-family:Monospace">00111</span>)
| 0<br>(<span style="font-family:Monospace;">0</span>)
| 31<br>(<span style="font-family:Monospace">11111</span>)
| 7<br>(<span style="font-family:Monospace;">00111</span>)
| 6<br>(<span style="font-family:Monospace">00110</span>)
| 31<br>(<span style="font-family:Monospace;">11111</span>)
| 28<br>(<span style="font-family:Monospace">11100</span>)
| 6<br>(<span style="font-family:Monospace;">00110</span>)
| 24<br>(<span style="font-family:Monospace">11000</span>)
| 28<br>(<span style="font-family:Monospace;">11100</span>)
| 15<br>(<span style="font-family:Monospace">01111</span>)
| 24<br>(<span style="font-family:Monospace;">11000</span>)
| style="{{roundybr}}" | 31 (Sp. Atk) mod 5 = 1
| 15<br>(<span style="font-family:Monospace;">01111</span>)
| style="{{roundybr}}" | 31 (Sp.Atk) mod 5 = 1
|}<br clear="all">
|}<br clear="all">


A man who will check a Pokémon's IVs again appears in the games, this time in the {{Gdis|Battle Tower|IV}} or {{gdis|Battle Frontier|IV}}. Much like his Generation III counterpart, he will state the Pokémon's IVs in only a roundabout way.
===Influence===
 
In [[Generation VI]], Pokémon in the {{egg2|Undiscovered}} are now guaranteed to have values of 31 in at least three of their stats when caught in the wild. Pokémon caught in the [[Friend Safari]] will have values of 31 in at least two of their stats.
===Generation V===
In this generation, an NPC with the appearance of an {{tc|Ace Trainer}}, known as the [[Stats judge]], resides in [[Battle Subway#Gear Station|Gear Station]] after the player enters the [[Hall of Fame]]. He will evaluate the individual values of the Pokémon he is shown.
 
(The first statement)
If the IV total is between 0 and 90:
"This Pokémon's potential is decent all around."
If the IV total is between 91 and 120:
"This Pokémon's potential is above average overall."
If the IV total is between 121 and 150:
"This Pokémon has relatively superior potential overall."
If the IV total is between 151 and 186:
"This Pokémon has outstanding potential overall."
 
(The second statement)
If the highest IV is between 0 and 15: "It's rather decent in that regard."
If the highest IV is between 16 and 25: "It's very good in that regard."
If the highest IV is between 26 and 30: "It's fantastic in that regard."
If the highest IV is 31: "It can't be better in that regard."
 
====Hidden Power====
{{main|Hidden Power (move)/Calculation}}
The calculated [[Type]] and [[Power]] of the move {{m|Hidden Power}} is based on the IVs of the Pokémon. Hidden Power can be of any type aside from {{t|Normal}}, and prior to [[Generation VI]], have a power between 30 and 70.


The last binary digit for each stat sets the move's Type, and the second-to-last digit sets the move's Power.  
===Storage===
IVs are now all stored together as a single 32-bit value. Since IVs require 30 bits to be stored, the two {{wp|most significant bit}}s of this value are used to store other data.


For two {{p|Alomomola}} caught on {{rt|4|Unova}} at Level 15 (note that both of them have the same stats, but different IV values, considering a neutral Nature):
In Generation III, the most significant bit specifies which of two {{Abilities}} a Pokémon has (if it has potential to have more than one). If the Pokémon's species can have only one Ability in Generation III, the Ability bit is forced to 0 by the game (if it is forced to be 1, "No ability" will be listed as the Pokémon's Ability).


{| align="left" style="{{roundy}}; border: 2px solid #{{gold color}}; background: #{{silver color}}; margin-right: 5px; margin-bottom: 5px;"
In Generation IV onward, the most significant bit instead specifies whether or not the Pokémon is [[nickname]]d, while the second-most significant bit fulfills the same role as in Generation III. This allows an unnicknamed Pokémon traded to a game of a different language to retain its name in the language of the previous game, but still change its name upon evolution.
|-
! style="background:#{{black color light}}; {{roundytl|5px}}" | Pokémon
! style="background:#{{hp color light}};" | HP
! style="background:#{{attack color light}};" | Atk
! style="background:#{{defense color light}};" | Def
! style="background:#{{speed color light}};" | Speed
! style="background:#{{special attack color}};" | Sp. Atk
! style="background:#{{special defense color}};" | Sp. Def
! style="background:#{{black color light}};" | Move Power
! style="background:#{{black color light}};" | Move Type
|- align="center" style="background:#FFFFFF"
! rowspan="2" style="background:#{{water color light}};" | Alomomola A<br>IVs
| 77
| 31
| 33
| 28
| 21
| 22
! rowspan="2" | <b>65</b><br>(<span style="font-family:Monospace;"><span style="background:#{{hp color light}}">0</span><span style="background:#{{attack color light}}">0</span><span style="background:#{{defense color light}}">0</span><span style="background:#{{speed color light}}">1</span><span style="background:#{{special attack color}}">1</span><span style="background:#{{special defense color}}">1</span></span>)
! rowspan="2" | <b>Flying</b><br>(<span style="font-family:Monospace;"><span style="background:#{{hp color light}}">1</span><span style="background:#{{attack color light}}">0</span><span style="background:#{{defense color light}}">1</span><span style="background:#{{speed color light}}">0</span><span style="background:#{{special attack color}}">0</span><span style="background:#{{special defense color}}">0</span></span>)
|- align="center" style="background:#FFFFFF"
| 17<br>(<span style="font-family:Monospace;">100<span style="background:#{{hp color light}}">01</span></span>)
| 24<br>(<span style="font-family:Monospace;">110<span style="background:#{{attack color light}}">00</span></span>)
| 29<br>(<span style="font-family:Monospace;">111<span style="background:#{{defense color light}}">01</span></span>)
| 26<br>(<span style="font-family:Monospace;">110<span style="background:#{{speed color light}}">10</span></span>)
| 30<br>(<span style="font-family:Monospace;">111<span style="background:#{{special attack color}}">10</span></span>)
| 26<br>(<span style="font-family:Monospace;">110<span style="background:#{{special defense color}}">10</span></span>)
|- align="center" style="background:#FFFFFF"
! rowspan="2" style="background:#{{water color light}}; {{roundybl|5px}}" | Alomomola B<br>IVs
| 77
| 31
| 33
| 28
| 21
| 22
! rowspan="2" | <b>49</b><br>(<span style="font-family:Monospace;"><span style="background:#{{hp color light}}">0</span><span style="background:#{{attack color light}}">1</span><span style="background:#{{defense color light}}">1</span><span style="background:#{{speed color light}}">1</span><span style="background:#{{special attack color}}">1</span><span style="background:#{{special defense color}}">0</span></span>)
! rowspan="2" | <b>Poison</b><br>(<span style="font-family:Monospace;"><span style="background:#{{hp color light}}">0</span><span style="background:#{{attack color light}}">0</span><span style="background:#{{defense color light}}">1</span><span style="background:#{{speed color light}}">1</span><span style="background:#{{special attack color}}">0</span><span style="background:#{{special defense color}}">0</span></span>)
|- align="center" style="background:#FFFFFF"
| 20<br>(<span style="font-family:Monospace;">101<span style="background:#{{hp color light}}">00</span></span>)
| 26<br>(<span style="font-family:Monospace;">110<span style="background:#{{attack color light}}">10</span></span>)
| 27<br>(<span style="font-family:Monospace;">110<span style="background:#{{defense color light}}">11</span></span>)
| 27<br>(<span style="font-family:Monospace;">110<span style="background:#{{speed color light}}">11</span></span>)
| 30<br>(<span style="font-family:Monospace;">111<span style="background:#{{special attack color}}">10</span></span>)
| 24<br>(<span style="font-family:Monospace;">110<span style="background:#{{special defense color}}">00</span></span>)
|}<br clear="all">
 
===Generation VI===
{{incomplete|section|needs=Does not contain information on the text of the judge in [[Generation VI]]}}


In [[Generation VI]], Pokémon in the {{egg2|Undiscovered}} are now guaranteed to have values of 31 in at least three of their stats when caught in the wild. Pokémon caught in the [[Friend Safari]] will have values of 31 in at least two of their stats.
The second-most significant bit specifies whether or not the Pokémon is an unhatched {{pkmn|Egg}} or not.


This generation's judge resides in the [[Kiloude City]] [[Pokémon Center]] and will now identify individual values of 0.
The remaining 30 bits are the IVs, five bits apiece, in the order Sp. Def, Sp. Atk, Speed, Defense, Attack, and HP.


==See also==
==See also==
Line 444: Line 430:
**[[Pokémon data structure in Generation III|in Generation III games]]
**[[Pokémon data structure in Generation III|in Generation III games]]
**[[Pokémon data structure in Generation IV|in Generation IV games]]
**[[Pokémon data structure in Generation IV|in Generation IV games]]
**[[Pokémon data structure in Generation V|in Generation V games]]
**[[Pokémon data structure in Generation VI|in Generation VI games]]


===External links===
===External links===