• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Which Pokémon Masters protagonist do you like most? Let us know by casting a vote in our Masters favorite protagonist poll here!
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Scripting Question] Event Triggered By Beating all players

  • 65
    Posts
    12
    Years
    • Seen Jan 4, 2022
    It is as it sounds. How do I make it so that when all trainers in an area are defeated a new event is triggered?
     
    Set a variable inside the Trainer Conditional branch and increase by +1 before self switch A is on and count the no of trainer and set in event

    Example:
    In the route have 6 trainers then you have to Set the variable in event greater than or equal to 6 then only the event trigger's
     
    OK so Ive been trying to figure this out, But I don't think I fully understand. Do I create a conational branch and set that branch greater or equal to the amount of trainers based on the variable for defeating the trainers. Then as I battle a trainer and they are defeated it adds 1 number towards that variable? or am I missing something? Also how to I create the event properly the way I did it I set Auto run to the conditional branch but since the condition wasn't met the character just gets stuck. I'm not really sure how to do this.
     
    Last edited:
    Back
    Top