Options
All
  • Public
  • Public/Protected
  • All
Menu

The list of all form names in generation 6, ordered by species, then form ID.

Hierarchy

Index

Constructors

constructor

  • new Pk7(pkx: Uint8Array, box: number, slot: number, isGhost: boolean): Pk7
  • Construct a new Pk7 representation.

    Parameters

    • pkx: Uint8Array

      The raw Pk7 data.

    • box: number

      The box the Pokémon is located in.

    • slot: number

      The slot in the box the Pokémon is located in.

    • isGhost: boolean

      True if the Pokémon might be an artifact of bad decryption

    Returns Pk7

Properties

ability

ability: number

abilityNum

abilityNum: number

ball

ball: number

battleMemoryRibbonCount

battleMemoryRibbonCount: number

box

box: number

chk

chk: number

contestMemoryRibbonCount

contestMemoryRibbonCount: number

contestStatBeauty

contestStatBeauty: number

contestStatCool

contestStatCool: number

contestStatCute

contestStatCute: number

contestStatSheen

contestStatSheen: number

contestStatSmart

contestStatSmart: number

contestStatTough

contestStatTough: number

countryID

countryID: number

currentHandler

currentHandler: boolean

data

data: number[]

dsregID

dsregID: number

ec

ec: number

eggDate

eggDate: [number, number, number]

eggLocation

eggLocation: number

eggMove1

eggMove1: number

eggMove2

eggMove2: number

eggMove3

eggMove3: number

eggMove4

eggMove4: number

encounterType

encounterType: number

enjoyment

enjoyment: number

esv

esv: number

evAtk

evAtk: number

evDef

evDef: number

evHp

evHp: number

evSpAtk

evSpAtk: number

evSpDef

evSpDef: number

evSpe

evSpe: number

exp

exp: number

form

form: number

fullness

fullness: number

gameVersion

gameVersion: number

gender

gender: number

geoCountry1

geoCountry1: number

geoCountry2

geoCountry2: number

geoCountry3

geoCountry3: number

geoCountry4

geoCountry4: number

geoCountry5

geoCountry5: number

geoRegion1

geoRegion1: number

geoRegion2

geoRegion2: number

geoRegion3

geoRegion3: number

geoRegion4

geoRegion4: number

geoRegion5

geoRegion5: number

heldItem

heldItem: number

hpType

hpType: number

isEgg

isEgg: boolean

isFatefulEncounter

isFatefulEncounter: boolean

isGhost

isGhost: boolean

isNick

isNick: boolean

isShiny

isShiny: boolean

ivAtk

ivAtk: number

ivDef

ivDef: number

ivHp

ivHp: number

ivSpAtk

ivSpAtk: number

ivSpDef

ivSpDef: number

ivSpe

ivSpe: number

levelMet

levelMet: number

markings

markings: number

metDate

metDate: [number, number, number]

metLocation

metLocation: number

move1

move1: number

move1Pp

move1Pp: number

move1Ppu

move1Ppu: number

move2

move2: number

move2Pp

move2Pp: number

move2Ppu

move2Ppu: number

move3

move3: number

move3Pp

move3Pp: number

move3Ppu

move3Ppu: number

move4

move4: number

move4Pp

move4Pp: number

move4Ppu

move4Ppu: number

nature

nature: number

nickname

nickname: string

notOT

notOT: string

notOtAffection

notOtAffection: number

notOtFriendship

notOtFriendship: number

notOtGender

notOtGender: boolean

ot

ot: string

otAffection

otAffection: number

otFriendship

otFriendship: number

otGender

otGender: boolean

otLang

otLang: number

pid

pid: number

pkrsDuration

pkrsDuration: number

pkrsStrain

pkrsStrain: number

regionID

regionID: number

ribbonData

ribbonData: number[]

ribbonSet1

ribbonSet1: number

ribbonSet2

ribbonSet2: number

ribbonSet3

ribbonSet3: number

ribbonSet4

ribbonSet4: number

sid

sid: number

slot

slot: number

species

species: number

tid

tid: number

tid7

tid7: number

The TID that is shown in Generation 7 games.

tsv

tsv: number

version

version: number

Methods

Static decrypt

  • decrypt(ekx: Uint8Array): Uint8Array
  • Decrypt the given ekx data and return the pkx.

    Parameters

    • ekx: Uint8Array

      The data to decrypt

    Returns Uint8Array

    The decrypted pkx

Static deshuffle

  • deshuffle(pkx: Uint8Array, sv: number): Uint8Array
  • Unshuffle the blocks in the given Pokémon data with the given shuffling value and return the new data.

    The Pokémon data consists of four blocks. They are shuffled prior to encryption with an xorpad.

    Parameters

    • pkx: Uint8Array

      The raw Pokémon data

    • sv: number

      The shuffling value

    Returns Uint8Array

    The unshuffled Pokémon data

Static encrypt

  • encrypt(pkx: Uint8Array): Uint8Array
  • Encrypt the given pkx and return the ekx.

    Parameters

    • pkx: Uint8Array

      The pkx to encrypt

    Returns Uint8Array

    The encrypted ekx

Static fixChk

  • fixChk(pkx: Uint8Array): void
  • Calculate the checksum of some pkx data and write the checksum to the data.

    Parameters

    • pkx: Uint8Array

      The data whose checksum to fix

    Returns void

Static getDloc

  • getDloc(ec: number): number
  • Given an encryption constant calculate where the fourth block of Pokémon data will be located after shuffling.

    Parameters

    • ec: number

      The encryption constant

    Returns number

    The location of the fourth block

Static makePkm

  • makePkm(pkx: Uint8Array, generation: number, box: number, slot: number, ghost: boolean): PkBase
  • Create a new Pokémon representation with the given data for the given generation.

    A specialization for this generation must have been registered previously.

    Parameters

    • pkx: Uint8Array

      The raw Pkx data.

    • generation: number

      The generation the Pokémon is from.

    • box: number

      The box the Pokémon is located in.

    • slot: number

      The slot in the box the Pokémon is located in.

    • ghost: boolean

    Returns PkBase

Static shuffle

  • shuffle(pkx: Uint8Array, sv: number): Uint8Array
  • Shuffle the blocks in the given Pokémon data with the given shuffling value and return the new data.

    The Pokémon data consists of four blocks. They are shuffled prior to encryption with an xorpad.

    Parameters

    • pkx: Uint8Array

      The raw Pokémon data

    • sv: number

      The shuffling value

    Returns Uint8Array

    The shuffled Pokémon data

Static verifyChk

  • verifyChk(pkx: Uint8Array): boolean
  • Calculate and verify the checksum of some pkx data.

    Parameters

    • pkx: Uint8Array

      The data to verify

    Returns boolean

Legend

  • Module
  • Object literal
  • Variable
  • Function
  • Function with type parameter
  • Index signature
  • Type alias
  • Enumeration
  • Enumeration member
  • Property
  • Method
  • Interface
  • Interface with type parameter
  • Constructor
  • Property
  • Method
  • Index signature
  • Class
  • Class with type parameter
  • Constructor
  • Property
  • Method
  • Accessor
  • Index signature
  • Inherited constructor
  • Inherited property
  • Inherited method
  • Inherited accessor
  • Protected property
  • Protected method
  • Protected accessor
  • Private property
  • Private method
  • Private accessor
  • Static property
  • Static method

Generated using TypeDoc