• 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.

[Scripting Question] Changing Abilites with a NPC

  • 7
    Posts
    2
    Years
    • Seen Dec 5, 2024
    Hi, im using v20.1.

    I want to create an NPC, that gives a certain Pokemon a few abilities to choose from.

    For example. I want that my starter Delta Typhlosion is able to choose from those 4 abilites.

    Sandforce
    Sandrush
    Sandveil
    Sandstorm.

    The NPC should see with ($player.has_species?(:DELTATYPHLOSION) that the Typhlosion is in the party and instantly ask which of those abilities it should get.

    I can't find the right command to switch the abilites.

    Thank you for your time and help :)
     
    Back
    Top