clear_alt_pal_bits to reset what sea setup does

This commit is contained in:
Kistaro Windrider 2024-02-09 00:14:31 -08:00
parent f3121b14e7
commit cc4b6bffd3
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -513,7 +513,7 @@ end
function title_screen:draw()
pal()
memset(0x5f78,0x0,8)
clear_alt_pal_bits()
cls(12)
print("title screen", 30, 57, 0)
print("press right arrow", 15, 66, 0)
@ -818,6 +818,10 @@ function wave(toff)
return 2.5 * sin((t()+toff)>>1)
end
function clear_alt_pal_bits()
memset(0x5f70,0x0,16)
end
sea = {}
mknew(sea)