summaryrefslogtreecommitdiff
path: root/include/fieldmap.h
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-26 20:32:41 -0700
committerYamaArashi <shadow962@live.com>2016-09-26 20:32:41 -0700
commit3f88e8c00527333b9dd3e107ce47139967af993f (patch)
tree6a8b25b073d0310eae667a4bbbf561e65d4f7420 /include/fieldmap.h
parent25dd8729e559e28772dd1a86361767c07442c641 (diff)
game statistics
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
};