Skip to content

Commit bda9877

Browse files
Add teambuilder support for UUBL tiers (#2336)
* Add support for Gen 3 UUBL (and every other UUBL tier) * Satisfy linter
1 parent 211fef6 commit bda9877

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

build-tools/build-indexes

+1-1
Original file line numberDiff line numberDiff line change
@@ -623,7 +623,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
623623

624624
for (const tier of tierOrder) {
625625
if (tier in {
626-
OU: 1, AG: 1, Uber: 1, UU: 1, RU: 1, NU: 1, PU: 1, ZU: 1, NFE: 1, LC: 1, DOU: 1, DUU: 1,
626+
OU: 1, UUBL: 1, AG: 1, Uber: 1, UU: 1, RU: 1, NU: 1, PU: 1, ZU: 1, NFE: 1, LC: 1, DOU: 1, DUU: 1,
627627
"(DUU)": 1, New: 1, Legal: 1, Regular: 1, "Restricted Legendary": 1, "CAP LC": 1,
628628
}) {
629629
let usedTier = tier;

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

+1
Original file line numberDiff line numberDiff line change
@@ -1047,6 +1047,7 @@ class BattlePokemonSearch extends BattleTypedSearch<'pokemon'> {
10471047
});
10481048
}
10491049
} else if (format === 'ou') tierSet = tierSet.slice(slices.OU);
1050+
else if (format === 'uubl') tierSet = tierSet.slice(slices.UUBL);
10501051
else if (format === 'uu') tierSet = tierSet.slice(slices.UU);
10511052
else if (format === 'ru') tierSet = tierSet.slice(slices.RU || slices.UU);
10521053
else if (format === 'nu') tierSet = tierSet.slice(slices.NU || slices.RU || slices.UU);

0 commit comments

Comments
 (0)