From eb8c0c0243490827dd6a339bfad7294d4b7164ef Mon Sep 17 00:00:00 2001 From: Xavion3 Date: Tue, 2 Sep 2025 06:15:35 +1000 Subject: [PATCH] Add comment explaining bang --- src/field/pokemon.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/field/pokemon.ts b/src/field/pokemon.ts index 207ec0feecd..3f5dbc2e320 100644 --- a/src/field/pokemon.ts +++ b/src/field/pokemon.ts @@ -4565,6 +4565,7 @@ export abstract class Pokemon extends Phaser.GameObjects.Container { try { SoundFade.fadeOut(scene, cry, fixedInt(Math.ceil(duration * 0.2))); fusionCry = this.getFusionSpeciesForm(undefined, true).cry({ + // Typescript's type checker doesn't handle using and assigning to the same variable in one line correctly. seek: Math.max(fusionCry!.totalDuration * 0.4, 0), ...soundConfig, });