po-devs/pokemon-online — pull request #1300 by VeteranPadgett (2014-11-19 19:16:39+00:00)
Title: SelfKO Clause

In Gens 5 and 6 SelfKO is now based on the order of fainting. Fixed Struggle to not tie in earlier gens.

Also, my turnorder fix apparently messed up moves like Explosion and Memento. They still work but didn't show hp change. That should be fixed now.