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.

CC57 arbitrary code execution

Arbitrary code execution is possible in Pokémon Red, Blue, and Yellow by modifying the value of memory address CC57 to a non-00 value. Many invalid CC57 values freeze the game or have unique effects. When the player activates CC57, it may disable text boxes however the arbitrary code execution persists on loop (like custom D36E-D36F map scripts). Unlike custom D36E-D36F map scripts, the CC57 script persists even after changing maps.

In Red/Blue, invalid value 0xDD is an ideal CC57 script that executes F5D5 in Echo RAM (a copy of PC item 27). For Yellow, value 0x15 executes FA86 (Pokémon 6 in the current Pokémon storage system box).

This article or section is a stub. You can help wiki by [ expanding it].

Categories