summaryrefslogtreecommitdiff
path: root/src/battle_controller_player.c
diff options
context:
space:
mode:
authorPikalaxALT <PikalaxALT@users.noreply.github.com>2019-10-09 20:33:28 -0400
committerGitHub <noreply@github.com>2019-10-09 20:33:28 -0400
commitc61603fb3812011981e22478bce93aba8b7ec183 (patch)
tree0bcf628e1f3615159cbae3e5c638825544699182 /src/battle_controller_player.c
parent77a6ee507fdeef8d6a3b8146c70df107e124b0b5 (diff)
parentf3bd7f06c9f260597575f60af8daf8985ce80fe1 (diff)
Merge pull request #113 from PikalaxALT/main_menu
Main menu and Song Constants
Diffstat (limited to 'src/battle_controller_player.c')
-rw-r--r--src/battle_controller_player.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/battle_controller_player.c b/src/battle_controller_player.c
index b0cd92c2e..0d827c8db 100644
--- a/src/battle_controller_player.c
+++ b/src/battle_controller_player.c
@@ -807,7 +807,7 @@ static void sub_802F610(void)
{
if (gReceivedRemoteLinkPlayers == 0)
{
- m4aSongNumStop(SE_T_OOAME);
+ m4aSongNumStop(SE_HINSI);
gMain.inBattle = 0;
gMain.callback1 = gPreBattleCallback1;
SetMainCallback2(sub_8011A1C);
@@ -816,7 +816,7 @@ static void sub_802F610(void)
}
else if (IsLinkTaskFinished())
{
- m4aSongNumStop(SE_T_OOAME);
+ m4aSongNumStop(SE_HINSI);
gMain.inBattle = 0;
gMain.callback1 = gPreBattleCallback1;
SetMainCallback2(sub_8011A1C);
@@ -838,7 +838,7 @@ void sub_802F6A8(void)
}
else
{
- m4aSongNumStop(SE_T_OOAME);
+ m4aSongNumStop(SE_HINSI);
gMain.inBattle = 0;
gMain.callback1 = gPreBattleCallback1;
SetMainCallback2(gMain.savedCallback);
@@ -1087,7 +1087,7 @@ static void Task_PrepareToGiveExpWithExpBar(u8 taskId)
exp -= currLvlExp;
expToNextLvl = gExperienceTables[gBaseStats[species].growthRate][level + 1] - currLvlExp;
SetBattleBarStruct(battlerId, gHealthboxSpriteIds[battlerId], expToNextLvl, exp, -gainedExp);
- PlaySE(SE_U);
+ PlaySE(SE_EXP);
gTasks[taskId].func = sub_80300F4;
}
@@ -1113,7 +1113,7 @@ static void sub_80300F4(u8 taskId)
u16 species;
s32 expOnNextLvl;
- m4aSongNumStop(SE_U);
+ m4aSongNumStop(SE_EXP);
level = GetMonData(&gPlayerParty[monId], MON_DATA_LEVEL);
currExp = GetMonData(&gPlayerParty[monId], MON_DATA_EXP);
species = GetMonData(&gPlayerParty[monId], MON_DATA_SPECIES);
@@ -1227,7 +1227,7 @@ static void sub_80303A8(u8 taskId)
++data[15];
break;
case 2:
- PlaySE(SE_T_KAMI2);
+ PlaySE(SE_REGI);
if (IsMonGettingExpSentOut())
sub_811E5B8(sprite->pos1.x + sprite->pos2.x,
sprite->pos1.y + sprite->pos2.y,