LINE 148:
if ani1<=30 then ani1=0 end
try change it to
if ani1>=30 then ani1=0 end
Thank you :)
another reason i really prefer TIC over PICO8 is cuz its easy to contact the dev if you confused :)