po-devs/pokemon-online — pull request #244 by Wavywavy (2013-05-24 11:07:23+00:00)
Title: Confuse / Baton Pass Fix

The confuse counter wasn't being reset when confusion was, so Baton Pass would inflict confusion when passed even though it was cured.