summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-06-30 14:22:09 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-06-30 14:22:09 +0200
commit5434db2fc6f4e7ebd8cb6bc76115d5c3b6b5807e (patch)
tree84300d69f0ad170738d06187b926f606c44deaf2 /src
parent0fe3e612ebd3e7f49f930f7ae40aa9d9267862fa (diff)
use region map constants
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)));
}