Phase for determining an enemy AI's action for the next turn. During this phase, the enemy decides whether to switch (if it has a trainer) or to use a move from its moveset.

For more information on how the Enemy AI works, see docs/enemy-ai.md

  • Pokemon.getMatchupScore
  • EnemyPokemon.getNextMove

Hierarchy (view full)

Constructors

Properties

fieldIndex: number
scene: default

Methods