summaryrefslogtreecommitdiff
path: root/src/battle/anim/sfx.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/battle/anim/sfx.c')
-rw-r--r--src/battle/anim/sfx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle/anim/sfx.c b/src/battle/anim/sfx.c
index afe7c90b6..6d47f0b46 100644
--- a/src/battle/anim/sfx.c
+++ b/src/battle/anim/sfx.c
@@ -175,7 +175,7 @@ void sub_812B18C(u8 taskId)
}
}
- if (GetBankSide(bank))
+ if (GetBattlerSide(bank))
species = GetMonData(&gEnemyParty[gBattlerPartyIndexes[bank]], 0xB);
else
species = GetMonData(&gPlayerParty[gBattlerPartyIndexes[bank]], 0xB);