pokemon-rogue-battle
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    condition: null | SpeciesEvolutionCondition
    desc: string = ""
    evoFormKey: null | string
    item: null | EvolutionItem
    level: number
    preFormKey: null | string
    speciesId: SpeciesId

    Accessors

    Methods

    • Checks if this evolution is item-based and any conditions for it are fulfilled

      Parameters

      • pokemon: Pokemon

        Pokemon who wants to evolve

      • forFusion: boolean = false

        defaults to False. Whether this evolution is meant for the secondary fused mon. In that case, use their form key.

      Returns boolean

      whether this evolution uses an item and can apply to the Pokemon

    • Checks if a Pokemon fulfills the requirements of this evolution.

      Parameters

      • pokemon: Pokemon

        Pokemon who wants to evolve

      • forFusion: boolean = false

        defaults to False. Whether this evolution is meant for the secondary fused mon. In that case, use their form key.

      • Optionalitem: EvolutionItem

        EvolutionItem optional, check if the evolution uses a certain item

      Returns boolean

      whether this evolution can apply to the Pokemon