summaryrefslogtreecommitdiff
path: root/include/fieldmap.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r--include/fieldmap.h20
1 files changed, 19 insertions, 1 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h
index 503b4b931..e60e4bbce 100644
--- a/include/fieldmap.h
+++ b/include/fieldmap.h
@@ -24,10 +24,28 @@ struct MapData
struct Tileset *secondaryTileset;
};
+struct MapObjectTemplate
+{
+ u8 filler[0x18];
+};
+
+struct MapEvents
+{
+ u8 mapObjectCount;
+ u8 warpCount;
+ u8 coordEventCount;
+ u8 bgEventCount;
+
+ struct MapObjectTemplate *mapObjects;
+ void *warps;
+ void *coordEvents;
+ void *bgEvents;
+};
+
struct MapHeader
{
struct MapData *mapData;
- void *events;
+ struct MapEvents *events;
u8 *mapScripts;
// TODO: rest of struct
};