mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-06-21 09:02:47 +02:00
Add overload for handle command
This commit is contained in:
parent
3497f93141
commit
f678966149
@ -248,6 +248,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