diff --git a/tools.js b/tools.js index 2604b3c49e..96fdf73ab9 100644 --- a/tools.js +++ b/tools.js @@ -214,7 +214,7 @@ function BattleTools() } else { - if (format.banlistTable) format.banlistTable = {}; + if (!format.banlistTable) format.banlistTable = {}; if (!format.setBanTable) format.setBanTable = []; if (!format.teamBanTable) format.teamBanTable = []; @@ -224,10 +224,10 @@ function BattleTools() { for (var i=0; i