summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r--src/battle_gfx_sfx_util.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c
index 55f3876af..a47baea99 100644
--- a/src/battle_gfx_sfx_util.c
+++ b/src/battle_gfx_sfx_util.c
@@ -220,13 +220,13 @@ bool8 TryHandleLaunchBattleTableAnimation(u8 activeBattler, u8 atkBattler, u8 de
return TRUE;
}
else if (gBattleSpritesDataPtr->battlerData[activeBattler].behindSubstitute
- && !ShouldAnimBeDoneRegardlessOfSubsitute(tableId))
+ && !ShouldAnimBeDoneRegardlessOfSubsitute(tableId))
{
return TRUE;
}
else if (gBattleSpritesDataPtr->battlerData[activeBattler].behindSubstitute
- && tableId == B_ANIM_SUBSTITUTE_FADE
- && gSprites[gBattlerSpriteIds[activeBattler]].invisible)
+ && tableId == B_ANIM_SUBSTITUTE_FADE
+ && gSprites[gBattlerSpriteIds[activeBattler]].invisible)
{
LoadBattleMonGfxAndAnimate(activeBattler, TRUE, gBattlerSpriteIds[activeBattler]);
ClearBehindSubstituteBit(activeBattler);