fixes crash on fusion screen

This commit is contained in:
chardub
2025-02-17 19:41:49 -05:00
parent 67d32e7c18
commit 8352043c4c
7 changed files with 1 additions and 0 deletions

View File

@@ -226,6 +226,7 @@ module GameData
def self.play_cry_from_species(species, form = 0, volume = 90, pitch = 100)
dex_num = getDexNumberForSpecies(species)
return if !dex_num
return play_triple_fusion_cry(species, volume, pitch) if dex_num > Settings::ZAPMOLCUNO_NB
if dex_num > NB_POKEMON
body_number = getBodyID(dex_num)