Update gameManager.ts

Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
Bertie690 2025-04-20 14:06:33 -04:00 committed by GitHub
parent a188e3b39d
commit dd05bcdef0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -516,8 +516,8 @@ export default class GameManager {
/**
* 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.
* Should generally never be called with 0 as that will just select your current active pokemon.
* @param pokemonIndex - The 0-indexed position of the party pokemon to switch to.
* Should never be called with 0 as that will select the currently active pokemon.
*/
doSwitchPokemon(pokemonIndex: number) {
this.onNextPrompt("CommandPhase", Mode.COMMAND, () => {