From d5fa81b8ec9947f77def6449e52400a7d2e1c707 Mon Sep 17 00:00:00 2001 From: AJ Fontaine <36677462+Fontbane@users.noreply.github.com> Date: Wed, 6 Nov 2024 15:02:05 -0500 Subject: [PATCH] Adjust crit capture animation Co-authored-by: innerthunder <168692175+innerthunder@users.noreply.github.com> --- src/data/pokeball.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/data/pokeball.ts b/src/data/pokeball.ts index 509f8ee951f..447095b0468 100644 --- a/src/data/pokeball.ts +++ b/src/data/pokeball.ts @@ -112,8 +112,8 @@ export function doPokeballBounceAnim(scene: BattleScene, pokeball: Phaser.GameOb let bounceY = y2; const yd = y2 - y1; const x0 = pokeball.x; - const x1 = x0 + 4; - const x2 = x0 - 4; + const x1 = x0 + 3; + const x2 = x0 - 3; let critShakes = 4; const doBounce = () => { @@ -167,7 +167,7 @@ export function doPokeballBounceAnim(scene: BattleScene, pokeball: Phaser.GameOb x: x0, duration: 60, ease: "Linear", - onComplete: () => doBounce() + onComplete: () => scene.time.delayedCall(500, doBounce) }); } }