mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Don't change Spe IVs when Trick Room is selected
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user