From f996d22e42b92778f10467fe3fb737111fb4742a Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Mon, 13 Feb 2012 10:43:50 -0500 Subject: [PATCH] Fix Magic Bounce and Magic Coat to bounce confusion-inducing moves --- abilities.js | 2 +- movedex.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/abilities.js b/abilities.js index d163fdb16c..2b40085345 100644 --- a/abilities.js +++ b/abilities.js @@ -1007,7 +1007,7 @@ exports.BattleAbilities = { if (target === source) return; if (typeof move.isBounceable === 'undefined') { - move.isBounceable = !!(move.status || move.forceSwitch); + move.isBounceable = !!(move.status || move.volatileStatus === 'confusion' || move.forceSwitch); } if (move.target !== 'foeSide' && target !== this.effectData.target) { diff --git a/movedex.js b/movedex.js index de80072d9a..0dc426f30c 100644 --- a/movedex.js +++ b/movedex.js @@ -5869,7 +5869,7 @@ exports.BattleMovedex = { if (target === source) return; if (typeof move.isBounceable === 'undefined') { - move.isBounceable = !!(move.status || move.forceSwitch); + move.isBounceable = !!(move.status || move.volatileStatus === 'confusion' || move.forceSwitch); } if (move.target !== 'foeSide' && target !== this.effectData.target) {