Address review comments

This commit is contained in:
PikalaxALT
2020-01-25 21:00:51 -05:00
parent 0ebdbcfd5b
commit 52fbc43d73
7 changed files with 74 additions and 41 deletions
+3 -3
View File
@@ -405,7 +405,7 @@ static void ChatEntryRoutine_HandleInput(void)
static void ChatEntryRoutine_Switch(void)
{
s16 input;
int shouldSwitchPages;
bool32 shouldSwitchPages;
switch (sWork->routineState)
{
@@ -423,9 +423,9 @@ static void ChatEntryRoutine_Switch(void)
{
default:
UnionRoomChat_StartDisplaySubtask(CHATDISPLAYROUTINE_HIDEKBSWAPMENU, 0);
shouldSwitchPages = 1;
shouldSwitchPages = TRUE;
if (sWork->currentPage == input || input > UNION_ROOM_KB_PAGE_COUNT)
shouldSwitchPages = 0;
shouldSwitchPages = FALSE;
break;
case MENU_NOTHING_CHOSEN:
if (JOY_NEW(SELECT_BUTTON))