home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Tiger Disk 146
/
Tiger_Disk_146_19xx_Tiger-Crew-Disk_de_Side_B.d64
/
zauberschloss
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2023-02-26
|
19KB
|
498 lines
0 print"[147][144] bitte warten - ich lese daten ":poke53280,12:poke53281,9
1 restore:he=0:vc=53248:pz=1:px=3:py=2:ri=0:wz=0:dz=0:dr=0:w=0:x=0:y=0:ha=0:hb=0
2 datafackel,speer,handschuh,krone,schluessel,knopf,buch,truhe,messer
3 datazaubertrank,schild,kobold,tarnkappe,zettel,gift
4 pokevc+21,0:ifru=0thendimpl(2,5,4),pr(2,5,4),di$(14)
5 fora=0to14:readdi$(a):next
6 data1006,1014,1015,1024
7 data1064,1005,1003,1140
8 data1039,1011,1140,1005
9 data1001,1018,1271,1041
10 data1064,1010,1012,1036
11 data2026,1522,1269,1001
12 data1006,1142,1011,1012
13 data1017,1033,1004,1001
14 fora=1to2:forb=1to4:forc=1to4:readpr(a,b,c):next:next:next
15 data17384,1512,1000,1001
16 data1000,1256,1000,1064
17 data1000,1000,1128,3048
18 data1002,5096,2024,1000
19 data1000,9192,1000,1000
20 data1000,1000,1000,1016
21 data1000,1000,1002,1000
22 data1000,3048,1004,1032
23 fora=1to2:forb=1to4:forc=1to4:readpl(a,b,c):next:next:next
24 data,,,,,4,,,18,,,65,,,40,,2,36,,,82,,,168,,,152,,,32,,,48,,,48,,,48,,,48
25 data,,48,,,48,,,48,,,48,,,48,,,48,,,48
26 data16,,,16,,,18,,,255,76,64,19,95,64,18,63,128,16,21,,16,31,,16,17,,17,255
27 data192,63,255,254,63,255,254,19,255,254,19,255,246,19,255,246,19,255,246
28 data19,255,246,19,255,240,19,255,240,16,51,0,19,243,240
29 data8,,,6,,,31,,,54,,,104,,,96,,,192,,,192,,,192,,,192,42,0
30 data224,127,80,224,255,248,224,255,253,103,255,255,127,255,255,127,31,227
31 data126,239,221,63,247,253,31,247,221,15,97,184,7,126,191
32 data,126,,,62,,,126,,,63,,,127,,,63,,,127,,,63,,,126,,,62,0
33 data1,126,,11,252,,95,252,,255,248,0,255,248,0,255,240,0,255,224,0
34 data255,192,0,255,128,0,126,0,0,56,0,0
35 data0,0,0,3,128,0,15,224,0,30,120,0,62,254,0,127,255,135,255,255,253
36 data127,255,255,255,127,255,127,128,0,255,213,94,127,255,252,255,255,240
37 data127,248,0,255,192,0,127,0,0,255,0,0,126,0,0,254,0,0,126,0,0,254,,,
38 data,,255,,,126,,,66,,,66,,15,195,240,8,,16,8,60,16,8,126,16,8,153,16
39 data9,153,144,9,255,144,9,231,144,8,255,16,10,66,80,9,255,144,8,126,16
40 data8,36,16,8,195,16,11,,208,15,255,240,,,
41 data0,0,0,0,0,0,0,48,0,1,182,0,1,182,0,1,182,0,1,182,0,13,182,0,13,182,24
42 data13,182,56,13,182,56,13,182,112,13,182,240,15,255,192,15,255,192
43 data15,255,128,7,255,128,7,255,0,3,255,0,3,255,0,3,255,0
44 data1,255,128,1,255,128,1,255,128,1,60,128,1,153,128,1,255,128,1,255,128
45 data12,189,48,6,189,96,2,219,64,2,102,64,3,126,192,1,60,128,1,189,128
46 data1,153,128,3,195,192,3,221,192,3,255,192,3,255,192,3,189,192,7,189,192
47 data7,189,224,7,189,224,7,60,224,7,126,224,7,126,224,7,126,224,4,255,32
48 data15,255,240,15,255,240,15,255,240,15,255,240,15,255,240,15,255,240
49 data31,255,248,31,255,248,31,255,248,31,255,248,62,221,124,48,221,12
50 data119,221,238,,,
51 data32,24,4,32,24,2,48,60,12,48,60,12,48,60,12,48,60,12,56,126,28,56,126,28
52 data56,126,28,56,126,28,56,126,28,59,255,188,59,255,188,59,255,188
53 data59,255,188,63,255,252,63,255,252,63,255,252,63,255,252,63,255,252
54 data,,
55 data,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,12,,,13,248,,13,252,,63,254,1
56 data111,254,1,255,255,2,127,255,252,,,
57 data1,252,0,3,30,0,3,231,0,14,123,128,15,249,128,3,96,0,0,204,0
58 data3,158,0,3,62,0,0,110,0,0,238,0,0,239,0,0,239,0,0,239,0,0,239,0
59 data0,31,0,0,255,0,0,255,0,0,56,0,3,184,0,3,248,0
60 data126,0,0,36,0,0,36,0,0,36,0,0,131,0,3,129,192,2,0,64,3,0,192
61 data3,255,192,3,253,192,3,127,192,3,239,192,3,255,192,3,251,192,3,255,192
62 data3,223,192,3,255,192,3,253,192,3,127,192,3,255,192,3,255,192
63 fora=1to4:forb=1to4:forz=1to2:pl(z,a,b)=pl(z,a,b)-1000
64 pr(z,a,b)=pr(z,a,b)-1000:next:next:next
65 ifru=1then67
66 dimsp(13,63):fora=1to13:forb=1to63:readsp(a,b):next:next
67 print"[147]"," zauberschloss":print
68 print"moechten sie ein n[146]eues spiel beginnen"
69 print,,"[157][157][157]a[146]ltes spiel fortsetzen?"
70 geta$:ifa$<>"a"anda$<>"n"then70
71 ifa$="a"then346
72 rem
73 rem
74 printchr$(14)"[147] [146]"
75 print" [196][193][211][160][218][193][213][194][197][210][211][195][200][204][207][211][211] [146]"
76 print" [146]":fori=1to2000:next
77 print" [211]inn des [211]piels ist es, eine [193]ufgabe,"
78 print" die im [214]erlauf des [211]piels gestellt"
79 print" wird, zu loesen. [211]ie koennen dem"
80 print" [195]omputer dazu [193]nweisungen eingeben,"
81 print" die er dann ausfuehrt. [196]iese [194]efehle"
82 print" bestehen in der [210]egel aus zwei [215]orten,"
83 print" die durch eine [204]eerstelle getrennt"
84 print" sein muessen. [198]olgende [203]ommandos,"
85 print" gefolgt von einem [199]egenstand, werden"
86 print" vom [195]omputer verstanden:"
87 print" [206][201][205][205] [160][214][197][210][204][201][197][210][197] [204][201][197][211][160] [160][207][197][198][198][206][197]"
88 print" [214][197][210][202][193][199][197] [160][196][210][197][200] [160][194][197][206][213][212][218][197] [160][212][210][201][206][203] [160][196][210][213][197][195][203][197]"
89 print,,," weiter?[146]";
90 geta$:ifa$<>"j"then90
91 print" [194]ei [210]ichtungsangaben werden nur die"
92 print" [193]nfangsbuchstaben eingegeben:"
93 print" [206]=[206]ord [211]=[211]ued [215]=[215]est [207]=[207]st":print" [200]=[200]och [210]=[210]unter"
94 print,,,"[145][145][145][145] [206]":print,,,"[215]*[207]":print,,," [211]"
95 print" [206]ach dem [194]efehl [204][201][211][212] werden alle"
96 print" [196]inge aufgelistet, die man bei sich"
97 print" hat. [214]orsicht:[146] [211]ie koennen immer nur"
98 print" 4 [199]egenstaende auf einmal tragen!"
99 print" [205]it [211][193][214][197] wird das [211]piel fuer spaete- res[215]eiterspielen gespeichert"
100 print,,,"[157][157][157] [198]ertig?[146]";
101 geta$:ifa$<>"j"then101
102 printchr$(142):poke649,9:ti$="000000"
103 rem
104 poke53281,9:print"[147]":fora=0to23step7:print"":gosub 121:next
105 ifx=0andy=0andri=0thenprint,,,"[145][157][157][157][157][157][213][201][157][157][202][203][145]":print" ring"
106 print"richtungen: n-w-s-o-h";:input" kommando ";ko$
107 ifko$="n"thenx=x+1
108 ifko$="s"thenx=x-1
109 ifko$="w"theny=y+1
110 ifko$="o"theny=y-1
111 ifko$="nimm ring"thenri=1
112 ifko$="dreh ring"andri=1then142
113 ifko$="h"then118
114 ifko$="save"orko$="s[193]"thenprint"noch nicht moeglich":fora=1to1000:next
115 ifko$="stop"orko$="s[212]"thenstop
116 ifko$="list"orko$="l[201]"then147
117 goto104
118 poke53281,0:print"[147] sie sind beim klettern "
119 print" vom baum gefallen":goto430
120 stop
121 printtab(a)"[206][205]"
122 printtab(a)"[206][206][205][205]"
123 printtab(a)"[206][206][205][205]"
124 printtab(a)"[206][206][206][205][205]"
125 printtab(a)"[206] [206][205] [205]"
126 printtab(a)"[206] [206][206][205][205] [205]"
127 printtab(a)"[206][206][206] [205][205][205]"
128 printtab(a)"[206][206][206] [206][205] [205][205][205]"
129 printtab(a)"[206][206][206][206] [205][205][205][205]"
130 printtab(a)"[206] [206][206] [206][205] [205][205] [205]"
131 printtab(a)"[206][206] [206] [205] [205][205]"
132 printtab(a)"[206][206][206][206] [206][205] [205][205][205][205]"
133 printtab(a)"[206] [206][206][206][206][206][205][205][205][205][205] [205]"
134 printtab(a)"[206][206][206] [206][206] [205][205] [205][205][205]"
135 printtab(a)"[206][206] [206][206][206] [206][205] [205][205][205] [205][205]"
136 printtab(a)"[206][206][206] [206][206][206] [205][205][205] [205][205][205]"
137 printtab(a)"[206][206] [206][206][206] [206][206][205][205] [205][205][205] [205][205]"
138 printtab(a)"[206][206][206][206] [206][206][206][206][205][205][205][205] [205][205][205][205]"
139 printtab(a)"[144] "
140 printtab(a)"[169] [223]"
141 return
142 print"[147] der ring hat sich aufgeloest"
143 print" alles um sie beginnt sich zu drehen"
144 fora=1to2000:next:print"[147]"
145 fora=1to50:forb=0to16:poke53281,b:next:next:xy=4
146 goto149
147 ifri=0thenprint"[147] sie haben nichts":fora=1to2000:next:goto 104
148 print"[147] sie haben einen ring":fora=1to2000:next:goto104
149 poke53281,9
150 print"[147]":pokevc+21,0:fora=2to5:printtab(a)"[144][205]"spc(35-2*a)"[206]":next
151 print" [207][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208]"
152 fora=1to8:print" [165]"spc(23)"[170]":next
153 print" [204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]":ri$=""
154 fora=5to2step-1:printtab(a)"[206]"spc(35-2*a)"[205]":next
155 p1=pr(pz,px,py):if(p1and1)<>1then159
156 print""," [175][175][175][175][175][175][175]":print," [167][205][175][175][175][175][175][206][180]"
157 fora=1to6:print,"[170][170] [165][165]":next:print,"[186][206] [205][204]"
158 ri$="-n":poke214,10:print:print,"[175][175][175][175][175]"
159 if(p1and8)<>8then163
160 print" [170][205][160]":print" [170] [205]":ri$=ri$+"-w"
161 print" [170][183][208]":fora=1to9:print" [170] [167]":next
162 print" [170][175][186]":print" [170] ":print" [170] ":print" [206]":ifkk=1thenkk=0:goto259
163 if(p1and2)<>2then167
164 print"",,,"[206][180]":print,,,"[206] [180]":ri$=ri$+"-o"
165 print,,,"[207][183][180]":fora=1to9:print,,,"[180] [180]":next:print,,," [205][204][175][180]"
166 print,,," [180]":print,,," [180][157][205]"
167 if(p1and4)=4thenri$=ri$+"-s"
168 if(p1and16)<>16then171
169 print"":print,,"[157][157][204][175][175][175][175][175][175][175]":print,,"[157][157][205][205][221][175][175][221][206][206]":ri$=ri$+"-h"
170 print,,"[157][205][171][192][192][179][206]":fora=1to7:print,,"[221][221]":print,,"[171][195][195][179]":next
171 if(p1and32)<>32then174
172 poke214,15:print:print,," [204][175][186]":print,," [204][175][186]":print,,"[206][165] [170][205]":ri$=ri$+"-r"
173 print,,"[157][206][206][207][183][208][205][205]":print,,"[157][207][183][183][183][183][183][183]"
174 p=pl(pz,px,py):if(pand2048)=0then178
175 if(haand2)=0then178
176 ha=ha-2:ko=2:hb=hb-1
177 poke214,18:print:print"der kobold hat ihren speer gestohlen"
178 if(pand2)=2thenpoke214,14:print,"[145][145][145][145][145]^[157][221][157][221][157][221][157][221][157][221][157][221]"
179 if(pand16)=16thenpoke214,16:print:print,,"[157][157][157][157][157]o[195][178]"
180 if(pand64)<>64then183
181 poke214,15:print:print," [175][175][175][175]":print,"[206] [206][180]":print,"[157][206] [206][206]"
182 print,"[157][157][206][175][175][175][206][206]":print,"[157][157][157][170] ==([206]":print,"[157][157][183][183][183][183]"
183 if(pand256)=256thenpoke214,17:print:print,," [172][164][164][164][164]":print,," [146][164][164][164][164]>":print,," [188]"
184 if(pand1)<>1then188
185 fora=1to63:poke831+a,sp(1,a):next:pokevc,255:pokevc+1,100
186 poke2040,13:pokevc+37,2:pokevc+38,0:pokevc+39,7:pokevc+21,peek(vc+21)or1
187 pokevc+28,peek(vc+28)or1
188 if(p1and64)<>64then191
189 print"[147] [129]sie sind in eine fallgrube gelaufen!!"
190 poke53281,0:goto430
191 if(p1and128)<>128and(p1and256)<>256then197
192 fora=1to63:poke895+a,sp(2,a):next:poke2041,14:pokevc+40,0:pokevc+2,100
193 pokevc+3,138:pokevc+21,peek(vc+21)or2:pokevc+23,2:pokevc+29,2:w=1
194 pokevc+28,peek(vc+28)and243:if(p1and256)<>256then197
195 pokevc+41,0:pokevc+23,6:pokevc+29,6:pokevc+4,200:pokevc+5,138:poke2042,14
196 pokevc+21,peek(vc+21)or4
197 if(pand1024)<>1024then200
198 print"[207][183][208]":print"[180] [170]":print"[180]#[170]"
199 print"[180] [170]":print"[205] [206]":print" [183]"
200 if(pand8192)<>0thenpoke214,18:print:print," [146]"
201 if(pand128)<>128then205
202 poke214,11:print:print,,"[175][175][175][175]":print,,"[206] [206][180]"
203 print,,"[207][183][183][208] [180]"
204 print,,"[180] [170][206]":print,,"[183][183][183][183]"
205 if(p1and512)<>512then217
206 if(pand16384)=16384then438
207 fora=3to5:forb=1to63:poke831+64*(a-3)+b,sp(a,b):next:next:pokevc+28,0
208 poke2040,13:poke2041,14:poke2042,15:pokevc+39,5:pokevc+40,5:pokevc+41,5
209 pokevc+21,7
210 pokevc+23,7:pokevc+29,7:pokevc,100:pokevc+1,155:pokevc+2,148:pokevc+3,155
211 pokevc+4,164:pokevc+5,113:f1=2:f2=7
212 pokevc+17,peek(vc+17)or16:fora=1to25:poke53281,f1:poke53281,f2:forb=1to60
213 next:mf=f1:f1=f2:f2=mf:next:poke53281,9
214 if(haand1024)=1024then216
215 goto436
216 dr=1:ifdr=2and(pand16384)<>16384then429
217 if(haand64)=64thenbu=bu+1:ifbu=5then390
218 if(pand16384)=0then221
219 fora=0to63:pokea+960,sp(6,a):next:poke2044,15:pokevc+21,peek(vc+21)or16
220 pokevc+43,1:pokevc+8,100:pokevc+9,170
221 if(haand16384)=16384and(haand4)<>4then398
222 if(p1and256)=256and(pand128)=128then400
223 if(haand1)=1and(haand64)=64then403
224 if(pand4)=0then228
225 fora=0to63:pokea+896,sp(7,a):next:pokevc+21,peek(vc+21)or2
226 pokevc+40,13:pokevc+2,200:pokevc+3,200:pokevc+29,peek(vc+29)and253
227 pokevc+23,peek(vc+23)and253
228 if(p1and1024)=0then233
229 n=831:fora=8to10:forb=0to63:n=n+1:poken,sp(a,b):next:next
230 pokevc+21,7:pokevc+39,0:pokevc+40,0:pokevc+41,7
231 pokevc+4,162:pokevc+5,83:pokevc+2,150:pokevc+3,143:pokevc,150:pokevc+1,103
232 pokevc+23,3:pokevc+29,3:poke2040,13:poke2041,14:poke2042,15
233 if(pand8)=0then236
234 fora=0to63:pokea+960,sp(10,a):next:pokevc+21,peek(vc+21)or4:poke2042,15
235 pokevc+4,150:pokevc+5,170
236 if(pand2048)=0then240
237 fora=0to63:poke896+a,sp(12,a):next:poke2041,14:pokevc+40,0
238 pokevc+21,peek(vc+21)+2:pokevc+2,250:pokevc+3,180
239 pokevc+23,peek(vc+23)and253:pokevc+29,peek(vc+29)and253
240 if(pand4096)=0then242
241 poke214,18:print:print,"[213][192][201]":print,"[188][183][190]"
242 ifpand32thenpoke214,10:print:print,"[215]"
243 if(pand512)=0then247
244 fora=1to63:poke702+a,sp(13,a):next:poke2047,11
245 pokevc+21,peek(vc+21)or128:pokevc+46,4
246 pokevc+14,60:pokevc+15,170
247 :
248 :
249 he=he+1:if(haand1)=1or(pand1)=1thenpoke53281,9:print"[144]":goto252
250 ifhe>9thenpoke53281,0:print"[152][145] es ist dunkel":goto252
251 ifhe>7thenprint,,"[145] es wird dunkel"
252 ifw=1thenwz=wz+1:ifwz=2then404
253 ifdr=1thendz=dz+1:ifdz=2then429
254 ifbe=0then256
255 be=0:w=0:wz=0:ha=ha-4096:hb=hb-1:print"die tarnkappe hat sich aufgeloest"
256 ifhaand32thenkn=1
257 poke214,20:print:fora=0to14:if(pand(2^a))<>0thenprintdi$(a)" ";
258 next
259 pokevc+17,peek(vc+17)or16:poke214,21:print:ko$="":a$=" nicht moeglich![145]"
260 print" moegliche richtungen: ";mid$(ri$,2):print" kommando:";
261 open1,0,1:input#1,ko$:close1
262 ifko$="save"orko$="s[193]"then333
263 ifp1and1024then441
264 ifleft$(ko$,3)="sim"orleft$(ko$,3)="abr"then450
265 if(ko$="nimm kobold"orko$="verjage kobold")andpand2048then451
266 if(haand4096)=4096andko$="benutze tarnkappe"thenbe=1:a$=" in ordnung[145]"
267 ifko$="druecke knopf"andkn=0then455
268 ifko$="n"and(pr(pz,px,py)and1)=1thenpx=px-1:goto476
269 ifko$="o"and(pr(pz,px,py)and2)=2thenpy=py+1:goto476
270 ifko$="s"and(pr(pz,px,py)and4)=4thenpx=px+1:goto476
271 ifko$="w"and(pr(pz,px,py)and8)=8thenpy=py-1:goto476
272 ifko$="h"and(pr(pz,px,py)and16)=16thenpz=pz+1:goto476
273 ifko$="r"and(pr(pz,px,py)and32)=32thenpz=pz-1:goto476
274 ifko$="list"orko$="l[201]"then392
275 ifleft$(ko$,4)<>"nimm"then281
276 ifhb=xythenprint" sie koennen nicht soviel tragen!!":a$="":goto309
277 fora=0to14:if(mid$(ko$,6)<>di$(a))or(pand2^a)<>2^athennext:goto279
278 hb=hb+1:ha=haor2^a:pl(pz,px,py)=p-2^a:ne=1:next
279 ifne=1thenne=0:goto149
280 goto309
281 ifleft$(ko$,8)<>"verliere"then286
282 fora=0to14:if(mid$(ko$,10)<>di$(a))or(haand2^a)<>2^athennext:goto284
283 hb=hb-1:ha=ha-2^a:pl(pz,px,py)=por2^a:ne=1:next
284 ifne=1thenne=0:goto149
285 goto309
286 ifleft$(ko$,6)<>"oeffne"then294
287 ifmid$(ko$,8,4)<>"buch"or(haand64)<>64then289
288 bu$="o":print," das buch ist offen":a$="":goto309
289 ifright$(ko$,4)<>"tuer"then292
290 if(haand16)<>16thenprint"die tuer ist verschlossen":a$="":goto309
291 tu$="o":a$="die tuer ist offen ":goto309
292 ifright$(ko$,5)<>"truhe"or(haand128)<>128then309
293 print" die truhe ist offen, sie enthaelt gold":goto259
294 ifko$<>"lies buch"then297
295 ifbu$=""thenprint"[147]das zauberschloss":goto259
296 goto459
297 ifko$="lies zettel"and(haand8192)=8192then414
298 ifleft$(ko$,13)<>"verjage wache"andko$<>"verjage waechter"then301
299 input"womit";di$:ifdi$<>di$(1)or(haand2)<>2then404
300 ifp1and128thenpr(pz,px,py)=p1-128:wz=0:w=0:goto149
301 ifleft$(ko$,5)<>"trink"then308
302 ifright$(ko$,4)="gift"and(haand16384)=16384then398
303 if(haand512)=0orright$(ko$,11)<>"zaubertrank"then308
304 hb=hb-1:ha=ha-512
305 ifxy=2thenxy=4:print" sie sind wieder gross":a$="":goto309
306 print" sie sind ein zwerg!":hb=0:pl(pz,px,py)=porha:ha=0:xy=2
307 fora=1to2000:next:goto149
308 :
309 ifko$="stop"orko$="s[212]"thenpoke650,0:stop
310 printa$:fora=1to1000:next
311 poke214,21:print;:print:fora=1to3
312 print" ":next:goto259
313 fora=1to1000:next:t$=ti$:poke53281,11:print"[147]"
314 print,"[144] [169][223]",,"[157][169][223]":print,"[169] [223]"spc(14)"[169] [223]"
315 print," [170]"spc(14)" [170]"
316 print," [182][161][170]"spc(14)" [182][161][170]"
317 print," [182][161][170]"spc(14)" [182][161][170]"
318 print," [170][146][172][187][172][187][172][187][172][187][172][187][172][187][172][187] [170]"
319 print," [172][187][172][187][172][187][172][187][172][187][172][187][172][187][172][187] [170]"
320 print," [170]"
321 print," [170]"
322 print," [185] [170]"
323 print," [182][161] [170]"
324 print," [182][161] [170]"
325 print," [182][161] [170]"
326 fora=1to1000:next:fora=1to20:poke53281,7:poke53281,0:poke53281,2:next
327 poke53281,11
328 fora=1to1000:pokeint(rnd(1)*560+1260),102:next
329 fora=1to1200:pokeint(rnd(1)*560+1260),32:next:poke53281,11:fora=1to500
330 next:poke53281,5:print"[147]das schloss hat sich in rauch aufgeloest"
331 print" sie sind der neue koenig"
332 print,"zeit: "left$(t$,2)":"mid$(t$,3,2)":"mid$(t$,5):end
333 pokevc+21,0:input"[147] filename ";n$
334 print" k[146]assette oder d[146]iskette?"
335 getk$:ifk$="d"then338
336 ifk$="k"then345
337 goto335
338 open2,8,2,n$+",s,w":open15,8,15:input#15,a,a$:ifa$<>"ok"then372
339 forz=1to2:forx=1to4:fory=1to4:print#2,pl(z,x,y)
340 print#2,pr(z,x,y):next:next:next
341 print#2,ha:print#2,hb:print#2,ti$:print#2,pz:print#2,px:print#2,py
342 print#2,ko:print#2,w:print#2,wz:print#2,dr:print#2,dz:print#2,bu
343 print#2,be:print#2,he:print#2,bu$:print#2,tu$:print#2,kn:print#2,xy
344 close2:close15:goto149
345 open2,1,2,a$:goto339
346 input" filename ";n$
347 print" k[146]assette oder d[146]iskette?"
348 geta$:ifa$="d"then351
349 ifa$="k"then358
350 goto348
351 open2,8,2,n$+",s,r":goto359
352 forz=1to2:forx=1to4:fory=1to4:input#2,pl(z,x,y)
353 input#2,pr(z,x,y):next:next:next
354 input#2,ha,hb,ti$,pz,px,py
355 input#2,ko,w,wz,dr,dz,bu
356 input#2,be,he,bu$,tu$,kn,xy
357 close2:close15:goto149
358 open2,1,0,n$:goto352
359 open15,8,15:input#15,a,a$:ifa$="ok"then352
360 ifa$="file not found"then364
361 ifa$="drive not ready"then366
362 ifa$="file type mismatch"then369
363 printa$:end
364 print"ein file dieses namens existiert nicht"
365 input" filename ";n$:goto371
366 print" diskette einlegen!":print," fertig ?"
367 getx$:ifx$=""then367
368 goto365
369 print" kein daten-file!":goto365
370 printa$:stop
371 close2:close15:goto351
372 close2:close15:ifa$="write protect on"then378
373 ifa$="drive not ready"then382
374 ifa$="file exists"then383
375 ifa$="file type mismatch"then388
376 printa$:stop
377 goto333
378 print" diese diskette ist schreib-geschuetzt"
379 print" bitte eine andere diskette einlegen.":print," fertig?"
380 getx$:ifx$=""then380
381 goto338
382 print" diskette einlegen !":print," fertig ?":goto380
383 print"ein file dieses namens existiert bereits"
384 print" soll es ueberschrieben werden (j/n)"
385 getx$:ifx$="j"thenn$="@0:"+n$:goto338
386 ifx$="n"then333
387 goto385
388 print" dieser name ist von einem anderen"," file-typ belegt"
389 fora=1to2000:next:goto333
390 poke53281,0:print"[147]das magische buch ist in flammen","aufgegangen"
391 print"leider haben sie dabei ebenfalls feuer","gefangen":goto430
392 print"[147]","sie haben:":pokevc+21,0
393 fora=0to14:ifhaand2^athenprint,di$(a)""
394 next:print," fertig ?"
395 ifpeek(203)=64then395
396 geta$:ifa$<>"j"then396
397 goto149
398 poke53281,0:print"[147][153] sie haben sich vergiftet"
399 goto430
400 print" die waechter haben sich um das gold"
401 print" gestritten und sich dabei erschlagen":pokevc+21,0
402 w=0:wz=0:pr(pz,px,py)=p1-256:goto155
403 print" die fackel hat das buch verbrannt":ha=ha-64:hb=hb-1:goto224
404 ifdi$="messer"and(haand256)=256then410
405 ifdi$="gift"and(haand16384)=16384then412
406 print"[147] die wache hat sie gefangen"
407 ifp1and256thenprint"[147] die zweite wache hat sie gefangen"
408 ifbe=1then149
409 poke53281,0:goto430
410 print"[147][152] die hellebarde der wache ist laenger"," als ihr messer"
411 goto430
412 print"[147][152] die wache wollte das gift nicht essen"
413 print" und hat sie gefangen":goto430
414 poke53281,15:ifpand1=0thenpoke53281,0
415 pokevc+21,0:print"[147][144] [207][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][183][208]"
416 print" [180]"spc(24)"[170]"
417 print" [180] [176][195][178][195][178] [178][195][174] [176][195][178][195][178][195][178][195][174] [170]"
418 print" [180] [221] [221] [221] [221] [221] [170]"
419 print" [180] [171] [219] [219] [219][195][179] [171][195][219][195][219] [219] [179] [170]"
420 print" [180] [221] [221] [221] [221] [221] [221] [221] [170]"
421 print" [180] [171][195][219][160][219][195][219] [179] [171][195][219][195][219] [219][195][179] [170]"
422 print" [180] [221][160][160][160][160][160][221][160][221] [221][160][160][160][160][160][160][160][221] [170]"
423 print" [180] [171] [219][195][219] [219] [179] [171] [219] [219][195][219] [179] [170]"
424 print" [180] [221] [221] [221] [221] [221] [221] [206] [221] [170]"
425 print" [180] [173][195][177][195][177] [177][195][189] [173][195][177][195][177] [177][195][189] [170]"
426 print" [180]"spc(24)"[170]":print" [204][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][175][186]"
427 fora=1to8000:next:print"[147] der plan hat sich in luft aufgeloest"
428 ha=ha-8192:hb=hb-1:fora=1to2000:next:goto149
429 poke53281,0:print"[147][152] der drache hat sie gefressen."
430 pokevc+21,0:pokevc+17,peek(vc+17)or16:poke650,0
431 print,"zeit: "left$(ti$,2)":"mid$(ti$,3,2)":"mid$(ti$,5)
432 print" noch ein versuch (j/n) ?"
433 geta$:ifa$="j"thenru=1:goto0
434 ifa$="n"thenpoke650,0:end
435 goto433
436 poke53281,0:print"[147][152] der feuerspeiende drache hat sie verbrannt."
437 goto430
438 print" der drache hat das gift gefressen"," und sich in luft aufgeloest"
439 p=p-16384:p1=p1-512:pr(pz,px,py)=p1:pl(pz,px,py)=p:pokevc+21,0
440 dr=0:goto205
441 ifko$="simsalakadabra-abrakubum"then444
442 poke53281,0:pokevc+21,0
443 print"[147][152] der zauberer hat sie in eine maus"," verwandelt":goto430
444 fora=0to127step3:poke832+a,0:poke833+a,0:poke834+a,0:pokevc+5,peek(vc+5)+2
445 next:pokevc+21,4:fora=0to63:poke832+a,sp(11,a):next
446 pokevc+23,0:pokevc+29,0
447 pokevc+1,170:pokevc+21,5:p1=p1-1024:pr(pz,px,py)=p1:p=p+8:pm=170
448 pl(pz,px,py)=p:fora=150to0step-.5:pokevc,a:pm=pm+.1:pokevc+1,pm:next
449 fora=1to2000:next:goto149
450 poke53281,0:print"[147] sie haben sich eine maus verwandelt":goto430
451 a1$="mitnehmen":ifleft$(ko$,7)="verjage"thena1$="verjagen"
452 print"[147][152] der kobold wollte sich nicht ";a1$
453 print" lassen und hat sie in einen zwerg ver-","zaubert":hb=0
454 fora=1to2000:next:pl(pz,px,py)=pl(pz,px,py)orha:ha=0:xy=2:goto149
455 pr(pz,px,py-1)=pr(pz,px,py-1)or2:p1=p1or8:pr(pz,px,py)=p1:kn=1
456 pl(pz,px,py)=p-32:print"[145][145][145][145][145]";
457 fora=1to5:print" ":next
458 poke214,10:print:print," ":goto159
459 poke53281,12:pokevc+21,0:print"[147]"chr$(14),"[196]as [218]aueberschloss"
460 ifhe>9and(pand1)=0thenpoke53281,0
461 print"[144][211]eit langer, langer [218]eit ist es [211]itte,"
462 print"[145] dass der, der die [203]rone des [210]eiches "
463 print" besitzt, das ganze [204]and regiert."
464 print"[196]och seit vielen hundert [202]ahren re-"
465 print"giert der schreckliche [218]auberer, und"
466 print"keiner von denen, die ihm die [203]rone"
467 print"wieder entreissen wollten ist je"
468 print"wieder zurueckgekehrt.",,"[196]as [211]chloss ist streng bewacht,"
469 print"und die [199]emeinheit der [215]aechter wird"
470 print"nur von ihrer [199]eldgier uebertroffen."
471 print"[213]eberall lauern [198]allen und vielerlei","[199]efahren."
472 print,"[211]imsalakadabra-abrakubum"
473 print,"[198]ertig ?"
474 getx$:ifx$<>"j"then474
475 poke53281,9:printchr$(142):goto149
476 ifpz>0then482
477 poke53281,0:print"[147]die wache freut sich, dass sie von"
478 print" selbst in den kerker gegangen sind"
479 print" schade, dass sie nun bis zum ende"
480 print" ihres lebens dort bleiben muessen"
481 print" und nicht weiter spielen koennen.":goto430
482 ifpz<3then485
483 poke53281,0:print"[147] sie sind auf das dach geklettert,"
484 print" abgerutscht, in den graben gefallen":print" und ertrunken":goto430
485 ifpx<>0then487
486 poke53281,0:print"[147] diese tuer fuehrt in den wassergraben":goto430
487 ifpr(pz,px,py)>0then149
488 ifpz=1then491
489 poke53281,0:print"[147] die tuer fuehrt ins freie. sie sind"
490 print" aus dem zweiten stock gestuerzt":goto430
491 iftu$="o"then493
492 px=4:print"sie sind gegen die tuer gelaufen":a$="":goto309
493 print"[147]"," sie sind im freien"
494 ifhaand8then313
495 poke53281,0:print" weil sie das land nicht befreit haben,"
496 print" hat sie die wuetende menge verpruegelt":goto430