mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-23 16:26:15 -05:00
This adds validator support for Gen 1 Virtual Console moves. Fixes #3208 If anyone wants the quick-and-dirty eval script I used to update Learnsets: ``` Object.entries(Tools.mod('gen1').data.Learnsets).forEach(([speciesid, lset]) => { Object.entries(lset.learnset).forEach(([moveid, sources]) => { if (sources.some(s => s.startsWith('1L') || s.startsWith('1M'))) { let newLset = Tools.data.Learnsets[speciesid].learnset; if (!newLset[moveid]) newLset[moveid] = []; let i = 0; while (i < newLset[moveid].length && newLset[moveid][i].startsWith('7')) i++; newLset[moveid].splice(i, 0, '7V'); } }) }) ``` |
||
|---|---|---|
| .. | ||
| abilities.js | ||
| aliases.js | ||
| factory-sets.json | ||
| formats-data.js | ||
| items.js | ||
| learnsets.js | ||
| moves.js | ||
| pokedex.js | ||
| rulesets.js | ||
| scripts.js | ||
| statuses.js | ||
| typechart.js | ||