Constructors

Properties

achvUnlocks: AchvUnlocks
defaultDexData: DexData
dexData: DexData
eggs: Egg[]
gameStats: GameStats
gender: PlayerGender
scene: default
secretId: number
starterData: StarterData
trainerId: number
unlocks: Unlocks
voucherCounts: VoucherCounts
voucherUnlocks: VoucherUnlocks

Methods

  • Parameters

    • dataStr: string
    • shorten: boolean = false

    Returns string

  • Parameters

    • dexEntryPredicate: ((entry) => boolean)
        • (entry): boolean
        • Parameters

          Returns boolean

    Returns number

  • Parameters

    • species: default
    • forSeen: boolean = false
    • optimistic: boolean = false

    Returns bigint

  • Parameters

    • dexEntryPredicate: ((entry) => boolean)
        • (entry): boolean
        • Parameters

          Returns boolean

    Returns number

  • Parameters

    • systemDataStr: string
    • Optional cachedSystemDataStr: string

    Returns Promise<boolean>

  • Parameters

    • scene: default
    • skipVerification: boolean = false
    • sync: boolean = false
    • useCachedSession: boolean = false
    • useCachedSystem: boolean = false

    Returns Promise<boolean>

  • Parameters

    • pokemon: default
    • incrementCount: boolean = true
    • fromEgg: boolean = false

    Returns Promise<void>

  • Parameters

    • pokemon: default
    • incrementCount: boolean = true
    • trainer: boolean = false

    Returns void

  • Parameters

    • pokemon: default
    • species: default
    • incrementCount: boolean = true
    • fromEgg: boolean = false

    Returns Promise<void>

  • Parameters

    Returns Promise<[success: boolean, newClear: boolean]>