ReadonlylayersThe current number of layers this tag has.
Starts at 1 and increases each time the trap is laid.
The tag's max duration.
The side of the field that this arena tag affects.
OptionalsourceThe MoveId that created this tag, or undefined if not set by a move.
ReadonlytagThe type of the arena tag
The tag's remaining duration. Setting to any number <=0 will make the tag's duration effectively infinite.
ProtectedgroundedWhether this tag should only affect grounded targets; default true
Protectedi18nSealedA suffix corresponding to this tag's current side.
The maximum number of layers this tag can have.
ProtectedonReturn the i18n locales key that will be shown when this tag is added.
Within the text, {{pokemonNameWithAffix}} and {{moveName}} will be populated with
the name of the Pokemon that added the tag and the name of the move that created the tag, respectively.
ProtectedonReturn the i18n locales key that will be shown when this tag is removed.
Within the text, {{pokemonNameWithAffix}} and {{moveName}} will be populated with
the name of the Pokemon that added the tag and the name of the move that created the tag, respectively.
This applies the effects of Imprison to any opposing Pokemon that switch into the field while the source Pokemon is still active
The Pokemon Imprison is applied to
true
Check if the maximum number of layers for this tag has been reached.
Whether this tag can have another layer added to it.
ProtectedcanProtectedgetProtectedgetProtectedgetChecks if the source Pokemon is still active on the field
true if the source of the tag is still active on the field
When given a arena tag or json representing one, load the data for it. This is meant to be inherited from by any arena tag with custom attributes
The arena tag being loaded
Apply the effects of Imprison to all opposing on-field Pokemon.
Add a new layer to this tag upon overlap, triggering the tag's normal onAdd effects upon doing so.
When the arena tag is removed, it also attempts to remove any related Battler Tags if they haven't already been removed from the affected Pokemon
This arena tag facilitates the application of the move Imprison Imprison remains in effect as long as the source Pokemon is active and present on the field. Imprison will apply to any opposing Pokemon that switch onto the field as well.