Skip to content

Commit 5cb8c6e

Browse files
committed
Remove redundant Max Guard checks
bfa7ff2 added them to Max Guard.
1 parent bfa7ff2 commit 5cb8c6e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

data/moves.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -14362,7 +14362,6 @@ let BattleMovedex = {
1436214362
priority: 0,
1436314363
flags: {authentic: 1, mystery: 1},
1436414364
onHit(target, source) {
14365-
if (target.volatiles['maxguard']) return false;
1436614365
for (let i in target.boosts) {
1436714366
// @ts-ignore
1436814367
source.boosts[i] = target.boosts[i];
@@ -20089,7 +20088,7 @@ let BattleMovedex = {
2008920088
priority: 0,
2009020089
flags: {mystery: 1},
2009120090
onHit(target, pokemon) {
20092-
if (target.volatiles['maxguard'] || !pokemon.transformInto(target)) {
20091+
if (!pokemon.transformInto(target)) {
2009320092
return false;
2009420093
}
2009520094
},

0 commit comments

Comments
 (0)