Skip to content

Commit e1699bf

Browse files
committed
test
1 parent 580f629 commit e1699bf

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

play.pokemonshowdown.com/src/battle-dex-search.ts

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -593,9 +593,6 @@ abstract class BattleTypedSearch<T extends SearchType> {
593593
if (format.includes('omnifield')) {
594594
this.dex = Dex.mod('omnifield' as ID);
595595
}
596-
if (format.includes('rebalanced')) {
597-
this.dex = Dex.mod('gen9rebalanced' as ID);
598-
}
599596
if (format.startsWith('gpt')) {
600597
this.dex = Dex.mod('gen9gpt' as ID);
601598
}
@@ -657,9 +654,6 @@ abstract class BattleTypedSearch<T extends SearchType> {
657654
if (format.includes('worldscollide')) {
658655
this.formatType = 'worldscollide';
659656
}
660-
if (format.includes('rebalanced')) {
661-
this.formatType = 'rebalanced';
662-
}
663657
if (format.startsWith('gpt')) {
664658
this.formatType = 'gpt';
665659
}
@@ -690,6 +684,12 @@ abstract class BattleTypedSearch<T extends SearchType> {
690684
if (format.includes('fields')) {
691685
this.formatType = 'omnifield';
692686
}
687+
if (format.includes('rebalanced')) {
688+
this.dex = Dex.mod('gen9rebalanced' as ID);
689+
}
690+
if (format.includes('rebalanced')) {
691+
this.formatType = 'rebalanced';
692+
}
693693
if (format.endsWith('draft')) format = format.slice(0, -5) as ID;
694694
this.format = format;
695695

@@ -1046,8 +1046,6 @@ class BattlePokemonSearch extends BattleTypedSearch<'pokemon'> {
10461046
table = table['gen9gpt'];
10471047
}
10481048

1049-
console.log('table.tiers');
1050-
console.log(table.tiers);
10511049
if (!table.tierSet) {
10521050
table.tierSet = table.tiers.map((r: any) => {
10531051
if (typeof r === 'string') return ['pokemon', r];

0 commit comments

Comments
 (0)