summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-08-12 12:11:35 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-08-12 12:11:35 +0200
commit957dcd01b382fb74e9b1967851ef3cfb6ca983eb (patch)
tree5eb81cbb67be2303952d85da2ca5f9b2ec61c044 /src/battle_script_commands.c
parente787d5b60230550a4a8f1f3251b90e141bfcc5ff (diff)
parent40cf61307b411ea4de858902c7081fde8ef71ea5 (diff)
merge with master
Diffstat (limited to 'src/battle_script_commands.c')
-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)