edit frustration curSet.happiness
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;
submindraikou/Pokemon-Showdown-Client,panpawn/Gold-Client,asgdf/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,panpawn/Gold-Client,QuiteQuiet/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,sirDonovan/Pokemon-Showdown-Client,QuiteQuiet/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,Zarel/Pokemon-Showdown-Client,submindraikou/Pokemon-Showdown-Client,panpawn/Gold-Client,Zarel/Pokemon-Showdown-Client,asgdf/Pokemon-Showdown-Client,submindraikou/Pokemon-Showdown-Client