Rename song constants using Japanese sound test menu
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user