After the turn ends, try to create an extra item

Hierarchy (view full)

Constructors

Properties

showAbility: boolean

Methods

  • Create a new berry chosen randomly from the berries the pokemon ate this battle

    Parameters

    • pokemon: default

      The pokemon with this ability

    • simulated: boolean

      whether the associated ability call is simulated

    Returns boolean

    whether a new berry was created