From 5cb8c6ea9ced5869516a62b85c661c126d4a529f Mon Sep 17 00:00:00 2001 From: The Immortal Date: Thu, 20 Feb 2020 16:59:05 +0400 Subject: [PATCH] Remove redundant Max Guard checks bfa7ff2d3 added them to Max Guard. --- data/moves.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/data/moves.js b/data/moves.js index d43a7df0910a..7cc93cf71217 100644 --- a/data/moves.js +++ b/data/moves.js @@ -14362,7 +14362,6 @@ let BattleMovedex = { priority: 0, flags: {authentic: 1, mystery: 1}, onHit(target, source) { - if (target.volatiles['maxguard']) return false; for (let i in target.boosts) { // @ts-ignore source.boosts[i] = target.boosts[i]; @@ -20089,7 +20088,7 @@ let BattleMovedex = { priority: 0, flags: {mystery: 1}, onHit(target, pokemon) { - if (target.volatiles['maxguard'] || !pokemon.transformInto(target)) { + if (!pokemon.transformInto(target)) { return false; } },