From cde5fe45b063daba506de0804f7b774fee632d23 Mon Sep 17 00:00:00 2001 From: Flashfyre Date: Tue, 30 May 2023 12:15:59 -0400 Subject: [PATCH] Attempt fixing new biome double battle visual bug --- src/battle-phases.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/battle-phases.ts b/src/battle-phases.ts index ab3ca3bc1..c3248c0db 100644 --- a/src/battle-phases.ts +++ b/src/battle-phases.ts @@ -335,7 +335,7 @@ export class NewBiomeEncounterPhase extends NextEncounterPhase { const enemyField = this.scene.getEnemyField(); this.scene.tweens.add({ targets: [ this.scene.arenaEnemy, enemyField ].flat(), - x: (_target, _key, value, fieldIndex: integer) => fieldIndex < 2 ? value + 300 : value - 300, + x: '+=300', duration: 2000, onComplete: () => { enemyField.forEach(enemyPokemon => {