From 87d2f5634ae9f19b6e38ed97e15e98b823538635 Mon Sep 17 00:00:00 2001 From: Kistaro Windrider Date: Sun, 11 Feb 2024 23:41:51 -0800 Subject: [PATCH] not using wave offset, remove it --- vacation.p8 | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/vacation.p8 b/vacation.p8 index 8439bc5..442637e 100644 --- a/vacation.p8 +++ b/vacation.p8 @@ -1431,14 +1431,8 @@ function setup_arcade_pal() pal(game_uw_pal, 2) end --- global wave amplitude clock --- wave per 2 seconds --- 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) +function wave() + return 2.5 * sin((t())>>1) end function clear_alt_pal_bits()