From 52039849acb5831d82ad343065c51c9af62850ed Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Sun, 5 Nov 2023 22:32:08 -0500 Subject: [PATCH] Fix faint cry using wrong form index --- src/pokemon.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pokemon.ts b/src/pokemon.ts index 9df362391c6..5184f6f77b9 100644 --- a/src/pokemon.ts +++ b/src/pokemon.ts @@ -986,7 +986,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container { if (this.fusionSpecies) return this.fusionFaintCry(callback); - const key = this.getSpeciesForm().getCryKey(); + const key = this.getSpeciesForm().getCryKey(this.formIndex); let i = 0; let rate = 0.85; const cry = this.scene.playSound(key, { rate: rate }) as AnySound;