summaryrefslogtreecommitdiff
path: root/src/script_menu.c
diff options
context:
space:
mode:
authorDiegoisawesome <Diegoisawesome@users.noreply.github.com>2019-02-02 12:45:35 -0600
committerGitHub <noreply@github.com>2019-02-02 12:45:35 -0600
commit59807c0f2cde5fb3068157a4c2ca3c31510d39fd (patch)
tree69cf1487840da757b2aeb779bce9210a07384586 /src/script_menu.c
parente8952c2374e0b652ed8e44b461a1b08b2298d925 (diff)
parentea79f1c8f6803d69fad9b5cb64b4e9767b7c1903 (diff)
Merge pull request #536 from DizzyEggg/menu
Use Menu and List Menu input defines
Diffstat (limited to 'src/script_menu.c')
-rw-r--r--src/script_menu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/script_menu.c b/src/script_menu.c
index a4f4c6086..7180bfc60 100644
--- a/src/script_menu.c
+++ b/src/script_menu.c
@@ -1170,9 +1170,9 @@ static void Task_HandleMultichoiceInput(u8 taskId)
sub_80E2A94(tMultichoiceId);
}
- if (selection != -2)
+ if (selection != MENU_NOTHING_CHOSEN)
{
- if (selection == -1)
+ if (selection == MENU_B_PRESSED)
{
if (tIgnoreBPress)
return;