summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-04-23 18:57:10 -0700
committerGitHub <noreply@github.com>2018-04-23 18:57:10 -0700
commit4ed28757fdc51de0da47809fab9f5be40cfe3423 (patch)
treedcb04e08d49d980b01f33b5253c7faa6d2f0300c /include/global.h
parentbebd556adeee3e6d64a7dd5aac2c08edb3907b10 (diff)
parent067c52d262468cc9d4adfd31ee1a7645cc8bb97c (diff)
Merge pull request #601 from huderlem/externaldata
External data save struct
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h
index 38ba50a2c..82c4916bd 100644
--- a/include/global.h
+++ b/include/global.h
@@ -698,9 +698,16 @@ struct SaveBlock1 /* 0x02025734 */
/*0x2EFC*/ struct ContestWinner museumPortraits[5];
/*0x2F9C*/ struct DayCare daycare;
/*0x30B8*/ struct LinkBattleRecord linkBattleRecords[5];
- /*0x3108*/ u8 filler_3108[8];
- /*0x3110*/ u8 giftRibbons[11];
- /*0x3117*/ u8 filler_311B[0x29];
+ struct {
+ /*0x3108*/ u8 unknown1[8];
+ /*0x3110*/ u8 giftRibbons[11];
+ /*0x311B*/ u8 unknown2[8];
+ /*0x3123*/ u32 currentPokeCoupons;
+ /*0x3127*/ u32 totalEarnedPokeCoupons;
+ /*0x312B*/ u8 unknown3[6];
+ /*0x3131*/ u8 receivedWishmakerJirachi;
+ /*0x3132*/ u8 unknown4[18];
+ } __attribute__((packed)) externalReservedData;
/*0x3144*/ struct Roamer roamer;
/*0x3160*/ struct EnigmaBerry enigmaBerry;
/*0x3690*/ struct RamScript ramScript;