summaryrefslogtreecommitdiff
path: root/include/global.fieldmap.h
diff options
context:
space:
mode:
authorsphericalice <sphericalice@outlook.com>2021-10-25 18:03:14 +0100
committersphericalice <sphericalice@outlook.com>2021-10-25 18:03:14 +0100
commit120e75d275988c5d723ac827e141d4ea5195e461 (patch)
tree28b44eeb474efe606d3c4b3eef741f4e748f08e0 /include/global.fieldmap.h
parent3834cc2957b27c771c59027935b0b3a86a19b273 (diff)
Document the CloseBattlePikeCurtain special
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r--include/global.fieldmap.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h
index 41b8539ff..a1e752415 100644
--- a/include/global.fieldmap.h
+++ b/include/global.fieldmap.h
@@ -36,6 +36,11 @@ struct Tileset
/*0x14*/ TilesetCB callback;
};
+// Tilesets do not actually have s strict width.
+// This constant is simply used for the offset between rows of metatiles for
+// large tiles, such as the Battle Pike's curtain tile.
+#define TILESET_WIDTH 8
+
struct MapLayout
{
/*0x00*/ s32 width;