summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/battle_tent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/battle_tent.c b/src/battle_tent.c
index 85640e8e5..64eba1658 100644
--- a/src/battle_tent.c
+++ b/src/battle_tent.c
@@ -9,6 +9,7 @@
#include "random.h"
#include "item.h"
#include "constants/items.h"
+#include "constants/region_map_sections.h"
// this file's functions
void sub_81B99D4(void);
@@ -262,6 +263,6 @@ void sub_81B9E88(void)
bool8 sub_81B9E94(void)
{
- return (gMapHeader.regionMapSectionId == 8
+ return (gMapHeader.regionMapSectionId == MAPSEC_SLATEPORT_CITY
&& ((gMapHeader.mapDataId == 385) | (gMapHeader.mapDataId == 386)));
}