summaryrefslogtreecommitdiff
path: root/src/field/menu_helpers.c
diff options
context:
space:
mode:
authorcamthesaxman <cameronghall@cox.net>2017-11-26 16:00:01 -0600
committercamthesaxman <cameronghall@cox.net>2017-11-26 16:00:01 -0600
commitb80d40fb6977e58d5b001e063314c4e4faac5a02 (patch)
tree3223d59e2d01822d6c966d6964476c053f143af5 /src/field/menu_helpers.c
parent026e017a16df44806b95435403a8e3b8dbe78084 (diff)
map constants
Diffstat (limited to 'src/field/menu_helpers.c')
-rw-r--r--src/field/menu_helpers.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/field/menu_helpers.c b/src/field/menu_helpers.c
index 4d5c6478c..b9d694bec 100644
--- a/src/field/menu_helpers.c
+++ b/src/field/menu_helpers.c
@@ -4,7 +4,7 @@
#include "link.h"
#include "mail_data.h"
#include "main.h"
-#include "map_constants.h"
+#include "constants/maps.h"
#include "menu.h"
#include "menu_helpers.h"
#include "overworld.h"
@@ -261,7 +261,7 @@ bool8 sub_80F92F4(u16 itemId)
return TRUE;
}
- if (!(gSaveBlock1.location.mapGroup == MAP_GROUP_TRADE_CENTER && gSaveBlock1.location.mapNum == MAP_ID_TRADE_CENTER))
+ if (!(gSaveBlock1.location.mapGroup == MAP_GROUP(MAP_TRADE_CENTER) && gSaveBlock1.location.mapNum == MAP_NUM(MAP_TRADE_CENTER)))
{
return TRUE;
}