summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorDizzyEggg <jajkodizzy@wp.pl>2018-05-01 14:01:54 +0200
committerDizzyEggg <jajkodizzy@wp.pl>2018-05-01 14:01:54 +0200
commit95cf853762e4202dbfece323c5cf454984ca37c5 (patch)
tree074c17ea27eeae790b797a404b3181d978ab3e07 /include/global.h
parentf9a2f6c4a2bd8ce60d2c7a720eddf5cdde7446a9 (diff)
battle records more decomp and subtle name changes
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h
index f88203c90..a223f9762 100644
--- a/include/global.h
+++ b/include/global.h
@@ -480,6 +480,8 @@ struct RecordMixing_UnknownStruct
u16 unk74[0x2];
};
+#define LINK_B_RECORDS_COUNT 5
+
struct LinkBattleRecord
{
u8 name[8];
@@ -489,6 +491,12 @@ struct LinkBattleRecord
u16 draws;
};
+struct LinkBattleRecords
+{
+ struct LinkBattleRecord entries[LINK_B_RECORDS_COUNT];
+ u8 languages[LINK_B_RECORDS_COUNT];
+};
+
struct RecordMixingGiftData
{
u8 unk0;
@@ -703,9 +711,7 @@ struct SaveBlock1
/*0x2e64*/ struct EasyChatPair easyChatPairs[5]; //Dewford trend [0] and some other stuff
/*0x2e90*/ struct ContestWinner contestWinners[13]; // 0 - 5 used in contest hall, 6 - 7 unused?, 8 - 12 museum
/*0x3030*/ struct DayCare daycare;
- /*0x3150*/ struct LinkBattleRecord linkBattleRecords[5];
- /*0x31A0*/ u8 unk_31A0;
- /*0x31A1*/ u8 filler_31A1[7];
+ /*0x3150*/ struct LinkBattleRecords linkBattleRecords;
/*0x31A8*/ u8 giftRibbons[52];
/*0x31DC*/ struct Roamer roamer;
/*0x31F8*/ struct EnigmaBerry enigmaBerry;