From 3f88e8c00527333b9dd3e107ce47139967af993f Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Mon, 26 Sep 2016 20:32:41 -0700 Subject: game statistics --- include/fieldmap.h | 20 +++++++++++++++++++- 1 file changed, 19 insertions(+), 1 deletion(-) (limited to 'include/fieldmap.h') 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 }; -- cgit v1.2.3