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

@@ -9,8 +9,13 @@ UpdateWolfPalette:
LDX #$001E
.loop
LDA.l WolfPalette, X : STA $7EC6E0, X
DEX : DEX : BPL .loop
LDA.l WolfPalette, X
PHX
STA.l !pal_color
JSL ColorSubEffect
PLX
STA $7EC6E0, X
DEX : DEX : BPL .loop
SEP #$30 ; go back to 8 bit mode
INC $15 ; update the palette
@@ -27,11 +32,8 @@ WolfPalette:
; =========================================================
org $07A3DB
LinkItem_Flute:
org $07A32C
LinkItem_Shovel:
LinkItem_Flute = $07A3DB
LinkItem_Shovel = $07A32C
; LinkItem_Shovel
org $07A3B2