summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2017-08-26 14:23:43 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2017-08-26 14:23:43 -0400
commita2087a9caf534be0889cf54a8202f3a88ccc09ea (patch)
tree081d3bbedf4150a218397c582642c6d471e58763
parent989215ace2d94d9b11462c8db9e4acebc76ca5b1 (diff)
use PlaySE constants
-rw-r--r--src/shop.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/shop.c b/src/shop.c
index 8bca7adc9..fa9d8c30d 100644
--- a/src/shop.c
+++ b/src/shop.c
@@ -128,7 +128,7 @@ void sub_80B2E38(u8 var)
{
if (gMartInfo.cursor) // can move cursor up?
{
- PlaySE(0x5);
+ PlaySE(SE_SELECT);
gMartInfo.cursor = MoveMenuCursor(-1);
}
}
@@ -136,13 +136,13 @@ void sub_80B2E38(u8 var)
{
if (gMartInfo.cursor != gMartInfo.numChoices) // can move cursor down?
{
- PlaySE(0x5);
+ PlaySE(SE_SELECT);
gMartInfo.cursor = MoveMenuCursor(1);
}
}
else if (gMain.newKeys & A_BUTTON)
{
- PlaySE(0x5);
+ PlaySE(SE_SELECT);
if (gMartInfo.martType == MART_TYPE_0)
{
gUnknown_083CC6D0[gUnknown_083CC6E8[gMartInfo.cursor]].func(local);
@@ -154,7 +154,7 @@ void sub_80B2E38(u8 var)
}
else if (gMain.newKeys & B_BUTTON)
{
- PlaySE(0x5);
+ PlaySE(SE_SELECT);
HandleShopMenuQuit(local);
}
}
@@ -649,7 +649,7 @@ void sub_80B3B80(u8 taskId)
{
IncrementGameStat(0x26);
sub_80B79E0(&gSaveBlock1.money, gMartTotalCost);
- PlaySE(0x5F);
+ PlaySE(SE_REGI);
sub_80B7BEC(gSaveBlock1.money, 0, 0);
gTasks[taskId].func = sub_80B3AEC;
}