summaryrefslogtreecommitdiff
path: root/src/mauville_old_man.c
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2019-02-02 11:04:38 +0100
committerDizzyEggg <jajkodizzy@wp.pl>2019-02-02 11:04:38 +0100
commit23b240ab658e0be6b114c36864fea19ff23eb61b (patch)
tree2fca842f08f3b701f6f1aa1135d8cdfcea56719b /src/mauville_old_man.c
parent9d8a43a1fb5d83680bd8509fa3fbc3b491b8bbf8 (diff)
Fix Menu and List Menu input defines
Diffstat (limited to 'src/mauville_old_man.c')
-rw-r--r--src/mauville_old_man.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mauville_old_man.c b/src/mauville_old_man.c
index 1b4a25217..fd8e74c0a 100644
--- a/src/mauville_old_man.c
+++ b/src/mauville_old_man.c
@@ -1182,9 +1182,9 @@ static void Task_StoryListMenu(u8 taskId) // Task_StoryListMenu
break;
case 1:
selection = Menu_ProcessInput();
- if (selection == -2)
+ if (selection == MENU_NOTHING_CHOSEN)
break;
- if (selection == -1 || selection == GetFreeStorySlot())
+ if (selection == MENU_B_PRESSED || selection == GetFreeStorySlot())
{
gSpecialVar_Result = 0;
}