Abstract
Optional
sourceMove: MovesOptional
sourceId: numberOptional
sourceGets the text to display when a move's execution is prevented as a result of the restriction. Because restriction effects also prevent selection of the move, this situation can only arise if a pokemon first selects a move, then gets outsped by a pokemon using a move that restricts the selected move.
text to display when the move is interrupted
Abstract
isChecks if this tag is restricting a move based on a user's decisions during the target selection phase
false
unless overridden by the child tag
Load the data for a given BattlerTag
or JSON representation thereof.
Should be inherited from by any battler tag with custom attributes.
The battler tag to load
Abstract
selectionGets the text to display when the player attempts to select a move that is restricted by this tag.
text to display when the player attempts to select the restricted move
Base class for tags that restrict the usage of moves. This effect is generally referred to as "disabling" a move in-game. This is not to be confused with
Moves.DISABLE
.Descendants can override
isMoveRestricted
to restrict moves that match a condition. A restricted move gets cancelled before it is used. Players and enemies should not be allowed to select restricted moves.