Fix Stance Change not working on enemy side
This commit is contained in:
1 parent
ca0ae35422
commit
5cb268a3f0
2 files changed
+3
-3
No files matched your search
@@ -273,7 +273,7 @@ export abstract class SpeciesFormChangeMoveTrigger extends SpeciesFormChangeTrig
|
||||
|
||||
export class SpeciesFormChangePreMoveTrigger extends SpeciesFormChangeMoveTrigger {
|
||||
canChange(pokemon: Pokemon): boolean {
|
||||
const command = pokemon.scene.currentBattle.turnCommands[pokemon.getFieldIndex()];
|
||||
const command = pokemon.scene.currentBattle.turnCommands[pokemon.getBattlerIndex()];
|
||||
return command?.move && this.movePredicate(command.move.move) === this.used;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user