Attribute implementing the effects of Infiltrator. Allows the source's moves to bypass the effects of opposing Light Screen, Reflect, Aurora Veil, Safeguard, Mist, and Substitute.

Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Sets a flag to bypass screens, Substitute, Safeguard, and Mist

    Parameters

    • pokemon: default

      n/a

    • passive: boolean

      n/a

    • simulated: boolean

      n/a

    • cancelled: null

      n/a

    • args: any[]

      [0] a BooleanHolder containing the flag

    Returns boolean

    true if the bypass flag was successfully set; false otherwise.