summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
authorProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-08 18:51:14 -0400
committerProjectRevoTPP <projectrevotpp@hotmail.com>2018-10-08 18:51:14 -0400
commit967b4e6612eb7f81dfe44989c2e2c79000c7d6f3 (patch)
treedef9e67fe788da2963c41585c309b61eb109247d /include/global.h
parent02fb51cbe7f6016d23d01d58dcbe8f4b3786bc5e (diff)
parent10fff9c6f2d29899952d1751d3de827e7e98bb60 (diff)
merge and nonmatching PokemonUseItemEffects2
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h26
1 files changed, 23 insertions, 3 deletions
diff --git a/include/global.h b/include/global.h
index 7de1232ad..fac7e1354 100644
--- a/include/global.h
+++ b/include/global.h
@@ -473,6 +473,14 @@ struct RecordMixingDayCareMail
bool16 holdsItem[DAYCARE_MON_COUNT];
};
+struct MysteryEventStruct
+{
+ u8 unk_0_0:2;
+ u8 unk_0_2:3;
+ u8 unk_0_5:3;
+ u8 unk_1;
+};
+
#define MAP_OBJECTS_COUNT 16
#define BERRY_TREES_COUNT 128
#define FLAGS_COUNT 300
@@ -483,9 +491,21 @@ struct SaveBlock1
{
/*0x0000*/ u8 filler[0x4];
/*0x0004*/ struct WarpData location;
- /*0x000C*/ u8 fillerC[0x30DE];
- /*0x30EA*/ struct EnigmaBerry enigmaBerry;
- /*0x3120*/ u8 filler3120[0x4FC];
+ /*0x0C*/ struct WarpData warp1;
+ /*0x14*/ struct WarpData warp2;
+ /*0x1C*/ struct WarpData lastHealLocation;
+ /*0x24*/ struct WarpData warp4;
+ /*0x002C*/ u8 filler2C[0x60C];
+ /*0x638*/ u8 trainerRematchStepCounter;
+ u8 filler_639;
+ /*0x63a*/ u8 trainerRematches[100];
+ /*0x06A0*/ struct MapObject mapObjects[MAP_OBJECTS_COUNT];
+ /*0x08E0*/ struct MapObjectTemplate mapObjectTemplates[64];
+ /*0x0EE0*/ u8 fillerEE0[0x220A];
+ /*0x30EA*/ struct EnigmaBerry enigmaBerry;
+ /*0x3120*/ u8 filler3120[0x340];
+ /*0x3460*/ struct MysteryEventStruct unk_3460;
+ /*0x3464*/ u8 filler_3464[0x1b8];
/*0x361C*/ struct RamScript ramScript;
/*0x3A08*/ u8 filler3A08[0x44];
/*0x3A4C*/ u8 rivalName[PLAYER_NAME_LENGTH];