AbstractOptionalbattlesLeft: numberOptionalstackCount: numberProtectedbattlesAbstractapplyAbstractcloneRetrieve the Modifiers icon as a Phaser.GameObjects.Container | Container
OptionalforSummary: booleantrue if the icon is for the summary screen
the icon as a Phaser.GameObjects.Container | Container
AbstractgetOptionalpokemon: defaultLapse the battlesLeft counter (reduce it by 1)
Rest..._args: unknown[]arguments passed (not used here)
true if battlesLeft is not null
AbstractmatchChecks if PokemonHeldItemModifier should be applied.
if PokemonHeldItemModifier should be applied
Applies the
PokemonHeldItemModifierto the givenPokemon.