From 4abad1211c302f1dd3694d3169820840cbec7b88 Mon Sep 17 00:00:00 2001 From: Marcus Huderle Date: Wed, 19 Sep 2018 17:56:32 -0500 Subject: Add defines for tile, metatile, and palette count --- include/fieldmap.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'include/fieldmap.h') diff --git a/include/fieldmap.h b/include/fieldmap.h index e77342b72..cc2a29914 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -2,6 +2,13 @@ #define GUARD_FIELDMAP2_H #include "event_object_movement.h" +#define NUM_TILES_IN_PRIMARY 512 +#define NUM_TILES_TOTAL 1024 +#define NUM_METATILES_IN_PRIMARY 512 +#define NUM_METATILES_TOTAL 1024 +#define NUM_PALS_IN_PRIMARY 6 +#define NUM_PALS_TOTAL 12 + extern struct BackupMapLayout gUnknown_03004870; struct MapHeader *mapconnection_get_mapheader(struct MapConnection *connection); int GetMapBorderIdAt(int x, int y); -- cgit v1.2.3