Jump to content

CC57 arbitrary code execution: Difference between revisions

m
Adding missingword
>Torchickens
mNo edit summary
>Torchickens
m (Adding missingword)
 
Line 1:
[[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 unique effects. When the player activates CC57, it may disable text boxes however the arbitrary code execution persists on loop (like [[map script arbitrary code execution|custom D36E-D36F map scripts]]). Unlike custom D36E-D36F map scripts, the CC57 persistscript 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).
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.