Attribute for Moves.SKETCH that causes the user to copy the opponent's last used move This move copies the last used non-virtual move e.g. if Metronome is used, it copies Metronome itself, not the virtual move called by Metronome Fails if the opponent has not yet used a move. Fails if used on an uncopiable move, listed in unsketchableMoves in getCondition Fails if the move is already in the user's moveset

Hierarchy (view full)

Constructors

Properties

effectChanceOverride?: number

Overrides the secondary effect chance for this attr if set.

firstHitOnly: boolean

Should this effect only apply on the first hit?

firstTargetOnly: boolean

Should this effect only apply on the first target hit?

lastHitOnly: boolean

Should this effect only apply on the last hit?

selfTarget: boolean

Should this Move target the user?

Defines when this effect should trigger in the move's effect order

phases.MoveEffectPhase.start

Methods

  • User copies the opponent's last used move, if possible

    Parameters

    • user: default

      Pokemon that used the move and will replace Sketch with the copied move

    • target: default

      Pokemon that the user wants to copy a move from

    • move: default

      Move being used

    • args: any[]

      Unused

    Returns boolean

    true if the function succeeds, otherwise false