[ARCHIVE] Simple Questions (SEARCH BEFORE ASKING A QUESTION)
View Single Post
January 13th, 2013 (9:48 AM).
What happens if I push it?....
Do you really want to know? Really?
Originally Posted by
I want a trainer to "reactivate" when you leave and reenter an area, but have not found a way to actually make a trainer challenge you a second time. This is not a VS. Seeker rematch, nor someone you speak to. I simply want the trainer to act as if you had not defeated them the first time, seeing and challenging you as usual.
Unfortunately, I don't know what offset the flag for this is at: the trainerbattle command handles this automatically.
Does anyone know how to do this?
Okay, just make a level script that has this in it:
setrainerflag 0x(trainer #)
Now, everytime you enter the map, it should set the flag and allow you to battle them. Trainers have their own set of flags and it is simply just their number.
I know what you're thinking, shouldn't the flag be clear to battle? Just for anyone seeing this, trainer flags work oposite of regular flags. I saw a post once that explained why, and it's not really backwards, but I can't remember exactly how he put it. So, it's easiest just to remember it as backwards.
Paired with Simba
Joined Nov 2012
View Public Profile
Send a private message to karatekid552
Find all posts by karatekid552
Find threads started by karatekid552
Ignore Posts by karatekid552