summaryrefslogtreecommitdiff
path: root/src/menu.c
diff options
context:
space:
mode:
authorNieDzejkob <niedzejkob@gmail.com>2017-05-21 19:46:04 +0200
committerNieDzejkob <niedzejkob@gmail.com>2017-05-21 20:21:00 +0200
commit619da0f339c4d529de919d0b73b747fa16127d37 (patch)
tree579962dc4e894db2f8e27e0a98f82c65f2baacee /src/menu.c
parent5847cceee4656ca5ffd08eb57d90e2cccdaaea60 (diff)
PlaySE renaming after rebase
Diffstat (limited to 'src/menu.c')
-rw-r--r--src/menu.c24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/menu.c b/src/menu.c
index 84093b9b7..ba98ff057 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -52,7 +52,7 @@ const struct MenuAction gMenuYesNoItems[] =
void CloseMenu(void)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MenuZeroFillScreen();
sub_8064E2C();
ScriptContext2_Disable();
@@ -270,7 +270,7 @@ s8 ProcessMenuInput(void)
{
if (gMain.newKeys & A_BUTTON)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
if (gMenu.menu_field_7)
sub_8072DEC();
return gMenu.cursorPos;
@@ -285,13 +285,13 @@ s8 ProcessMenuInput(void)
if (gMain.newKeys & DPAD_UP)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MoveMenuCursor(-1);
return -2;
}
else if (gMain.newKeys & DPAD_DOWN)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MoveMenuCursor(1);
return -2;
}
@@ -305,7 +305,7 @@ s8 ProcessMenuInputNoWrap(void)
if (gMain.newKeys & A_BUTTON)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
if (gMenu.menu_field_7)
sub_8072DEC();
return gMenu.cursorPos;
@@ -321,13 +321,13 @@ s8 ProcessMenuInputNoWrap(void)
if (gMain.newKeys & DPAD_UP)
{
if (cursorPos != MoveMenuCursorNoWrap(-1))
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
return -2;
}
else if (gMain.newKeys & DPAD_DOWN)
{
if (cursorPos != MoveMenuCursorNoWrap(1))
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
return -2;
}
@@ -520,7 +520,7 @@ s8 sub_80727CC(void)
{
if (gMenu.menu_field_7)
sub_8072DEC();
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
return GetMenuCursorPos();
}
@@ -533,25 +533,25 @@ s8 sub_80727CC(void)
if (gMain.newKeys & DPAD_UP)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MoveMenuCursor4(-gMenu.width);
return -2;
}
else if (gMain.newKeys & DPAD_DOWN)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MoveMenuCursor4(gMenu.width);
return -2;
}
else if (gMain.newKeys & DPAD_LEFT)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MoveMenuCursor4(-1);
return -2;
}
else if (gMain.newKeys & DPAD_RIGHT)
{
- PlaySoundEffect(SE_SELECT);
+ PlaySE(SE_SELECT);
MoveMenuCursor4(1);
return -2;
}