diff options
author | Diegoisawesome <Diegoisawesome@users.noreply.github.com> | 2018-10-16 21:54:14 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-16 21:54:14 -0500 |
commit | f67bbbdaaa905833f1c2a315624128aafef9a4cb (patch) | |
tree | 1dbafe48cfdb46142cd3df7d9fa50b3ffd4ec961 /include/global.fieldmap.h | |
parent | 832947f329b71a9a1d4b88f8b24ef85b540b4fc5 (diff) | |
parent | e75f0b4f80670bd3b6a28257f10770911869ea08 (diff) |
Merge pull request #364 from Diegoisawesome/master
Port/decompile field_control_avatar
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r-- | include/global.fieldmap.h | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index 4bec8e0c7..66d5b5e4c 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -63,17 +63,16 @@ struct EventObjectTemplate struct WarpEvent { s16 x, y; - s8 warpId; - u8 mapGroup; + u8 elevation; + u8 warpId; u8 mapNum; - u8 unk7; + u8 mapGroup; }; struct CoordEvent { s16 x, y; - u8 unk4; - u8 filler_5; + u8 elevation; u16 trigger; u16 index; u8 filler_A[0x2]; @@ -83,16 +82,15 @@ struct CoordEvent struct BgEvent { u16 x, y; - u8 unk4; + u8 elevation; u8 kind; - // 0x2 padding for the union beginning. union { // carried over from diego's FR/LG work, seems to be the same struct // in gen 3, "kind" (0x3 in BgEvent struct) determines the method to read the union. u8 *script; - // hidden item type probably + // hidden item type struct { - u8 filler6[0x2]; + u16 item; u16 hiddenItemId; // flag offset to determine flag lookup } hiddenItem; |