Hierarchy (view full)

Constructors

  • Parameters

    • formName: string
    • formKey: string
    • type1: Type
    • type2: 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
    • Optional genderDiffs: boolean
    • Optional formSpriteKey: string
    • Optional isStarterSelectable: 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: string
genderDiffs: boolean
generation: number
height: number
isStarterSelectable: boolean
speciesId: Species
starterSelectableKeys: string[] = ...
type1: Type
type2: Type
weight: number

Methods

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

    Parameters

    • Optional formIndex: 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