This requires a bit of an in-depth explanation. First, what I'm trying to do: In the opening of the game, when Taban and Lucca display the Telepod, the cutscene just uses the standard music that plays on the map (Millenial Fair). I want to keep the Millenial Fair music for the rest of the game, but in that specific cutscene, insert a "Play song" command to change the music. Luckily, there's a dummied-out textbox 4 bytes earlier ("TABAN: Don't worry, we tried it on our pets!..."). I want to change those 2 bytes to a Play Song command (EA xx), then shift that to the beginning of Taban's explanation. I also want to do this in a hex editor, and not in Temporal Flux, because Temporal Flux re-arranges parts of the rom when you make even a single change to an event.
If you open up a clean rom in Temporal Flux, and go to map 008 (Telepod Exhibit), open up the event packet (1C), and scroll down to Object A, Taban (057C), you'll see where all of the action happens. The dummied-out textbox is at [05AB]. I want to shift that to the beginning of the "Arbitrary 0" section. That means that it will go from this:
(Rom address: DB/102B)
05AB: Textbox
05AD: Return
--Touch
05AE: Return
--Arbitrary0
05AF: Textbox
To this:
(Rom address: DB/102B)
05AB: Return
--Touch
05AC: Return
--Arbitrary0
05AD: Textbox
05AF: Textbox
(Note: I have taken care of the "Goto" commands at 0599, 05A2, and 05A9. Those were no concern)
However, there is something else that is telling the game where "Touch" and "Arbitrary0" begin, and I can't figure out what. No matter what, the scene always starts from 05AF (rom address: DB/1031). Any tips or pointers?