diff options
| author | GriffinR <griffin.g.richards@gmail.com> | 2021-10-25 16:10:45 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-25 16:10:45 -0400 |
| commit | 4f7f6c1082ff759967b42741050534dfbc175361 (patch) | |
| tree | 98609824e07f918f9c8161e0130a4e6ce11a6224 /include | |
| parent | 6dc3c9864c80557a81c080e0a5893d9d8765c635 (diff) | |
| parent | 7b5267c799579047ac012928024ce92918c541fe (diff) | |
Merge pull request #1526 from sphericalice/doc-curtain-special
Document the CloseBattlePikeCurtain special
Diffstat (limited to 'include')
| -rw-r--r-- | include/constants/metatile_labels.h | 1 | ||||
| -rw-r--r-- | include/global.fieldmap.h | 5 |
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..5d788ddf7 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -11,6 +11,11 @@ #define METATILE_ID(tileset, name) (METATILE_##tileset##_##name) +// Rows of metatiles do not actually have a strict width. +// This constant is used for calculations for finding the next row of metatiles +// for constructing large tiles, such as the Battle Pike's curtain tile. +#define METATILE_ROW_WIDTH 8 + enum { CONNECTION_INVALID = -1, |
