mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2024-11-26 08:46:55 +00:00
Attempt fixing new biome double battle visual bug
This commit is contained in:
parent
1cf21a994b
commit
cde5fe45b0
@ -335,7 +335,7 @@ export class NewBiomeEncounterPhase extends NextEncounterPhase {
|
|||||||
const enemyField = this.scene.getEnemyField();
|
const enemyField = this.scene.getEnemyField();
|
||||||
this.scene.tweens.add({
|
this.scene.tweens.add({
|
||||||
targets: [ this.scene.arenaEnemy, enemyField ].flat(),
|
targets: [ this.scene.arenaEnemy, enemyField ].flat(),
|
||||||
x: (_target, _key, value, fieldIndex: integer) => fieldIndex < 2 ? value + 300 : value - 300,
|
x: '+=300',
|
||||||
duration: 2000,
|
duration: 2000,
|
||||||
onComplete: () => {
|
onComplete: () => {
|
||||||
enemyField.forEach(enemyPokemon => {
|
enemyField.forEach(enemyPokemon => {
|
||||||
|
Loading…
Reference in New Issue
Block a user