summaryrefslogtreecommitdiff
path: root/src/battle_gfx_sfx_util.c
diff options
context:
space:
mode:
authorjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-10 08:34:28 +0800
committerjiangzhengwenjz <jiangzhengwenjzw@qq.com>2019-10-10 08:39:00 +0800
commit89a377cdd3a24956ff549b0fa69a5a1cc26fe128 (patch)
treea5279d2d7224d04f5e39b213d4c18deda54a438e /src/battle_gfx_sfx_util.c
parent7b28a3ecfd7c6a7ae73283b298b2f04bbbcc72f0 (diff)
parentc61603fb3812011981e22478bce93aba8b7ec183 (diff)
Merge branch 'master' into battle
Diffstat (limited to 'src/battle_gfx_sfx_util.c')
-rw-r--r--src/battle_gfx_sfx_util.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/battle_gfx_sfx_util.c b/src/battle_gfx_sfx_util.c
index a47baea99..d2e728d0c 100644
--- a/src/battle_gfx_sfx_util.c
+++ b/src/battle_gfx_sfx_util.c
@@ -820,7 +820,7 @@ void HandleLowHpMusicChange(struct Pokemon *mon, u8 battlerId)
if (!gBattleSpritesDataPtr->battlerData[battlerId].lowHpSong)
{
if (!gBattleSpritesDataPtr->battlerData[battlerId ^ BIT_FLANK].lowHpSong)
- PlaySE(SE_T_OOAME);
+ PlaySE(SE_HINSI);
gBattleSpritesDataPtr->battlerData[battlerId].lowHpSong = 1;
}
}
@@ -828,9 +828,9 @@ void HandleLowHpMusicChange(struct Pokemon *mon, u8 battlerId)
{
gBattleSpritesDataPtr->battlerData[battlerId].lowHpSong = 0;
if (!IsDoubleBattle())
- m4aSongNumStop(SE_T_OOAME);
+ m4aSongNumStop(SE_HINSI);
else if (IsDoubleBattle() && !gBattleSpritesDataPtr->battlerData[battlerId ^ BIT_FLANK].lowHpSong)
- m4aSongNumStop(SE_T_OOAME);
+ m4aSongNumStop(SE_HINSI);
}
}
@@ -841,7 +841,7 @@ void BattleStopLowHpSound(void)
gBattleSpritesDataPtr->battlerData[playerBattler].lowHpSong = 0;
if (IsDoubleBattle())
gBattleSpritesDataPtr->battlerData[playerBattler ^ BIT_FLANK].lowHpSong = 0;
- m4aSongNumStop(SE_T_OOAME);
+ m4aSongNumStop(SE_HINSI);
}
// not used