summaryrefslogtreecommitdiff
path: root/src/field/menu_helpers.c
diff options
context:
space:
mode:
authorCameron Hall <camthesaxman@users.noreply.github.com>2017-11-27 14:07:31 -0600
committerGitHub <noreply@github.com>2017-11-27 14:07:31 -0600
commit5498eaf94849bbc7b56d8c280862b61ecefa0643 (patch)
tree518b0b12e669c09c31a33c7a071f10bcd4ea76b9 /src/field/menu_helpers.c
parent66f2ac4ba38cb32eb210545536a487969b593d10 (diff)
parent5d74d11d3e3047b4b53153365325db9e6999c627 (diff)
Merge pull request #477 from camthesaxman/constant_headers
Use common headers for constants in assembly and C
Diffstat (limited to 'src/field/menu_helpers.c')
-rw-r--r--src/field/menu_helpers.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/field/menu_helpers.c b/src/field/menu_helpers.c
index 8e13e5546..e3ef0c790 100644
--- a/src/field/menu_helpers.c
+++ b/src/field/menu_helpers.c
@@ -1,14 +1,14 @@
#include "global.h"
#include "item_menu.h"
-#include "items.h"
+#include "constants/items.h"
#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"
-#include "songs.h"
+#include "constants/songs.h"
#include "sound.h"
#include "sprite.h"
#include "task.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(TRADE_CENTER) && gSaveBlock1.location.mapNum == MAP_NUM(TRADE_CENTER)))
{
return TRUE;
}