diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2018-08-11 16:32:03 -0700 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2018-08-11 16:32:03 -0700 |
commit | cf9518f2374dae7aa30fe8694e2c01d980efda3f (patch) | |
tree | b3cfd813c4b9af125612b9a79f99292cb28d0591 /src/battle_script_commands.c | |
parent | 57b3393192106f628bde9032308917f7fc3f39cf (diff) | |
parent | 94eef0bfa5b67a3ef3061b151e6ff113b45adc2e (diff) |
Merge branch 'master' of github.com:pret/pokeemerald
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r-- | src/battle_script_commands.c | 2 |
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) |