• 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.
  • 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!
  • Akari, Selene, Mint, Solana - which Pokémon protagonist is your favorite? Let us know by voting in our poll!
  • 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] How to make Faint/Death animations?

  • 1
    Posts
    9
    Years
    • Seen Jun 6, 2016
    Hello. I am working on a pokemon game and came across the need to have death animations specific to each pokemon. Is there an easy/well-established way of doing this? Note: I don't know a lot of programming, but am capable of messing with the scripts, so any example code would be MUCH appreciated. Thank you!
     
    Last edited by a moderator:
    Define "death animations specific to each pokemon". In what way are they specific? Pretty sure the normal thing that happens when a pokemon faints is that its cry plays and its sprite drops down below the UI. What are you trying to do different?
     
    If you are using Elite Battle System by Luka S.J., you have to do a sprite for each Pokémon (called, for example, "XXX_faint.png") which contains all frames of the death's animation. Then, in the script section, you have to add a line of code that will modify the sprite of the battler into your animated sprite.
     
    Back
    Top