po-devs/pokemon-online — pull request #1188 by SongSing (2014-07-12 09:57:57+00:00)
Title: changed hasWorkingAbility

moves that ignore mold breaker should not automatically be working, as they could've been nullified

also, if a poke doesn't have the ability it should always return false, right? otherwise you could be like "does clefable have illusion" and it would be true, so i put that check after the gen check.
i don't see any reason why this would break anything, i just thought it should be more accurate :p