Rename song constants using Japanese sound test menu

This commit is contained in:
PikalaxALT
2019-10-09 20:02:59 -04:00
parent 734cada66a
commit 855c052be0
530 changed files with 1293 additions and 1405 deletions
+4 -4
View File
@@ -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