diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2021-07-05 13:54:43 -0400 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2021-07-05 13:54:43 -0400 |
commit | 0f538102d9f1327cb699261bde969c89e02b3503 (patch) | |
tree | 295fbe5bb9e65470f6b1b20647907fca05034630 /src/tv.c | |
parent | 10886a586b75eb80a68f341bcc61b7c0343ddfe2 (diff) |
Add local id constants for C
Diffstat (limited to 'src/tv.c')
-rw-r--r-- | src/tv.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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); } |