Tweak Pokeball release animation for fast game speed

This commit is contained in:
Flashfyre 2024-01-05 00:00:51 -05:00
parent 9037562c5c
commit 678753aaaf
1 changed files with 2 additions and 1 deletions

View File

@ -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,