summaryrefslogtreecommitdiff
path: root/src/tv.c
diff options
context:
space:
mode:
authorGriffinR <griffin.g.richards@gmail.com>2021-07-05 13:54:43 -0400
committerGriffinR <griffin.g.richards@gmail.com>2021-07-05 13:54:43 -0400
commit0f538102d9f1327cb699261bde969c89e02b3503 (patch)
tree295fbe5bb9e65470f6b1b20647907fca05034630 /src/tv.c
parent10886a586b75eb80a68f341bcc61b7c0343ddfe2 (diff)
Add local id constants for C
Diffstat (limited to 'src/tv.c')
-rw-r--r--src/tv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tv.c b/src/tv.c
index 0466ee713..95baa0d0e 100644
--- a/src/tv.c
+++ b/src/tv.c
@@ -36,6 +36,7 @@
#include "data.h"
#include "constants/battle_frontier.h"
#include "constants/contest.h"
+#include "constants/event_objects.h"
#include "constants/items.h"
#include "constants/layouts.h"
#include "constants/lilycove_lady.h"
@@ -3586,7 +3587,7 @@ void GetMomOrDadStringForTVMessage(void)
void HideBattleTowerReporter(void)
{
VarSet(VAR_BRAVO_TRAINER_BATTLE_TOWER_ON, 0);
- RemoveObjectEventByLocalIdAndMap(5, gSaveBlock1Ptr->location.mapNum, gSaveBlock1Ptr->location.mapGroup);
+ RemoveObjectEventByLocalIdAndMap(LOCALID_BATTLE_TOWER_LOBBY_REPORTER, gSaveBlock1Ptr->location.mapNum, gSaveBlock1Ptr->location.mapGroup);
FlagSet(FLAG_HIDE_BATTLE_TOWER_REPORTER);
}