Fix enemy trainers being able to switch out during multi-turn moves
This commit is contained in:
parent
8c6f77f4c0
commit
eb6c3ba83f
|
@ -1562,7 +1562,7 @@ export class EnemyCommandPhase extends FieldPhase {
|
|||
|
||||
const trainer = this.scene.currentBattle.trainer;
|
||||
|
||||
if (trainer) {
|
||||
if (trainer && !enemyPokemon.getMoveQueue().length) {
|
||||
const opponents = enemyPokemon.getOpponents();
|
||||
|
||||
const trapTag = enemyPokemon.findTag(t => t instanceof TrappedTag) as TrappedTag;
|
||||
|
|
Loading…
Reference in New Issue