Endless Battle Clause fixes
Trick/Switcheroo Leppa Berry no longer causes staleness. In other words, you no longer auto-lose when your Leppa Berry is swapped twice.
In addition, Fling Leppa Berry (and its variants) are now correctly detected as an endless battle. There was previously a bug in its detection.
—Zarel on Apr 23, 2016