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
    • OptionalgenderDiffs: boolean
    • OptionalformSpriteKey: null | string
    • OptionalisStarterSelectable: boolean

    Returns PokemonForm

Properties

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

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