• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • 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.

Counting Wild Battles

133
Posts
9
Years
    • Seen Nov 17, 2018
    I have four wild battles that the player can fight in any order, but they must defeat all four, before they actually leave. Been trying to use variables to count them all, but not sure how to set it up in a way the order doesn't matter.
     
    26
    Posts
    10
    Years
    • Seen Jan 30, 2016
    Try using Global Switches instead of Global Variables. ^^ That way, you can just turn it On after the battle has ended, and once all four are On, you can leave. ^^
     
    133
    Posts
    9
    Years
    • Seen Nov 17, 2018
    Found a way around it using self switches and an increasing variable. Makes sense now, thanks.
     
    Back
    Top