Zarel/Pokemon-Showdown-Client — pull request #128 by Oiawesome (2014-02-16 18:41:43+00:00)
Title: edit frustration curSet.happiness

this.curSet.happiness = 0; is incorrect due to the minimum amount of happiness a pokemon can have is 1, making it this.curSet.happiness = 1;