diff options
author | PikalaxALT <PikalaxALT@users.noreply.github.com> | 2019-09-05 09:06:31 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-05 09:06:31 -0400 |
commit | 1e1a4076f0e1378b4e3424513fa43533d773272c (patch) | |
tree | 53163abdfd81490e1e2aeef89d85a83336b5c4ff /src/battle_anim.c | |
parent | 5c7eac713423fc72e90965ce828fe3c969089ff1 (diff) | |
parent | eb0b73c14e662e2d682837a78c78c868697fc5e8 (diff) |
Merge pull request #798 from GriffinRichards/constants-baction
Use misc battle constants
Diffstat (limited to 'src/battle_anim.c')
-rw-r--r-- | src/battle_anim.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/battle_anim.c b/src/battle_anim.c index 3cac9f33e..ab1e5ed6a 100644 --- a/src/battle_anim.c +++ b/src/battle_anim.c @@ -1841,7 +1841,7 @@ void LaunchBattleAnimation(const u8 *const animsTable[], u16 tableId, bool8 isMo UpdateOamPriorityInAllHealthboxes(0); for (i = 0; i < MAX_BATTLERS_COUNT; i++) { - if (GetBattlerSide(i) != 0) + if (GetBattlerSide(i) != B_SIDE_PLAYER) gAnimBattlerSpecies[i] = GetMonData(&gEnemyParty[gBattlerPartyIndexes[i]], MON_DATA_SPECIES); else gAnimBattlerSpecies[i] = GetMonData(&gPlayerParty[gBattlerPartyIndexes[i]], MON_DATA_SPECIES); |