• 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] Ability that activates when pokémon faints

  • 4
    Posts
    7
    Years
    • Seen Mar 29, 2017
    Ability that activates when pok?mon faints

    I was wondering if i can make a ability that activates when a pok?mon fants in battle but i don't know where to start messing with, can someone please help me? thanks in advance.
     
  • 4
    Posts
    7
    Years
    • Seen Mar 29, 2017
    Thanks for the help, the aftermath one did the trick, but i had to move the ability to the script section that checks the damage on battlers in the pok?battle_battlers script, cuz aftermath only activates when the pok?mon takes contact damage and i wanted it to activate on all types of damage.
     
    Back
    Top