Dokokashira door glitch: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Torchickens
No edit summary
>Torchickens
(Big expansion)
Line 12: Line 12:
''Main article:[[Select bugs]]''
''Main article:[[Select bugs]]''


==Requirements (to access the Hall of Fame room)==
==Requirements==


#A Japanese version of Pokémon Red, or Pokémon Green.
#A Japanese version of Pokémon Red, or Pokémon Green.
#This [[glitch]] may not be successful in later areas of the game.
#Willingess to start a New Game to perform the ideal method; this is optional, however if the player uses his or her existing Save File it is extremely difficult to find another method because this [[glitch]] can potentially alter any byte within the game, if some bytes have been written a value other than 00 this could potentially [[Game freeze|freeze]] the game if these bytes are shuffled.
#Two items in the player's bag, with [[bp:Oak's Parcel|Oak's Parcel]] as the second.
#At least one Pokémon.


==Triggering the exploit (Pokémon Green)==
==An ideal method (to warp to the Hall of Fame) in a short amount of time==


#Open the item pack, preferably when in battle.
One needs to start a New Game if he or she has already delivered Oak's Parcel and recieved the first badge. The following steps presume that the player has started a New Game.
#Press the select button on the second item ([[bp:Oak's Parcel|Oak's Parcel]])
#Exit the menu via B,B or return to the battle interface via B.
#If not already in battle, enter a battle now without opening the menu again.
#Open the party screen (from battle) and choose the first Pokémon to 'switch it with Oak's Parcel', it is now an [[GlitchDex/RG:255|'Anedapami']].
#Enter the FIGHT screen ({{Explain|this is important|Prevents an 'endless healing loop', associated with the CANCEL like properties of RG:255 where otherwise the game presumes that the player has no Pokémon}}.
#Either run away from battle, or defeat the enemy Pokémon (defeating the opponent allows the player to battle with 'Andepami' although the game will freeze if moves such as [[bp:Growl (move)|Growl]] are used by the opponent.


==Related mechanics and route calculation==
#Withdraw a Potion from the PC.
{{incomplete2}}
#Walk into the tall grass until Professor Oak brings the player into his lab.
#Choose any [[bp:starter Pokémon|starter Pokémon]].
#After the rival chooses his Pokémon, attempt to leave the lab.
#Either win or lose to the battle with him and then proceed through the grass again to Viridian City.
#Enter the Poké Mart and recieve Oak's Parcel.
#The player should proceed back to Route 1 and enter a battle.
#Choose the ITEMS option and use the Select button whilst highlighting Oak's Parcel.
#Select 'Cancel' and then select 'PKMN'.
#The cursor should still be white, choose the Starter Pokémon to switch it with Oak's Parcel.
#Check the Starter Pokémon's moves on the 'Fight' screen, to check that essential data has not been altered.
#If not, RUN from the Pokémon battle and then walk exactly ''73'' steps, landing the last step in Gary's house in Pallet Town.
#When performed correctly the player will appear outside of the house where HM02 Fly is normally obtainable. Walk another ''5'' steps to the right and then move down so that it appears as if the player is attempting to move through the house's ceiling, it is the spot one step north of its right hand corner.
#The player will appear in the northern section of the Cycling Road House, he or she should walk another ''9'' steps and aim the last step to be through the exit to the north-east corner.
#After walking an an extra ''44'' steps eastwards aim the 45th step to be through the rightmost door of the Celadon Department Store.
#The player should now be in a glitched version of the Hall of Fame room.


After triggering the glitch, the next warp location for entrances, where in which case the associated map number is affected by the doko kashira door glitch is set to a constant, depending on the map location that the player was when he or she exploited the glitch. This value decreases by 1 every 4 steps and changes the value of map number address D2DD to what was stored (which is representable by k-s/4 where is a 'steps taken value', though 's' is not an internal mechanic) when the player is warped from such an entrance. The 'warp constant' "k", is refreshed by certain entrances which don't warp the player to the wrong location, where when entered or exited the amount of steps taken 's' is reset to 0.
==See also==


If k-s/4 falls below 0, the warp location the player would be taken to remains at Pallet Town and does not loop back to value 255 if an additional four steps are taken.
===Calculation===

From the information above, the warp I.D is determined by Warp I.D= k-(steps/4), where "Warp I.D" is the decimal identifier of a desired map location, where k is the "warp constant" and where steps are the amount of steps taken by the player.

