Readonly
chargeThe animation to play during the move's charging phase
Move attributes that apply during the move's charging phase
Adds a new MoveAttr to the move (appends to the attr array)
if the MoveAttr also comes with a condition, also adds that to the conditions array: MoveCondition
Almost identical to attr, except you are passing in a MoveAttr object, instead of a constructor and it's arguments
the called object Move
Applies each MoveCondition
function of this move to the params, determines if the move can be used prior to calling each attribute's apply()
boolean: false if any of the apply()'s return false, else true
Adds a new MoveAttr to the move (appends to the attr array)
if the MoveAttr also comes with a condition, also adds that to the conditions array: MoveCondition
the called object Move
Sets the MoveFlags.BALLBOMB_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.BITING_MOVE
flag for the calling Move
The Move
that called this function
Returns true
if this move can be given additional strikes
by enhancing effects.
Currently used for Parental Bond
and Multi-Lens
.
Adds an attribute to this move to be applied during the move's charging phase
this Move
(for chaining API purposes)
Sets the text to be displayed during this move's charging phase. References to the user Pokemon should be written as "{USER}", and references to the target Pokemon should be written as "{TARGET}".
the text to set
this Move
(for chaining API purposes)
Sets the MoveFlags.CHECK_ALL_HITS
flag for the calling Move
The Move
that called this function
Adds a move condition to the move
MoveCondition
or MoveConditionFunc, appends to conditions array a new MoveCondition object
the called object Move
Sets the MoveFlags.DANCE_MOVE
flag for the calling Move
The Move
that called this function
Internal dev flag for documenting edge cases. When using this, please document the known edge case.
the called object Move
Sees if a move has a custom failure text (by looking at each MoveAttr
of this move)
Pokemon
using the move
Pokemon
receiving the move
Move
using the move
Utils.BooleanHolder
to hold boolean value
string of the custom failure text, or null
if it uses the default text ("But it failed!")
Check if a move has an attribute that matches attrType
any attribute that extends MoveAttr
true if the move has attribute attrType
Checks if this move has an attribute of the given type.
any attribute that extends MoveAttr
true
if a matching attribute is found; false
otherwise
Sets the MoveFlags.HIDE_TARGET
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.HIDE_USER
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_ABILITIES
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_PROTECT
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_SUBSTITUTE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.IGNORE_VIRTUAL
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.MAKES_CONTACT
flag for the calling Move
Default true
, set to false
if the move doesn't make contact
The Move
that called this function
Marks the move as "partial": appends texts to the move name
the called object Move
Sets the MoveFlags.POWDER_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.PULSE_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.PUNCHING_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.RECKLESS_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.REDIRECT_COUNTER
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.SLICING_MOVE
flag for the calling Move
The Move
that called this function
Sets the MoveFlags.SOUND_BASED
flag for the calling Move
The Move
that called this function
Sets the move target of this move
MoveTarget
the move target to set
the called object Move
Sets the MoveFlags.TRIAGE_MOVE
flag for the calling Move
The Move
that called this function
Marks the move as "unimplemented": appends texts to the move name
the called object Move
Sets the MoveFlags.WIND_MOVE
flag for the calling Move
The Move
that called this function
The chance of a move's secondary effects activating