Dokokashira door glitch: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
no edit summary
mNo edit summary
mNo edit summary
Line 13: Line 13:
The '''Dokokashira door glitch''' takes advantage of the fact that in Pokémon Red, Green and Japanese Blue, the player is able to switch the slots of [[item]]s as well as Pokémon. However, an oversight of this feature was that if the player were to press the Select button on the items screen and then exit out of the menu, the game will still remember the position where Select button was held down previously.
The '''Dokokashira door glitch''' takes advantage of the fact that in Pokémon Red, Green and Japanese Blue, the player is able to switch the slots of [[item]]s as well as Pokémon. However, an oversight of this feature was that if the player were to press the Select button on the items screen and then exit out of the menu, the game will still remember the position where Select button was held down previously.


When the player switches the second item in his or her [[Bag]] with his or her first Pokémon, it will force the game to switch the second Pokémon (which is nonexistent) with the first one. In this particular early-game scenario, it switches the end of list marker to the first position. This confuses the subroutine which applies the [[Poison (status ailment)|poison damage]] in the overworld, causing it to check Pokémon beyond the sixth slot for poison damage, decrementing massive amounts of RAM addresses while thinking they are party Pokémon's health points.
When the player switches the second item in their [[Bag]] with their first Pokémon, it will force the game to switch the second Pokémon (which is nonexistent) with the first one. In this particular early-game scenario, it switches the end of list marker to the first position. This confuses the subroutine which applies the [[Poison (status ailment)|poison damage]] in the overworld, causing it to check Pokémon beyond the sixth slot for poison damage, decrementing massive amounts of RAM addresses while thinking they are party Pokémon's health points.


==Path calculation==
==Path calculation==
1,177

edits

Navigation menu