mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-06 23:49:26 +02:00
Add overload for handle command
This commit is contained in:
parent
22d2b4a436
commit
9218d35938
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user