Add teambuilder support for Gen 1 NU (#1730)

This commit is contained in:
Kris Johnson
2021-03-15 12:40:23 -06:00
committed by GitHub
parent 0f1db74ca4
commit 8e56a4dfcc

View File

@@ -550,10 +550,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
if (isDoubles && genNum > 4) {
return ["DUber", "(DUber)", "DOU", "DBL", "(DOU)", "DUU", "(DUU)", "New", "NFE", "LC"];
}
if (gen === 'gen1') {
return ["Uber", "OU", "UUBL", "UU", "NFE", "LC"];
}
if (gen === 'gen2' || gen === 'gen3') {
if (gen === 'gen1' || gen === 'gen2' || gen === 'gen3') {
return ["Uber", "OU", "UUBL", "UU", "NUBL", "NU", "PUBL", "PU", "NFE", "LC"];
}
if (gen === 'gen4') {