mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-07 08:52:17 +02:00
Update gameManager.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
a188e3b39d
commit
dd05bcdef0
@ -516,8 +516,8 @@ export default class GameManager {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Command an in-battle switch to another {@linkcode Pokemon} via the main battle menu.
|
* Command an in-battle switch to another {@linkcode Pokemon} via the main battle menu.
|
||||||
* @param pokemonIndex the 0-indexed position of the party pokemon to switch to.
|
* @param pokemonIndex - The 0-indexed position of the party pokemon to switch to.
|
||||||
* Should generally never be called with 0 as that will just select your current active pokemon.
|
* Should never be called with 0 as that will select the currently active pokemon.
|
||||||
*/
|
*/
|
||||||
doSwitchPokemon(pokemonIndex: number) {
|
doSwitchPokemon(pokemonIndex: number) {
|
||||||
this.onNextPrompt("CommandPhase", Mode.COMMAND, () => {
|
this.onNextPrompt("CommandPhase", Mode.COMMAND, () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user