Jump to content

PP copier glitch: Difference between revisions

no edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1:
{{incomplete|1=Mechanics for specific corruptions, more information on what the relevant routine does}}
The '''PP copier glitch''' is a [[buffer overflow]] glitch which occurs in [[bp:Generation I|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:
 
Line 27:
*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==
[https://github.com/pret/pokered/blob/2954013da1f10e11db4ec96f9586b7c01706ae1a/engine/pokemon/status_screen.asm The relevant subroutines in the Pokémon Red disassembly can be found here].
 
==YouTube video==
{{YouTube|wthNjgJ0bCk|ChickasaurusGL}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.