Skip to content

Commit 9dacc22

Browse files
committed
fix
1 parent 115b7dc commit 9dacc22

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

play.pokemonshowdown.com/js/client-teambuilder.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,7 +1276,8 @@
12761276
console.log(species);
12771277
var isLetsGo = this.curTeam.format.includes('letsgo');
12781278
var isBDSP = this.curTeam.format.includes('bdsp');
1279-
var isNatDex = this.curTeam.format.includes('nationaldex') || this.curTeam.format.includes('natdex');
1279+
var isRebalanced = this.curTeam.format.startsWith('gen9rebalanced');
1280+
var isNatDex = !isRebalanced && (this.curTeam.format.includes('nationaldex') || this.curTeam.format.includes('natdex'));
12801281
var buf = '<li value="' + i + '">';
12811282
if (!set.species) {
12821283
if (this.deletedSet) {
@@ -2737,7 +2738,8 @@
27372738
var set = this.curSet;
27382739
var isLetsGo = this.curTeam.format.includes('letsgo');
27392740
var isBDSP = this.curTeam.format.includes('bdsp');
2740-
var isNatDex = this.curTeam.format.includes('nationaldex') || this.curTeam.format.includes('natdex');
2741+
var isRebalanced = this.curTeam.format.startsWith('gen9rebalanced');
2742+
var isNatDex = !isRebalanced && (this.curTeam.format.includes('nationaldex') || this.curTeam.format.includes('natdex'));
27412743
var isHackmons = this.curTeam.format.includes('hackmons') || this.curTeam.format.endsWith('bh');
27422744
var species = this.curTeam.dex.species.get(set.species);
27432745
if (!set) return;
@@ -2843,7 +2845,8 @@
28432845
var species = this.curTeam.dex.species.get(set.species);
28442846
var isLetsGo = this.curTeam.format.includes('letsgo');
28452847
var isBDSP = this.curTeam.format.includes('bdsp');
2846-
var isNatDex = this.curTeam.format.includes('nationaldex') || this.curTeam.format.includes('natdex');
2848+
var isRebalanced = this.curTeam.format.startsWith('gen9rebalanced');
2849+
var isNatDex = !isRebalanced && (this.curTeam.format.includes('nationaldex') || this.curTeam.format.includes('natdex'));
28472850

28482851
// level
28492852
var level = parseInt(this.$chart.find('input[name=level]').val(), 10);

play.pokemonshowdown.com/js/search.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -305,9 +305,6 @@
305305

306306
// number
307307
var tier = this.engine ? this.engine.getTier(pokemon) : pokemon.num;
308-
console.log('hiero');
309-
console.log(this.engine);
310-
console.log(tier);
311308
// buf += '<span class="col numcol">' + (pokemon.num >= 0 ? pokemon.num : 'CAP') + '</span> ';
312309
buf += '<span class="col numcol">' + tier + '</span> ';
313310

0 commit comments

Comments
 (0)