diff options
author | GriffinR <griffin.g.richards@gmail.com> | 2020-01-19 20:21:53 -0500 |
---|---|---|
committer | GriffinR <griffin.g.richards@gmail.com> | 2020-01-19 21:57:29 -0500 |
commit | 4c12ad00d21b43d0946b2a0ba3ee471af9262673 (patch) | |
tree | 3a133ce12022949fc3ea8a7147c0d3c72a97e0b6 /include/link_rfu.h | |
parent | ea8b1011d30c3f70f1da79553d8ed887b12596f2 (diff) | |
parent | a40f05490040350b8973728fdebe5a48360d4fac (diff) |
Merge branch 'master' into fix-eventobj
Diffstat (limited to 'include/link_rfu.h')
-rw-r--r-- | include/link_rfu.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/include/link_rfu.h b/include/link_rfu.h index 533e515c5..0c169dd26 100644 --- a/include/link_rfu.h +++ b/include/link_rfu.h @@ -6,6 +6,33 @@ // Exported type declarations +struct UnkLinkRfuStruct_02022B14Substruct +{ + u16 unk_00_0:4; + u16 unk_00_4:1; + u16 unk_00_5:1; + u16 unk_00_6:1; + u16 isChampion:1; + u16 hasNationalDex:1; + u16 gameClear:1; // never read, redundant with isChampion + u16 unk_01_2:4; // always 3? + u16 unk_01_6:2; + u8 playerTrainerId[2]; +}; + +struct __attribute__((packed, aligned(2))) UnkLinkRfuStruct_02022B14 +{ + struct UnkLinkRfuStruct_02022B14Substruct unk_00; + u8 unk_04[4]; + u16 species:10; + u16 type:6; + u8 unk_0a_0:7; + u8 unk_0a_7:1; + u8 playerGender:1; + u8 level:7; + u8 unk_0c; +}; + struct UnkLinkRfuStruct_02022B2C { u8 unk_00; |