Gym statue text manipulation

From Glitch City Wiki
Jump to navigation Jump to search
This article lacks images.

Emulator screenshots are preferred to pictures taken with a camera or 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