Grabs the last failed Pokeball used

Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Adds the last used Pokeball back into the player's inventory

    Parameters

    • pokemon: default

      Pokemon with this ability

    • passive: boolean

      N/A

    • args: any[]

      N/A

    Returns boolean

    true if player has used a pokeball and this pokemon is owned by the player