- 10
- Posts
- 7
- Years
- Seen Apr 10, 2025
Overview
You know in the Mainline games, Pikachu and Eevee have their Anime Cries, and that when they faint, they have a unique cry for that. This simple little addition will allow you to add a Faint Cry for any Pokémon!
Installation
Go to PokeBattle_SceneAnimations and find the section labeled "# Shows a Pokémon fainting" and within that section, find the part labeled "# Play cry" and replace it with this:
It should look like this once you've pasted it:
Go to PSystem_FileUtilities and find the section starting with "def pbCryFile(pokemon,form=0)"
Underneat that section, paste this section of code.
It should look like this once you've pasted it:
And that is the installation process complete.
How to use
Name your cry Audio File "XXXFCry" with whatever File Extension you are using.
Put your cry in Audio\SE\Cries, no need to create any new folders.
Credits
Vena Cava (also known as Keiran♂)
You know in the Mainline games, Pikachu and Eevee have their Anime Cries, and that when they faint, they have a unique cry for that. This simple little addition will allow you to add a Faint Cry for any Pokémon!
Installation
Spoiler:
Go to PokeBattle_SceneAnimations and find the section labeled "# Shows a Pokémon fainting" and within that section, find the part labeled "# Play cry" and replace it with this:
Code:
# Play cry
delay = 10
cry = pbFaintCryFile(batSprite.pkmn)
if cry
battler.setSE(0,pbFaintCryFile(batSprite.pkmn),nil,100) # 100 is pitch
delay = pbCryFrameLength(batSprite.pkmn)*20/Graphics.frame_rate
end
It should look like this once you've pasted it:
![[PokeCommunity.com] How to play a different cry for when a Pokémon Faints | v18+ [PokeCommunity.com] How to play a different cry for when a Pokémon Faints | v18+](https://media.discordapp.net/attachments/475373093829738496/828041931102617600/unknown.png)
Go to PSystem_FileUtilities and find the section starting with "def pbCryFile(pokemon,form=0)"
Underneat that section, paste this section of code.
Code:
# Faint Cries
def pbFaintCryFile(pokemon,form=0)
return nil if !pokemon
pokemon = getID(PBSpecies,pokemon)
if pokemon.is_a?(Numeric)
filename = sprintf("Cries/%sFCry_%d",getConstantName(PBSpecies,pokemon),form) rescue nil
if !pbResolveAudioSE(filename)
filename = sprintf("Cries/%03dFCry_%d",pokemon,form)
if !pbResolveAudioSE(filename)
filename = sprintf("Cries/%sFCry",getConstantName(PBSpecies,pokemon)) rescue nil
if !pbResolveAudioSE(filename)
filename = sprintf("Cries/%03dFCry",pokemon)
end
end
end
return filename if pbResolveAudioSE(filename)
elsif !pokemon.egg?
form = (pokemon.form rescue 0)
filename = sprintf("Cries/%sFCry_%d",getConstantName(PBSpecies,pokemon.species),form) rescue nil
if !pbResolveAudioSE(filename)
filename = sprintf("Cries/%03dFCry_%d",pokemon.species,form)
if !pbResolveAudioSE(filename)
filename = sprintf("Cries/%sFCry",getConstantName(PBSpecies,pokemon.species)) rescue nil
if !pbResolveAudioSE(filename)
filename = sprintf("Cries/%03dFCry",pokemon.species)
end
end
end
return filename if pbResolveAudioSE(filename)
end
return nil
end
It should look like this once you've pasted it:
![[PokeCommunity.com] How to play a different cry for when a Pokémon Faints | v18+ [PokeCommunity.com] How to play a different cry for when a Pokémon Faints | v18+](https://cdn.discordapp.com/attachments/475373093829738496/828038118174752828/unknown.png)
And that is the installation process complete.
How to use
Name your cry Audio File "XXXFCry" with whatever File Extension you are using.
Put your cry in Audio\SE\Cries, no need to create any new folders.
Credits
Vena Cava (also known as Keiran♂)
Last edited: