Create a new reader for a battle video with the provided key.
The battle video to be accessed
The key for the relevant battle video slot
The generation this battle video is from.
The raw battle video data this reader is accessing.
Get an array of flags indicating which parties are readable with the given key.
Get all Pokémon that can be decrypted from this battle video.
Read any Pokémon from the battle video. If the slot cannot be decrypted or there is no Pokémon there, return undefined.
The Pokémons position in the team
The number of the team the Pokémon is in
Get the generation a battle video is from.
The battle video to check
The generation
Get the offsets the parties are stored at in a battle video in a given generation.
The generation for which to retrieve the offsets
The relevant offsets
Generated using TypeDoc
A class to allow accessing the teams stored in a battle video with the appropriate key.