summaryrefslogtreecommitdiff
path: root/include/librfu.h
diff options
context:
space:
mode:
authorGriffinR <griffin.richards@comcast.net>2019-10-13 15:44:07 -0400
committerGitHub <noreply@github.com>2019-10-13 15:44:07 -0400
commit30ef49416391d036286661a8e1225b4ba03e3109 (patch)
tree449560dd408241717995409d3cb6c0a8e4b5223a /include/librfu.h
parent60a9dc6a0e81da34f111e66fd3666f9eb57898e9 (diff)
parente47b3efdfe8a397e20905d566a8e1b1261170fbb (diff)
Merge branch 'master' into doc-inc2
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;
};