Jump to content

Safari Zone exit glitch: Difference between revisions

m
Text replacement - "~" to "–"
>Bbbbbbbbba
m (Changed "perpetual spinning glitch" to "perpetual spinning effect".)
m (Text replacement - "~" to "–")
Line 22:
 
===Escaping from the Safari Zone===
The reason steps 2~42–4 allows you to leave the Safari Zone without properly ending the Safari game is due to an oversight in the Safari Zone entrance overworld script.
 
In Gen I, the game keeps track of a script ID for almost every overworld map. The script ID indicates the "status" of that specific map (e.g. [[Trainer escape glitch|whether the player is being seen by a trainer]]), and determines the overworld script that runs every frame when the player is in that map. The piece of script responsible for asking the player "leave early?" when the player tries to do so is script #5 in the Safari Zone entrance. A "yes" answer would end the Safari game properly, make the player walk out, and change the script ID back to 0 (the initial state). A "no" answer is supposed to make the player return to the Safari Zone, and leave the script ID at 5 (so that the player is asked again if they try to leave again).
Cookies help us deliver our services. By using our services, you agree to our use of cookies.