Main Menu

Glitches

References/Resources

Affiliates

Technical

Search Wiki

Toolbox

Gym statue text manipulation
 Page | Discussion | View source | History

From Glitch City Laboratories

Revision as of 12:08, 13 January 2020 by Torchickens (talk | contribs) (Created page with "{{imagesneeded}} '''Gym statue text manipulation''' occurs in {{RBY}}. By modifying gym statue text with a glitch (e.g. arbitrary code execution), displaying it can al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
This article lacks images.
Missing image.jpg
Emulator screenshots are preferred to pictures taken with a camera of a capture card; however, a medium-quality image is better than no image.

Any contributions are highly appreciated!


Gym statue text manipulation occurs in Pokémon Red, Blue, and Yellow. By modifying gym statue text with a glitch (e.g. arbitrary code execution), displaying it can also corrupt the map if the size of the dialog is too large.

Method and technical notes

According to the Pokémon Red disassembly, the following buffers exist:

wGymCityName:: ; cf5f

ds 17

wGymLeaderName:: ; cf70

ds NAME_LENGTH

Changing these will edit parts of the gym statue text, which curiously persist until exiting/reloading the map. The player may be able to do this with either Super Glitch or (more ideally a memory editor either externally or internally) with arbitrary code execution.

After changing the name of the gym, the player can try using the 0x53 control character many times to overload text. This causes a small map tileblock corruption.

Attribution

  • ChickasaurusGL (article text)

YouTube video

YouTube video by ChickasaurusGL