From b2cf7a59f966b8353a666195015940951881331a Mon Sep 17 00:00:00 2001 From: Oesher Ayenew Date: Sun, 16 Feb 2014 10:41:38 -0800 Subject: [PATCH] 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; --- js/client-teambuilder.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index c08a3a1c5..c733fbde2 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -1233,7 +1233,7 @@ } else if (move === 'Return') { this.curSet.happiness = 255; } else if (move === 'Frustration') { - this.curSet.happiness = 0; + this.curSet.happiness = 1; } }, setPokemon: function(val, selectNext) {