Map script arbitrary code execution: Difference between revisions
Map script arbitrary code execution (view source)
Revision as of 10:51, 3 November 2023
, 6 months agono edit summary
>Sherkel (Now THIS is an awesome find! Let me know if there's any problem with this kind of proofreading.) |
No edit summary |
||
(One intermediate revision by one other user not shown) | |||
Line 1:
'''Map script arbitrary code execution''' is an [[arbitrary code execution]] method in {{RBY}}, requiring the [[expanded item pack]]. In speedrunning communities, it is also called APJM<ref>[https://pastebin.com/T5gHcAtb blue 151 full roaming items list - Pastebin]</ref>, and can be used as a type of arbitrary code execution or a specified [[unintended ROM code execution]], so is typically not allowed.
==Summary==
Item 42 and item 42's quantity control wMapScriptPtr (D36E-F in {{RB}} and D36D-E in {{Yellow}}), with the index number of item 42 being the first byte to a little-endian pointer, and item 42's quantity as the second. This
This script is run continuously after the menu is closed. The address can be changed to one corresponding to a different item slot, such as Water Stone x211 (Thunderstone x211 in Yellow) to make the script point to item 3 (D322/D321).
Line 11:
#[[Expanded bag item documentation (Generation I)]]
==References==
<references/>
[[Category:Generation I glitches]]
[[Category:Arbitrary code execution]]
|