I have a question.
So with JPANs Hack Applier, He has made it so trainer battle scripts don't always have to start with the trainerbattle part in the script. Now when you change the 'Unknown' in Advanced Map to anything but 00, you can make the script start with anything and the trainer will run up to you. This is all great, however I'm not happy with it.
If you have the Trainerbox set to 00 instead of 01, the OW will never run up to you for a battle, you need to talk to him. If you set the Trainerbox to 01, The trainer will run up to you, but when you leave the map and come back, the trainer will run up to you again. (When the trainer runs up to you again it doesn't do the battle again but it's still not fun to have OWs running up to you telling you the battle was fun). Is there a way to make this work?
Here is the context in which I am trying to make this function work.
I want to make it so the OW has different level Pokemon depending on what stage in the game you are at. So if you have no badges, they will face you with level 10 Pokemon but if you have 1 badge they will face you with level 15 Pokemon. This is the script I have made for it.
It works Perfectly except for the fact that when the Player leaves the map and comes back, the OW runs back at the player and says 'Talking 3'. If these is a way to make the OW not at the player ever again after the battle has taken place I would love to know.
The way I thought of fixing this way by putting a line of code in the script that changes the OWs 'Trainer' status to be 00 from 01. However I don't know how to do that.
If anyone knows how to fix this issue, or a code that can change the an OWs Trainer Status, I would be very greatful. Thanks!