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
>Torchickens (Created page with "'''Map script arbitrary code execution''' is an arbitrary code execution method in {{RBY}}, usually requiring the expanded item pack. ==Summary== Item 42 and item 42'...") |
No edit summary |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
'''Map script arbitrary code execution''' is an [[arbitrary code execution]] method in {{RBY}},
==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 script is run continuously after the menu is closed. The address can be changed to
This is an efficient way of arbitrary code execution, but the items in slot 42 will be wiped after leaving the map, so it may be a good idea to swap the original map script back in before moving to a new map.
==See also==
#[[Expanded bag item documentation (Generation I)]]
==References==
<references/>
[[Category:Generation I glitches]]
[[Category:Arbitrary code execution]]
|