diff options
Diffstat (limited to 'include/global.fieldmap.h')
-rw-r--r-- | include/global.fieldmap.h | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index e1998afdf..3c4b5f382 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -110,20 +110,18 @@ struct ObjectEventTemplate 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; + u16 x, y; + u8 elevation; u16 trigger; u16 index; - u8 filler_A[0x2]; u8 *script; }; @@ -152,7 +150,7 @@ union BgUnion struct BgEvent { u16 x, y; - u8 unk4; + u8 elevation; u8 kind; // 0x2 padding for the union beginning. union BgUnion bgUnion; @@ -318,6 +316,14 @@ enum COLLISION_HORIZONTAL_RAIL, }; +// player running states +enum +{ + NOT_MOVING, + TURN_DIRECTION, // not the same as turning! turns your avatar without moving. also known as a turn frame in some circles + MOVING, +}; + // player tile transition states enum { |