PokéRogue
GitHub
Switch to Main
Preparing search index...
src/data/mystery-encounters/utils/encounter-pokemon-utils
catchPokemon
Function catchPokemon
catchPokemon
(
pokemon
:
EnemyPokemon
,
pokeball
:
null
|
Sprite
,
pokeballType
:
PokeballType
,
showCatchObtainMessage
?:
boolean
,
isObtain
?:
boolean
,
)
:
Promise
<
void
>
Parameters
pokemon
:
EnemyPokemon
pokeball
:
null
|
Sprite
pokeballType
:
PokeballType
showCatchObtainMessage
:
boolean
= true
isObtain
:
boolean
= false
Returns
Promise
<
void
>
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
GitHub
Switch to Main
PokéRogue
Loading...