Ok, 2 questions: The first. How do I change the dialogue in the hex editor and keep the game from crashing? I don't want to add more, I just want to edit what is there. I don't know what to fill the empty space with... I tried 00, but the game won't even launch then.
Second question: If I want to get a trainer I made in advance map to disappear after I beat them in battle and speak to them (like giovanni does), how should I write that in XSE? I looked up Giovanni's encounter, and found the fade screen, hide sprite, fade screen, so, I tried that, but it didn't seem to work.
Here is what I have:
trainerbattle 0x0 0x001 0x0 @before @after
msgbox @beaten 0x6
= OAK: Oh, [player]! I... Alright... You\ncaught me. I come here on occasion\pto keep my skills sharp.\pSo, how about it? Would you be\nwilling to battle an old CHAMPION?
= OAK: What a battle! You are indeed\na force to be reckoned with!\pI wonder how you will fare in\nTRAINER TOWER!
= OAK: Hey, [player], how about we keep\nthis battle quiet?\pI can't have everyone wanting to\nbattle me.\pHow could I focus on my research\nwith that kind of attention?
I only added:
to my original script, which works fine.