Glitch City Laboratories Archives

Glitch City Laboratories closed on 1 September 2020 (announcement). This is an archived copy of an article from Glitch City Laboratories wiki.

A live version of this article is available at the Glitch City Wiki here.

You can join Glitch City Research Institute to ask questions or discuss current developments.

You may also download the archive of the wiki in .tar.gz or .xml.gz formats.

Gym statue text manipulation

This article lacks images.


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

    [b]YouTube video by PLASMA GER[/b]

    Categories