PP copier glitch

From Glitch City Wiki
Jump to navigation Jump to search
This article is incomplete. Please feel free to add any missing information about the subject. It is missing: Mechanics for specific corruptions, more information on what the relevant routine does.

The PP copier glitch is a buffer overflow glitch which occurs in Generation I when the game attempts to draw "PP" on the screen over four times, due to corruption of CD6C (wNumMovesMinusOne). Though this situation is usually impossible, it can occur when:

This glitch appears to write "PP" in unrelated memory addresses, allowing for side effects like the corruption of Pokémon nicknames (which could potentially be used to get an unterminated name Pokémon and stats, without corrupting the player's name.

Note that this glitch might not be safe with high values for CD6C if it corrupts meta-map scripts.

In Pokémon Red/Blue

The following method is an example.

Requirements

  • D322 (item 3) must read 0F 23 E7 DA (Paralyze Heal x 35, TM31 x 218).
  • The player must have a Rival's effect item such as ItemDex/RB:148. To do that, a glitch such as item duplication glitch for a x255 stack and dry underflow glitch is necessary.
  • The Pewter Gym guide must be preserved (the player can skip him with the Pewter Gym skip glitch).
  • The player's PC box should have no 0xFF bytes for the first 5 Pokémon (so Pokémon with 255 as the catch rate by default such as Pidgey and Rattata should be avoided).
  • The sixth Pokémon in the PC box must have specific PP for move 3, corresponding with the desired number of PPs to copy on the screen. A PP underflow glitch can be used to get a value of 255 (then 254 after one use of the move).
  • The player must have the Pokémon with - as the top move.
  • The expanded item pack and an Escape Rope may be needed to escape a Pokémon Center Glitch City.

Steps

  • Use the Rival's effect item to appear one step above the Pewter Gym guide.
  • Talk to the gym guide to enable Brock Through Walls; corrupting CD6C, then terminate it e.g. by entering a building.
  • Though the Start menu is disabled, the player can interact with the PC at a Pokémon Center and use it to view the status of the Pokémon with - as the top move.
  • Many "PPs" will be printed on the screen, and various memory is corrupted; such as the levels and nicknames of Pokémon in the party and PC.
  • Change boxes to save the game, then reset the game to avoid a freeze.
  • Manipulate wCurMapTileset (D367; item 37 quantity) to a value that allows leaving the map with Escape Rope (e.g. 03). Though the animation might be glitched and lag, this can be used to escape the map. If Fly flags were corrupted, attempting to Fly away may be impossible due to the unterminated Fly destinations glitch.

Explanation

The relevant subroutines in the Pokémon Red disassembly can be found here.

YouTube video

YouTube video by ChickasaurusGL
This article or section is a stub. You can help Glitch City Wiki by expanding it.