This can be re-arranged as Steps = 4k - (4 * warp I.D) to plan a route to a desired map location by adding values for k (the warp constant) and the warp I.D, as long as the result does not fall below zero.

===List of entrances which refresh the 'step count' and 'warp constant'===
{{incomplete2}}

{| border="1"
!Associated map
!Entrances
|-
|Pallet Town/Route 1
|Start/finish of Route 1, of player's house, Professor Oak's Lab
|-
|Celadon City
|Pokémon Center, Celadon Condominiums
|-
|}

===List of warp constants===
{{incomplete2}}

{| border="1"
!Associated map location(s)
!Value ([[DEC]])
!Value ([[HEX]])
|-
|Pallet Town, Route 1
|39
|0x27
|-
|Celadon City
|122
|0x7A
|-
|Cinnabar Island
|171
|0xAB
|-
|Route 16
|183
|0xB7
|}

==Sample route guides==

*Please see [[:Category:Unused_maps_with_documented_dokokashira_door_glitch_routes]].

==See also==
#[[Select bugs]]
#[[Fossil conversion glitch]]
#[[Tweaking]]
#[[Tweaking]]


==External Links==
==External Links==


#[http://www.youtube.com/watch?v=SKmcDPtjx1I] - The original video of the doko kashira door glitch performed on a Gameboy Player.
#[http://www.youtube.com/watch?v=ZDtJCLOpOYE] - A Pokémon Green Tool-Assisted Speedrun.
#[http://www.youtube.com/watch?v=ZDtJCLOpOYE] - A Youtube video of a player performing the doko kashira door glitch so that he or she can access the Hall of Fame and complete the game in only 4:24 minutes.
#[http://www.ocf.berkeley.edu/~jdonald/pokemon/dokokashira.html] - A brief summary of the doko kashira door glitch.
#[http://www.ocf.berkeley.edu/~jdonald/pokemon/dokokashira.html] - A summary of the doko kashira door glitch.
#[http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&u=http://pokemonbug.oh.land.to/index.html&sl=auto&tl=en&history_state0=] pokemonbug.oh.land.to; a Japanese Pokémon site translated into English, which has noted the Doko-Kashira Door Glitch as well as the methods involved in it.
#[http://translate.google.com/translate?js=n&prev=_t&hl=en&ie=UTF-8&u=http://pokemonbug.oh.land.to/index.html&sl=auto&tl=en&history_state0=] pokemonbug.oh.land.to; a Japanese Pokémon site translated into English, which has noted the Doko-Kashira Door Glitch as well as the methods involved in it.
#[http://pokemonbug.oh.land.to/] pokemonbug.oh.land.to in Japanese.
#[http://pokemonbug.oh.land.to/] pokemonbug.oh.land.to in Japanese.

Revision as of 16:24, 9 October 2010

Select glitches in Japanese Pokémon Red, Green and Blue

Battle disabling Select glitch | Badge describer glitch | Dokokashira door glitch | Fossil conversion glitch | Item creation glitch | Lift glitch | Partial switch glitch | Remaining PP into species Select glitch | Second type glitch | Skip to Level 100 glitch | Trainer mutation glitch | Walk through walls | Warp by Nidoran♂ glitch

(view, talk, edit)
Please note that this glitch only exists in the Japanese versions of the game, or is otherwise a glitch
from a Pokémon game which was only released in Japan.
File:Dokokashira.png
Presuming that the player has recently started a New Game, in Pokémon Green. After the player switches the second item: Oak's Parcel with the first Pokémon the values of various RAM addresses will be 'switched'. For example, Professor Oak will be forced to appear outside of Pallet Town and importantly, the map identifier managed by certain warps in the area will start at a constant and deplete every four steps until reaching zero.

The doko kashira door glitch is one of the more notable examples of select bugs, which only exist within the Japanese Pokémon Red and Green. It is perhaps the most well known example in Japan and outside of Japan with the original Youtube video having over two million views. The glitch, amongst other select bugs were documented within the website pokemonbug with URL pokemonbug.oh.land.to and was later referenced by many other (especially Japanese) Pokémon glitch related websites. The phrase "doko kashira" is a transliteration of the Japanese word "どこかしら", literally meaning "where is it?", perhaps in reference to the glitch's arbitrary nature, where without careful planning it is difficult to predict the next location the player is going to arrive.

