Skip to content

Commit

Permalink
Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty-D authored Dec 10, 2019
1 parent b267fc2 commit b3a20bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sim/pokemon.ts
Original file line number Diff line number Diff line change
Expand Up @@ -783,7 +783,7 @@ export class Pokemon {
}
let disabled = moveSlot.disabled;
if (this.volatiles['dynamax']) {
disabled = false
disabled = false;
} else if (
(moveSlot.pp <= 0 && !this.volatiles['partialtrappinglock']) || disabled &&
this.side.active.length >= 2 && this.battle.targetTypeChoices(target!)
Expand Down

0 comments on commit b3a20bf

Please sign in to comment.