summaryrefslogtreecommitdiff
path: root/src/start_menu.c
diff options
context:
space:
mode:
authorNieDzejkob <niedzejkob@gmail.com>2017-05-15 16:19:18 +0200
committerNieDzejkob <niedzejkob@gmail.com>2017-05-21 19:33:00 +0200
commitd0549706007b1a24ffd75ba40594e70dda3ee123 (patch)
treec93b4fd5a53b9897b0ce974d031069434885a622 /src/start_menu.c
parent2774cb1bae07fe079c7faf53f697ea78ac8e76d4 (diff)
Rename PlaySE to PlaySoundEffect - wide code is good code, daycare.c renames, match sub_80B92AC in record_mixing
Diffstat (limited to 'src/start_menu.c')
-rw-r--r--src/start_menu.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/start_menu.c b/src/start_menu.c
index 37d361c0b..4c3a0b6e1 100644
--- a/src/start_menu.c
+++ b/src/start_menu.c
@@ -315,17 +315,17 @@ static u8 StartMenu_InputProcessCallback(void)
{
if (gMain.newKeys & DPAD_UP)
{
- PlaySE(SE_SELECT);
+ PlaySoundEffect(SE_SELECT);
sStartMenuCursorPos = MoveMenuCursor(-1);
}
if (gMain.newKeys & DPAD_DOWN)
{
- PlaySE(SE_SELECT);
+ PlaySoundEffect(SE_SELECT);
sStartMenuCursorPos = MoveMenuCursor(1);
}
if (gMain.newKeys & A_BUTTON)
{
- PlaySE(SE_SELECT);
+ PlaySoundEffect(SE_SELECT);
if (sStartMenuItems[sCurrentStartMenuActions[sStartMenuCursorPos]].func == StartMenu_PokedexCallback)
{
if (GetNationalPokedexCount(0) == 0)
@@ -566,7 +566,7 @@ static bool8 SaveDialogCheckForTimeoutOrKeypress(void)
saveDialogTimer--;
if (gMain.heldKeys & A_BUTTON)
{
- PlaySE(SE_SELECT);
+ PlaySoundEffect(SE_SELECT);
return TRUE;
}
else if (saveDialogTimer == 0)
@@ -702,7 +702,7 @@ static u8 SaveDialogCB_SaveSuccess(void)
{
if (MenuUpdateWindowText())
{
- PlaySE(SE_SAVE);
+ PlaySoundEffect(SE_SAVE);
saveDialogCallback = SaveDialogCB_ReturnSuccess;
}
return SAVE_IN_PROGRESS;
@@ -723,7 +723,7 @@ static u8 SaveDialogCB_SaveError(void)
{
if (MenuUpdateWindowText())
{
- PlaySE(SE_BOO);
+ PlaySoundEffect(SE_BOO);
saveDialogCallback = SaveDialogCB_ReturnError;
}
return SAVE_IN_PROGRESS;