Update mask form palette upload to use time of day

This commit is contained in:
scawful
2024-11-29 16:03:49 -05:00
parent 860e616c17
commit 2e3f06d6d8
6 changed files with 30 additions and 16 deletions

View File

@@ -13,7 +13,12 @@ UpdateDekuPalette:
LDX #$001E
.loop
LDA.l deku_palette, X : STA $7EC6E0, X
LDA.l deku_palette, X
PHX
STA.l !pal_color
JSL ColorSubEffect
PLX
STA $7EC6E0, X
DEX : DEX : BPL .loop
SEP #$30 ; go back to 8 bit mode