Adjust game volume

This commit is contained in:
Flashfyre committed 2023-10-21 08:58:39 -04:00
1 parent c2cb433409
commit 96a15ccb0d
13 files changed
+62 -49

No files matched your search

+1 -1
View File
@@ -184,7 +184,7 @@ export abstract class PokemonSpeciesForm {
}
cry(scene: BattleScene, soundConfig?: Phaser.Types.Sound.SoundConfig): integer {
scene.sound.play(this.speciesId.toString(), soundConfig);
scene.playSound(this.speciesId.toString(), soundConfig);
return scene.sound.get(this.speciesId.toString()).totalDuration * 1000;
}
}