• 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?".
  • Staff applications for our PokéCommunity Daily and Social Media team are now open! Interested in joining staff? Then click here for more info!
  • 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.

Checking the number of Pokemon in the player's party

  • 67
    Posts
    12
    Years
    • Seen Aug 22, 2024
    I want a NPC that only let me pass if I have a maximum of 3 Pokemon in my Team. I need the right Conditionak Branch or Variables, if there's one.
     
    Put this in a conditional branch (script option)
    $Trainer.ablePokemonCount>3
    That will count unfainted pokemon, for unfainted and fainted use
    $Trainer.pokemonCount>3

    This stuff is all on the wiki, not hard to find.
     
    Back
    Top