PokéRogue
    Preparing search index...

    Function getTmPoolForSpecies

    • Get the TMs that a species can learn based on its ID and formKey

      Parameters

      • speciesId: number

        The species ID of the Pokémon

      • level: number

        The level of the Pokémon

      • formKey: string

        The form key of the Pokémon

      • levelPool: ReadonlyMap<MoveId, number>

        The current level-based move pool, to avoid duplicates

      • eggPool: ReadonlyMap<MoveId, number>
      • tmPool: Map<MoveId, number>

        The TM move pool to add to, which will be modified in place

      • allowedTiers: [common: boolean, great: boolean, ultra: boolean] = ...

        The tiers of TMs the Pokémon is allowed to learn

      Returns void