Merge pull request #291 from DizzyEggg/patch-3

Update battle_script_commands.c
This commit is contained in:
Diegoisawesome 2018-08-11 16:24:34 -07:00 committed by GitHub
commit 57ce548020
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)