Hierarchy (view full)

Constructors

  • Parameters

    • formName: string
    • formKey: string
    • type1: Type
    • type2: null | Type
    • height: number
    • weight: number
    • ability1: Abilities
    • ability2: Abilities
    • abilityHidden: Abilities
    • baseTotal: number
    • baseHp: number
    • baseAtk: number
    • baseDef: number
    • baseSpatk: number
    • baseSpdef: number
    • baseSpd: number
    • catchRate: number
    • baseFriendship: number
    • baseExp: number
    • genderDiffs: boolean = false
    • formSpriteKey: null | string = null
    • isStarterSelectable: boolean = false

    Returns PokemonForm

Properties

_formIndex: number
_generation: number
ability1: Abilities
ability2: Abilities
abilityHidden: Abilities
baseExp: number
baseFriendship: number
baseStats: number[]
baseTotal: number
catchRate: number
formKey: string
formName: string
formSpriteKey: null | string
genderDiffs: boolean
height: number
isStarterSelectable: boolean
speciesId: Species
type1: Type
type2: null | Type
weight: number

Accessors

Methods

  • 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