summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-27 23:40:52 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-08-28 14:57:16 +0800
commit2bd15329e07a23d3515dc1c9c9e5d8f75d3be429 (patch)
tree328cff8ee72211ef3566d2fcdb88d1fbc7c95387 /src/battle_gfx_sfx_util.c
parentb2343076db0cefc087f3941b6941dcba7b1e3364 (diff)
minor fixes
and remove unnecessary NONMATCHING
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);