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

Is there a way to have a Pokémon's defeat cry be different from its normal cry?

  • 28
    Posts
    11
    Years
    • Seen Mar 25, 2017
    You know how Pikachu gives a half-hearted "Pika, pika..." in the Gen VI games when it faints, as opposed to its energetic "Pika, pika!" or "Pikachu!" when it's sent out? I'm just wondering what one would have to do in Pokémon Essentials in order to do something like that.
     
    I thought that this part of Pokébattle_Scene already did the trick:

    Code:
    def pbFainted(pkmn)
        frames=pbCryFrameLength(pkmn.pokemon)
        pbPlayCry(pkmn.pokemon)
        frames.times do
          pbGraphicsUpdate
          pbInputUpdate
          pbFrameUpdate
        end

    You could try replacing it with:

    Code:
    def pbFainted(pkmn)
        #frames=pbCryFrameLength(pkmn.pokemon)
        #pbPlayCry(pkmn.pokemon)
        pbPlayCry(pkmn.pokemon,X,Y)
        #frames.times do
        #  pbGraphicsUpdate
        #  pbInputUpdate
        #  pbFrameUpdate
        #end

    Replacing the X with the cry volume and the Y the cry pitch.
     
    Last edited:
    Back
    Top