summaryrefslogtreecommitdiff
path: root/src/battle_script_commands.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-26 11:53:00 -0400
committerGriffinR <griffin.richards@comcast.net>2019-10-26 11:53:00 -0400
commit5fd44d1e74019fd07c342f36b3995a6d71fbaab9 (patch)
treeb4965ec8e6426e222b55369f4cbdcfb41e18232d /src/battle_script_commands.c
parent73b96fe145bf3498feb23373830ec3d7e3e2adba (diff)
Rename some STAT_CHANGE macros
Diffstat (limited to 'src/battle_script_commands.c')
-rw-r--r--src/battle_script_commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_script_commands.c b/src/battle_script_commands.c
index 118a16759..1ef046464 100644
--- a/src/battle_script_commands.c
+++ b/src/battle_script_commands.c
@@ -4393,7 +4393,7 @@ static void Cmd_playstatchangeanimation(void)
{
if (statsToCheck & 1)
{
- if (gBattlescriptCurrInstr[3] & STAT_CHANGE_IGNORE_ABILITY)
+ if (gBattlescriptCurrInstr[3] & STAT_CHANGE_CANT_PREVENT)
{
if (gBattleMons[gActiveBattler].statStages[currStat] > 0)
{
@@ -4452,7 +4452,7 @@ static void Cmd_playstatchangeanimation(void)
}
}
- if (gBattlescriptCurrInstr[3] & STAT_CHANGE_SKIP_NEXT_ANIM && changeableStatsCount < 2)
+ if (gBattlescriptCurrInstr[3] & STAT_CHANGE_MULTIPLE_STATS && changeableStatsCount < 2)
{
gBattlescriptCurrInstr += 4;
}
@@ -4460,7 +4460,7 @@ static void Cmd_playstatchangeanimation(void)
{
BtlController_EmitBattleAnimation(0, B_ANIM_STATS_CHANGE, statAnimId);
MarkBattlerForControllerExec(gActiveBattler);
- if (gBattlescriptCurrInstr[3] & STAT_CHANGE_SKIP_NEXT_ANIM && changeableStatsCount > 1)
+ if (gBattlescriptCurrInstr[3] & STAT_CHANGE_MULTIPLE_STATS && changeableStatsCount > 1)
gBattleScripting.statAnimPlayed = TRUE;
gBattlescriptCurrInstr += 4;
}