pokemon_summary_screen.c, part 2.

Also fix prototype of MenuHelpers_CallLinkSomething.
This commit is contained in:
luckytyphlosion
2020-06-14 19:04:24 -04:00
parent bc143a695d
commit 7cabc3d1a5
10 changed files with 289 additions and 558 deletions
+4 -2
View File
@@ -3,7 +3,6 @@
#include "scanline_effect.h"
#include "text_window_graphics.h"
#include "menu.h"
#include "menu_helpers.h"
#include "task.h"
#include "overworld.h"
#include "help_system.h"
@@ -12,6 +11,9 @@
#include "field_fadetransition.h"
#include "gba/m4a_internal.h"
// can't include the one in menu_helpers.h since Task_OptionMenu needs bool32 for matching
bool32 MenuHelpers_CallLinkSomething(void);
// Menu items
enum
{
@@ -369,7 +371,7 @@ static void Task_OptionMenu(u8 taskId)
sOptionMenuPtr->loadState++;
break;
case 2:
if (MenuHelpers_CallLinkSomething() == TRUE)
if (((bool32)MenuHelpers_CallLinkSomething()) == TRUE)
break;
switch (OptionMenu_ProcessInput())
{