summaryrefslogtreecommitdiff
path: root/include/global.fieldmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r--include/global.fieldmap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h
index 3aa44ec9a..b5a86e311 100644
--- a/include/global.fieldmap.h
+++ b/include/global.fieldmap.h
@@ -8,6 +8,8 @@
#define METATILE_COLLISION_SHIFT 10
#define METATILE_ELEVATION_MASK 0xF000
+#define METATILE_ID(tileset, name) (METATILE_##tileset##_##name)
+
enum
{
CONNECTION_SOUTH = 1,