Intercepts MoveEffectPhase
and mocks the
hitCheck
's return value to true
.
Used to force a move to hit.
Intercepts MoveEffectPhase
and mocks the
hitCheck
's return value to false
.
Used to force a move to miss.
Whether the move should force miss on the first target only, in the case of multi-target moves.
Forces the Paralysis or Freeze status to activate on the next move by temporarily mocking Overrides.STATUS_ACTIVATION_OVERRIDE
,
advancing to the next MovePhase
, and then resetting the override to null
true
to force the status to activate, false
to force the status to not activate (will cause Freeze to heal)
Select the move to be used by the given Pokemon(-index). Triggers during the next CommandPhase
the move to use
the pokemon index. Relevant for double-battles only (defaults to 0)
Optional
targetIndex: null | BattlerIndexThe BattlerIndex
of the Pokemon to target for single-target moves, or null
if a manual call to selectTarget()
is required
Helper to handle a Pokemon's move