Jump to content

Arbitrary code execution: Difference between revisions

→‎Via text boxes: Added an introduction.
>Bbbbbbbbba
m (→‎Via items: Linking to the "European" section of 4F.)
>Bbbbbbbbba
(→‎Via text boxes: Added an introduction.)
Line 49:
 
===Via text boxes===
Each map has a number of different map-specific text boxes, with a table of pointers pointing to each piece of text. Certain glitches like [[Trainer escape glitch#Text box ID matching|text box ID matching]] can force the game to display a text box that doesn't exist on the current map, which means the pointer may point to anything, including into the RAM. From here, a 0x08 (TX_ASM) text command in a suitable location will enable arbitrary code execution.
 
====Via Trainer escape glitch on Sea Route 21====
{{main|Sea Route 21 0x44 text box glitch (English Yellow)}}
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.