summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/data2.s7
-rw-r--r--data/rtc_util.s32
2 files changed, 34 insertions, 5 deletions
diff --git a/data/data2.s b/data/data2.s
index 88cf02113..9f5b37cd8 100644
--- a/data/data2.s
+++ b/data/data2.s
@@ -363,11 +363,8 @@ gUnknown_081E75CC: ; 81E75CC
gUnknown_081E75FC: ; 81E75FC
.incbin "baserom.gba", 0x001e75fc, 0x14
-gUnknown_081E7610: ; 81E7610
- .incbin "baserom.gba", 0x001e7610, 0xc
-
-gUnknown_081E761C: ; 81E761C
- .incbin "baserom.gba", 0x001e761c, 0x30
+; 81E7610
+ .include "data/rtc_util.s"
gUnknown_081E764C: ; 81E764C
.incbin "baserom.gba", 0x001e764c, 0x40
diff --git a/data/rtc_util.s b/data/rtc_util.s
new file mode 100644
index 000000000..9ee05f47e
--- /dev/null
+++ b/data/rtc_util.s
@@ -0,0 +1,32 @@
+ .align 2
+
+; 2000 Jan 1 00:00:00
+gDefaultRtcInfo: ; 81E7610
+ .byte 0
+ .byte 1
+ .byte 1
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+ .byte 0
+
+ .align 2
+
+gNumDaysInMonths: ; 81E761C
+ .4byte 31
+ .4byte 28
+ .4byte 31
+ .4byte 30
+ .4byte 31
+ .4byte 30
+ .4byte 31
+ .4byte 31
+ .4byte 30
+ .4byte 31
+ .4byte 30
+ .4byte 31