From 1898bf64db4e84fdd4c8dd3848610910cea6159b Mon Sep 17 00:00:00 2001 From: V4Victini Date: Mon, 11 Nov 2013 05:43:16 -0500 Subject: [PATCH] Sound-based moves ignore Substitute --- data/moves.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/moves.js b/data/moves.js index 71387b5ce1..b750fb7d1e 100644 --- a/data/moves.js +++ b/data/moves.js @@ -12859,7 +12859,7 @@ exports.BattleMovedex = { this.debug('sub bypass: self hit'); return; } - if (move.notSubBlocked || source.ability === 'infiltrator' && this.gen >= 6) { + if (move.notSubBlocked || (source.ability === 'infiltrator' || move.isSoundBased) && this.gen >= 6) { return; } if (move.category === 'Status') {