diff options
author | DizzyEggg <jajkodizzy@wp.pl> | 2018-06-10 18:28:37 +0200 |
---|---|---|
committer | DizzyEggg <jajkodizzy@wp.pl> | 2018-06-10 18:28:37 +0200 |
commit | 5526d980ec656c7a9a66937376c2dc9cdf9c7a54 (patch) | |
tree | f96025dc7895fc9f6b643d25d45e8e05b11e7798 /include/librfu.h | |
parent | 166295acc78b0057e25f6e46f9fa183369708053 (diff) |
union room is too hard
Diffstat (limited to 'include/librfu.h')
-rw-r--r-- | include/librfu.h | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/include/librfu.h b/include/librfu.h index 03c142587..dc3d336da 100644 --- a/include/librfu.h +++ b/include/librfu.h @@ -47,7 +47,7 @@ enum RFU_UNK3A, RFU_UNK3B, RFU_UNK3C, - RFU_STOP_MODE, //3D + RFU_STOP_MODE, // 3D }; struct RfuPacket8 @@ -67,7 +67,7 @@ union RfuPacket struct RfuPacket8 rfuPacket8; }; -struct __attribute__((packed)) UnkLinkRfuStruct_02022B14 +struct UnkLinkRfuStruct_02022B14Substruct { u16 unk_00_0:4; u16 unk_00_4:1; @@ -79,6 +79,11 @@ struct __attribute__((packed)) UnkLinkRfuStruct_02022B14 u16 unk_01_2:4; u16 unk_01_6:2; u8 playerTrainerId[2]; +}; + +struct UnkLinkRfuStruct_02022B14 +{ + struct UnkLinkRfuStruct_02022B14Substruct unk_00; u8 unk_04[4]; u16 species:10; u16 type:6; |