The 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 type of a partially resolved new battle config, used during double battle generation. Only contains properties known to be present after all 3 sub-methods finish resolving.