Dokokashira door glitch: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
(38 intermediate revisions by 26 users not shown)
Line 1: Line 1:
{{incomplete}}
The '''Dokokashira door glitch''' (Japanese: '''どこかしらドアバグ''' ''{{tt|Dokokashira|Where is it}} door bug'') is a [[select glitches|Select glitch]] in [[Generation I]], which exists in {{game3|Red and Green|the Japanese Pokémon Red and Green Versions|s}} as well as [[Pokémon Blue Version (Japanese)|the Japanese Pokémon Blue]].


The '''Dokokashira door glitch''' (Japanese: '''どこかしらドアバグ''' ''{{tt|Dokokashira|Where is it}} door bug'') is a glitch in [[Generation I]], which only exists in {{game3|Red and Green|the Japanese Pokémon Red,Green|s}} and the Japanese Pokémon Blue. It was first documented on the Japanese Pokémon [[glitch]] website [http://Pokemonbug.oh.land.to Pokemonbug].
It is similar to [[tweaking]] and the [[surf glitch]] in [[Generation IV]]. It can be used to enter the [[Hall of Fame]] without battling the [[Elite Four]] or the {{pkmn|Champion}}. It is still possible to trigger this glitch in the international releases of {{game|Red and Blue|s}} - however, it will have different effects from the Japanese releases, and it will not cause the player to warp.


It is similar to [[tweaking]] and the [[surf glitch]] in [[Generation IV]]. It can be used to enter the [[Hall of Fame]] without battling the [[Elite Four]] or the {{pkmn|Champion}}.
==Execution==
 
From a new game, the player obtains at least two items, with {{key|I|Oak's Parcel}} in the second slot. The [[bag]] should then be opened and the player should press the Select button on Oak's Parcel, then select ''Cancel'' twice. This will cause the cursor to stay white. A wild {{pkmn|battle}} should be initiated and then the player should open the [[party|Pokémon menu]] and press A while over first Pokémon, thus swapping it with a [['M (FF)]]. The player should open the fight menu, to prevent the game from managing as if there are no Pokémon on the field when the battle ends and then [[escape|run away]] or win.
 
From now on, the glitch should be active. Some of its effects are undesirable, such as slight graphical errors on the main map interface; however, one of the more useful effects will ensure that the warp location of the next door the player walks through is relevant to the amount of extra steps he or she takes, with the warp location changing every extra four steps.


==Explanation==
==Explanation==
The '''Dokokashira door glitch''' takes advantage of the fact that in {{game|Red and Green|s}}, 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 attempt to switch one of his or her Pokémon, he or she would arguably be switching a Pokémon with an item.


When the player attempts to switch an item with a Pokémon, this is essentially like switching information about other data in the game, such as what kinds of items the player has, or the map location of the player. The game will take an item to be the information about one of the "Pokémon" past the sixth slot (or data after the amount of Pokémon that the player currently has in the party).
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 {{DL|List of key items in Generation I|Oak's Parcel}} as the second item in his or her Bag with his or her first Pokémon, this will 'shuffle' several bytes within the game. Some of these effects are undesirable, such as slight graphical errors on the main map interface; however, one of the more useful effects will ensure that the warp location of the next door the player walks through is relevant to the amount of extra steps he or she takes, with the warp location changing every extra four steps.
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==
An equation from [[Glitch City Laboratories]] allows calculation of the map location the player will appear after walking through the doors affected by this glitch.
An equation from [[Glitch City Laboratories]] allows calculation of the map location the player will appear after walking through the doors affected by this glitch.


It is: Warp ID= k-(steps/4), where "Warp ID" is the [[List of locations by index number (Generation I)|map identifier]] that the player is warped to, "steps" are the amount of steps walked by the player and where "k" is a constant, depending on the player's map location.
It is: ''WarpID = k-(Steps/4)'', where "WarpID" is the [[List of locations by index number (Generation I)|map identifier]] that the player is warped to, "Steps" are the amount of steps walked by the player and "k" is a constant, depending on the player's map location. The equation is not applicable if its right side falls below zero.


There are certain entrances which don't warp the player. If the player enters or exits one of these locations, the amount of "steps walked" will be reset to 0 and the map constant is refreshed. This equation is not applicable if the right side of the equation falls below zero.
Only one of the entrances will warp the player, depending on the map. If the player enters or exits the map through any of the non-warping entrances, the amount of "steps walked" will be reset to 0 and the map constant will be refreshed.


===Constants===
===Constants===
Below is an incomplete list of constants (k), used in the path calculation equation above.
Below is a list of constants (k), used in the path calculation equation above. ''Warp location'' is the entrance which will cause the player to warp to the map specified by the equation.


*[[Pallet Town]]: 39 (reset "steps taken" to 0 and refresh map constant via the start of Route 1, player's house and Professor Oak's Lab)
{| class="roundy" style="background: #{{blue color dark}}; border: 5px solid #{{green color}}"
*[[Celadon City]]: 122 (reset "steps taken" to 0 and refresh map constant via the Pokémon Center and Celadon Condominiums.
|-
! style="background:#{{red color light}}; {{roundytl|5px}}" | {{color|{{red color dark}}|Location}}
! style="background:#{{red color light}}" | {{color|{{red color dark}}|Map constant}}
! style="background:#{{red color light}}; {{roundytr|5px}}" | {{color|{{red color dark}}|The warp location}}
|- style="background:#fff"
| [[Pallet Town]] || 39 || {{ga|Blue}}'s house
|- style="background:#fff"
| [[Viridian City]] || 42 || [[Poké Mart]] ([[Viridian City]])
|- style="background:#fff"
| [[Pewter City]] || 52 || [[Pewter Museum of Science]]
|- style="background:#fff"
| [[Cerulean City]] || 63 || House next to the Cerulean [[Pokémon Center]]
|- style="background:#fff"
| [[Vermilion City]] || 90 || [[Pokémon Fan Club]]
|- style="background:#fff"
| [[Lavender Town]] || 142 || [[Pokémon Tower]]
|- style="background:#fff"
| [[Celadon City]] || 122 || [[Celadon Department Store]], right entrance
|- style="background:#fff"
| [[Fuchsia City]] || 153 || House with NPCs discussing [[Bill]]
|- style="background:#fff"
| [[Saffron City]] || 177 || [[Fighting Dojo]]
|- style="background:#fff"
| [[Cinnabar Island]] || 166 || [[Cinnabar Gym]]
|}


==Method ({{game|Green}})==
==Examples==
From a new game, the player obtains at least two items, with {{DL|List of key items in Generation I|Oak's Parcel}} in the second 'slot'. The [[bag]] should then be opened and the player should press the Select button on Oak's Parcel, then select 'Cancel' twice. This will cause the cursor to stay white. A wild {{pkmn|battle}} should be initiated and then the player should open the [[party|Pokémon menu]] and select the first Pokémon, swapping it with a [[Charizard 'M]].  The player should open the fight menu, to prevent the game from managing as if there are no Pokémon on the field when the battle ends and then [[escape|run away from]] or win. The glitch has now been triggered. From here, many players have created methods to warp to certain places.


===Hall of Fame warp===
===Hall of Fame warp===
To warp to the [[Hall of Fame]], players must complete the above method, then follow this method. From the spot the wild Pokémon was battled, the player should take around ''83'' steps, landing the last step on the door of {{ga|Blue}}'s house in [[Pallet Town]]. The player will warp to {{rt|7|Kanto}}, from where the player should walk to [[Celadon City]], enter the [[Pokémon Center]], immediately exit it, then enter the [[Celadon Department Store]] through the right entrance in the most linear way possible. The player will warp to [[Indigo Plateau|Lance's room]], where the player should proceed through the back door. The player should then walk past {{ga|Blue}}, into the next room. The player will now be in the [[Hall of Fame]], which counts as the player defeating the [[Pokémon League]] and will display the credits. Alternatively, entering the Celadon Condominiums building instead of the Pokémon Center will warp the player right to the Hall of Fame room after entering the Celadon Department Store, although with glitchy graphics.
To warp to the [[Hall of Fame]], players must complete the above method, then follow this method. From the spot the wild Pokémon was battled, the player should take around ''83'' steps, landing the last step on the door of {{ga|Blue}}'s house in [[Pallet Town]]. The player will warp to {{rt|7|Kanto}}, from where the player should walk to [[Celadon City]], enter the [[Pokémon Center]], immediately exit it, then enter the [[Celadon Department Store]] through the right entrance in the most linear way possible. The player will warp to [[Indigo Plateau|Lance's room]], where the player should proceed through the back door. If the player talks to Lance, the game will crash. The player should then walk past {{ga|Blue}}, into the next room. The player will now be in the [[Hall of Fame]], which counts as the player defeating the [[Pokémon League]] and will display the credits. Alternatively, entering the Celadon Condominiums building instead of the Pokémon Center will warp the player right to the Hall of Fame room after entering the Celadon Department Store, although with glitchy graphics.
 


{{youtubevid|d4jBckP_mag|ChickasaurusGL|spicy}}
{{youtubevid|d4jBckP_mag|ChickasaurusGL|red|green}}


===Unused map 1 warp===
===Unused map 1 warp===
An alternative version of the {{rt|6|Kanto}} entrance to Underground Path, with a default music theme of Vermilion City, instead of its final Pewter City theme.
An alternative version of the {{rt|6|Kanto}} entrance to Underground Path, with a default music theme of Vermilion City, instead of its final Pewter City theme.
By traveling 83-87 steps after activating the glitch in {{rt|1|Kanto}} and landing the final step on the door of {{ga|Blue}}'s house, the player will now be in {{rt|7|Kanto}}. Then the player should walk to either the Celadon City Pokémon Center, or the Celadon Condominiums building and immediately walk out and travel an additional 188-191 steps, landing the final step in the right-most entrance of the Celadon Department Store.  
By traveling 83-87 steps after activating the glitch in {{rt|1|Kanto}} and landing the final step on the door of {{ga|Blue}}'s house, the player will now be in {{rt|7|Kanto}}. Then the player should walk to either the Celadon City Pokémon Center, or the Celadon Condominiums building and immediately walk out and travel an additional 188-191 steps, landing the final step in the right-most entrance of the Celadon Department Store.
 
{{youtubevid|Uia4yd_xnFM|ChickasaurusGL|red|green}}
 
==In international releases==
 
The Dokokashira door glitch still exists in {{game|Red and Blue|s}}, but it's not available in early game, as select glitches were removed in international releases. However, triggering this glitch is still possible by {{wp|Memory corruption|corrupting the memory}} with {{m|Super Glitch}} or [[ZZAZZ glitch]]. Some of the effects from {{3v2|Red|Green|Blue}} are still present, such as map tiles changing every 4 steps, or random Pokémon fainting even though nothing is poisoned. There also exist some effects which didn't happen in Pokémon Red, Green and Blue, like glitchy music and changing item quantities. In international releases, Dokokashira door glitch does not change the warp location.


{{youtubevid|Uia4yd_xnFM|ChickasaurusGL|spicy}}
{{youtubevid|-h30Q83SUWA|TheZZAZZGlitch|red|blue}}


==Name origin==
==Name origin==
The English name of this glitch stems directly from the Japanese name. "Dokokashira" is a transliteration of the Japanese word "どこかしら", which literally means "Where is it". The rest of the name is simply a translation of the Japanese name. The Japanese name is based on the fact that the {{player}} is caused to warp around to seemingly random positions after walking through the door into {{ga|Blue}}'s house, which can cause the player to become lost and may make some female Japanese players exclaim "どこかしら".
The English name of this glitch stems directly from the Japanese name. "Dokokashira" is a transliteration of the Japanese word "どこかしら", which translates to "somewhere" (or something more close to "somehow," except it specifies a place). The rest of the name is simply a translation of the Japanese name. The Japanese name is taken from the gadget "''Dokodemo-Door''" ("どこでもドア", literally "''anywhere-door''") from the long-running Japanese manga ''Doraemon'', which is widely accepted in Japan. The gadget is a door-shaped machine that takes people to an arbitrary distant place, by entering the destination and just opening it. This was related to the glitch's feature where it makes the {{player}} to warp to distant places after walking through the door into {{ga|Blue}}'s house, except that the destinations are seemingly random - hence getting "Somewhere-door."


==External Links==
==External links==
*[http://glitchcity.info/wiki/index.php/Doko_kashira_door_glitch Glitch City Laboratories wiki article]
*[http://glitchcity.info/wiki/index.php/Doko_kashira_door_glitch Glitch City Laboratories wiki article]
*[http://www.youtube.com/watch?v=SKmcDPtjx1I The original video of the Dokokashira Door glitch]
*[http://www.youtube.com/watch?v=SKmcDPtjx1I The original video of the Dokokashira Door glitch]
Line 49: Line 81:
*[http://www.youtube.com/watch?v=WpXLN9eFe1c A video entitled "Pokemon Green in 0:05" which takes advantage of the Dokokashira door glitch]
*[http://www.youtube.com/watch?v=WpXLN9eFe1c A video entitled "Pokemon Green in 0:05" which takes advantage of the Dokokashira door glitch]
*[http://pokemonbug.oh.land.to/rgb/711worp.html Discovering website's page on the glitch]
*[http://pokemonbug.oh.land.to/rgb/711worp.html Discovering website's page on the glitch]
*[http://forums.glitchcity.info/index.php/topic,6661.msg189861.html Thread on Glitch City Laboratories, explaining the English Red/Blue/Yellow equivalent of Dokokashira Door glitch]


{{Glitches}}<br>
{{Glitches}}<br>
Line 54: Line 87:


[[Category:Glitches]]
[[Category:Glitches]]
[[fr:Bug de la porte de Dokokashira]]
[[zh:任意门(漏洞)]]

Revision as of 14:31, 11 September 2016

The Dokokashira door glitch (Japanese: どこかしらドアバグ Dokokashira door bug) is a Select glitch in Generation I, which exists in the Japanese Pokémon Red and Green Versions as well as the Japanese Pokémon Blue.

It is similar to tweaking and the surf glitch in Generation IV. It can be used to enter the Hall of Fame without battling the Elite Four or the Champion. It is still possible to trigger this glitch in the international releases of Pokémon Red and Blue - however, it will have different effects from the Japanese releases, and it will not cause the player to warp.

Execution

From a new game, the player obtains at least two items, with Oak's Parcel in the second slot. The bag should then be opened and the player should press the Select button on Oak's Parcel, then select Cancel twice. This will cause the cursor to stay white. A wild battle should be initiated and then the player should open the Pokémon menu and press A while over first Pokémon, thus swapping it with a 'M (FF). The player should open the fight menu, to prevent the game from managing as if there are no Pokémon on the field when the battle ends and then run away or win.

From now on, the glitch should be active. Some of its effects are undesirable, such as slight graphical errors on the main map interface; however, one of the more useful effects will ensure that the warp location of the next door the player walks through is relevant to the amount of extra steps he or she takes, with the warp location changing every extra four steps.

Explanation

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 items 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 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

An equation from Glitch City Laboratories allows calculation of the map location the player will appear after walking through the doors affected by this glitch.

It is: WarpID = k-(Steps/4), where "WarpID" is the map identifier that the player is warped to, "Steps" are the amount of steps walked by the player and "k" is a constant, depending on the player's map location. The equation is not applicable if its right side falls below zero.

Only one of the entrances will warp the player, depending on the map. If the player enters or exits the map through any of the non-warping entrances, the amount of "steps walked" will be reset to 0 and the map constant will be refreshed.

Constants

Below is a list of constants (k), used in the path calculation equation above. Warp location is the entrance which will cause the player to warp to the map specified by the equation.

Location Map constant The warp location
Pallet Town 39 Blue's house
Viridian City 42 Poké Mart (Viridian City)
Pewter City 52 Pewter Museum of Science
Cerulean City 63 House next to the Cerulean Pokémon Center
Vermilion City 90 Pokémon Fan Club
Lavender Town 142 Pokémon Tower
Celadon City 122 Celadon Department Store, right entrance
Fuchsia City 153 House with NPCs discussing Bill
Saffron City 177 Fighting Dojo
Cinnabar Island 166 Cinnabar Gym

Examples

Hall of Fame warp

To warp to the Hall of Fame, players must complete the above method, then follow this method. From the spot the wild Pokémon was battled, the player should take around 83 steps, landing the last step on the door of Blue's house in Pallet Town. The player will warp to Route 7, from where the player should walk to Celadon City, enter the Pokémon Center, immediately exit it, then enter the Celadon Department Store through the right entrance in the most linear way possible. The player will warp to Lance's room, where the player should proceed through the back door. If the player talks to Lance, the game will crash. The player should then walk past Blue, into the next room. The player will now be in the Hall of Fame, which counts as the player defeating the Pokémon League and will display the credits. Alternatively, entering the Celadon Condominiums building instead of the Pokémon Center will warp the player right to the Hall of Fame room after entering the Celadon Department Store, although with glitchy graphics.

By ChickasaurusGL
This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.


Unused map 1 warp

An alternative version of the Route 6 entrance to Underground Path, with a default music theme of Vermilion City, instead of its final Pewter City theme. By traveling 83-87 steps after activating the glitch in Route 1 and landing the final step on the door of Blue's house, the player will now be in Route 7. Then the player should walk to either the Celadon City Pokémon Center, or the Celadon Condominiums building and immediately walk out and travel an additional 188-191 steps, landing the final step in the right-most entrance of the Celadon Department Store.

By ChickasaurusGL
This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.


In international releases

The Dokokashira door glitch still exists in Pokémon Red and Blue, but it's not available in early game, as select glitches were removed in international releases. However, triggering this glitch is still possible by corrupting the memory with Super Glitch or ZZAZZ glitch. Some of the effects from Red, Green, and Blue are still present, such as map tiles changing every 4 steps, or random Pokémon fainting even though nothing is poisoned. There also exist some effects which didn't happen in Pokémon Red, Green and Blue, like glitchy music and changing item quantities. In international releases, Dokokashira door glitch does not change the warp location.

By TheZZAZZGlitch
This video is not available on Bulbapedia; instead, you can watch the video on YouTube here.


Name origin

The English name of this glitch stems directly from the Japanese name. "Dokokashira" is a transliteration of the Japanese word "どこかしら", which translates to "somewhere" (or something more close to "somehow," except it specifies a place). The rest of the name is simply a translation of the Japanese name. The Japanese name is taken from the gadget "Dokodemo-Door" ("どこでもドア", literally "anywhere-door") from the long-running Japanese manga Doraemon, which is widely accepted in Japan. The gadget is a door-shaped machine that takes people to an arbitrary distant place, by entering the destination and just opening it. This was related to the glitch's feature where it makes the player to warp to distant places after walking through the door into Blue's house, except that the destinations are seemingly random - hence getting "Somewhere-door."

External links


Multiple
generations
Transform glitchesGlitch TrainersCloning glitchesError messagesArbitrary code execution
Generation I GlitchesBattle glitchesOverworld glitches
--0 ERRORBroken hidden itemsCable Club escape glitchDual-type damage misinformation
Experience underflow glitchFight Safari Zone Pokémon trickGlitch CityItem duplication glitchItem underflow
Mew glitchOld man glitchPewter Gym skip glitchPokémon merge glitchRhydon glitchRival twins glitch
Select glitches (dokokashira door glitch, second type glitch) • Super Glitch
Time Capsule exploitWalking through wallsZZAZZ glitch
Generation II GlitchesBattle glitches
Bug-Catching Contest glitchCelebi Egg glitchCoin Case glitchesExperience underflow glitch
Glitch dimensionGlitch EggTeru-samaTime Capsule exploitTrainer House glitchesGS Ball mail glitch
Generation III GlitchesBattle glitches
Berry glitchDive glitchPomeg glitchGlitzer Popping
Generation IV GlitchesBattle glitchesOverworld glitches
Acid rainGTS glitchesPomeg glitchRage glitch
Surf glitchTweakingPal Park Retire glitch
Generation V GlitchesBattle glitchesOverworld glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Frozen Zoroark glitchSky Drop glitch
Generation VI GlitchesBattle glitchesOverworld glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Lumiose City save glitchSymbiosis Eject Button glitchToxic sure-hit glitch
Generation VII GlitchesBattle glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Toxic sure-hit glitchRollout storage glitch
Generation VIII Glitches
Charge Beam additional effect chance glitchCharge move replacement glitchChoice item lock glitch
Toxic sure-hit glitchRollout storage glitchParty item offset glitch
Generation IX Glitches
Glitch effects Game freezeGlitch battleGlitch song
Gen I only: Glitch screenTMTRAINER effectInverted sprites
Gen II only: Glitch dimension
Lists Glitches (GOMystery DungeonTCG GBSpin-off)
Glitch Pokémon (Gen IGen IIGen IIIGen IVGen VGen VIGen VIIGen VIII)
Glitch moves (Gen I) • Glitch types (Gen IGen II)


Project GlitchDex logo.png This article is part of Project GlitchDex, a Bulbapedia project that aims to write comprehensive articles on glitches in the Pokémon games.