Main Menu

Glitches

References/Resources

Affiliates

Technical

Search Wiki

Toolbox

CC57 arbitrary code execution
 Page | Discussion | View source | History

From Glitch City Laboratories

Revision as of 07:57, 14 October 2019 by Torchickens (talk | contribs) (Created page with "Arbitrary code execution is possible in {{RBY}} by modifying the value of memory address '''CC57''' to a non-00 value. Many invalid CC57 values freeze the game or have uni...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 persist 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 Glitch City Laboratories wiki by expanding it. RB 234 fs crop.png