Jump to content

Player coordinates RAM writer: Difference between revisions

no edit summary
>Torchickens
(Tidy up and add coordinates image.)
>Torchickens
No edit summary
 
(5 intermediate revisions by the same user not shown)
Line 1:
{{incomplete}}
Using [[arbitrary code execution]], it is possible to create and run large programs such as homebrew software in a Pokémon game, such as homebrew software.
 
==Using 8F in {{RB}}==
Line 26:
#Swap TM17 x46 with TM15 x46, use 8F and jump off a ledge to walk through walls. This allows the player to walk on impassable tiles, so that they may access all coordinates ranging from hex:00 to hex:0F.
#There will now be a TM34 x21 instead of x20.
#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 to address D901 (and onward for each use) with its value depending on your X and Y positions where the Y position represents the high nybble and the X position represents the low nybble. For example, a coordinate of y=0C, x=09 would write a C9 (ret); see image below).
#To run the created code, swap TM10 x1 with TM34 and use 8F, it should then go straight to the created code.
 
Video:
{{youtube|1=D3EvpRHL_vk|2=TheZZAZZGlitch}}
 
===Route 1 coordinates map===
This map (below) tells us the coordinates for spots in [[bp:Kanto Route 1|Route 1]] for writing the code. For example, a coordinate of y=0C, x=09 would write a C9 (ret). <br>
[[File:Route 1 coordinates.png]]
[[Category:Arbitrary code execution]]
[[Category:Arbitrary code execution programs]]
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.