Update battle_script_commands.c
This commit is contained in:
@@ -7230,7 +7230,7 @@ static u8 ChangeStatBuffs(s8 statValue, u8 statId, u8 flags, const u8 *BS_ptr)
|
|||||||
|
|
||||||
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId)
|
PREPARE_STAT_BUFFER(gBattleTextBuff1, statId)
|
||||||
|
|
||||||
if ((statValue << 0x18) < 0) // stat decrease
|
if (statValue <= -1) // Stat decrease.
|
||||||
{
|
{
|
||||||
if (gSideTimers[GET_BATTLER_SIDE(gActiveBattler)].mistTimer
|
if (gSideTimers[GET_BATTLER_SIDE(gActiveBattler)].mistTimer
|
||||||
&& !certain && gCurrentMove != MOVE_CURSE)
|
&& !certain && gCurrentMove != MOVE_CURSE)
|
||||||
|
|||||||
Reference in New Issue
Block a user