po-devs/pokemon-online — pull request #312 by Fuzzysqurl (2013-07-07 03:59:24+00:00)
Title: Bugfix: Leaf Guard/Rest in Gen 4

Leaf Guard allows the use of Rest in Gen 4, but not in Gen 5. Don't ask how I found this bug, I was trying to fix something else completely unrelated.

Also, fixes minor error with enums that probably didn't affect anything, but why have it wrong?