Experience underflow glitch

From Glitch City Wiki
Jump to navigation Jump to search
Major glitches of the Pokémon series

Arbitrary code execution

0x1500 control code arbitrary code execution (Crystal) | Cart-swap arbitrary code execution | Generation I custom map script pointer | Generation I invalid meta-map scripts | Generation I item ("8F", "ws m", "-g m", "5かい", "てへ" etc.) | Generation I move ("-", "TM42") | Generation I Trainer escape glitch text boxes | Generation II bad clone | Generation II Burned Tower Silver | Japanese Crystal Pokémon Communication Center SRAM glitches | Coin Case glitch | Generation II glitch Pokédex sortings | Pikachu off-screen glitch ACE | OAM DMA hijacking | Pikachu glitch emote | Generation III glitch Pokémon summary | Generation III glitch move animation) | Remote code execution | TM/HMs outside of the TM/HM pocket | ZZAZZ glitch Trainer FC

No further extensions

Cloning | Item duplication glitch (Generation I) | Pokémon merge glitch ("Q Glitch", Generation I) | Time Capsule exploit | Bug-Catching Contest data copy glitch (Generation II, Japan only) | Berry glitch | Battle Tower Lati@s glitch (Generation III) | (Mimic) Transform Rage glitch (Generation IV)

Transform held item glitch (Generation IV, Japan only) | Mimic glitch (Generation IV, Japan only)

Buffer overflow techniques

99 item stack glitch | LOL glitch | Rival LOL glitch | Instant LOL glitch | RAM LOL glitch | Out of bounds LOL glitch | blockoobLG | Instant encounter infinite chain glitch | LGFly | Super Glitch (Generation I) | Party remaining HP glitch | Super Glitch (Generation III) | Text pointer manipulation mart buffer overflow glitch | CoolTrainer♀-type move | Double distort CoolTrainer♀ corruption | Yami Shop glitch | Party Pokémon box data shift glitch | Unterminated name glitch item instant encounter (Japanese Red/Green)

Item stack duplication glitch (Generation I)

