Private
conditionsPrivate
flagsPrivate
namethe called object Move
Applies each MoveCondition
of this move to the params
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
Optional
ballBombMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.BITING_MOVE
flag for the calling Move
Optional
bitingMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.CHECK_ALL_HITS
flag for the calling Move
Optional
checkAllHits: booleanThe value (boolean) to set the flag to example:
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
Optional
danceMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Takes as input a boolean function and returns the first MoveAttr in attrs that matches true
the first MoveAttr
element in attrs that makes the input function return true
Sees if, given the target pokemon, a move fails on it (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 failed text, or null
Sets the MoveFlags.HIDE_TARGET
flag for the calling Move
Optional
hidesTarget: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.HIDE_USER
flag for the calling Move
Optional
hidesUser: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.IGNORE_ABILITIES
flag for the calling Move
Optional
ignoresAbilities: booleansThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.IGNORE_PROTECT
flag for the calling Move
Optional
ignoresProtect: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.IGNORE_VIRTUAL
flag for the calling Move
Optional
ignoresVirtual: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.MAKES_CONTACT
flag for the calling Move
Optional
makesContact: booleanThe value (boolean) to set the flag to
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
Optional
powderMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.PULSE_MOVE
flag for the calling Move
Optional
pulseMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.PUNCHING_MOVE
flag for the calling Move
Optional
punchingMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.RECKLESS_MOVE
flag for the calling Move
Optional
recklessMove: booleanThe value to set the flag to
The Move
that called this function
Private
setSets the flags of the move
a boolean, if True, then "ORs" the flag onto existing ones, if False then "XORs" the flag onto existing ones
Sets the MoveFlags.SLICING_MOVE
flag for the calling Move
Optional
slicingMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
Sets the MoveFlags.SOUND_BASED
flag for the calling Move
Optional
soundBased: booleanThe value (boolean) to set the flag to example:
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
Optional
triageMove: booleanThe value (boolean) to set the flag to example:
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
Optional
windMove: booleanThe value (boolean) to set the flag to example:
The Move
that called this function
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