Fix Leek showing as Illegal in Natdex
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run

This commit is contained in:
Karthik99999
2025-07-29 22:58:58 -04:00
parent f48bff05f4
commit 99c3f00133

View File

@@ -632,7 +632,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
if (isNatDex) {
let curItem = item;
let curGen = genNum;
while (item.isNonstandard && curGen >= 7) {
while (curItem.isNonstandard && curGen >= 7) {
curItem = Dex.forGen(curGen).items.get(item.id);
curGen--;
}
@@ -740,6 +740,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... ");
case 'souldew':
// falls through
// Other
case 'leek':
case 'stick':
case 'thickclub':
case 'lightball':