ProtectedbattlerProtectedreflectedProtectedtargetsProtectedapplyHandles checking for and applying Flinches
a function intended to be passed into a then() call.
ProtectedapplyApplies reactive effects that occur when a Pokémon is hit. (i.e. Effect Spore, Disguise, Liquid Ooze, Beak Blast)
a Promise intended to be passed into a then() call.
ProtectedapplyProtectedapplyApplies non-self-targeted effects that trigger POST_APPLY
(i.e. Smelling Salts curing Paralysis, and the forced switch from U-Turn, Dragon Tail, etc)
a function intended to be passed into a then() call.
ProtectedapplyApply self-targeted effects that trigger POST_APPLY
a function intended to be passed into a then() call.
ProtectedapplyApplies all effects and attributes that require a move to connect with a target, namely reactive effects like Weak Armor, on-hit effects like that of Power-Up Punch, and item stealing effects
The Pokemon using this phase's invoked move
Pokemon the current target of this phase's invoked move
true if this is the first hit in a multi-hit attack
true if this is the last hit in a multi-hit attack
true if the target is protected by effects such as Protect
The HitResult of the attempted move
a function intended to be passed into a then() call.
Check whether the move should bypass both the accuracy and semi-invulnerable states.
true if the move should bypass accuracy and semi-invulnerability
Accuracy and semi-invulnerability can be bypassed by:
ToxicLock-On or Mind Reader.Does not check against effects Glaive Rush status (which
should not bypass semi-invulnerability), or interactions like Earthquake hitting against Dig,
(which should not bypass the accuracy check).
Check whether the move is able to ignore the given semiInvulnerableTag
The semiInvulnerbale tag to check against
true if the move can ignore the semi-invulnerable state
The first target of this phase's invoked move
ProtectedgetA new MoveEffectPhase with the same properties as this phase
Protectedremove
Indicates that the move was reflected by the user due to magic coat or magic bounce