Function runMysteryEncounterToEnd
- runMysteryEncounterToEnd(game, optionNo, secondaryOptionSelect?, isBattle?): Promise<void>
Parameters
- game: default
- optionNo: number
Optional
secondaryOptionSelect: {
optionNo?: number;
pokemonNo: number;
}Optional
optionNo?: number
pokemonNo: number
- isBattle: boolean = false
Returns Promise<void>
Runs a MysteryEncounter to either the start of a battle, or to the
MysteryEncounterRewardsPhase
, depending on the option selected