pokemon_summary_screen.c, part 2.
Also fix prototype of MenuHelpers_CallLinkSomething.
This commit is contained in:
+4
-2
@@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user