- Keep Sitrus Berry Eiscue, remove Reversal from Eiscue's movepool and add Substitute, and prevent Zen Headbutt + Substitute sets
- give Eiscue a Salac Berry if it has Substitute
- Ensure that Entei always gets Extreme Speed
- Don't select Moxie if Defog is in a Pokémon's moveset
- Add Strange Steam to the list of preferred fairy moves in the moveRejectionCheckers
- Prevent Volt Switch sets with < 90 Speed from having Life Orb
- Prevent Comfey from getting Stored Power without Calm Mind
- Do not allow Hurricane to be given to Pokémon with physical setup movesets
- Prevent Grass Knot + Surf
- Prevent Defog + Moxie
- Give Belly Drum sets Sitrus Berry
Patch notes (2/13/21):
-Prevent Virizion with 1 attack by preventing Coaching from generating with any other setup move.
-Prevent First Impression from generating with any setup move, for Sirfetch'd.
-Reject Protect if Belly Drum is in the movepool but hasn't been rolled, in an attempt to prevent Belly Drum-less Eiscue.
-Fix post-refactor bug causing heavy-duty boots to generate where it shouldn't
-Glastrier: Icicle Crash over Avalanche
-Keldeo: Muddy Water over Hydro Pump and Scald, added Air Slash.
-Regieleki: Electroweb over Eerie Impulse
-Various level balancing. Pokemon above 56.00% win rate nerfed. Pokemon below 46.00% win rate buffed. Highlights: Moltres-Galar, Regidrago, Calyrex-Shadow, Zacian-C down again, Maractus, Toxapex, Shuckle, etc. up. See pull request for full list of level changes.
Gen 7 Random Doubles: Remove Protect from Typhlosion to prevent Choice Scarf Protect.
This PR
- Brings all Random Battles code up to the standard 120-charaacter line length limit
- Improves readability for all Random Battles code
- Refactors current-gen Random Battles team generation to be more modular and readable
Documentation thanks to @ACakeWearingAHat!