summaryrefslogtreecommitdiff
path: root/src/pokemon_animation.c
diff options
context:
space:
mode:
authorgolem galvanize <golemgalvanize@github.com>2018-02-07 14:14:08 -0500
committergolem galvanize <golemgalvanize@github.com>2018-02-07 14:14:08 -0500
commitb67afb9490ce7fce8c7d478e9b436c5b849fb4ad (patch)
treeb07bb0bb43aeba2c7cfef97213578fb815ccb266 /src/pokemon_animation.c
parent5f7709dc8bf1bf4eb75d9481e285980f347d5dd7 (diff)
parent802b505d7bc4f60e6dda62c9a2a4948b8ba765df (diff)
I hope this fixes the conflicts
Diffstat (limited to 'src/pokemon_animation.c')
-rw-r--r--src/pokemon_animation.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pokemon_animation.c b/src/pokemon_animation.c
index 2bd4e3ef9..02755fe40 100644
--- a/src/pokemon_animation.c
+++ b/src/pokemon_animation.c
@@ -16,7 +16,7 @@ struct UnkAnimStruct
s16 field_8;
};
-extern u16 gBattlePartyID[];
+extern u16 gBattlerPartyIndexes[];
// this file's functions
static void pokemonanimfunc_00(struct Sprite *sprite);
@@ -945,7 +945,7 @@ void LaunchAnimationTaskForBackSprite(struct Sprite *sprite, u8 backAnimSet)
gTasks[taskId].tPtrHI = (u32)(sprite);
bank = sprite->data[0];
- nature = GetNature(&gPlayerParty[gBattlePartyID[bank]]);
+ nature = GetNature(&gPlayerParty[gBattlerPartyIndexes[bank]]);
animId = 3 * backAnimSet + sBackAnimNatureModTable[nature];
gTasks[taskId].tAnimId = sBackAnimationIds[animId];