• 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!
  • Our weekly protagonist poll is now up! Vote for your favorite Trading Card Game 2 protagonist in the poll by clicking 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.

[Eventing Question] Requirement of a Pokémon!!

  • 33
    Posts
    7
    Years
    Requirement of a Pok?mon!!

    I wonder if it is possible to add an event that needs a certain Pok?mon to activate it.

    Example: "You need a Tyranitar to move this stone"

    or even, be more specific.

    Example: "You need a fire-type pokemon to burn this tree"

    If it is possible, please help me!
     
    For specific Pokemon, just use a conditional branch calling pbHasSpecies?(:X) with X being whatever Pokemon you want to be checked. Essentials has this command used in one of its base maps.

    For types, do a conditional branch calling pbHasType?(:x). Once again, x standing for whatever type you want to be checked, in this case, Fire.

    pbHasType?(:FIRE)
     
    Back
    Top