InternalThe type of battle to create.
OptionaldoubleWhether the battle is a double battle.
⚠️ Mystery Encounters will ignore this property
and set it to false.
OptionalmysteryThe type of Mystery Encounter to spawn.
Only present in data initialized from a saved session,
and will be undefined for non-ME battles.
OptionaltrainerThe Trainer to spawn.
Only present in processed data and will be undefined for non-trainer battles.
OptionaltrainerSaved data used to initialize the trainer.
Only present in data initialized from a saved session,
and will be undefined for non-trainer battles.
The wave number of the NEW wave to spawn.
Will always be >=1 (barring save data corruption).
Interface representing the base type of a new battle config, used for DRY.