• 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.
  • Our friends from the Johto Times are hosting a favorite Pokémon poll - and we'd love for you to participate! Click here for information on how to vote for your favorites!
  • Cyndy, May, Hero (Conquest), or Wes - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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.

Fight Pokémon Tournament

  • 15
    Posts
    8
    Years
    • Seen Aug 4, 2018
    Fight Pok?mon Tournament

    Hey guys, i'm creating a new pokemon game, and i want to create a 'arena' where the player enter if he have only one fighting pokemon type in his team...
    Anyone have a idea to how create something like this? I don't know much about scripting...
    Thanks, sorry my bad english.
     
    Run conditional branches in an event to check if the player has more than 1 Pokemon and if they have a Fighting-type in their party.

    Conditional Branch: Script: $Trainer.pokemonCount>1 (This checks to see if the player has more than one Pokemon in their party, regardless of whether or not the others are fainted.

    In the else portion of the conditional branch, put pbHasType?(:FIGHTING). (This checks is the 1 Pokemon in the party is a fighting-type.)
     
    Back
    Top