Seriously I don't mean to bash anyone, as a CS student I know coding is hard work but these two issues have been around for literally years and keep screwing over tour games while probably being comparatively easy to patch up.
- Make the "Suggested Spread" button increase SpD, not only SpA. They're one stat in literally every other regard and the hidden 0 SpD EVs keep screwing never players without them even knowing. While you're at it, Atk is the only stat that shouldn't always be raised, so no 0 SpA just because it's a purely physical set. 252 everywhere or 0 in Atk are the only viable spreads. That's literally one button worth of code.
- Clamp rolls over when you use it WHILE having 0 PP. Not when you HIT 0 PP when using the Fight button on a switchin. And what it definitely should NOT do is causing Struggle to be used.
This replay is a year old and explains everything in agonizingly small detail.
I'm speaking on behalf of the entire RBY community when I say this.
The Immortal, please stop alienating RBY players and fix your code.