Pokemon Blue: Running homebrew software with 8F arbitrary code execution

Опубликовано: 17 Май 2013
на канале: TheZZAZZGlitch
177,137
2.8k

For more information and more item lists visit: http://forums.glitchcity.info/index.p...
Code: http://pastebin.com/raw.php?i=GByyfPeA

Item list:
Bicycle
8F
X Accuracy, x97
Burn Heal, x126
Parlyz Heal, x15
HP UP, x15
Ice Heal, x15
Potion, x134
TM34, x20
TM17, x46
Leaf Stone, x52
Great Ball, x201
TM10, x1
TM15, x46

Swap TM17 x46 with TM15 x46, use 8F and jump off a ledge to walk through walls.
Then swap TM17 and TM15 back, toss TM34 until only one of them remains and use a Bicycle. The program is now in entering mode, and upon using 8F one byte is written, with its value depending on your X and Y positions.
To run the created code, swap TM10 x1 with TM34 and use 8F.

It is possible to run custom "applications", with the maximum size of 254 bytes.
Unlike previous attempts of reprogramming the game, no TASing is required, so this can be done by a human on a cartridge just fine.