The substitute's remaining HP. If HP is depleted, the Substitute fades.
Optional
sourceIs the source Pokemon "in focus," i.e. is it fully visible on the field?
A reference to the sprite representing the Substitute doll
Tick down this BattlerTag
's duration.
true
if the tag should be kept (turnCount
> 0`)
When given a battler tag or json representing one, load the data for it.
A battler tag
Sets the Substitute's HP and queues an on-add battle animation that initializes the Substitute's sprite.
Triggers an animation that brings the Pokemon out of focus after it uses a move
If the Substitute redirects damage, queue a message to indicate it.
Triggers an animation that brings the Pokemon into focus before it uses a move
Queues an on-remove battle animation that removes the Substitute's sprite.
Tag implementing the Substitute Doll effect, for use with the moves Substitute and Shed Tail. Pokemon with this tag deflect most forms of received attack damage onto the tag. This tag also grants immunity to most Status moves and several move effects.