From 52a08a3d8037f193d235d7a67ac89bb8e914edb4 Mon Sep 17 00:00:00 2001 From: demir Date: Fri, 27 Dec 2024 21:29:29 +0300 Subject: [PATCH] Update build-indexes --- build-tools/build-indexes | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build-tools/build-indexes b/build-tools/build-indexes index 49ef7135f6..38b1298847 100755 --- a/build-tools/build-indexes +++ b/build-tools/build-indexes @@ -480,7 +480,7 @@ process.stdout.write("Building `data/teambuilder-tables.js`... "); ndDoublesBans[species.id] = 1; } const nd35Pokes = Dex.formats.get(gen + 'nationaldex35pokes'); - if (nd35Pokes.exists && !nd35Pokes.validateSet.call({ gen: 0, toID: toID }, { species: species.name })) { + if (nd35Pokes.exists && nd35Pokes.validateTeam.call({ gen: 0 }, [{ species: species.name }])) { thirtyfivePokes[species.id] = 1; } }