From f3c8b40414a4f268c5be2ebc56c28e27c07baf4c Mon Sep 17 00:00:00 2001 From: Guangcong Luo Date: Sat, 25 Mar 2017 14:05:07 -0400 Subject: [PATCH] Don't change Spe IVs when Trick Room is selected --- js/client-teambuilder.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/client-teambuilder.js b/js/client-teambuilder.js index ae726af24..2c77668ad 100644 --- a/js/client-teambuilder.js +++ b/js/client-teambuilder.js @@ -2671,7 +2671,7 @@ } } var resetSpeed = false; - if (moveName === 'Gyro Ball' || moveName === 'Trick Room') { + if (moveName === 'Gyro Ball') { resetSpeed = true; } this.chooseMove('', resetSpeed); @@ -2719,7 +2719,7 @@ this.curSet.happiness = 255; } else if (moveName === 'Frustration') { this.curSet.happiness = 0; - } else if (moveName === 'Gyro Ball' || moveName === 'Trick Room') { + } else if (moveName === 'Gyro Ball') { minSpe = true; } @@ -2739,7 +2739,7 @@ } else if (move.id === 'metronome' || move.id === 'assist' || move.id === 'copycat' || move.id === 'mefirst') { minAtk = false; } - if (minSpe === false && (moveName === 'Gyro Ball' || moveName === 'Trick Room')) { + if (minSpe === false && moveName === 'Gyro Ball') { minSpe = undefined; } }