diff options
author | Kaz <kazbloxmc@gmail.com> | 2020-09-17 18:24:11 -0400 |
---|---|---|
committer | Kaz <kazbloxmc@gmail.com> | 2020-09-17 18:24:11 -0400 |
commit | 1404cf3330b49e217c317602194e52d9c49bb12b (patch) | |
tree | e1b32c2c9ad301039c02f72db6e757ecdc58102f /include | |
parent | c724f2b8099645daf85884895047e60e23368e4b (diff) |
field_player_avatar.c: Fix TryInterruptObjectEventSpecialAnim fakematch.
Diffstat (limited to 'include')
-rw-r--r-- | include/global.fieldmap.h | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/include/global.fieldmap.h b/include/global.fieldmap.h index 4598e87fa..2729d2a20 100644 --- a/include/global.fieldmap.h +++ b/include/global.fieldmap.h @@ -195,15 +195,10 @@ struct ObjectEvent /*0x0C*/ struct Coords16 initialCoords; /*0x10*/ struct Coords16 currentCoords; /*0x14*/ struct Coords16 previousCoords; - /*0x18*/ u8 facingDirection:4; // current direction? - /*0x18*/ u8 movementDirection:4; - /*0x19*/ union __attribute__((packed)) { - u8 as_byte; - struct __attribute__((packed)) { - u8 x:4; - u8 y:4; - } ALIGNED(1) as_nybbles; - } ALIGNED(1) range; + /*0x18*/ u16 facingDirection:4; // current direction? + u16 movementDirection:4; + u16 rangeX:4; + u16 rangeY:4; /*0x1A*/ u8 fieldEffectSpriteId; /*0x1B*/ u8 warpArrowSpriteId; /*0x1C*/ u8 movementActionId; |