Add overload for handle command

This commit is contained in:
Sirz Benjie 2025-05-26 16:49:00 -05:00
parent 22d2b4a436
commit 9218d35938
No known key found for this signature in database
GPG Key ID: 4A524B4D196C759E

View File

@ -249,6 +249,7 @@ export class CommandPhase extends FieldPhase {
const playerPokemon = this.getPokemon();
const ignorePP = isIgnorePP(useMode);
let canUse = cursor === -1 || playerPokemon.trySelectMove(cursor, ignorePP);
let canUse = cursor === -1 || playerPokemon.trySelectMove(cursor, ignorePP);
const useStruggle = canUse