Not the author but attempting to add the required newlines (apologies if doesn't work, new to itch.io):
cls()s=sin
?'t',9,2,6
?'웃',-1,3,8
?'m',1,7
?'★',15,0
?'n',9,7,14
?'ˇ',0,4,15
?'웃',14,4,10
?'★',15,7
?'⧗',7,4,11
memcpy(0,24576,960)o=circfill
function f(i,j,k)g=sget(j,y)
if(g>0)o(i+x*5-w,h,3,g-k)
end::a::l=0::b::e=90l+=1v=60p=10m=50n=m::c::cls()o(v,v,v,l)u=t()d=e-p-30if btn(0)then
p=max(0,p-sgn(d)/2-1)else
if(d<0)m-=l
if(d<9)n-=1
end
if(btn(1)and d>-9)p+=3
e=mid(p+9,e+l*3*s(u/5)*sqrt(s(u/l)),99)line(v-m,5,v,5,8)line(v+n,5,9)
if(m<0)goto a
for z=0,144 do
x=z%7y=z/12h=v+y*5w=s(u-y/9)f(e,6-x+(l%3)*7,l\3-1)f(p,x,1)end
?l,v,9
flip()
if(n>0)goto c
goto b
And then an approximate glossary of variables, for those curious:
- a = Game start label
- b = Fight start label
- c = Frame start label
- d = Distance between characters (offset for combat range)
- e = Enemy x position
- f = Character drawing functoin
- g = Character pixel color
- h = Character circle y position
- i = X position to draw character
- j = X pixel source
- k = Palette swap
- l = Level number
- m = Player health
- n = Enemy health
- o = Alias for circfill()
- p = Player x position
- s = Alias for sin()
- t = Native alias for time()
- u = Current time() value
- v = Center-ish magic value
- w = Character wiggle
- x = Character circle x column
- y = Y pixel source
- z = Loop variable over character drawing rect