summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-25 21:55:01 -0400
committerGriffinR <griffin.richards@comcast.net>2019-10-31 03:25:56 -0400
commite01ec84837c018bd3bfde58d7987d32733cc8bd6 (patch)
treed77ea1ff907db132b393b02e089a365d00907ebe /src/battle_gfx_sfx_util.c
parent6db014cc32d28a64499af7d605be3a062560d5e0 (diff)
Document party_menu second pass
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r--src/battle_gfx_sfx_util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c
index a70a9c34b..c29bf7526 100644
--- a/src/battle_gfx_sfx_util.c
+++ b/src/battle_gfx_sfx_util.c
@@ -1061,8 +1061,8 @@ void HandleBattleLowHpMusicChange(void)
{
u8 playerBattler1 = GetBattlerAtPosition(B_POSITION_PLAYER_LEFT);
u8 playerBattler2 = GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT);
- u8 battler1PartyId = GetBattlerPartyId(gBattlerPartyIndexes[playerBattler1]);
- u8 battler2PartyId = GetBattlerPartyId(gBattlerPartyIndexes[playerBattler2]);
+ u8 battler1PartyId = GetPartyIdFromBattlePartyId(gBattlerPartyIndexes[playerBattler1]);
+ u8 battler2PartyId = GetPartyIdFromBattlePartyId(gBattlerPartyIndexes[playerBattler2]);
if (GetMonData(&gPlayerParty[battler1PartyId], MON_DATA_HP) != 0)
HandleLowHpMusicChange(&gPlayerParty[battler1PartyId], playerBattler1);