summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2018-08-11 16:24:34 -0700
committerGitHub <noreply@github.com>2018-08-11 16:24:34 -0700
commit57ce54802023163793d7cc6a46d4acfddef9c606 (patch)
tree4deddabdd55aef504f742dbba737db2c396327e2 /src
parent85ebd76cd03e1ee84f182585060b3a79b8653e85 (diff)
parent7f167ca9f49c258e4c97e25430e2619a2ddd490f (diff)
Merge pull request #291 from DizzyEggg/patch-3
Update battle_script_commands.c
Diffstat (limited to 'src')
-rw-r--r--src/battle_script_commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 5c0b78240..7f5a4fb48 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -7230,7 +7230,7 @@ static u8 ChangeStatBuffs(s8 statValue, u8 statId, u8 flags, const u8 *BS_ptr)
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId)
- if ((statValue << 0x18) < 0) // stat decrease
+ if (statValue <= -1) // Stat decrease.
{
if (gSideTimers[GET_BATTLER_SIDE(gActiveBattler)].mistTimer
&& !certain && gCurrentMove != MOVE_CURSE)