Evie (ChickasaurusGL) 🌺 | Agatha's badge describer glitch and arbitrary code execution from Antidote badge (Pokémon Red/Blue) @ChickasaurusGL | Uploaded April 2023 | Updated October 2024, 9 hours ago.
Agatha's badge describer glitch is one of the interesting ROM "glitch meta map scripts" for Agatha's Pokémon League room. It is script 0x7F (and has a copy at script 0xFF). This glitch opens up a glitch badge describer menu (like the badge describer in Cerulean City but with glitch options). Theoretically it is a way to do badge describer arbitrary code execution without prior ACE or arbitrary RAM modification, however, the glitch badge menu is invisible and the font is glitched.
I wrote an article about it a few weeks ago and wanted to do an elaborate method to set it up and glitch badge arbitrary code execution without using another form of ACE. You should be able to do it with expanded party swaps, but in the end, I decided to just use 4F with the memory set up in advance, for viewing glitch badge "Antidote" to run the Hall of Fame script from text pointer D821 in 08 (TX_START_ASM) mode. The method I use also requires saving and resetting before entering Agatha's room, to reset the value of CF8B to 00 and view menu 1:4E00. Menu 1:4E1D is also possible if you open the items menu without saving and resetting afterwards. I set up breakpoints to show my code.
More information:
https://glitchcity.wiki/Agatha%27s_badge_describer_glitch
Agatha's badge describer glitch is one of the interesting ROM "glitch meta map scripts" for Agatha's Pokémon League room. It is script 0x7F (and has a copy at script 0xFF). This glitch opens up a glitch badge describer menu (like the badge describer in Cerulean City but with glitch options). Theoretically it is a way to do badge describer arbitrary code execution without prior ACE or arbitrary RAM modification, however, the glitch badge menu is invisible and the font is glitched.
I wrote an article about it a few weeks ago and wanted to do an elaborate method to set it up and glitch badge arbitrary code execution without using another form of ACE. You should be able to do it with expanded party swaps, but in the end, I decided to just use 4F with the memory set up in advance, for viewing glitch badge "Antidote" to run the Hall of Fame script from text pointer D821 in 08 (TX_START_ASM) mode. The method I use also requires saving and resetting before entering Agatha's room, to reset the value of CF8B to 00 and view menu 1:4E00. Menu 1:4E1D is also possible if you open the items menu without saving and resetting afterwards. I set up breakpoints to show my code.
More information:
https://glitchcity.wiki/Agatha%27s_badge_describer_glitch