summaryrefslogtreecommitdiff
path: root/include/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/global.h')
-rw-r--r--include/global.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/include/global.h b/include/global.h
index 25fe47635..c201b554f 100644
--- a/include/global.h
+++ b/include/global.h
@@ -87,6 +87,14 @@ struct UCoords16
u16 y;
};
+struct Time
+{
+ /*0x00*/ s16 days;
+ /*0x02*/ s8 hours;
+ /*0x03*/ s8 minutes;
+ /*0x04*/ s8 seconds;
+};
+
struct Pokedex
{
/*0x00*/ u8 order;
@@ -118,6 +126,9 @@ struct SaveBlock2
u16 optionsBattleSceneOff:1; // whether battle animations are disabled
u16 regionMapZoom:1; // whether the map is zoomed in
/*0x18*/ struct Pokedex pokedex;
+ /*0x90*/ u8 filler_90[0x8];
+ /*0x98*/ struct Time localTimeOffset;
+ /*0xA0*/ struct Time lastBerryTreeUpdate;
};
extern struct SaveBlock2 *gSaveBlock2Ptr;