diff options
author | Diegoisawesome <diego@domoreaweso.me> | 2019-02-05 14:35:42 -0600 |
---|---|---|
committer | Diegoisawesome <diego@domoreaweso.me> | 2019-02-05 14:35:42 -0600 |
commit | bc4cc9f78a705636228c39311bb6e3c393f090d3 (patch) | |
tree | d2b59408df53676ffb65e217cc1a62cbcba05f97 /src/decoration.c | |
parent | 37e86d75788f4ed364db19aabce11e6e054a1084 (diff) | |
parent | b0ee1009759ed1c46da81b1fb8410e2b75e42bb2 (diff) |
Merge branch 'master' of github.com:pret/pokeemerald
Diffstat (limited to 'src/decoration.c')
-rw-r--r-- | src/decoration.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/decoration.c b/src/decoration.c index 36d9ba5f9..2ac49b98c 100644 --- a/src/decoration.c +++ b/src/decoration.c @@ -526,14 +526,14 @@ void sub_8126B80(u8 taskId) PlaySE(SE_SELECT); sSecretBasePCMenuActions[sSecretBasePCMenuCursorPos].func.void_u8(taskId); break; - case -2: + case MENU_NOTHING_CHOSEN: sSecretBasePCMenuCursorPos = Menu_GetCursorPos(); if ((s8)menuPos != sSecretBasePCMenuCursorPos) { sub_8126C08(); } break; - case -1: + case MENU_B_PRESSED: PlaySE(SE_SELECT); SecretBasePC_Cancel(taskId); break; @@ -713,12 +713,12 @@ void sub_8127088(u8 taskId) input = Menu_ProcessInput(); switch (input) { - case -1: + case MENU_B_PRESSED: case 8: PlaySE(SE_SELECT); sub_812719C(taskId); break; - case -2: + case MENU_NOTHING_CHOSEN: break; default: PlaySE(SE_SELECT); @@ -933,13 +933,13 @@ void sub_812764C(u8 taskId) data = gTasks[taskId].data; if (!gPaletteFade.active) { - input = ListMenuHandleInputGetItemId(data[13]); + input = ListMenu_ProcessInput(data[13]); ListMenuGetScrollAndRow(data[13], &sSecretBasePCSelectDecorPageNo, &sSecretBasePCSelectDecorLineNo); switch (input) { - case -1: + case LIST_NOTHING_CHOSEN: break; - case -2: + case LIST_B_PRESSED: PlaySE(SE_SELECT); SecretBasePC_SelectedDecorActions[data[11]][1](taskId); break; |