Coin Case glitches: Difference between revisions

m
Word
m (Word)
Line 903: Line 903:
By meeting special conditions, the player can allow the Coin Case to execute arbitrary code based on the names of their PC boxes, which in turn can modify the first Pokémon in the player's party. The exploit requires having a freshly caught low-level "slide" Pokémon with specific DVs in the party's third slot (preferably caught from Route 29), and a Quagsire holding TM02 with Return as its first move. Finally by performing a specific movement pattern, the player can listen to a certain Pokémon's cry (e.g. Machop or Bellsprout), then use the Coin Case to execute code from the box names.
By meeting special conditions, the player can allow the Coin Case to execute arbitrary code based on the names of their PC boxes, which in turn can modify the first Pokémon in the player's party. The exploit requires having a freshly caught low-level "slide" Pokémon with specific DVs in the party's third slot (preferably caught from Route 29), and a Quagsire holding TM02 with Return as its first move. Finally by performing a specific movement pattern, the player can listen to a certain Pokémon's cry (e.g. Machop or Bellsprout), then use the Coin Case to execute code from the box names.


The "slide Pokémon" is what allows the game to read the Quagsire and its first move and held item, which in turn uses it as a jump location to execute arbritrary code (because Quagsire's index number C3 represents the instruction jp yyxx), in this case the location it goes to is the PC box names. It is important to have a "good" slide Pokémon as bad opcodes such as FF (rst $38) causes the game to not reach the Quagsire's data, and is unable to execute the box names as code. Without a "good" slide Pokémon, the game will freeze or trigger Glitch Dimension upon using the Coin Case even after the othet requirements are met. Obtaining a working slide Pokémon can be very time consuming and luck dependant, as a result this is one of the most common reasons the glitch fails. The best solution if the glitch fails is to catch another Pokémon, and repeat if it doesn't work. Once a "good" slide Pokémon is caught, it will always work.{{fact}}
The "slide Pokémon" is what allows the game to read the Quagsire and its first move and held item, which in turn uses it as a jump location to execute arbritrary code (because Quagsire's index number C3 represents the instruction jp yyxx), in this case the location it goes to is the PC box names. It is important to have a "good" slide Pokémon as bad opcodes such as FF (rst $38) causes the game to not reach the Quagsire's data, and is unable to execute the box names as code. Without a "good" slide Pokémon, the game will freeze or trigger Glitch Dimension upon using the Coin Case even after the other requirements are met. Obtaining a working slide Pokémon can be very time consuming and luck dependant, as a result this is one of the most common reasons the glitch fails. The best solution if the glitch fails is to catch another Pokémon, and repeat if it doesn't work. Once a "good" slide Pokémon is caught, it will always work.{{fact}}


====Requirements====
====Requirements====