Transform empty move glitch

From Glitch City Wiki
Jump to navigation Jump to search
Miscellaneous glitches of Pokémon Red and Blue and Pokémon Yellow

Amazing Man (Red and Blue only) | Cable Club escape glitch | Celadon looping map trick | Champion Blue music muting glitch | Coastal Flooding | Confusion and Substitute glitch | Cooltrainer move | Cycling based glitch maps | Escape sprite handling glitch | Evolve without an evolutionary stone (Red and Blue only) | Evolving Raichu (Red and Blue only) | Expanded item pack | Expanded Pokédex | Focus Energy glitch | Get stuck in a wall | Ghost Bicycle glitch | Glitch encounter system | Glitch City RAM Manipulation | Infinite Blaine Door | Introduction Nidorino glitch (Red and Blue only) | Invisible PCs (Red and Blue only) | Invisible tree glitch | Item stack duplication glitch | Mute the music in the Pokémon League | Partial trapping move link battle glitch | Pokémon Tower Pokédex glitch | PP underflow glitches | Recovery move glitch | Rival's effect | See a Ghost without a Silph Scope | Selfdestruct and Substitute glitch | Silph Co. PC Glitch | Slot machine glitch | Stand on a tree | Statue behavior glitch (Red and Blue only) | Super effective move AI flaw (Red and Blue only) | Super Glitch | Surf down glitch | Swift miss glitch | Transform assumption glitch | Transform Empty Move Glitch | Trick Zone | Vending machine purchase glitch | Walk around with only fainted Pokémon (Red and Blue only) | Walking lag glitch | Walk on water through Surf | Walking Pikachu happiness glitch (Yellow only) | Wild appeared! | ZZAZZ Glitch

(view, talk, edit)

The Transform empty move glitch is a natural glitch which can occur in Pokémon Red and Blue and Pokémon Yellow.

Description

When a Pokémon under Transform's effects uses Mirror Move or Metronome, the move in the same slot of the Pokémon's non-Transformed moveset will gain one PP.

If that slot is empty (for example, the Pokémon only knows two moves but has Mirror Move in its third or fourth slot after using Transform), then the Pokémon will permanently lose the ability to use Struggle. In addition, if Disable is used while all the Pokémon's moves have run out of PP, the game will softlock. This state is not removed by healing at a Pokémon Center.

Fixing the glitch

The glitch can be undone by overwriting the Pokémon's glitched empty slot (by learning a new move in this slot), or repeating the glitch 256 times total on the same move slot (including the time that glitched out the empty slot).


Technical explanation

The game has a function that performs a move; this function includes decrementing the corresponding slot's PP; this is performed both on the Pokémon's data in the party, and on the temporary copy the game creates for battles.

When a Pokémon uses Transform, the game overwrites its move data in the Pokémon's temporary battle copy. Every time the attack function decrements PP, it checks if Transform is in effect, and if so, doesn't touch the Pokémon's data in the party (since the moves being modified aren't the Pokémon's anymore.)

In Generation I, the moves Mirror Move and Metronome draw 2 PP from their assigned slot when used (once when using the move itself, another time when using the actual move). To "fix" this, the game gives back 1 PP to the slot Mirror Move or Metronome is in; however, this doesn't check for the Transformed status, so the Pokémon's PP in the party get erroneously modified.

If an empty slot gains non-zero PP in this way, Struggle cannot be used anymore due to the game finding a non-zero-PP move slot. Additionally, Disable softlocks, because its intial failure check looks for a non-zero-PP slot (which it finds), but it then tries to pick a non-empty move with non-zero PP (which there aren't).


YouTube video by Pikasprey (Original find); go to 8m51s


YouTube video by Crystal_