Zarel/Pokemon-Showdown — pull request #1334 by ascriptmaster (2014-11-28 22:17:30+00:00)
Title: New weathers now interact properly with Air Lock/Cloud Nine

New weathers did not disappear under Cloud Nine if its origin switched out
due to Cloud Nine suppressing those events. Fixed by moving the switch and
faint checks to the abilities themselves, and added a custom volatile to
check for when the ability ends (since the ability itself cannot check)