Construct a new Pk6 representation.
The raw Pk6 data.
The box the Pokémon is located in.
The slot in the box the Pokémon is located in.
True if the Pokémon might be an artifact of bad decryption
Decrypt the given ekx data and return the pkx.
The data to decrypt
The decrypted pkx
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.
The raw Pokémon data
The shuffling value
The unshuffled Pokémon data
Encrypt the given pkx and return the ekx.
The pkx to encrypt
The encrypted ekx
Calculate the checksum of some pkx data and write the checksum to the data.
The data whose checksum to fix
Given an encryption constant calculate where the fourth block of Pokémon data will be located after shuffling.
The encryption constant
The location of the fourth block
Create a new Pokémon representation with the given data for the given generation.
A specialization for this generation must have been registered previously.
The raw Pkx data.
The generation the Pokémon is from.
The box the Pokémon is located in.
The slot in the box the Pokémon is located in.
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.
The raw Pokémon data
The shuffling value
The shuffled Pokémon data
Calculate and verify the checksum of some pkx data.
The data to verify
Generated using TypeDoc
2yj The generation 6 specialization of a Pokémon.