* Add random-sets.json for old gens to store randbats data
* Use random-sets.json files for generating sets
* Use levels from data files in gens 3-7
* Remove levels from BDSP file
* Remove random battles data from formats-data.ts
* Remove unnecessary levelScales
* Rename species_set to data
* Update commands
* linting and syntax stuff
* Adapt randbats tests
* Forgot to remove levels from joltemons file
* Rename random-sets to random-data
* Add newlines at end of json files
* Fix description of /randbats command: defaults to gen 9
* Fix an issue with gmax
* Remove randomDoubleBattleLevel for mons without doubles sets
* Apply suggestions from code review
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
* Rename randomBattleLevel to level
* Rename randomBattleMoves to moves
* Fix BDSP test
* Fix some gen 7-8 tests
* linting
* Gen 1-2: put custom levels in json file instead of customScale
* Gen 3: make Dunsparce level 88 (PUBL, it shouldn't be level 80)
* Type the JSON files
* revert a change that is no longer needed with typing
* moves should be IDs, not strings
---------
Co-authored-by: Kris Johnson <11083252+KrisXV@users.noreply.github.com>
Gen 3:
some set tweaks
3 Physical attacks + Fire Blast gives Choice Band
Gen 4:
Mismagius: add Trick, so that it can rarely generate choiced sets
Umbreon can now get Wish + Moonlight, but not with Protect
Ditto will get Salac Berry or Sitrus Berry
Pidgeot, Fearow, and Farfetch'd have Heat Wave added, which will result in Life Orb sets for the first two
Gen 5:
Pikachu: remove Thunderbolt, add Volt Tackle
Dugtrio gets a fixed Life Orb set
Gens 6 and 7:
Dusknoir: remove Focus Punch
Pokemon with Rock Head/Water Absorb as possible abilities will never get Swift Swim as their ability, unless they have Rain Dance in their set
Dustox will no longer get Quiver Dance + U-Turn (the change to gen8/random-teams.ts has no effect on any gen 8 sets)
Slow Pokemon (< 90 base speed) will no longer get Life Orb with Volt Switch
Gen 6:
Rework Malamar's set
Kangaskhan-Mega will not get Seismic Toss with Power-Up Punch
Cloyster should always get Icicle Spear with Shell Smash
Focus Sash bulk threshold has been reduced from <= 275 to < 255
remove Cherrim-Sunshine set, add HP Ice to Cherrim
Gen 7:
Reshiram should always get Blue Flare
tweak Ninetales and Ninetales-Alola's sets
* Gen 1: Fix Tangela's set
* Gen 3: replace Counter with Rest on Politoed, and give Skarmory Whirlwind instead of Roar
* Gen 6-7: Fix Expert Belt condition
* Gen 5: allow Specs Kyogre and Typhlosion
* Gen 5: set changes
* Gen 5: Change Mewtwo set and move enforcement for Psychic types with Calm Mind
* Gen 5: Re-add Ice Shard to Cloyster, only allowed if not Shell Smash
* Gen 5: Reflect and Light Screen should usually be generated together
* Gen 3: Remove Refresh from Latios, allow mono-attacking Latias with Refresh
* Gen 3: Deal with unobtainable moves
* Gen 5: Fix Priority + trick/switcheroo condition
* Gen 2: set changes
* Gen 2: remove unobtainable Zapdos moves
* Gen 3: Return is better on farfetch'd
`BattlePokedex` is now `Pokedex`, `BattleItems` is now `Items`, etc.
I also renamed `Movedex` to `Moves` and `Statuses` to `Conditions`.
`TypeChart` isn't `Types` yet, because unlike the others, it's not
indexed by ID. That should probably be fixed one day.