diff options
author | Marcus Huderle <huderlem@gmail.com> | 2017-09-29 19:45:56 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-29 19:45:56 -0700 |
commit | cf0bf8a1f2d3cd97e0fe967270188dda24b8fac2 (patch) | |
tree | f830e2568cdd61baa849ad860ee875093d3095af /include/global.h | |
parent | c1c2015f7046676b043641c0d1f9d9e29bc73647 (diff) | |
parent | 4133688019e167da45c868a26bf6a6e4901bef54 (diff) |
Merge pull request #426 from PikalaxALT/daycare
Decompile asm/daycare.s
Diffstat (limited to 'include/global.h')
-rw-r--r-- | include/global.h | 36 |
1 files changed, 24 insertions, 12 deletions
diff --git a/include/global.h b/include/global.h index 79269937f..ac28507e8 100644 --- a/include/global.h +++ b/include/global.h @@ -560,18 +560,34 @@ struct GabbyAndTyData /*2b1b*/ u8 valB_5:3; }; -struct RecordMixing_UnknownStructSub +struct DayCareMail { - u32 unk0; - u8 data[0x34]; - //u8 data[0x38]; + /*0x00*/ struct MailStruct message; + /*0x24*/ u8 names[19]; }; -struct RecordMixing_UnknownStruct +struct DayCareStepCountersEtc { + u32 steps[2]; + u16 personalityLo; + u8 unk_11a; +}; + +struct RecordMixingDayCareMail { - struct RecordMixing_UnknownStructSub data[2]; + struct DayCareMail mail[2]; u32 unk70; - u16 unk74[0x2]; + u16 unk74[2]; +}; + +struct DayCareMisc +{ + struct DayCareMail mail[2]; + struct DayCareStepCountersEtc countersEtc; +}; + +struct DayCareData { + struct BoxPokemon mons[2]; + struct DayCareMisc misc; }; struct LinkBattleRecord @@ -670,11 +686,7 @@ struct SaveBlock1 /* 0x02025734 */ /*0x2DD4*/ struct EasyChatPair easyChatPairs[5]; //Dewford trend [0] and some other stuff /*0x2DFC*/ u8 filler_2DFC[0x8]; /*0x2E04*/ SB_Struct sbStruct; - /*0x2F9C*/ struct BoxPokemon daycareData[2]; - /*0x303C*/ struct RecordMixing_UnknownStruct filler_303C; - /*0x30AC*/ u8 filler_30B4[0x2]; - /*0x30B6*/ u8 filler_30B6; - /*0x30B7*/ u8 filler_30B7[1]; + /*0x2F9C*/ struct DayCareData daycareData; /*0x30B8*/ struct LinkBattleRecord linkBattleRecords[5]; /*0x3108*/ u8 filler_3108[8]; /*0x3110*/ u8 giftRibbons[7]; |