diff options
author | YamaArashi <shadow962@live.com> | 2016-09-20 20:18:00 -0700 |
---|---|---|
committer | YamaArashi <shadow962@live.com> | 2016-09-20 20:18:00 -0700 |
commit | 8805b045034d9dcc687a178881b94bc6d87f035d (patch) | |
tree | 82d8f5bbf5e0c37292263b29ec99d596e980f06c /include | |
parent | 0b2a61e5d84e8a9950004c8d76ad8556e334f6c4 (diff) |
decompile more script functions
Diffstat (limited to 'include')
-rw-r--r-- | include/fieldmap.h | 8 | ||||
-rw-r--r-- | include/rtc.h | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/include/fieldmap.h b/include/fieldmap.h index 1abef38da..09ad2ae07 100644 --- a/include/fieldmap.h +++ b/include/fieldmap.h @@ -32,6 +32,14 @@ struct MapHeader // TODO: rest of struct }; +struct MapObject +{ + u32 active:1; + u8 filler[0x20]; +}; + +extern struct MapObject gMapObjects[]; +extern u8 gSelectedMapObject; extern struct MapHeader gMapHeader; #endif // GUARD_FIELDMAP_H diff --git a/include/rtc.h b/include/rtc.h index 96d7e716b..4c9d06d31 100644 --- a/include/rtc.h +++ b/include/rtc.h @@ -17,6 +17,8 @@ #define RTC_ERR_FLAG_MASK 0x0FF0 +extern struct Time gLocalTime; + void RtcInit(); u16 RtcGetErrorStatus(); void RtcReset(); |