Determines whether a Pokemon is blocked from switching/running away because of a trapping ability or move.

Hierarchy (view full)

Constructors

Properties

arenaTrapCondition: ArenaTrapCondition
showAbility: boolean

Methods

  • Checks if enemy Pokemon is trapped by an Arena Trap-esque ability If the enemy is a Ghost type, it is not trapped If the user has Magnet Pull and the enemy is not a Steel type, it is not trapped. If the user has Arena Trap and the enemy is not grounded, it is not trapped.

    Parameters

    Returns boolean

    if enemy Pokemon is trapped or not