PokéRogue
    Preparing search index...

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    _formIndex: number
    _generation: number
    ability1: AbilityId
    ability2: AbilityId
    abilityHidden: AbilityId
    baseExp: number
    baseFriendship: number

    The base amount of friendship this species has when caught, as an integer from 0-255.

    baseStats: readonly number[]
    baseTotal: number
    catchRate: number
    formKey: string
    formName: string
    formSpriteKey: string | null
    genderDiffs: boolean
    height: number
    isStarterSelectable: boolean
    isUnobtainable: boolean
    speciesId: SpeciesId
    starterSelectableKeys: string[] = ...
    type2: PokemonType | null
    weight: number

    Accessors

    Methods

    • Checks whether this species can learn a specific TM.

      Parameters

      • moveId: MoveId

        The TM to check for.

      • OptionalformKey: string

        (Optional) The key for the form to be checked. Uses the base form if not specified.

      Returns boolean

      whether this species can learn the TM

    • Parameters

      • female: boolean
      • OptionalformIndex: number
      • Optionalshiny: boolean
      • Optionalvariant: number

      Returns string

    • Parameters

      • female: boolean
      • OptionalformIndex: number
      • Optionalshiny: boolean
      • Optionalvariant: number
      • Optionalback: boolean

      Returns string

    • Compute the sprite ID of the pokemon form.

      Parameters

      • female: boolean
      • OptionalformIndex: number
      • Optionalshiny: boolean
      • variant: number = 0
      • back: boolean = false

      Returns string

    • Parameters

      • female: boolean
      • OptionalformIndex: number
      • Optionalshiny: boolean
      • Optionalvariant: number
      • Optionalback: boolean

      Returns string

    • Get al list of all TMs that can be learned by this species.

      Parameters

      • Optionalform: string | number

        the formIndex or formKey of the form to get TMs for. (default: base form)

      Returns MoveId[]

      A list of all TM MoveIds that can be learned by this species

    • Variant Data key/index is either species id or species id followed by -formkey

      Parameters

      • OptionalformIndex: number

        optional form index for pokemon with different forms

      Returns string | number

      species id if no additional forms, index with formkey if a pokemon with a form

    • Load the variant colors for the species into the variant color cache

      Parameters

      • spriteKey: string

        The sprite key to use

      • female: boolean

        Whether to load female instead of male

      • variant: Variant
      • back: boolean = false

        Whether the back sprite is being loaded

      • OptionalformIndex: number

      Returns Promise<void>