diff options
Diffstat (limited to 'src/link.c')
-rw-r--r-- | src/link.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/src/link.c b/src/link.c index cb46a50ff..75e6b9927 100644 --- a/src/link.c +++ b/src/link.c @@ -1,12 +1,9 @@ #include "global.h" -#include "palette.h" -#include "bg.h" +#include "gflib.h" #include "m4a.h" #include "scanline_effect.h" #include "bg_regs.h" -#include "gpu_regs.h" #include "decompress.h" -#include "malloc.h" #include "save.h" #include "battle.h" #include "quest_log.h" @@ -15,16 +12,12 @@ #include "random.h" #include "task.h" #include "event_data.h" -#include "string_util.h" #include "item_menu.h" #include "trade.h" -#include "text.h" -#include "sound.h" #include "menu.h" #include "overworld.h" #include "new_menu_helpers.h" #include "link.h" -#include "window.h" #include "graphics.h" #include "strings.h" #include "help_system.h" @@ -229,7 +222,7 @@ static const u8 sLinkErrorTextColor[] = { 0x00, 0x01, 0x02 }; bool8 IsWirelessAdapterConnected(void) { - if (gQuestLogState == 2 || gQuestLogState == 3) + if (QL_IS_PLAYBACK_STATE) return FALSE; SetWirelessCommType1(); |