summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/constants/metatile_labels.h1
-rw-r--r--include/global.fieldmap.h5
2 files changed, 6 insertions, 0 deletions
diff --git a/include/constants/metatile_labels.h b/include/constants/metatile_labels.h
index b4ee3eacf..519120082 100644
--- a/include/constants/metatile_labels.h
+++ b/include/constants/metatile_labels.h
@@ -352,6 +352,7 @@
#define METATILE_InsideShip_IntactDoor_Bottom_Interior 0x297
// gTileset_BattlePike
+#define METATILE_BattlePike_CurtainFrames_Start 0x201
#define METATILE_BattlePike_Curtain_Stage0_Tile0 0x24A
#define METATILE_BattlePike_Curtain_Stage0_Tile1 0x251
#define METATILE_BattlePike_Curtain_Stage0_Tile2 0x252
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;