Fix enemy trainers being able to switch out during multi-turn moves
parent
8c6f77f4c0
commit
eb6c3ba83f
src
|
@ -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