From 678753aaaf5f1a0fc14330ce2a39dd72a32383ab Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Fri, 5 Jan 2024 00:00:51 -0500 Subject: [PATCH] Tweak Pokeball release animation for fast game speed --- src/anims.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/anims.ts b/src/anims.ts index 0989632b1d1..b8c7b853e89 100644 --- a/src/anims.ts +++ b/src/anims.ts @@ -41,7 +41,8 @@ function doDefaultPbOpenParticles(scene: BattleScene, x: number, y: number, radi }); particle.play({ key: 'pb_open_particle', - startFrame: (index + 3) % 4 + startFrame: (index + 3) % 4, + frameRate: Math.floor(16 * scene.gameSpeed) }); scene.tweens.add({ targets: particle,