mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-27 12:47:56 -05:00
Fix Leek showing as Illegal in Natdex
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
Some checks are pending
Node.js CI / build (22.x) (push) Waiting to run
This commit is contained in:
@@ -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':
|
||||
|
||||
Reference in New Issue
Block a user