summaryrefslogtreecommitdiff
path: root/src/tv.c
diff options
context:
space:
mode:
authorDiegoisawesome <diego@domoreaweso.me>2017-12-26 21:20:29 -0600
committerDiegoisawesome <diego@domoreaweso.me>2017-12-26 21:20:29 -0600
commitf9a9391ff38fb78636efebbfd1da4c05b93c6026 (patch)
treeeefb16d8885623c4927018ece1649c972037d5dd /src/tv.c
parentba130d469da1ea9cc98de6ace3732e50947dad56 (diff)
Split/extract/port landmark
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/tv.c b/src/tv.c
index 205adbf4d..1621a9934 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -1,5 +1,3 @@
-
-// Includes
#include "global.h"
#include "rtc.h"
#include "overworld.h"
@@ -34,6 +32,7 @@
#include "naming_screen.h"
#include "malloc.h"
#include "region_map.h"
+#include "region_map_sections.h"
#include "decoration.h"
#include "secret_base.h"
#include "tv.h"
@@ -6504,7 +6503,7 @@ void DoTVShowTodaysRivalTrainer(void)
break;
case 1:
TV_PrintIntToStringVar(0, show->rivalTrainer.badgeCount);
- if (FlagGet(CODE_FLAGS + 0x48))
+ if (FlagGet(FLAG_LANDMARK_BATTLE_FRONTIER))
{
if (show->rivalTrainer.nSilverSymbols || show->rivalTrainer.nGoldSymbols)
{
@@ -6521,7 +6520,7 @@ void DoTVShowTodaysRivalTrainer(void)
}
break;
case 2:
- if (FlagGet(CODE_FLAGS + 0x48))
+ if (FlagGet(FLAG_LANDMARK_BATTLE_FRONTIER))
{
if (show->rivalTrainer.nSilverSymbols || show->rivalTrainer.nGoldSymbols)
{