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);