Trainer-Fly/Box underflow available text boxes that execute arbitrary script
Posted by: Torchickens
Date: 2015-04-18 11:17:38
Below are text box sources for when you talk to something like an object (as opposed to your last text box being the start menu) and return to a route that you have a Trainer-Fly set up in.
If you can change the memory address in hl to start with 08, this will mean that your text box will activate arbitrary code followed by the 08! Or if you put a 00 followed by text characters there and a 57; it is possible to create a custom text box.
Yellow: PC and Trainer-Fly south of Saffron hl=D7C8
Yellow: Some place with PC as last text, I unfortunately cannot remember: hl=D7C8
Yellow: "Lots of Pokémon stuff" + Trainer-Fly north of Cinnabar: D2C3 (may be promising?)
Yellow: PC and Trainer-Fly south of Lavender: C331
Red: "Lots of Pokémon stuff" + Trainer-Fly north of Cinnabar: CD5F
Red: Cinnabar coach guy + Trainer-Fly north of Cinnabar: D7E9
Red: PC and Trainer-Fly west of Celadon: D7DF
Red: "Tons of Pokémon stuff" in Celadon Mart + Trainer-Fly left of Celadon: D717
Non-text box opening map scripts:
Non-text box opening scripts are values for individual map scripts from D5F1 onward that are not relevant to maps with Trainers, and/or are not 01 (because 01 means a normal script that opens up a text box and gives an encounter like Trainer-Fly). They can only be accessed with stored item underflow, the walking lag glitch, or further arbitrary code execution.
I'm looking/checking if you can get any good script locations (such as in your items, I wish) with box item underflow or the walking lag glitch.
Route 4: Jack-Fly from the Paras Trainer, change boxes, reset, return, talk to her again, and beat her. This made the game execute F0F5 (i.e. D0F5).