diff options
author | jiangzhengwenjz <jiangzhengwenjzw@qq.com> | 2019-11-24 03:03:29 +0800 |
---|---|---|
committer | Evan <eroelke@gmail.com> | 2019-12-04 14:54:50 -0700 |
commit | 1ffe7f78cb75b5e5f63bd803ad3fd47126a2e7c6 (patch) | |
tree | fb6ce6625c8df2b5ae4fadf5b5c67fd6f67864f5 /src/battle_gfx_sfx_util.c | |
parent | 98be2d1805920105f31baf633453ce39e968e018 (diff) |
party_menu fourth quarter
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r-- | src/battle_gfx_sfx_util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c index 55d413b3b..d7bccb298 100644 --- a/src/battle_gfx_sfx_util.c +++ b/src/battle_gfx_sfx_util.c @@ -859,8 +859,8 @@ void HandleBattleLowHpMusicChange(void) { u8 playerBattler1 = GetBattlerAtPosition(B_POSITION_PLAYER_LEFT); u8 playerBattler2 = GetBattlerAtPosition(B_POSITION_PLAYER_RIGHT); - u8 battler1PartyId = pokemon_order_func(gBattlerPartyIndexes[playerBattler1]); - u8 battler2PartyId = pokemon_order_func(gBattlerPartyIndexes[playerBattler2]); + u8 battler1PartyId = GetPartyIdFromBattlePartyId(gBattlerPartyIndexes[playerBattler1]); + u8 battler2PartyId = GetPartyIdFromBattlePartyId(gBattlerPartyIndexes[playerBattler2]); if (GetMonData(&gPlayerParty[battler1PartyId], MON_DATA_HP) != 0) HandleLowHpMusicChange(&gPlayerParty[battler1PartyId], playerBattler1); |