mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-26 17:29:30 +02:00
Update phases.ts
Game should now only show flyout in wild battles
This commit is contained in:
parent
ff51e7f9be
commit
0e3c353e9e
@ -1913,7 +1913,9 @@ export class EncounterPhase extends BattlePhase {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
handleTutorial(this.scene, Tutorial.Access_Menu).then(() => {
|
handleTutorial(this.scene, Tutorial.Access_Menu).then(() => {
|
||||||
|
if (this.scene.currentBattle.battleType !== BattleType.TRAINER) {
|
||||||
this.scene.arenaFlyout.toggleFlyout(true)
|
this.scene.arenaFlyout.toggleFlyout(true)
|
||||||
|
}
|
||||||
super.end()
|
super.end()
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user