Dokokashira door glitch: Difference between revisions

From Bulbapedia, the community-driven Pokémon encyclopedia.
Jump to navigationJump to search
m
mNo edit summary
Line 19: Line 19:
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: ''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.
It is: <math>WarpID=k-\dfrac{Steps}{4}</math>, 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.


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

Navigation menu