thx that worked! that was pretty stupid of me
o yea one last question
im trying to save the $'s to a file but it seems to not be writing here it is
save:
if file exist("lvl.txt")=0 then make file "lvl.txt"
open to write 1,"lvl.txt"
yellow$=""
blue$=""
green$=""
red$=""
inv$=""
spr=50
if controlkey()=1
for z=0 to 11
for a=0 to 19
if area(z,a,0)=1
yellow$=yellow$+":yellow("+str$(yel)+",0)="+str$(spr)
yellow$=yellow$+":yellow("+str$(yel)+",1)=1"
yellow$=yellow$+":yellow("+str$(yel)+",2)="+str$(area(z,a,2)+1)
yellow$=yellow$+":yellow("+STR$(yel)+",3)="+STR$(area(z,a,3))
yellow$=yellow$+":yellow("+STR$(yel)+",4)="+str$(area(z,a,2))
yellow$=yellow$+":yellow("+STR$(yel)+",5)="+str$(area(z,a,2)+49)
yellow$=yellow$+":yellow("+STR$(yel)+",6)="+str$(spr+1)
yellow$=yellow$+":yellow("+str$(yel)+",7)="+str$(spr+2)
spr=spr+3
yel=yel+1
endif
if area(z,a,0)=2
blue$=blue$+":blue("+str$(blu)+",0)="+str$(spr)
blue$=blue$+":blue("+str$(blu)+",1)=2"
blue$=blue$+":blue("+str$(blu)+",2)="+str$(area(z,a,2)+1)
blue$=blue$+":blue("+STR$(blu)+",3)="+STR$(area(z,a,3))
blue$=blue$+":blue("+STR$(blu)+",4)="+str$(area(z,a,2))
blue$=blue$+":blue("+STR$(blu)+",5)="+str$(area(z,a,2)+49)
blue$=blue$+":blue("+STR$(blu)+",6)="+str$(spr+1)
blue$=blue$+":blue("+str$(blu)+",7)="+str$(spr+2)
spr=spr+3
blu=blu+1
endif
if area(z,a,0)=1
green$=green$+":yellow("+str$(yelg)+",0)="+str$(spr)
green$=green$+":yellow("+str$(yelg)+",1)=3"
green$=green$+":yellow("+str$(yelg)+",2)="+str$(area(z,a,2)+1)
green$=green$+":yellow("+STR$(yelg)+",3)="+STR$(area(z,a,3))
green$=green$+":yellow("+STR$(yelg)+",4)="+str$(area(z,a,2))
green$=green$+":yellow("+STR$(yelg)+",5)="+str$(area(z,a,2)+49)
green$=green$+":yellow("+STR$(yelg)+",6)="+str$(spr+1)
green$=green$+":yellow("+str$(yelg)+",7)="+str$(spr+2)
spr=spr+3
gre=gre+1
endif
if area(z,a,0)=2
red$=red$+":blue("+str$(red)+",0)="+str$(spr)
red$=red$+":blue("+str$(red)+",1)=4"
red$=red$+":blue("+str$(red)+",2)="+str$(area(z,a,2)+1)
red$=red$+":blue("+STR$(red)+",3)="+STR$(area(z,a,3))
red$=red$+":blue("+STR$(red)+",4)="+str$(area(z,a,2))
red$=red$+":blue("+STR$(red)+",5)="+str$(area(z,a,2)+49)
red$=red$+":blue("+STR$(red)+",6)="+str$(spr+1)
red$=red$+":blue("+str$(red)+",7)="+str$(spr+2)
spr=spr+3
red=red+1
endif
if area(z,a,0)=2
inv$=inv$+":blue("+str$(inv)+",0)="+str$(spr)
inv$=inv$+":blue("+str$(inv)+",1)=0"
inv$=inv$+":blue("+str$(inv)+",2)="+str$(area(z,a,2)+1)
inv$=inv$+":blue("+STR$(inv)+",3)="+STR$(area(z,a,3))
inv$=inv$+":blue("+STR$(inv)+",4)="+str$(area(z,a,2))
inv$=inv$+":blue("+STR$(inv)+",5)="+str$(area(z,a,2)+49)
inv$=inv$+":blue("+STR$(inv)+",6)="+str$(spr+1)
inv$=inv$+":blue("+str$(inv)+",7)="+str$(spr+2)
spr=spr+3
inv=inv+1
endif
next a
next z
write string 1,yellow$
write string 1,blue$
write string 1,green$
write string 1,red$
write string 1,inv$
endif
return
Good thing everyone here is a figment of my imagination.