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

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

  • 30
    Posts
    10
    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.
     

    Telemetius

    Tele*
  • 267
    Posts
    9
    Years
    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