Update battle_script_commands.c

This commit is contained in:
DizzyEggg 2018-08-11 23:00:16 +02:00 committed by GitHub
parent 85ebd76cd0
commit 7f167ca9f4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)