• 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?".
  • 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
    1
    Years
    • Seen May 30, 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