home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 48
/
048side1.d81
/
mo
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
33KB
|
950 lines
1 ifpeek(828)<>173thenload"dr",8,1
2 poke53280,0:poke53281,0:print"[147][155]"chr$(14)
3 dimq$(29),q%(56),bb$(15),h$(24)
4 r=rnd(-ti)
5 goto727
6 fori=1to14:ifb$=bb$(i)thencx=i:return
7 next:ifkd=0thenprint"[215]here?"
8 yy=1:cx=0:return
9 print"[212]he room is completely dark. [204]ike a tomb.":return
10 aa$="":a$="":print"[159]? [158]";
11 print">[157]";:fort=1to20:next:print"[219][157]";:fort=1to20:next:print"<[157]";:fort=1to20:next
12 getaa$:ifaa$=""then11
13 ifaa$=chr$(13)then20
14 ifaa$=chr$(20)theniflen(a$)thenprintaa$;:a$=left$(a$,len(a$)-1):goto11
15 ifaa$>="a"andaa$<="z"oraa$=" "oraa$="*"then19
16 ifaa$>="[193]"andaa$<="[218]"thenaa$=chr$(asc(aa$)-128):goto19
17 ifaa$>="0"andaa$<="9"then19
18 goto11
19 a$=a$+aa$:printaa$;:goto11
20 print" [155]":cx=1:return
21 kd=0:yy=0:gosub72:gosub10:gosub77:cx=0:return
22 fl=0:ifc$="up"thenq%(34+k)=k:printz$(1):q%(39)=0:gosub99:yy=1:return
23 ifc$="do"thenq%(34+k)=0:printz$(0):q%(39)=0:gosub99:yy=1:return
24 ifa$="losw"thenprintz$(-(q%(34+k)>0)):ifvb=0thenf$="fm":gosub106:print:yy=1
25 return
26 ifq%(45)andq%(46)andq%(47)andq%(48)thenq%(49)=1
27 return
28 fl=0:ifa$="takn"andq%(26)=0andq%(49)thengosub30:q%(26)=1:fl=1:return
29 return
30 r=fnaa(3):printff$(r):return
31 fori=10to13:ifq%(i)=5thenq$(i)=g$(1,i-10)+" key"
32 next:goto34
33 print
34 onq%(0)+1goto752,543,553,620,654,638,693,125,117,178,187,201,206
35 onq%(0)-12goto218,227,238,251,269,278,292,301,310,318,329,337
36 onq%(0)-24goto354,363,377,382,392,401,411,427,444,453,467,472
37 onq%(0)-36goto479,488,499,507,674,700,710,593,604,568
38 m=m+1:ifm>4thenm=1
39 printspc(40*abs((len(a$)=1)))m$(m):return
40 a$="":print"[129][198]ilename[158]";:gosub10:ifa$=""thenprint"[155][145]":return
41 open15,8,15:open2,8,2,a$+",p,w":fori=0to56:print#2,q%(i):next:close2:print"[155]"
42 i=0:input#15,a,a$:ifa=0thenprint"[211]aved":close15:yy=1:kd=1:return
43 print""a$
44 i=i+1:ifi<100thenprint"[144][145]"a$"[145]":goto43
45 print#15,"i0":close15:yy=1:return
46 a$="":print"[129][198]ilename[158]";:gosub10:ifa$=""thenprint"[155]":goto34
47 open15,8,15:open2,8,2,a$+",p,r":fori=0to56
48 input#2,q%(i)
49 next:close2:print"[155]":i=0
50 input#15,a$,a$:ifa$="ok"thenclose15:goto31
51 print""a$
52 i=i+1:ifi<100thenprint"[144][145]"a$"[145]":goto51
53 print#15,"i0"
54 close15:yy=1:return
55 print"[212]he signs say, '";:return
56 print"[212]wo signs say, '";:return
57 print"[212]he other sign is quite illegible.":return
58 print"[215]hether it's paralysis or rigor mortis,"
59 print"that note is well clutched.":return
60 print" [217]ou're in a small triangular room.":return
61 print" [217]ou're in a large triangular room.":return
62 print"[212]here are two doors, a sign above each.":return
63 print"[212]here are three doors with signs above.":return
64 print"[212]he scroll is blank and is apparently a scroll-key.":return
65 print"[207]n the wall is an [213]p/[196]own light switch.":return
66 print"[217]ou can't read [204]atin, la [205]ort.":return
67 print"[193] message in [204]atin is carved below it.":return
68 d$="[210][207][207][205] of the "+d$:print"[129]"spc(int(40-len(d$))/2)d$"[155]":d$="":i=fre(1):return
69 print"[217]ou are in a small triangular room, the"
70 print"one door closed snugly behind you.":return
71 print"[193]bove the door it says, '";:return
72 r=fnaa(4)+1
73 print:print"[159][145]";p$(r)"[158]";:return
74 ifc$="pa"orc$="fo"orc$="ci"orc$="go"thenifq%(32)=0then76
75 return
76 ifkd=0thenprint"[217]ou haven't earned entrance yet.":yy=1:return
77 ifleft$(a$,1)=" "andlen(a$)>1thena$=right$(a$,len(a$)-1):goto77
78 print"[155]";:fori=3tolen(a$):ifmid$(a$,i,1)=" "thenb$=mid$(a$,i+1,2):bh=1
79 ifbhthenbh=0:bh$=right$(a$,len(a$)-i):goto93
80 next
81 iflen(a$)=1thenb$="":c$="":return
82 a$=left$(a$,3):ifa$="qui"thengosub934:return
83 ifa$="loo"ora$="lo"thena$="l":goto81
84 ifa$="ver"thenvb=0:c$="":print"[214]erbose you got.":yy=1:return
85 ifa$="bri"thenvb=1:c$="":print"[194]rief you got.":yy=1:return
86 ifa$="sav"thengosub40:yy=1:return
87 ifa$="loa"then46
88 ifa$="inv"thengosub785:yy=1:return
89 ifa$="fon"thendf=df+1:df=dfand1:poke53272,19+3*df:yy=1:return
90 ifa$<>"hel"then93
91 print"[147]";:f$="h1":gosub106:print:gosub110:print
92 print"[147]":f$="h2":gosub106:print:yy=1:return
93 print"[155]":c$=left$(a$,2)
94 ifc$="ex"thenc$="lo"
95 ifc$="ge"thenc$="ta"
96 ifc$="pr"thenc$=b$:a$="pq":yy=1:return
97 a$=c$+b$
98 return
99 h=0:fori=35to38:h=h+q%(i):next:ifh<>q%(56)then101
100 print"[212]he whole [204]ibrary is lit!":q%(39)=1:return
101 q%(39)=0
102 ifq%(39)then105
103 print"[193]t this time only the rooms of the"
104 print"[207][212][212][197][210], [212][207][193][196], [199][201][210][193][198][198][197] and [208][201][199] are lit."
105 return
106 b=951:pokeb,4:pokeb+3,44:pokeb+4,80
107 fori=0to1:pokeb+1+i,asc(mid$(f$,i+1,1)):next:poke909,1
108 sys828
109 f$="":return
110 print:printtab(7)"[158][208]ress any key to continue[155]"
111 geta$:ifa$=""then111
112 return
113 ifa$<>"d"anda$<>"gotu"then125
114 print"[212]he tunnel leads to a well in the court-
115 [153]"onyard in the center of the (NULL)ibrary.
116 goto119
117 print" [129][212][200][197] [195][207][213][210][212][217][193][210][196] of the [195][200][201][205][197][210][193][155]"
118 ifq%(40)=0thenprint"[217]ou see a well with a pewter bucket.
119 [153]"(NULL)here are doors to the north, east,"
120 [153]"south and west with signs above saying,"
121 [153]"'(NULL)(NULL)(NULL)val(NULL)', '(NULL)(NULL)atnstr$', 'chr$right$(NULL)atnascascval' and '(NULL)right$chr$',"
122 [153]"respectively. valach door is fastened with a holy-lock."
123 [139]q%(54)[178]0[167][153][163]19)"on(NULL)n the edge of the well is a chalice."
124 q%(0)[178]8:[141]21:[137]131
125 [139]vb[167][153]"(NULL)ibrary":[137]127
126 [153]"load":f$[178]"li":[141]106
127 q%(0)[178]7:[141]21
128 [139]c$[178]"go"[167][141]6:[139]cx[167]548
129 [139]a$[178]"l"[167][153]:[137]125
130 [141]784:[137]127
131 [139]a$[178]"l"[167][153]:[137]117
132 [145][171](c$[178]"ot")[171]2[172](c$[178]"to")[171]3[172](c$[178]"gi")[171]4[172](c$[178]"pi")[137]178,269,354,444
133 [139]a$[178]"gotu"[167]620
134 [139]a$[178]"clro"[176]a$[178]"goro"[176]a$[178]"clbe"[176]a$[178]"gobe"[175]q%(50)[177]1[167]a$[178]"gowe"
135 [139]a$[179][177]"gowe"[167]140
136 [139]q%(50)[178]0[167]620
137 [139]q%(50)[178]2[167]q%(50)[178]3:[153]"lenlimbing down the rope you see a priest hole.":[137]124
138 [153]"(NULL)he knot slips when you put tension on the rope ";
139 [153]"and you almost fall into the well.":q%(50)[178]0:[137]124
140 [139](a$[178]"goho"[176]a$[178]"gopr")[175](q%(50)[178]3)[167]529
141 [139]a$[179][177]"lobu"[167]144
142 [139]q%(40)[167][153]"(NULL)he bucket is gone.":[137]124
143 [153]"(NULL)here's something etched in the bottom too small to make out.":[137]124
144 [139]a$[179][177]"loro"[175]a$[179][177]"taro"[167]147
145 [139]q%(40)[175](q%(50)[178]0)[167][153]"(NULL)here's no rope.":[137]124
146 [153]"(NULL)he rope is tied to the well beam.":[137]124
147 [139]a$[178]"tabu"[175]q%(40)[178]0[167][153]"right$t's too heavy to take.":[137]124
148 [139]a$[179][177]"losp"[176]q%(54)[178]0[167]150
149 f$[178]"dc":[141]106:[153]:[137]124
150 [139]a$[179][177]"fibu"[176]q%(40)[167]152
151 f$[178]"bu":[141]106:[153]:q%(40)[178]1:[137]124
152 [139]a$[179][177]"lowe"[167]161
153 f$[178]"we":[141]106:[153]
154 [139]q%(40)[178]0[167]157
155 [153]"mid$ust above the water line there is"
156 [153]"something you can't quite make out."
157 [139]q%(50)[178]0[167]124
158 [153]"(NULL)he bellrope is tied at the top and is"
159 [153]"dangling into the well."
160 [137]124
161 [139]a$[179][177]"rein"[175]a$[179][177]"loin"[167]166
162 [139]q%(8)[178]0[167]165
163 [153][163]10)"for(NULL)he (NULL)ell of (NULL)t (NULL)purious"
164 [153]"list(NULL)he well is the center of all knowledge.onon":[137]124
165 [153]"(NULL)atin has never been your strong suit, right$nspector.":[137]124
166 [139]a$[179][177]"tibe"[175]a$[179][177]"tiro"[176]q%(25)[178]0[167]170
167 q%(25)[178]0:[153]"for(NULL)hich knot do you prefer";:[141]10
168 [139][200](a$,2)[178]"sl"[167][153]"listatn wise choice.":q%(50)[178]2:[137]124
169 [153]"listright$f you say so.":q%(50)[