summaryrefslogtreecommitdiff
path: root/include/librfu.h
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-13 15:26:44 -0400
committerGitHub <noreply@github.com>2019-10-13 15:26:44 -0400
commita081124a20896a0cc2ee4fac2df6d4b5440125ef (patch)
treed839bae53453aadf4b7bf14a72d1669eaf6fee43 /include/librfu.h
parent2368f57669f6d2e9dc81f4028ff95c9421bd31a8 (diff)
parente47b3efdfe8a397e20905d566a8e1b1261170fbb (diff)
Merge branch 'master' into doc-inc
Diffstat (limited to 'include/librfu.h')
-rw-r--r--include/librfu.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/librfu.h b/include/librfu.h
index 38c819835..55b5d264c 100644
--- a/include/librfu.h
+++ b/include/librfu.h
@@ -76,10 +76,10 @@ struct UnkLinkRfuStruct_02022B14Substruct
u16 unk_00_4:1;
u16 unk_00_5:1;
u16 unk_00_6:1;
- u16 unk_00_7:1;
- u16 unk_01_0:1;
- u16 unk_01_1:1;
- u16 unk_01_2:4;
+ 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];
};
@@ -93,7 +93,7 @@ struct __attribute__((packed, aligned(2))) UnkLinkRfuStruct_02022B14
u8 unk_0a_0:7;
u8 unk_0a_7:1;
u8 playerGender:1;
- u8 unk_0b_1:7;
+ u8 level:7;
u8 unk_0c;
};