From 4a80fc880c7c9f1cac823e22aec4c7249ad3308c Mon Sep 17 00:00:00 2001 From: Slayer95 Date: Thu, 17 Jul 2014 05:48:34 -0500 Subject: [PATCH] Fix swap message not being displayed if middle slot is empty --- js/battle.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/battle.js b/js/battle.js index d4f66c027..247e79633 100644 --- a/js/battle.js +++ b/js/battle.js @@ -2074,7 +2074,7 @@ function Battle(frame, logFrame, noPreload) { if (pokemon.slot === slot) return; var target = selfS.active[slot]; - if (target && !kwargs.silent) { + if (!kwargs.silent) { var fromeffect = Tools.getEffect(kwargs.from); switch (fromeffect.id) { case 'allyswitch':