summaryrefslogtreecommitdiff
path: root/src/pokemon_animation.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2018-02-06 13:48:02 -0600
committercamthesaxman <cameronghall@cox.net>2018-02-06 13:48:02 -0600
commit6a4967689e62e6a3276bbe2372e8066cdfacb6fd (patch)
tree7cf01bce7bc5860484717aca08025ea79d78a5f9 /src/pokemon_animation.c
parentf78fa6aabfe3c7301eab7250ee2b152feec90b0e (diff)
more renaming
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];