Optional
sourceThe PID
of the Pokemon that added this tag, or undefined
if not set by a pokemon
Optional
sourceThe MoveId
that created this tag, or undefined
if not set by a move
Readonly
tagThe tag's remaining duration
Gets 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.
The text to display when the move is interrupted
Checks if the source of Imprison is still active
The pokemon this tag is attached to
true
if the source is still active
Load the data for a given BattlerTag
or JSON representation thereof.
Should be inherited from by any battler tag with custom attributes.
An object containing the fields needed to reconstruct this tag.
Get the text to display when the player attempts to select a move that is restricted by this tag.
The text to display when the player attempts to select the restricted move
BattlerTag that applies the effects of Imprison to the target Pokemon Imprison restricts the opposing side's usage of moves shared by the source-user of Imprison. The tag is only removed when the source-user is removed from the field.