home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 21
/
Tiger_Disk_021_19xx_Tiger-Crew-Disk_de_Side_C.d64
/
0.c64
(
.txt
)
next >
Wrap
Commodore BASIC
|
2023-02-26
|
13KB
|
400 lines
1 poke45,052:poke46,66:clr
3 poke53281,0:poke53280,14:print"[147][155]"chr$(14):gosub2000:goto2500
4 forq=1to500:next:return
5 print"[201] can't do that.":goto299
7 poke53281,0:poke53280,30:goto9
8 print"[207][203]
9 [137]299
10 [137]50
15 vf[178]vf[170]1:q9[178]1:j$[178]" ":ln[178]0:[153]"tocmd";:ti$[178]"000000"
20 [161]b$:[139]q9[167][139]ti$[177]"000150"[167][153]"(NULL)ake me up when you're ready.":q9[178]0
21 [139]b$[178]""[167]20
30 [139]b$[178][199](20)[167][139]ln[167]ln[178]ln[171]1:[153]"cmdto cmdcmd";:j$[178][200](j$,ln[170]1)
35 [139]b$[178][199](13)[176]ln[177]99[167]j$[178][202](j$,2):[153]" ":[142]
37 [139]ln[178]0[167][139]b$[178]" "[167]45
38 [139]b$[179]"0"[176]b$[177]"z"[167][139]b$[179][177]" "[167]20
40 j$[178]j$[170]b$:ln[178]ln[170]1:[153]b$"tocmd";
45 [137]20
50 [139]l(18)[179][177]201[167][139]l(18)[179][177]h[167]100
52 [139]gc[178]0[175]l[179][177]3[167]100
54 gc[178]gc[170]1
58 [139]gc[179]9[167][139]l[179][177]4[167]65
60 [153]"chr$iant caught me and took his hen back.":l[178]3:l(18)[178]7:gc[178]0:[137]9
65 [139]gc[177]5[167][153]"chr$iant is at the bottom of the beanstalk!":[137]100
70 [139]gc[177]2[167][153]"chr$iant is coming down the beanstalk after me!"
100 r$[178]"(NULL)ook":gf[178]l:[153]"(NULL)hat should right$ do?"
101 [141]15:[139][200](j$,2)[179][177]"in"[167][151]53281,0:[151]53280,30:[153]"list";
102 q8[178][171]6[172](vf[177]np):l[178]q8[171](q8[178]0)[172]gf:[139]j$[179][177]""[167]r$[178]j$:[137]3500
104 v$[178][200](r$,2)
105 v$[178][199]([198]([200](v$,1))[176]128)[170][199]([198]([201](v$,1))[175]127)
110 [139][195](r$)[167][139][201](r$,1)[178]" "[167]r$[178][200](r$,[195](r$)[171]1):[137]110
115 [143]
118 ms$[178]"":n$[178]"":r$[178]r$[170]" ":v[178]h:[129]q[178]1[164]nv:[139]v$[178]v2$(q)[167]v[178]q:q[178]h
120 [130]:[129]q[178][195](r$)[171]2[164]1[169][171]1
125 [139][202](r$,q,1)[179][177]" "[167]130
128 ms$[178][202](r$,q[170]1):n$[178][200](ms$,2):q[178]0:q9[178][195](ms$)[171]2:ms$[178][202](ms$,1,q9)
130 [130]:[139][194](sh[170]2)[167]l[178]gf
131 [139]v[178]h[167][153]"load"r$:[137]170
132 [139][195](n$)[167]n$[178][199]([198]([200](n$,1))[176]128)[170][199]([198]([201](n$,1))[175]127)
135 [139]v$[178]"chr$o"[167]200
140 n[178]0:[129]q[178]1[164]ni
142 [139]n$[178]n2$(q)[167]n[178]q:[141]3000:n[178]0:[139]j[167]n[178]q:q[178]h
155 [130]:[153]"load"v$(v)" "n$(n);:[139]lx[178]0[167][139]n[178]0[167][153]ms$;
158 [141]3000:[153]:[153]:[139]v[178]0[167]170
160 [145]v[137]300,200,400,500,600,700,900,800,1001,1100,1200,1300,1400,1500,1600
165 [145]v[171]15[137]1700,1800,1900,1900,1900,400,2300,2400,1900,2500
170 [153]"right$ don't understand.":[137]10
200 n[178]0:t$[178]e$(l):[129]q[178]1[164]np:[139]n$[179][177]p2$(q)[167]227:[143]"chr$(NULL)"
210 [129]k[178]1[164][195](t$)[169]2:[139]q[178][197]([202](t$,k,2))[167]n[178]q:q[178]h:k[178]h
225 [130]
227 [130]:[153]"load"v$(v)" "p$(n);:[139]n[178]0[167][153]ms$;
228 [139]n[178]15[176]n[178]16[167][153]"chr$o "p$(n)" ";
229 [153]:[153]
230 [139]n[178]0[167][139]n$[178][200](p$(l),2)[167][153]"right$'m already at "p$(l)".":[137]9
231 [139]n[178]0[167][153]"right$ can't go there!":[137]9
235 [139]n[178]11[167][153]"chr$oing to the (NULL)(NULL)atn(NULL) would be hazardous to my health.":[137]9
240 [139]n[178]10[167]6000
245 [139]l[178]3[175]n[178]15[167]n[178]4
250 [139]l[178]4[175]n[178]16[167]n[178]3
255 [139]l[178]4[175]n[178]15[167]n[178]14
260 [139]l[178]14[175]n[178]16[167]n[178]4
290 l[178]n
299 n[178]0:n$[178]""
300 x[178]l:[139]n[178]0[167]317:[143] "(NULL)(NULL)(NULL)(NULL)"
302 x[178]n[170]200:[139]l(n)[177]0[167][139]l(n)[171]h[167][153]"right$ don't have "n$(n):[137]9
310 [137]320
317 [139]n$[179][177]""[167]n$[178]"":[153]"right$ can't find "ms$:[137]9
318 [153]"right$ am at "p$(l):[139]l[178]6[167]320
319 [153][163]8)[200]("tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(",[195](p$(l)))
320 j[178]1:[153]"right$ see:";
321 [139]n[178]8[167][139]l(9)[178]0[167]l(9)[178]208
322 [129]q[178]1[164]ni:k[178]l(q)
323 [139][182](k)[171]x[167]326
324 [153][163]el)n$(q):j[178]0
325 [139]x[177]200[167][139]l(x[171]200)[178]h[167][139]l(q)[177]0[167][139]q[179][177]18[167]l(q)[178]h
326 [130]
330 [139]j[172]n[167][153][163]el)"(NULL)othing special."
335 [139]n[167]10
336 [139]j[167][153][163]el)"(NULL)othing special."
339 [153]:[153]"right$ can go:";
345 [129]q[178]1[164][195](e$(l))[169]2:j[178][197]([202](e$(l),q,2))
350 [153][163]el)p$(j):[130]
360 [139]l(18)[179][177]h[176]l[179][177]6[167]10
365 [153]"(NULL)oopsss!!!":[153]"left$en squawked, giant heard her, and"
370 [153]"he swatted me back to earth!":l(18)[178]7:l[178]3
375 [129]q[178]1[164]2500:[130]:at[178]1:[137]9
400 [143] get
403 [139]l(n)[178]h[167][153]"right$ already have "n$(n)"!":[137]1000
408 [139]j[175]l(n)[177]0[167]450
414 [139]j[178]0[167][153]"right$ don't see it here.":[137]299
416 [139]n[178]20[176]n[178]21[167][153]"(NULL)hat am right$ going to do with "n$(n)"?":[137]9
418 [139]n[178]15[167][153]"(NULL)ou must be joking! (NULL)his turkey weighs over a ton!":[137]9
435 [153]"right$ can't get "n$(n);:[139]n[178]0[167][153]ms$;
436 [153]".":[153]
445 [137]9
450 [139]gp[178]0[167][139]n[178]8[167][153]"(NULL)hat have you got to trade for it?":[137]470
455 [139]n[178]1[175]l(2)[178]0[167][153]"atnha! atn trapdoor.":l(2)[178][171]2
460 l(n)[178]h:[137]9
470 [141]15:[139][200](j$,2)[179][177]"eg"[167][153]"right$ can't trade rifle for that.":[137]9
472 [139][200](j$,2)[179][177]"eg"[167][153]"right$ can't trade rifle for that.":[137]9
475 [139]l(17)[179][177]h[167][153]"right$ don't have gold egg.":[137]9
480 [153]"right$ traded the gold egg for the rifle.":gp[178]1:l(17)[178]18
490 l(n)[178]h:[137]9
500 [143] put
505 [139]l(n)[178]h[167]510
506 [153]"right$ don't have "n$(n);:[139]n[178]0[167][153]ms$;
507 [153]".":[137]1000
510 [153]"(NULL)here (one word please)?":[141]15:j$[178][200](j$,2)
512 [139]n[178]18[175]j$[178]"ru"[167]2435:use cover routine
515 [139]l[179][177]2[167][139]l[179][177]13[167][153]"(NULL)hat won't do anything.":[137]9
517 [139]l[178]13[167]530
520 [139]n[178]10[167][139]j$[178]"tr"[176]j$[178]"ke"[167]l(n)[178]203:[137]592
525 [139]n[178]16[167][139]j$[178]"tr"[176]j$[178]"ke"[167]591
529 [153]"(NULL)hat won't do anything.":[137]9
530 [139]n[178]16[167][139]j$[178]"do"[176]j$[178]"ke"[167]593
590 [153]"(NULL)hat won't do anything.":[137]9
591 [153]"(NULL)asskey doesn't fit this keyhole.":[137]9
592 [153]"chr$unpowder is in keyhole.":[137]9
593 e$(13)[178]"100717":n$(22)[178]"str$(NULL)(NULL)(NULL) to henhouse- opened":d1[178]1:[137]9
600 [143] kill
605 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
610 [139]n[178]18[167][153]"atnre you kidding, this hen is worth a sheik's ransom!":[137]9
620 [139]n[179][177]15[167][153]"(NULL)hat won't help.":[137]9
630 [139]l(8)[179][177]h[167][153]"right$'m only one person, not an army!":[137]9
640 [153]"right$ would need a cannon for that!":[137]9
700 [143] shoot
705 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
707 [139]l(8)[179][177]h[167][153]"right$ don't have anything to shoot with.":[137]9
710 [139]n[178]18[167][153]"atnre you kidding, this hen is worth a sheik's ransom!":[137]9
712 [139]n[178]2[176]n[178]3[176]n[178]10[167]750
720 [139]n[179][177]15[167][153]"(NULL)hat won't help.":[137]9
740 [153]"right$ need a canon!":[137]9
750 [139]sk[179].[167][153]"(NULL)rapdoor already blown open.":[137]9
755 sk[178]1:[139]l(10)[179][177]203[167]770
760 [153]"(NULL)atn-peek(NULL)(NULL)(NULL)":[153]"(NULL)hat blew the lock open!":sk[178][171]1:e$(2)[178]"0301":[137]9
770 [153]"(NULL)ifle is not powerful enough to blow open the trapdoor.":[137]9
800 [143] chop
801 [139]j[178]0[175]n$[179][177]"peeke"[167][153]"right$ don't see it here.":[137]9
805 [153]"(NULL)ith what?":[141]15:[139][200](j$,2)[179][177]"ax"[167][153]"(NULL)hat won't work.":[137]9
810 [139]l(4)[179][177]h[167][153]"right$ don't have the ax.":[137]9
812 [139]n[179][177]13[167]840
815 [139]tm[167][153]"(NULL)ne tree over the moat is enough.":[137]9
820 tm[178]1:[153]"(NULL)right$(NULL) - peekval(NULL)":e$(5)[178]"141112":[137]9
840 [139]n$[179][177]"peeke"[167][153]"(NULL)hat didn't do anything.":[137]9
845 [139]l[179][177]3[167][153]"right$ can't chop the beanstalk from here!":[137]9
850 [139]l(18)[179][177]h[175]l(18)[179][177]201[167][153]"(NULL)he idea is to get the hen!!!":[137]9
855 [153]"***len(NULL)atn(NULL)left$***":[129]q[178]1[164]3500:[130]:[153]"(NULL)he evil giant was killed in the fall.
860 print"[206]o longer will he terrorize your village."
865 print"[217]our hen will make you very rich!"
868 forq=1to2000:next:end
900 rem unlock
910 ifl=2then990
915 ifl<>13thenprint"[206]othing here to unlock.":goto9
920 ifn<>22andn<>23thenprint"[201] can't unlock that.":goto9
925 ifl(16)<>hthenprint"[201] need a key.":goto9
930 e$(13)="101707":n$(22)="[196][207][207][210] to henhouse- open":d1=1:goto9
990 ifn<>2andn<>3thenprint"[201] can't unlock that.":goto9
991 ifl(16)=hthenprint"[208]asskey doesn't fit this lock.":goto9
992 print"[201] can't unlock the trapdoor.":goto9
995 goto9
1000 n$="":rem inventory
1001 rem do not move this line!!!
1055 j=1:print"[201] have:":print:forq=1toni:ifl(q)=hthenprintn$(q):j=0
1060 next:ifjthenprint"[206]othing.
1099 [137]10
1100 [143] swim
1110 [139]n[179][177]12[167][153]"right$ can't swim there.":[137]9
1120 [153]"(NULL)wimming in the moat would be hazardous to my health.":[137]9
1200 [143] hit
1210 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
1220 [139]n[178]15[167][153]"right$'m not going to hit this bozo!":[137]9
1250 [153]"(NULL)hat had no effect.":[137]9
1300 [143] open
1305 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
1310 [139]n[178]2[167]1350
1315 [139]n[179][177]22[167][153]"right$ can't open that.":[137]9
1320 [139]d1[167][153]"str$oor to henhouse is already opened.":[137]9
1325 [153]"right$ can't, the door is locked.":[137]9
1350 [139]sk[179]0[167][153]"(NULL)rapdoor is already opened.":[137]9
1360 [153]"right$ can't, the trapdoor is locked.":[137]9
1390 [137]5
1400 [143] drop
1410 [139]l(n)[171]h[167][153]"right$ don't have "n$(n):[137]9
1420 [139]n[178]18[176]n[178]1[167][153]"(NULL)ight need "n$(n)" later.":[137]9
1499 l(n)[178]l:[137]8
1500 [143] water
1505 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
1510 [139]n[178]7[175]l(7)[179][177][171]3[167][153]"right$ can't water the seeds yet.":[137]9
1520 [139]n[179][177]7[167][153]"(NULL)othing here to water.":[137]9
1530 [139]l(6)[178]0[167][153]"(NULL)o more water in pitcher.":[137]9
1540 [139]l(5)[179][177]h[167][153]"right$ don't have anything to water with.":[137]9
1550 [139]l[179][177]3[167][153]"(NULL)othing here to water.":[137]9
1555 [153]"load"
1560 x[178]15:l(7)[178]0:e$(3)[178]"02080415":l(6)[178]0:bs[178]1
1561 [153][163]x)"(NULL)(NULL)(NULL)! atn":[141]4
1562 [153][163]x)" giant":[141]4
1563 [153][163]x)"bean-":[141]4
1564 [153][163]x)" stalk":[141]4
1565 [153][163]x)"grew up":[141]4
1566 [153][163]x)" into":[141]4
1567 [153][163]x)"the sky":[141]4
1568 [153][163]x)" as":[141]4
1569 [153][163]x)" soon":[141]4
1570 [153][163]x)" as":[141]4
1571 [153][163]x)" right$":[141]4
1572 [153][163]x)"started":[141]4
1573 [153][163]x)" to":[141]4
1574 [153][163]x)" water":[141]4
1575 [153][163]x)"seeds.":[141]4
1576 [153][163]x)"(NULL)he":[141]4
1577 [153][163]x)"bean-":[141]4
1578 [153][163]x)" stalk":[141]4
1579 [153][163]x)"reaches":[141]4
1580 [153][163]x)" past":[141]4
1581 [153][163]x)" the":[141]4
1582 [153][163]x)"clouds":[141]4
1583 [153][163]x)" to ":[141]4
1584 [153][163]x)" the":[141]4
1585 [153][163]x)" home":[141]4
1586 [153][163]x)" of":[141]4
1587 [153][163]x)"the":[141]4
1588 [153][163]x)"evil":[141]4
1589 [153][163]x)" giant.":[141]4
1590 [153][163]x)"(NULL)here you":[141]4
1591 [153][163]x)"will find":[141]4
1592 [153][163]x)"the hen":[141]4
1593 [153][163]x)"that lays":[141]4
1594 [153][163]x)"gold eggs.":[141]4
1599 [137]9
1600 [143] plant
1605 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
1610 [139]l[179][177]3[167][153]"right$ can't plant anything here.":[137]9
1620 [139]n[179][177]7[167][153]"right$ can't plant "n$(n)".":[137]9
1630 [139]l(n)[178][171]3[167][153]"(NULL)he seeds are already planted.":[137]9
1640 [153]"(NULL)(NULL), seeds are planted.":l(7)[178][171]3:n$(7)[178]"(NULL)valvalstr$(NULL)- planted":[137]9
1700 [143] climb
1701 [139]n$[178]"str$o"[167]n[178]16
1702 [139]n$[178]"(NULL)p"[167]n[178]15
1703 [139]l[178]3[175]n[178]15[167]l[178]4:[137]9
1704 [139]l[178]4[175]n[178]16[167]l[178]3:[137]9
1705 [139]l[178]4[175]n[178]15[167]l[178]14:[137]9
1706 [139]l[178]14[175]n[178]16[167]l[178]4:[137]9
1710 [139]n$[179][177]"peeke"[167][153]"right$ can't climb "ms$".":[137]9
1720 [139]bs[178]0[167][153]"(NULL)here's no beanstalk!":[137]9
1730 [139]l[178]3[167]l[178]4:[137]9
1732 [139]l[178]5[167]l[178]14:[137]9
1734 [139]l[178]14[167]l[178]4:[137]9
1736 [139]l[178]4[167]l[178]14:[137]9
1740 [153]"right$ can't climb the beanstalk from here.":[137]9
1799 [153]"(NULL)hat didn't work.":[137]9
1800 [143] cross
1810 [139]n[179][177]12[175]n[179][177]27[167][153]"right$ can't cross that.":[137]9
1820 [139]tm[178]0[167][153]"(NULL)ot a good idea to cross the moat with":[137]1890
1830 [153]"right$ crossed over on the tree."
1840 [139]l[178]6[167]l[178]5:[137]9
1850 [139]l[178]5[167]l[178]6:[137]9
1890 [153]"all of those hungry alligators!":[137]9
1900 [143] buy/purchase/swap
1910 [137]400:use [161] routine
2000 [134]p$(50),e$(50),n$(100),l(100),v$(50),p(7):np[178]17:ni[178]30:nv[178]25:el[178]11:ge[178]458
2001 [134]n2$(100),v2$(50),p2$(50),m$(45)
2003 t[178]9:[153]:h[178]199:hw[178]198:l[178]2
2004 [141]4000
2020 i$[178]" ":t1$[178]" ":[153]
2030 [129]a[178]1[164]np:[135]a,p$(a),p2$(a),e$(a):[130]:[135]a
2060 [129]a[178]1[164]ni:[135]a,n$(a),n2$(a),l(a):[130]:[135]a
2065 [153]:[153]
2070 [129]q[178]1[164]nv:[135]v$(q):v2$(q)[178][200](v$(q),2):[130]
2080 [129]q[178]1[164]37:[135]m$(q):[130]
2100 ge[178]h[170]ge:yu$[178]" you"
2110 [139][194](sh[170]2)[171]h[167][151]sh[170]2,[171]h[172]([194](ge)[179][177]0)
2120 [141]4500
2199 [153]"load":[142]
2300 [143] help
2305 [139]l[178]2[175]sk[167][153]"right$ need an explosive to help me shoot open the lock.":[137]9
2310 [139]l[178]5[175]tm[178]0[167][153]"right$ need something over the moat.":[137]9
2315 [139]l[178]3[175]at[167]at[178]0:[137]2391
2390 [153]"right$ can't think of anything now.":[137]9
2391 [153]"right$ need to use something to keep that hen quiet!":[137]9
2400 [143] cover
2405 [139]j[178]0[167][153]"right$ don't see it here.":[137]9
2420 [153]"(NULL)ith what (one word please)?":[141]15
2430 [139]n[179][177]18[176][200](j$,2)[179][177]"ru"[167][153]"(NULL)hat won't do anything.":[137]9
2435 [139]l(1)[179][177]h[167][153]"right$ don't have the rug.":[137]9
2440 [153]"right$ covered the hen with the rug.":l(18)[178]201:[137]9
2500 [143] verbs
2510 [153]"(NULL)ou may use the following verbs:
2520 print"[200]elp [214]erbs [204]ook [199]o [199]et
2530 [153]"(NULL)ut (NULL)ill (NULL)hoot (NULL)nlock lenhop
2540 print"[211]wim [200]it [207]pen [196]rop [215]ater
2550 [153]"(NULL)lant lenlimb lenross peekuy (NULL)wap
2560 print"[201]nventory [212]rade [208]urchase
2570 [153]"(NULL)ake lenover
2590 ifu%then10
2592 u%=1:goto9
3000 j=0:k=n:forqe=1to7:k=abs(l(k)):ifk>200thenk=k-200:next:return
3005 ifk=lork=hthenj=1
3010 qe=h:next:return
3410 l(n)=h:goto8
3500 y$=" "+j$+" ":forq=1tolen(y$)
3510 ifmid$(y$,q,4)=yu$thenprint"[147]"y$"too!":j=q:q=9e9:next:l=gf:goto3550
3520 next:goto104
3550 ifmid$(y$,j,6)=" your "thenprint"[147]"left$(y$,j+5)"own "mid$(y$,j+6)"[157]!":goto10
3560 l=gf:print"[147]"y$"too!":goto10
4000 print"[147] [202]ack and the [194]eanstalk[145]tm"
4005 print" [163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163][163]
4010 [153]" lenopyright (c) 1983 by:
4020 print" [194]ruce [210]obinson
4050 [153]" atnll rights reserved.
4060 print" [196]istributed by:
4070 [153]" (NULL)ictory (NULL)oftware lenorporation
4080 print" [208]aoli, [208][193]
4100 [153]" chr$et the hen that lays gold eggs and
4110 print" defeat the evil giant.
4120 [142]
4500 [153]" (hit any key)
4510 poke198,0:wait198,1:print"[147]":poke198,0
4999 return
6000 print"[147][198]ind your way through the underground
6010 o[178][168].:a[178]2:b[178]3:c[178]6:d[178]7:e[178]4:f[178]9
6020 [153]"(NULL)atnpeek(NULL)(NULL)right$(NULL)(NULL)left$. (NULL)he exit for the lenatn(NULL)(NULL)(NULL)val is
6030 print"located on the [206][207][210][212][200][215][197][211][212] end of the
6040 [153]"labyrinth, and the exit for the left$val(NULL)
6050 print"[200][207][213][211][197] is located on the [211][207][213][212][200][197][193][211][212] end
6060 [153]"of the labyrinth.
6070 print"[208]ress [206],[197],[215],[211] to move. [212]hese are your
6080 [153]"only controls until you get out!
6090 a$=""
6095 b$=""
6100 printa$:printb$"[157][157][215][146][157]e[157]s[157]t[211][146]outh";
6110 print"[145][145]t[145][157]s[145][157]a[145][157][197][146][145][145][145][157][157][157][157][157][157][157][157][206][146]orth"
6120 print"[158]"
6200 ifl=6thenx=4:y=3:goto6300:remgoto6700
6210 x=22:y=35:remgoto6900
6300 yp=y+a:ym=y-a
6310 printa$:fork=ymtoyp:printb$mid$(m$(k),x-b,d):next
6500 poke198,0:wait198,1:getd$:printa$
6505 ifd$="n"then6600
6510 ifd$="e"then6700
6515 ifd$="s"then6800
6520 ifd$="w"then6900
6530 goto6500
6600 ifmid$(m$(y-a),x,1)<>" "then6500:move north
6606 xm=x-b
6610 forj=ytoy-estepo:printa$:fork=j-atoj+a:printb$mid$(m$(k),xm,d):next:next
6630 y=y-e:goto7000
6700 ifmid$(m$(y),x+b,1)<>" "then6500:move west
6706 yp=y+a:ym=y-a
6710 forj=x-btox+b:printa$:fork=ymtoyp:printb$mid$(m$(k),j,d):next:next
6730 x=x+c:goto7000
6800 ifmid$(m$(y+a),x,1)<>" "then6500:rem move south
6806 xm=x-b
6810 forj=y-atoy+a:printa$:fork=jtoj+e:printb$mid$(m$(k),xm,d):next:next
6830 y=y+e:goto7000
6900 ifmid$(m$(y),x-b,1)<>" "then6500:rem move west
6906 yp=y+a:ym=y-a
6910 forj=x-btox-fstepo:printa$:fork=ymtoyp:printb$mid$(m$(k),j,d):next:next
6930 x=x-c
7000 ifx=4andy=3thenl=6:print"[155]":goto9
7010 ifx=22andy=35thenl=13:print"[155]":goto9
7020 goto6500
10000 rem stored as follows: rm #,"rm name","1st 2 letters","exits"
10001 data1,"[196]amp [194][193][211][197][205][197][206][212]","[194]a","02"
10002 data2,"[200][207][213][211][197] with thatched roof","[200]o","03"
10003 data3,"[204]arge [217][193][210][196]","[217]a","0208"
10004 data4,"[199]iant [194][197][193][206][211][212][193][204][203]","[194]e","03141516"
10005 data5,"[197][196][199][197] of [205]oat","[197]d","1411"
10006 data6,"[207]minous [195][193][211][212][204][197]","[195]a","111012"
10007 data7,"[200][197][206] [200]ouse","[200]e","13"
10008 data8,"[212][207][215][206]","[212]o","0309"
10009 data9,"[199][213][206][211][205][201][212][200] [211]hop","[199]u","08"
10010 data10,"[213]nderground [204][193][194][217][210][201][206][212][200]","[204]a","0613"
10011 data11,"[205][207][193][212]","[205]o","0506"
10012 data12,"[212][210][197][197] over [205]oat","[212]r","1406"
10013 data13,"[207][213][212][211][201][196][197] of hen house","[207]u","1017"
10014 data14,"[212][207][208] of [194]eanstalk","[212]o","040516"
10015 data15,"[213][208]","[213]p",""
10016 data16,"[196][207][215][206]","[196]o",""
10017 data17,"[211]ecret [208][193][211][211][193][199][197][215][193][217] to [195]astle","[208]a","06"
10199 data0:rem indicates end of room data
12000 rem stored as: item#, item name, 1st 2 ltrs,location (<0 if can't get it!)
12001 data1,"[215]ool [210][213][199]","[210]u",2
12002 data2,"[211]turdy [212][210][193][208][196][207][207][210]","[212]r",0
12003 data3,"[203][197][217][200][207][204][197] in [212]rapdoor","[203]e",-202
12004 data4,"[193][216]","[193]x",1
12005 data5,"[208]ewter [208][201][212][195][200][197][210]","[208]i",2
12006 data6,"[211]pring [215][193][212][197][210]","[215]a",-205
12007 data7,"[211]eeds","[211]e",8
12008 data8,"[210]ifle","[210]i",9
12009 data9,"[194]ullets","[194]u",0
12010 data10,"[199]unpowder","[199]u",09
12011 data11,"[204]arge [199][210][197][197][206] [204]eaves","[199]r",-4
12012 data12,"[205]oat","[205]o",-5
12013 data13,"[212]all [212][210][197][197][211]","[212]r",-226
12014 data14,"[200]ungry [193][204][204][201][199][193][212][207][210][211]","[193]l",-212
12015 data15,"[211]leeping [199][201][193][206][212]","[199]i",-6
12016 data16,"[208]asskey","[208]a",215
65287 (NULL)(NULL)(NULL)(NULL)(NULL)sgn(NULL)(NULL)d valchr$chr$","valg",22?
12018 [131]18,"(NULL)agic left$val(NULL)","left$e",7
12019 [131]1
[199]