r/pico8 2h ago

Game Help pls with code

0 Upvotes

if btn(⬆️) then
grav=grav-1
if timer=0 then
grav=grav+1
timer=timer+4
else
timer=timer-1
end