summaryrefslogtreecommitdiff
path: root/home/rtc.asm
diff options
context:
space:
mode:
authorPikalaxALT <pikalaxalt@gmail.com>2018-06-05 11:47:22 -0400
committerPikalaxALT <pikalaxalt@gmail.com>2018-06-05 11:47:22 -0400
commite80bd60ed6e65477319a977b2d3839260bdaf450 (patch)
treeff70f7cc61046f0f999a063098650cf03b2e765c /home/rtc.asm
parentc4c2b3cc6ede5259a1246c195a8c1d58e6d3a35d (diff)
Time of day palettes and fade functions
Diffstat (limited to 'home/rtc.asm')
-rw-r--r--home/rtc.asm20
1 files changed, 20 insertions, 0 deletions
diff --git a/home/rtc.asm b/home/rtc.asm
new file mode 100644
index 0000000..6179278
--- /dev/null
+++ b/home/rtc.asm
@@ -0,0 +1,20 @@
+include "constants.asm"
+
+if DEBUG
+SECTION "Time Of Day Palettes", ROM0 [$032B]
+else
+SECTION "Time Of Day Palettes", ROM0 [$02EF]
+endc
+
+UpdateTimeOfDayPalettes: ; 32b (0:032b)
+ ld a, [wVramState]
+ bit 0, a
+ ret z
+TimeOfDayPals::
+ callab _TimeOfDayPals ; Func_8c2e3
+ ret
+
+UpdateTimePals:: ; 33a
+ callab _UpdateTimePals ; Func_8c335
+ ret
+