Retire glitch: Difference between revisions
Jump to navigation
Jump to search
Content added Content deleted
>Torchickens No edit summary |
>RETIRE No edit summary |
||
Line 4: | Line 4: | ||
The '''Retire glitch''' (also known as the '''Pal Park Retire glitch''') is a [[glitch derivative]] of [[Tweaking]]. It was documented by Cryo on January 10, 2017. |
The '''Retire glitch''' (also known as the '''Pal Park Retire glitch''') is a [[glitch derivative]] of [[Tweaking]]. It was documented by Cryo on January 10, 2017. |
||
By entering the [[out of bounds|void]], then traveling through RAM until you enter Map 0xFB (251) '''Pal Park''', a mapscript will run. The player is granted a Menu, which has the '''RETIRE''' function on it, similarly to the Menu granted in the Great Marsch. |
|||
The glitch involves travelling to the Pal Park while in the [[out of bounds|void]]. This allows the player to access the retire option from the menu, which here, in normal circumstances, would be the script to leave the Pal Park. |
|||
It also sets a flag that accounts for the Encounters, making sure you can only encounter '''wild''' Pokémon (on grasstiles, watertiles, cavetiles, pondtiles) that you have transfered from gen 3. If none are present, you cannot encounter wild Pokémon. This does not apply to static battles (Drifloon, legendaries, berry trees). |
|||
Upon leaving the Pal Park, choosing the retire option will run map script 3. This allows the player to run scripts they aren't supposed to or glitch scripts. The script that appears depends on the area, and sometimes the contents of the writable memory. |
|||
The '''RETIRE''' glitch occurs when pressing the RETIRE function. |
|||
It first checks for flag 0x967, a flag set when entering the Great Marsch, |
|||
if set, it runs script 0x2275 and asks to leave the Safari Zone. |
|||
Otherwise, it runs the 4th script in runtime. In normal circumstances it cannot be used outside of Pal Park's Map, where it would be: |
|||
Script 4: |
|||
Fanfare 1500 |
|||
Lockall |
|||
Message 8 "Would you like to retire?" |
|||
Yesnobox 32780 |
|||
CloseMsgOnKeyPress |
|||
If 32780 0 |
|||
CheckLR 1 func_2 |
|||
Releaseall |
|||
End |
|||
with func_2 being |
|||
Func 2: |
|||
Setvar 16627 2 |
|||
Releaseall |
|||
Goto func_1 |
|||
End |
|||
And func_1 being |
|||
Func 1: |
|||
StopGreatMarsh 1 |
|||
Fadescreen 6 1 0 0 |
|||
Resetscreen |
|||
Warp 393 0 7 7 1 |
|||
Fadescreen 6 1 1 0 |
|||
Resetscreen |
|||
Killscript |
|||
In this case, pressing YES would warp you to Map 0x189 (393). |
|||
Once out of bounds, you can use it in any map you'd like, running 4th script in runtime in any Map. |
|||
A year later an alternative was found by glitchologist Aera, called alt-RETIRE. |
|||
By transfering 6 Pokémon from gen 3 and being in '''Pal Park mode''', then catching all 6, the game would run 3rd script un runtime. |
|||
Script 3: |
|||
Fanfare 1500 |
|||
Lockall |
|||
Fanfare 1521 |
|||
Setvarhero 0 |
|||
Message 5 "Ding-dong! |
|||
Congratulations! |
|||
\v0103\z0000 has successfully |
|||
caught the stocked Pokémon!" |
|||
PlaySound 1002 |
|||
Soundfr 1158 |
|||
Fadedef |
|||
CloseMsgOnKeyPress |
|||
Releaseall |
|||
Setvar 16627 1 |
|||
Goto func_1 |
|||
End |
|||
with func_1 (still) being |
|||
FUNCTIONS: |
|||
Func 1: |
|||
StopGreatMarsh 1 |
|||
Fadescreen 6 1 0 0 |
|||
Resetscreen |
|||
Warp 393 0 7 7 1 |
|||
Fadescreen 6 1 1 0 |
|||
Resetscreen |
|||
Killscript |
|||
Since the flag set by the mapscript made the game ignore all encountertables to only encounter the transfered Pokémon, this meant you could call 3rd script in runtime too. At the time, it wasn't quite that useful since it was limited to areas where we could find grass/water, and a small area in the void called 'Black Sinnoh', where these tiles are naturally read from RAM. |
|||
A year later a glitchologist RETIRE found a way to manipulate tiles in the void, allowing to write any tile by chaining gfx set changes (by opening menu's in specific maps) and for specific tiles manipulating ASLR too. Now you could call 3rd script in runtime in any map. |
|||
The glitch is most known for its use in the Hall of Origin, which allows for the player to battle Arceus. |
The glitch is most known for its use in the Hall of Origin, which allows for the player to battle Arceus. |