From f6f25cd9f8851ce6c34af14b246749615839cf67 Mon Sep 17 00:00:00 2001 From: Ian Skinner <56081713+IanSkinner1982@users.noreply.github.com> Date: Wed, 19 May 2021 18:37:15 -0400 Subject: [PATCH] Stopped using storedat for quicker testing (I'll add it back later) --- prg.txt | 101 ++++++++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 87 insertions(+), 14 deletions(-) diff --git a/prg.txt b/prg.txt index 7c42270..dfede8f 100755 --- a/prg.txt +++ b/prg.txt @@ -1,14 +1,14 @@ 0 rem !to "build/cookie.prg" 10 mi=17:dimna$(mi):dimia(mi):dimbd$(mi):dimbg(mi):dimpr(mi):dimcg(mi) -20 open 8,8,8,"storedat,s,r" -30 forx=0tomi -40 input#8,na$(x) -50 input#8,bd$(x) -55 input#8,bg(x) -60 input#8,pr(x) -65 ?x+1"/"mi+1 -70 next -80 close 8 +20 rem open 8,8,8,"storedat,s,r" +30 rem forx=0tomi +40 rem input#8,na$(x) +50 rem input#8,bd$(x) +55 rem input#8,bg(x) +60 rem input#8,pr(x) +65 rem ?x+1"/"mi+1 +70 rem next +80 gosub 52000:rem close 8 90 ms=1:bn$="someone's":r1$="{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}" 95 r2$="{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}{right}":ss=1 100 rem stick news here. @@ -55,7 +55,7 @@ 2515 ?r1$"{up}{rvon}"right$(str$(y),1)"{rvof} "na$(x) 2520 ?r1$r2$"{up}"ia(x) 2530 ?r1$bd$(x) -2540 ?r1$"{up}"pr(x) +2540 ?r1$"{up}"int(pr(x)) 2545 ?r1$"{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}{$a3}":y=y+1 2550 next 2555 ifj=17then?r1$"{down}{down}{down}{down}{down}{down}{down} prev/next(-/+)" @@ -65,8 +65,8 @@ 3000 get k$:x=0 :rem don't add a 'ifk$=""' or else the adding routine won't run properly 3010 gosub 60000 -3015 ifval(k$)>5then3065 -3020 ifval(k$)<1then3065 +3015 ifval(k$)>5then3070 +3020 ifval(k$)<1then3070 3025 x=val(k$) 3065 gosub 3500 : rem buying routine 3070 gosub 50000 @@ -81,7 +81,7 @@ 3500 y=i+x-1 3510 if cc