Hello, I'm attempting to write a script that queries the Smogon/Showdown learnset data to produce a list of Pokémon that learn a specific move in a specific generation (or Natdex). The functionality should be similar to the Showdown chat command "dexsearch." I'm willing to comb through learnset.json if necessary, but I was wondering if there is an easier method. I haven't seen anything like the query I need on Showdown APIs or fan projects, but I could've missed something.
Also, when using both dexsearch and learnset.json, certain alternate forms are missing most of the base form's moves. For example, Rotom-Wash will not appear when dexsearching Volt Switch, and only has Hydro Pump listed in the learnset data. How does the teambuilder determine that Rotom-Wash should have base Rotom's learnset as well?
Thanks!
Also, when using both dexsearch and learnset.json, certain alternate forms are missing most of the base form's moves. For example, Rotom-Wash will not appear when dexsearching Volt Switch, and only has Hydro Pump listed in the learnset data. How does the teambuilder determine that Rotom-Wash should have base Rotom's learnset as well?
Thanks!