From ddf5f99355a239bcff3d297dced62aeba4cb1817 Mon Sep 17 00:00:00 2001 From: The Immortal Date: Tue, 13 Dec 2016 00:08:50 +0400 Subject: [PATCH] Teambuilder: Update Hidden Type exception to gen 7 --- js/client-teambuilder.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index 446d526a5..e1a57fe50 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -2614,7 +2614,7 @@ }, unChooseMove: function (moveName) { var set = this.curSet; - if (!moveName || !set || this.curTeam.format === 'hiddentype') return; + if (!moveName || !set || this.curTeam.format === 'gen7hiddentype') return; if (moveName.substr(0, 13) === 'Hidden Power ') { if (set.ivs) { for (var i in set.ivs) { @@ -2657,7 +2657,7 @@ minSpe = true; } - if (this.curTeam.format === 'hiddentype') return; + if (this.curTeam.format === 'gen7hiddentype') return; var minAtk = true; var hpModulo = (this.curTeam.gen >= 6 ? 2 : 4);