Experience: Difference between revisions

485 bytes removed ,  24 June 2013
no edit summary
m (→‎Table: "table" is very undescriptive)
No edit summary
Line 1: Line 1:
{{redirect|Slow|the move whose Japanese name means Slow|Curse (move)}}
{{redirect|Slow|the move whose Japanese name can mean Slow|Curse (move)}}
[[File:ExpGraphLv100.png|300px|thumb|right|A graph of the experience required for Pokémon to level up, color-coded by experience types. Erratic is '''black''', Fast is '''{{color|008000|green}}''', Medium Fast is '''{{color|FFD700|yellow}}''', Medium Slow is '''{{color|660099|purple}}''', Slow is '''{{color|774400|brown}}''', and Fluctuating is '''{{color|0000FF|blue}}'''.]]
[[File:ExpGraphLv100.png|300px|thumb|right|A graph of the experience required for Pokémon to level up, color-coded by experience types. Erratic is '''black''', Fast is '''{{color|008000|green}}''', Medium Fast is '''{{color|FFD700|yellow}}''', Medium Slow is '''{{color|660099|purple}}''', Slow is '''{{color|774400|brown}}''', and Fluctuating is '''{{color|0000FF|blue}}'''.]]
[[File:ExpGraphLv50.png|300px|thumb|right|A graph only to level 50 for the experience required for level up. Colors are the same as above.]]
[[File:ExpGraphLv50.png|300px|thumb|right|A graph only to level 50 for the experience required for level up. Colors are the same as above.]]
Line 130: Line 130:
| align="right" style="background: #595959; color:#FFFFFF;" | 0
| align="right" style="background: #595959; color:#FFFFFF;" | 0
| align="right" style="background: #59ac59; color:#FFFFFF;" | 0
| align="right" style="background: #59ac59; color:#FFFFFF;" | 0
| align="right" style="background: #ffff59; color:#000000;" | 0
| align="right" style="background: #ffff59; color:#000000;" | {{tt|0|1 in Generations I and II}}
| align="right" style="background: #9b59bc; color:#FFFFFF;" | 0
| align="right" style="background: #9b59bc; color:#FFFFFF;" | {{tt|0|-54 in Generations I and II, read by the game as 16777162}}
| align="right" style="background: #a68559; color:#FFFFFF;" | 0
| align="right" style="background: #a68559; color:#FFFFFF;" | {{tt|0|1 in Generations I and II}}
| align="right" style="background: #5959ff; color:#FFFFFF;" | 0
| align="right" style="background: #5959ff; color:#FFFFFF;" | 0
| align="center" style="background: #ffffff; color:#000000;" | 1
| align="center" style="background: #ffffff; color:#000000;" | 1
| align="left" style="background: #595959; color:#FFFFFF;" | 15
| align="left" style="background: #595959; color:#FFFFFF;" | 15
| align="left" style="background: #59ac59; color:#FFFFFF;" | 6
| align="left" style="background: #59ac59; color:#FFFFFF;" | 6
| align="left" style="background: #ffff59; color:#000000;" | 8
| align="left" style="background: #ffff59; color:#000000;" | {{tt|8|7 in Generations I and II}}
| align="left" style="background: #9b59bc; color:#FFFFFF;" | 9
| align="left" style="background: #9b59bc; color:#FFFFFF;" | {{tt|9|63 in Generations I and II}}
| align="left" style="background: #a68559; color:#FFFFFF;" | 10
| align="left" style="background: #a68559; color:#FFFFFF;" | {{tt|10|9 in Generations I and II}}
| align="left" style="background: #5959ff; color:#FFFFFF;" | 4
| align="left" style="background: #5959ff; color:#FFFFFF;" | 4
|-  
|-  
Line 1,527: Line 1,527:
| align="left" style="background: #a68559; color:#FFFFFF;" | -
| align="left" style="background: #a68559; color:#FFFFFF;" | -
| align="left" style="background: #5959ff; color:#FFFFFF;" | -
| align="left" style="background: #5959ff; color:#FFFFFF;" | -
|-
| colspan="13" | In Generations I and II, the top row would read:
|-
| align="right" class="roundybl" style="background: #595959; color:#FFFFFF;" | -
| align="right" style="background: #59ac59; color:#FFFFFF;" | 0
| align="right" style="background: #ffff59; color:#000000;" | 1
| align="right" style="background: #9b59bc; color:#FFFFFF;" | -54
| align="right" style="background: #a68559; color:#FFFFFF;" | 1
| align="right" style="background: #5959FF; color:#FFFFFF;" | -
| align="center" style="background: #FFFFFF; color:#000000;" | 1
| align="left" style="background: #595959; color:#FFFFFF;" | -
| align="left" style="background: #59ac59; color:#FFFFFF;" | 6
| align="left" style="background: #ffff59; color:#000000;" | 7
| align="left" style="background: #9b59bc; color:#FFFFFF;" | 63
| align="left" style="background: #a68559; color:#FFFFFF;" | 9
| align="left" class="roundybr" style="background: #5959FF; color:#FFFFFF;" | -
|}
|}
|}
|}
Line 1,592: Line 1,576:


===Experience underflow glitch===
===Experience underflow glitch===
In [[Generation I]] and [[Generation II]], level 1 Pokémon in the medium slow group were calculated to have -54 experience points. However, due to the use of {{wp|unsigned integer}}s, the program took this to be 16,777,162 experience points, and if a Pokémon did not gain enough experience points to wrap this number back down to zero, it would be considered to be at level 100 (having gone over the amount required to be level 100 by over 15 million experience points), and instantaneously jump to this level.
In [[Generation I]] and [[Generation II]], level 1 Pokémon in the Medium Slow group were calculated to have -54 experience points. However, due to the use of {{wp|unsigned integer}}s, the game interpreted this value as 16,777,162 experience points. If a level 1 Pokémon with negative experience points completed a battle without gaining enough experience points to reach 0 or higher, the game, attempting to determine its level based on the number of experience points it had, would consider it to be at level 100 (having gone well over the amount required to reach this level), causing it to instantaneously jump to this level.


It is due to this bug that no level 1 Pokémon can be found in the wild without abusing a glitch or hacking the game. It is also for this reason that although level 2-4 Pokémon can be found wild, Pokémon hatched from Eggs at level 5 when Eggs were introduced in Generation II.
It is due to this bug that no level 1 Pokémon could be found in the wild without abusing a glitch or hacking the game in [[Generation I]] and [[Generation II]. It is also for this reason that Pokémon hatched from Eggs at level 5 when Eggs were introduced in Generation II (although level 2-4 Pokémon could be found in the wild).


This glitch was finally addressed in Generation III, which uses a lookup table, rather than an actual formula, to determine level-up experience (this is also why the two new functions introduced in that generation are able to be piecewise functions). Despite this, Pokémon still hatched at level 5 in that generation. Level 1 Pokémon were not "legitimate" until Generation IV, the first generation in which level 1 Pokémon can be found in the wild and {{pkmn|Egg}}s hatch into level 1 Pokémon.
The glitch was fixed in [[Generation III]], which uses a lookup table, rather than a formula, to determine experience requirements (this is also why the two new functions introduced in that generation are able to be piecewise functions). Despite this, {{pkmn|Egg}}s still hatched at level 5, and the lowest level that Pokémon could be found at in the wild was still level 2. [[Generation IV]] finally featured the first instance of legitimate level 1 Pokémon, where {{pkmn|Egg}}s hatch at level 1 and level 1 Pokémon can be found in the wild.


====In Generation I====
====In Generation I====
2,613

edits