summaryrefslogtreecommitdiff
path: root/home/rtc.asm
diff options
context:
space:
mode:
authorEldred Habert <eldredhabert0@gmail.com>2018-06-06 17:19:29 +0200
committerGitHub <noreply@github.com>2018-06-06 17:19:29 +0200
commit530e3e80691d27d0c65c1f91ce79bb65e39d4283 (patch)
tree3245f62a48f97b3720104fcfa1dfcc5a5b658156 /home/rtc.asm
parentea2d9e25e15f45169bff9b769244812f10f42929 (diff)
parent1d70c1e4ca11ecdf21beaebcfbc3eedc2b6dea95 (diff)
Merge pull request #13 from PikalaxALT/rtc_fade
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
+