Player coordinates RAM writer: Difference between revisions

From Glitch City Wiki
Jump to navigation Jump to search
Content added Content deleted
>Glitch Genie
(Created page with "'''WHAT'S JAIL BREAKING?''' Jailbreaking is a hack to restart the game with 8F in "any way" you want depending on how many bytes you execute. Arbitrary code execution in R...")
 
>Glitch Genie
No edit summary
Line 24: Line 24:
TM15, x46
TM15, x46


Swap TM17 x46 with TM15 x46, use 8F and jump off a ledge to walk through walls, because it's required. (There should then be TM34 x21 instead of x20.)
Swap TM17 x46 with TM15 x46, use 8F and jump off a ledge to walk through walls, because it's required. #There should then be TM34 x21 instead of x20.#
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 (TM34 QTY) is written, with its value depending on your X and Y positions.
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 #TM34 QTY# 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 should then go straight to the created code.
To run the created code, swap TM10 x1 with TM34 and use 8F, it should then go straight to the created code.

Revision as of 21:37, 26 November 2014

WHAT'S JAIL BREAKING?

Jailbreaking is a hack to restart the game with 8F in "any way" you want depending on how many bytes you execute.

Arbitrary code execution in Red/Blue using the "8F" item shows how to obtain 8F.

HOW TO JAILBREAK

You can jailbreak with the following list of items:

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, because it's required. #There should then be TM34 x21 instead of x20.# 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 #TM34 QTY# 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 should then go straight to the created code.