Generation I expanded items pack (Glitch Rocket HQ maps, Map FE (English and non-English European Yellow) | Map script pointer manipulation (arbitrary code execution | Map script pointer item ball manipulation) | Text pointer manipulation (arbitrary code execution | Item ball manipulation | Mart buffer overflow) | Trainerless instant encounter glitch

Bad clone glitch (Generation II)

????? party overloading (Type 0xD0 move glitch | ????? map corruption | Celebi trick | Celebi Egg trick | Shiny Celebi trick | Glitch move map corruption | Overloaded party map corruption | Glitch Unown (Glitch Unown map corruption) | Duplicate key items glitch (Infinite items and item creation, Expanded Balls pocket (Wrong pocket TM/HMs, Glitch Pokédex categories))

Closed menu Select glitches (Japanese Red/Green)

Dokokashira door glitch (International) | Fossil conversion glitch (international) | Second type glitch | Skip to Level 100 glitch | Trainer mutation glitch | Walk through walls (International) | Lift glitch | Badge describer glitch

Pomeg glitch (Generation III)

Pomeg data corruption glitch ("Glitzer Popping") | Charm glitch

Voiding (Generation IV)


Broken escalator glitch (Japan only) | Elite Four door glitch (Japan only)

2x2 block encounter glitches (Generation I)

Left-facing shore tile glitch (in-game trade shore encounter trick, Old man trick, Trade link up shore encounter trick, Fight Safari Zone Pokémon trick) | Viridian Forest no encounter grass tiles glitch

Glitch City

Safari Zone exit glitch | RAM manipulation | Out of bounds Glitch City (Generation II) | Slowpoke Well out of bounds corruption (French Gold/Silver/Crystal)

Large storage box byte shift glitch

Storage box remaining HP glitch | Generation I max stat trick

Pikachu off-screen glitch

Trainer corruption glitch

SRAM glitches

Generation I save corruption | 255 Pokémon glitch | Expanded party encounter table manipulation (Generation I) | Send party Pokémon to a new game (Generation I) | Generation II save corruption | Mailbox glitches | Mystery Gift item corruption | Trainer House glitches

Trainer escape glitch

Death-warp | Ditto trick | Experience underflow glitch | Mew trick | Text box ID matching | Meta-map script activation

Walk through walls

Ledge method | Museum guy method | Rival's effect | Select glitch method (International Select glitch method), Brock Through Walls

Surf down glitch

Grass/rock Surfing glitch (Spanish/Italian only) (adaptions: Submerge glitch (international)) | 8 8 (0x7C) grass/rock surfing glitch (English Red/Blue))

(view, talk, edit)
More research is needed for this article.

Reason given: Check underflow techniques for other experience groups, including glitch experience groups

A level 1 Mew with 'negative' experience (16777162) or -54.

PRAMA Initiative a également une page sur Experience underflow glitch.
Bulbapedia also has an article about Experience underflow glitch.

The experience underflow glitch refers to a 'glitch' in Pokémon Red, Blue, and Yellow and Pokémon Gold, Silver and Crystal where the result of the calculation of a Pokémon's experience was a negative number.

It also refers to a common glitch technique in Pokémon Red, Blue, and Yellow where a level 1 'medium-slow' experience type Pokémon is forced to jump to level 100.

Underflow with medium-slow growth Pokémon

The medium slow experience type is used for all valid Pokémon part of 3-stage evolutionary line excluding the Butterfree, Beedrill, and Dragonite line. Mew is also part of the medium-slow experience type.

The experience calculation for this experience type is as such:
, i.e. 1.2L3 - 15L2 + 100L - 140

For level 0 and level 1 Pokémon the result is a negative number; i.e. -140 for level 0 and -53.8 for level 1 (which is rounded to -54).

However, this is interpreted by the game as an extremely high positive number (16777076 at level 0 and 16777162 at level 1), and the maximum experience is 16777215 (FF FF FF) before the total experience 'wraps around' back to 0.

This means that if a level 0 Pokémon gains less than 140 experience or if a level 1 Pokémon gains less than 54 experience it will jump to level 100 if it is stable. If it gains more than the relevant amount it the experience will be a positive number so the Pokémon will jump to a normal level.

Despite the experience being for an extremely high level, level 100 is the cap. However, note that the level cap may vary for unstable hybrid Pokémon, for example the cap for a Mew/Chansey hybrid with Chansey as the recipient is level 109.

Obtaining level 1 or 0 medium-slow experience type Pokémon

Obtaining level 1 medium-slow growth Pokémon is possible with Special stat encounter Trainer escape glitches, if the enemy Pokémon's attack stage is 1 (i.e. if six Growls have been used).

Obtaining level 0 medium-slow growth Pokémon is possible with a Super Glitch item in Pokémon Red, Green, and Pokémon Blue (Japanese) and Pokémon Yellow (Japanese). It is also possible with the text pointer item ball manipulation.

Example ways to get a level 0 Pokémon indirectly:

A medium-slow experience type Pokémon can be obtained at over level 100 using the old man trick and then leveled up to level 0 (by trying to level it up to 'level 256' with Rare Candies).

In Yellow, a Pokémon over level 100 can be hybridized with a medium-slow growth Pokémon that can evolve using the Pokémon merge glitch, and then the Pokémon can be evolved with a Rare Candy.

Withdrawal lockup

Any Pokémon with a negative experience value that is stored in the PC will immediately become "stuck," attempting to withdraw this Pokémon will cause a lockup. Here is a discussion from the forums https://forums.glitchcity.info/index.php?topic=6588.0.html on glitch Pokémon experience types. Check under RB medium-slow families and Y medium-slow families as they will cause this lockup.

Daycare lockup

Similar to the withdrawal lockup, any Pokémon with a negative experience value given to the Daycare man, and taken out before the experience becomes positive, will cause a lockup.

See also