diff options
author | YamaArashi <shadow962@live.com> | 2016-09-26 20:32:41 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-09-26 20:32:41 -0700 |
commit | 3f88e8c00527333b9dd3e107ce47139967af993f (patch) | |
tree | 6a8b25b073d0310eae667a4bbbf561e65d4f7420 /include/fieldmap.h | |
parent | 25dd8729e559e28772dd1a86361767c07442c641 (diff) |
game statistics
Diffstat (limited to 'include/fieldmap.h')
-rw-r--r-- | include/fieldmap.h | 20 |
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 }; |