This select bug has been primarily exploited for the manipulation of the map identifier that another entrance, or exit will take the player to. It has been fairly popular for tool-assisted speedruns of Pokémon Red and Green even outside of Japan because of fast routes allowing the player to warp to the Hall of Fame, usually in under five minutes. However, doko kashira door glitch TAS submissions relating to the Generation I main-series Pokémon games have since been obsoleted by save corruption techniques.

As with all select bugs, the doko kashira door glitch is no longer exploitable in the special edition, Japanese Pokémon Blue because the updated engine of Pokémon Blue no longer keeps the select flag as set (1), if the player has recently pressed the select button on an item and closed the item pack. Additionally, the updated game engine of Japanese Pokémon Blue prevents the possibility of 'switching an item with a Pokémon'. Since the newer localizations of the first generation of main-handheld Pokémon games were based off the game engine of the original Japanese Pokémon Blue, the doko kashira door glitch and any other select bugs are not exploitable in European, NTSC or Korean localizations of the game.

Explanation

Main article:Select bugs

Requirements

  1. A Japanese version of Pokémon Red, or Pokémon Green.
  2. This glitch may not be successful in later areas of the game.
  3. Two items in the player's bag, with Oak's Parcel as the second.
  4. At least one Pokémon.

Triggering the exploit (Pokémon Green)

  1. Open the item pack, preferably when in battle.
  2. Press the select button on the second item (Oak's Parcel)
  3. Exit the menu via B,B or return to the battle interface via B.
  4. If not already in battle, enter a battle now without opening the menu again.
  5. Open the party screen (from battle) and choose the first Pokémon to 'switch it with Oak's Parcel', it is now an 'Anedapami'.
  6. Enter the FIGHT screen (this is important.
  7. Either run away from battle, or defeat the enemy Pokémon (defeating the opponent allows the player to battle with 'Andepami' although the game will freeze if moves such as Growl are used by the opponent.

Related mechanics and route calculation

This section is incomplete, please feel free to add any missing information about the subject. It is missing: {{{1}}}.

After triggering the glitch, the next warp location for entrances, where in which case the associated map number is affected by the doko kashira door glitch is set to a constant, depending on the map location that the player was when he or she exploited the glitch. This value decreases by 1 every 4 steps and changes the value of map number address D2DD to what was stored (which is representable by k-s/4 where is a 'steps taken value', though 's' is not an internal mechanic) when the player is warped from such an entrance. The 'warp constant' "k", is refreshed by certain entrances which don't warp the player to the wrong location, where when entered or exited the amount of steps taken 's' is reset to 0.

If k-s/4 falls below 0, the warp location the player would be taken to remains at Pallet Town and does not loop back to value 255 if an additional four steps are taken.

Calculation

From the information above, the warp I.D is determined by Warp I.D= k-(steps/4), where "Warp I.D" is the decimal identifier of a desired map location, where k is the "warp constant" and where steps are the amount of steps taken by the player.

This can be re-arranged as Steps = 4k - (4 * warp I.D) to plan a route to a desired map location by adding values for k (the warp constant) and the warp I.D, as long as the result does not fall below zero.

List of entrances which refresh the 'step count' and 'warp constant'

This section is incomplete, please feel free to add any missing information about the subject. It is missing: {{{1}}}.
Associated map Entrances
Pallet Town/Route 1 Start/finish of Route 1, of player's house, Professor Oak's Lab
Celadon City Pokémon Center, Celadon Condominiums

List of warp constants

This section is incomplete, please feel free to add any missing information about the subject. It is missing: {{{1}}}.
Associated map location(s) Value (DEC) Value (HEX)
Pallet Town, Route 1 39 0x27
Celadon City 122 0x7A
Cinnabar Island 171 0xAB
Route 16 183 0xB7

Sample route guides

See also

  1. Select bugs
  2. Fossil conversion glitch
  3. Tweaking

External Links

  1. [1] - A Pokémon Green Tool-Assisted Speedrun.
  2. [2] - A brief summary of the doko kashira door glitch.
  3. [3] pokemonbug.oh.land.to; a Japanese Pokémon site translated into English, which has noted the Doko-Kashira Door Glitch as well as the methods involved in it.
  4. [4] pokemonbug.oh.land.to in Japanese.