Quoted By:
I want to give my game a bit of a Dark Souls feel to it, and want all trainers to challenge the player again if they use the Pokemon Center.
It gives the player some additional EXP and money they can use to buy recovery items, which they can use until their team is ready to tackle the route in one go as opposed to the typical "fight one or two trainers then go back to the pokemon center" strategy.
How would I code something like this in? I assume it would involve giving trainers a global switch that they set on and Pokemon Centers will turn that switch off, but I dunno how to go about doing that. Is there just a function I can use to reset trainers on the route itself, like how Debug does it?