not using wave offset, remove it

This commit is contained in:
Kistaro Windrider 2024-02-11 23:41:51 -08:00
parent 07ea9b405a
commit 87d2f5634a
Signed by: kistaro
SSH Key Fingerprint: SHA256:TBE2ynfmJqsAf0CP6gsflA0q5X5wD5fVKWPsZ7eVUg8

View File

@ -1431,14 +1431,8 @@ function setup_arcade_pal()
pal(game_uw_pal, 2) pal(game_uw_pal, 2)
end end
-- global wave amplitude clock function wave()
-- wave per 2 seconds return 2.5 * sin((t())>>1)
-- optional toff: offset. at
-- toff==0 draw directly under
-- the dolphin
function wave(toff)
toff = toff or 0
return 2.5 * sin((t()+toff)>>1)
end end
function clear_alt_pal_bits() function clear_alt_pal_bits()