• 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.
  • Dawn, Gloria, Juliana, or Summer - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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!
  • 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] tournament by type

etique

etique
  • 266
    Posts
    7
    Years
    • Seen Oct 30, 2022
    I intend to create a tournament and it can only enter pokemon of a certain type, example: the tournament can only participate pokemon type fighter, anyone know have any script for this?
     
    I intend to create a tournament and it can only enter pokemon of a certain type, example: the tournament can only participate pokemon type fighter, anyone know have any script for this?
    There's examples of this in the game scripts already if you ctrl alt F something like "PBHasType?" And then just copy them from there. Then when you make your event put them in a conditional branch where it says "if PBHasType::FIGHTING" something like that. The specifics are used in the actual scripts so just search them up in your game.
     
    :confused:Could you send me a picture of how to do this? I do not understand how to do this, thank you.
     
    Back
    Top