• This function is intended for use inside onPreOptionPhase() of an encounter option

    Parameters

    • scene: default

      If a second option needs to be selected, onPokemonSelected should return a OptionSelectItem[] object

    • options: OptionSelectItem[]
    • optionSelectPromptKey: string
    • OptionalselectablePokemonFilter: PokemonSelectFilter
    • OptionalonHoverOverCancelOption: (() => void)
        • (): void
        • Returns void

    Returns Promise<PokemonAndOptionSelected | null>