Trainer escape glitch: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
m (Text replacement - "http://forums.glitchcity.info" to "https://forums.glitchcity.info")
m (Fixed the link to the forum archives.)
Line 72: Line 72:
This trick can be performed after completing one of the Trainer escape methods above in the '[[Trainer escape glitch#Initial steps of the glitch|initial steps of the glitch]]' section and may temporarily remove the ability to open the start menu.
This trick can be performed after completing one of the Trainer escape methods above in the '[[Trainer escape glitch#Initial steps of the glitch|initial steps of the glitch]]' section and may temporarily remove the ability to open the start menu.


There are two obstacles that usually need to be cleared before a Special stat encounter could work, [https://forums.glitchcity.info/index.php?topic=7256.msg198353#msg198353 as documented by Háčky].
There are two obstacles that usually need to be cleared before a Special stat encounter could work, [https://archives.glitchcity.info/forums/board-107/thread-7256/page-0.html#msg198353 as documented by Háčky].


*Bit 0 of $CD60 needs to be unset. This bit is set when a Trainer spots the player and when it is set disables the Start menu, and partially disables the A and B buttons except for certain actions like using a PC. There is no known method to clear the following obstacle without clearing this one either beforehand or in the process (except by cheating or utilizing other glitches).
*Bit 0 of $CD60 needs to be unset. This bit is set when a Trainer spots the player and when it is set disables the Start menu, and partially disables the A and B buttons except for certain actions like using a PC. There is no known method to clear the following obstacle without clearing this one either beforehand or in the process (except by cheating or utilizing other glitches).
Line 316: Line 316:


==Explanation==
==Explanation==
Specifically for Special stat encounter, the disabled Start menu, and prevented battles, [https://forums.glitchcity.info/index.php?topic=7256.msg198353 Háčky provided the following explanations].
Specifically for Special stat encounter, the disabled Start menu, and prevented battles, [https://archives.glitchcity.info/forums/board-107/thread-7256/page-0.html#msg198344 Háčky provided the following explanations].


"When a Trainer spots you, the game loads the Trainer class into $CD2D and team number into $CD2E, and sets a map script that will have the Trainer give his/her dialogue and start the battle. When you leave the map, the current script for that map is saved, and will be run again when you re-enter that map.
"When a Trainer spots you, the game loads the Trainer class into $CD2D and team number into $CD2E, and sets a map script that will have the Trainer give his/her dialogue and start the battle. When you leave the map, the current script for that map is saved, and will be run again when you re-enter that map.