# Functions
DecodeUpdate turns a raw simulater update into our finished side update.
IsDoubles returns if the given format is a `doubles` battle.
No description provided by the author
NewBattleState returns a new empty BattleState.
PackTeam turns a list of PokemonSpec into a pokemon-showdown compliant `packed` string.
No description provided by the author
# Constants
ActionMove indicates the pokemon wishes to use an attack / status move.
ActionSwitch indicates the user wishes to switch out a pokemon to another team member.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
a forced "switch" essentially.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
FormatGen8 SS singles battle with given teams.
FormatGen8Doubles a SS doubles battle with given teams.
FormatGen8DoublesRandom a SS doubles battle with random teams.
FormatGen8Random random SS singles battle.
No description provided by the author
helping hand.
No description provided by the author
No description provided by the author
No description provided by the author
eg.
life dew.
tailwind.
heal bell.
No description provided by the author
electroweb.
waterfall.
metronome.
counter.
recover.
# Structs
Action is a list of ActionSpecs (in order of the user pokemon).
ActionSpec is the desired action details for a single pokemon.
BattleSpec is all the required data to start a new battle.
BattleState is the current state of the entire battle (for all players).
No description provided by the author
Event represents some event that has happened during a turn.
Move struct expands on simply the move name to include relevant in battle info.
Options (only set on active pokemon) is information detailing what a pokemon can do next turn.
Pokemon is a pokemon taking part in a battle.
PokemonSpec represents a pokemon with battle relevant stats, items, moves etc as specified in order to *start* a battle.
SimData is the input expected for a valid simulate call.
StatValues holds values for the 6 pokemon stats.
Subject (pokemon) of an event (source, target etc).
Update represents the current status & options of one side in a battle.