mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2026-01-23 06:46:00 +00:00
Pokémon cries no longer change pitch except when fainting, added support for separate fainting cries
This commit is contained in:
@@ -569,10 +569,10 @@ class PokemonEvolutionScene
|
||||
def pbEvolutionSuccess
|
||||
$stats.evolution_count += 1
|
||||
# Play cry of evolved species
|
||||
frames = GameData::Species.cry_length(@newspecies, @pokemon.form)
|
||||
frames = (GameData::Species.cry_length(@newspecies, @pokemon.form) * Graphics.frame_rate).ceil
|
||||
pbBGMStop
|
||||
Pokemon.play_cry(@newspecies, @pokemon.form)
|
||||
frames.times do
|
||||
(frames + 4).times do
|
||||
Graphics.update
|
||||
pbUpdate
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user