Dokokashira door glitch: Difference between revisions

m
no edit summary
(Stating that it works on Japanese Blue and editing accordingly. Changing 'japanese' to 'Japanese'.)
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 unexistent) 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 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.


==Path calculation==
==Path calculation==
Line 46: Line 46:
| [[Celadon City]] || 122 || [[Celadon Department Store]], right entrance
| [[Celadon City]] || 122 || [[Celadon Department Store]], right entrance
|- style="background:#fff"
|- style="background:#fff"
| [[Fuschia City]] || 153 || House with NPCs discussing [[Bill]]
| [[Fuchsia City]] || 153 || House with NPCs discussing [[Bill]]
|- style="background:#fff"
|- style="background:#fff"
| [[Saffron City]] || 177 || [[Fighting Dojo]]
| [[Saffron City]] || 177 || [[Fighting Dojo]]
22,508

edits