- 712
- Posts
- 8
- Years
- Seen Apr 26, 2025
Hey, so I'm completely noobish at scripting. I know that in Emerald, battles are not so easily started, and are (I believe) RTC based. How could I make a battle to an already existing trainer go from the vanilla script to something that you can request as many times as you wish on demand?
So, I'd like the script text to be something like this:
*Talks to trainer*
Trainer: "Wanna rematch?"
Options: Yes/No
Option Yes: Engage battle
Option No: "Alright then, maybe later"
Also, would I need to create a new Person event in Advance Map? (I use PKSV-UI script editor) or can I just edit the existing script and compile it? Also, could this cause any foreseeable glitches after making specific trainers rematch on demand? If I remember correctly, the PokeNav lets you know when a trainer is ready to rebattle. Could that cause any issues if I do this? Also note, I don't know the offsets of the trainers. This is for an older mod called Theta Emerald EX but I can't figure out specific trainer information. What would I need to know beforehand?
Please be willing to explain, step by step how to accomplish this. I'm somewhat used to AM but not to the script editor. I'd appreciate the help! Thanks!
So, I'd like the script text to be something like this:
*Talks to trainer*
Trainer: "Wanna rematch?"
Options: Yes/No
Option Yes: Engage battle
Option No: "Alright then, maybe later"
Also, would I need to create a new Person event in Advance Map? (I use PKSV-UI script editor) or can I just edit the existing script and compile it? Also, could this cause any foreseeable glitches after making specific trainers rematch on demand? If I remember correctly, the PokeNav lets you know when a trainer is ready to rebattle. Could that cause any issues if I do this? Also note, I don't know the offsets of the trainers. This is for an older mod called Theta Emerald EX but I can't figure out specific trainer information. What would I need to know beforehand?
Please be willing to explain, step by step how to accomplish this. I'm somewhat used to AM but not to the script editor. I'd appreciate the help! Thanks!