home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore Disc 49
/
Commodore_Disc_49_19xx_-_de.d64
/
wunderland
(
.txt
)
< prev
Wrap
Commodore BASIC
|
2022-10-26
|
29KB
|
745 lines
10 rem reise ins wunderland =====64
20 rem (p) commodore disc =
30 rem ============================
40 rem (c) by =
50 rem juergen gerstenberg =
60 rem =
70 rem version 2.0 =
80 rem c-64 + 1530/1541 =
90 rem ============================
100 av=9:ao=115:ar=50:am=49
110 wl=4:sp=1:af=7
120 dimdu(ar,6),ob(ao),fl(7)
130 dimob$(ao),rn$(ao),ra$(ar),ms$(am)
140 fl(1)=-1:fl(2)=-1:fl(3)=-1:fl(4)=-1
150 fl(5)=-1:fl(6)=-1:fl(7)=-1
160 rem ****************** verben *
170 data untersuche
180 data nimm
190 data lege
200 data oeffne
210 data betrete
220 data benutze
230 data esse
240 data reibe
250 data drehe
260 rem ***************** objekte *
270 data viele baeume, baeume, 1
280 data einen grossen felsbrocken, felsen, 2
290 data eine treppe, treppe, 0
300 data leere konservendosen, dosen, 0
310 data ein paket zucker, zucker, 0
320 data leere flaschen, flaschen, 0
330 data nichts besonderes, nichts, 7
340 data baeume, baeume, 4
350 data viele seen,seen,5
360 data darin sind viele fische, fische, 0
370 data "eine hohe, lange mauer",mauer,6
380 data ein tor, tor, 0
390 data eine nische, nische,8
400 data "eine holzkiste, nicht verschlossen", kiste,0
410 data einen hinterhalt, hinte, 0
420 data ein brett, brett, 9
430 data eine eisentruhe, truhe,0
440 data einen schluessel, schluessel,0
450 data eine falltuer,fall,10
460 data tropfsteine,trop,11
470 data ein reissendes gewaesser,gewaesser,12
480 data werkzeuge,werk,13
490 data einen hammer, hammer,0
500 data eine brechstange, brech,0
510 data einen meissel,meissel,0
520 data nichts besonderes, nichts, 14
530 data nichts besonderes, nichts, 15
540 data einen hungrig brummenden baeren, baer,0
550 data eine lichtung,lichtung,3
560 data nichts besonderes,nichts,9
570 data nichts besonderes,nichts,13
580 data fische,fische,0
590 data eine grosse ebene,ebene,16
600 data einen riesigen wald,wald,16
610 data ein stark zerklueftetes gebirge,gebirge,16
620 data eine merkwuerdige huette,huette,17
630 data einen wackeligen tisch,tisch,0
640 data ein messer,messer,0
650 data eine kutsche,kutsche,18
660 data ein zerbrochenes rad,rad,0
670 data einen ring,ring,0
680 data einen lichtschimmer,schimmer,19
690 data ein stabiles holztor,holztor,0
700 data eine strasse,strasse,20
710 data einen rastplatz,rastplatz,20
720 data eine quelle,quelle,0
730 data sauberes wasser,wasser,0
740 data einen teppich,teppich,21
750 data eine zugbruecke,zugbruecke,22
760 data nichts besonderes,nichts,23
770 data viele grosse toepfe,toepfe,24
780 data in ihnen spinnweben,weben,0
790 data mehrere leere gefaesse,gefaesse,24
800 data einen riesigen eichentisch,eichentisch,25
810 data eine alte vergammelte lampe,lampe,0
820 data viele dunkele ecken,ecken,26
830 data eine wendeltreppe,wendeltreppe,26
840 data eine stiege nach unten,stiege,26
850 data ein kaestchen,kaestchen,27
860 data eine glaeserne glocke,glocke,27
870 data verschlossene kellertueren,kellertueren,28
880 data ein skelett,skelett,0
890 data eingefallene waende,waende,29
900 data tiegel und toepfe,tiegel,30
910 data ein himmelbett,himmelbett,30
920 data eine spinne,spinne,0
930 data zauberpulver,zauberpulver,0
940 data einen guertel,guertel,0
950 data einen bach,bach,31
960 data einen bach,bach,32
970 data einen taleingang,taleingang,33
980 data einen feuerspeienden drachen,drachen,0
990 data steile felshaenge,haenge,34
1000 data einen hoehleneingang,eingang,0
1010 data einen pfad nach oben,pfad,0
1020 data kein weiterkommen,weiter,35
1030 data ein hindernis,hindernis,35
1040 data einen riesen,riese,0
1050 data eine verborgene huette,verborgene huette,0
1060 data blumen,blumen,0
1070 data tiere,tiere,36
1080 data ein haeuschen,haeuschen,36
1090 data einen schemel,schemel,0
1100 data einen zettel,zettel,0
1110 data einen zauberspruch,spruch,0
1120 data blumen,blumen,37
1130 data tiere,tiere,37
1140 data einen bruechigen weg,weg,38
1150 data allerlei sachen,sachen,39
1160 data eine steintafel,tafel,40
1170 data einen text,text,0
1180 data blumen,blumen,41
1190 data tiere,tiere,41
1200 data blumen,blumen,42
1210 data tiere,tiere,42
1220 data eine merkwuerdige stelle,stelle,43
1230 data ein schwert,schwert,0
1240 data einen spaten,spaten,0
1250 data einen dunklen gegenstand,gegenstand,40
1260 data in der ferne eine grosse mulde,mulde,44
1270 data giftige schlangen,giftige schlangen,45
1280 data nichts besonderes,besonderes,46
1290 data eine ruine,ruine,47
1300 data truemmer,truemmer,48
1310 data eine leiter,leiter,0
1320 data absolute dunkelheit,dunkelheit,49
1330 data eine geldboerse,geldboerse,0
1340 data eine wunderblume,wunderblume,0
1350 data eine ungeheuer als waechter,waechter,50
1360 data eine kerze,kerze,0
1370 data ein feuerzeug,feuerzeug,0
1380 data ein totes ungeheuer,ungeh,0
1390 data eine tuer,tuer,0
1400 data nichts besonderes,nichts,0
1410 data getoetete schlangen,getoetet,0
1420 rem ***************** raeume *
1430 data im wald.,1,1,4,3,0,0
1440 data auf einer lichtung.,0,4,0,0,0,0
1450 data im wald.,0,1,4,5,0,0
1460 data im wald.,2,6,3,5,0,0
1470 data auf einer lichtung.,0,0,6,4,0,0
1480 data an einem taleingang.,4,3,0,5,0,0
1490 data in einem unterirdischen gang.,0,8,0,0,2,0
1500 data in einem unterirdischen gang.,7,0,0,9,0,0
1510 data in einer hoehle.,7,9,8,11,0,0
1520 data in einem langen gang.,9,10,11,0,0,0
1530 data in einer tropfsteinhoehle.,11,11,9,10,11,11
1540 data an einem unterirdischen fluss.,0,0,10,15,0,0
1550 data in einer alten baustelle.,0,14,0,0,0,0
1560 data in einem alten gang.,13,14,15,14,0,0
1570 data in einem alten gang.,0,0,12,14,14,14
1580 data in einem grossen tal.,16,18,17,15,0,0
1590 data in einem grossen tal.,17,17,18,16,0,0
1600 data auf einer grossen ebene.,20,18,18,17,0,0
1610 data in einem dunkelen raum.,0,0,0,0,0,0
1620 data auf einer grossen ebene.,21,21,21,21,0,0
1630 data immer noch auf dem rastplatz.,21,21,21,21,0,0
1640 data vor einem unbewohnten schloss.,0,0,22,23,0,0
1650 data im schlosshof.,25,24,22,24,0,0
1660 data in der kueche.,23,23,23,25,0,0
1670 data im rittersaal.,26,23,0,0,0,0
1680 data in einem korridor.,25,23,24,30,27,28
1690 data in einem verfallenen turm.,0,0,0,0,0,26
1700 data in einem feuchten kellergang.,0,0,0,0,26,0
1710 data in einem schaurigen verliess.,28,0,0,0,0,0
1720 data in einem wundervollen schlafzimmer.,0,0,26,0,0,0
1730 data in einem wald,21,32,4,31,0,0
1740 data in einem wald,31,32,32,33,0,0
1750 data in einem wald,0,0,32,0,0,0
1760 data in einem tal,0,35,33,0,0,0
1770 data vor einem felshindernis,34,0,0,0,0,0
1780 data auf einer riesiegen wiese,37,36,35,36,0,0
1790 data auf einer riesiegen wiese,31,41,37,37,0,0
1800 data auf einem schmalen pfad,0,0,0,0,38,34
1810 data in einer schummrigen hoehle,0,0,34,0,40,0
1820 data in einer schummrigen hoehle,8,0,0,0,0,39
1830 data auf einer riesigen wiese,41,41,37,42,0,0
1840 data auf einer riesigen wiese,41,41,37,43,0,0
1850 data an einem tuempel,44,37,0,0,0,0
1860 data immer noch am tuempel,43,45,0,0,0,0
1870 data an der mulde,0,0,44,0,0,0
1880 data in der mulde,0,0,45,47,0,0
1890 data am ausgang der mulde,0,0,48,37,0,0
1900 data in der ruine,0,0,46,49,0,0
1910 data in einem dunklen raum,0,0,48,49,0,0
1920 data im untergeschoss,0,0,0,0,48,0
1930 rem *********** mitteilungen *
1940 ms$(1)="ich sehe nichts besonderes."
1950 ms$(2)="so stark bin ich nicht."
1960 ms$(3)="warum? "
1970 ms$(4)="womit? "
1980 ms$(5)="was soll ich mit dem schutt."
1990 ms$(6)="unter dem felsen ist eine treppe."
2000 ms$(7)="hier hat wohl ein picknick"
2010 ms$(8)="stattgefunden."
2020 ms$(9)="wenn du meinst."
2030 ms$(10)="erst muss ich ihn betreten."
2040 ms$(11)="wie denn?"
2050 ms$(12)="es ist verschlossen."
2060 ms$(13)="da ist ein tor."
2070 ms$(14)="es ist daemmrig."
2080 ms$(15)="in der kiste war ein zeitzuender."
2090 ms$(16)="ich bin tod!"
2100 ms$(17)="sie ist mit einer kette gesichert."
2110 ms$(18)="da ist ja ein schluessel."
2120 ms$(19)="ich bin in die falltuer gestuerzt!"
2130 ms$(20)="ich bin in den fluss gefallen!"
2140 ms$(21)="sie sieht sehr stabiel aus."
2150 ms$(22)="er ist sehr stumpf."
2160 ms$(23)=" "
2170 ms$(24)="dahinter war eine truhe versteckt."
2180 ms$(25)="ich wuerde erst einmal untersuchen"
2190 ms$(26)="welches werkzeug zu gebrauchen ist."
2200 ms$(27)="der weg ins wunderland ist offen."
2210 ms$(28)="ein rad ist zerbrochen."
2220 ms$(29)="im gepaeckfach liegt ein ring."
2230 ms$(30)="hilfe - es ist ein zauberring."
2240 ms$(31)="ich muss jetzt unbedingt etwas essen."
2250 ms$(32)="ich bin verhungert!"
2260 ms$(33)="der geist des getoeteten spukt noch her-um. er hat mich getoetet."
2270 ms$(34)="haette ich doch den guertel benutzt. derdrachen hat mich getoetet."
2280 ms$(35)="hier wohnen trolle."
2290 ms$(36)="sie haben mir die glocke gestohlen."
2300 ms$(37)="darauf steht:"
2310 ms$(38)="fuer dein glueck,"
2320 ms$(39)="hole dir die glocke zurueck."
2330 ms$(40)="der guertel verleiht mir riesenkraefte. "
2340 ms$(41)="ich besiege den drachen."
2350 ms$(42)="haette ich doch den guertel bei mir.der drachen hat mich getoetet."
2360 ms$(43)="der riese freut sich,laesst mich durch."
2370 ms$(44)="mit zauber haette ich kaempfen sollen."
2380 ms$(45)="das schwert erschlaegt die schlangen."
2390 ms$(46)="die kerze brennt."
2400 ms$(47)="mehr kann ich nicht tragen."
2410 ms$(48)="ich bin doch kein packesel!"
2420 ms$(49)="der geist bringt mich fort."
2430 printchr$(147)
2440 printchr$(18)" wunderland "chr$(146)
2450 print"in einem alten buch lasen sie einmal von";
2460 print"der existenz von wunderland. in wunder-"
2470 print"land soll es eine geldboerse geben die"
2480 print"nie leer wird und eine blume die ewige"
2490 print"gesundheit verleiht. um diese gegen-"
2500 print"staende zu finden bedarf es der "
2510 print"mithilfe eines trolles."
2520 print
2530 print"trolle sind kleine wichte die in "
2540 print"wunderland leben und ab und zu einmal "
2550 print"zu uns herueberkommen. meistens "
2560 print"zu leuten die bereits von wunderland "
2570 print"wissen. so erscheint auch einmal ein "
2580 print"troll bei ihnen und will ihnen helfen. "
2590 rem ********* daten einlesen *
2600 fora=1toav
2610 readve$(a):vv$(a)=left$(ve$(a),wl)
2620 nexta
2630 fora=1toao
2640 readob$(a),rn$(a),ob(a):rn$(a)=left$(rn$(a),wl)
2650 nexta
2660 forx=1toar
2670 readra$(x)
2680 fory=1to6
2690 readdu(x,y)
2700 nexty
2710 nextx
2720 data norden, sueden, westen, osten,oben, unten
2730 fora=1to6
2740 readri$(a)
2750 nexta
2760 printchr$(18);:printchr$(144)spc(9)"...weiter mit spaces...":printchr$(146)
2770 getz$:ifz$=""then2770
2780 ifz$<>chr$(32)then2770
2790 printchr$(147):printchr$(158)
2800 print"trolle verstehen nur einfache befehle"
2810 print"wie 'nimm messer' oder 'lege flasche'."
2820 print"ausserdem kann man mit dem befehl 'vok'"
2830 print"fragen welche verben er versteht."
2840 print"mit 'save' kann man den spielstand spei-";
2850 print"chern und mit 'load' wieder laden."
2860 print"mit 'end' kann man das spiel vorzeitig"
2870 print"beenden."
2880 print"auf help gibt er nicht immer hilfreiche"
2890 print"antworten."
2900 print"mit 'inv' erzaehlt der troll was er"
2910 print"bei sich hat."
2920 print
2930 print"wenn sie wunderland erreicht haben,"
2940 print"duerfen sie sich nicht wundern,"
2950 print"wenn sie manchmal nicht dahinkommen"
2960 print"wo sie hin wollen. dann hat naemlich"
2970 print"ein troll ihnen einen schabernack"
2980 print"gespielt und sie irgendwohin gezaubert."
2990 printchr$(18);:printchr$(144)spc(9)"...weiter mit spaces...":printchr$(146)
3000 getz$:ifz$=""then3000
3010 ifz$<>chr$(32)then3000
3020 printchr$(147):poke53280,6:poke53281,6:printchr$(5)
3030 printchr$(158):z=z+1
3040 poke211,0:poke214,0:sys58732
3050 forze=1to10
3060 printms$(23)
3070 nextze
3080 poke211,0:poke214,0:sys58732
3090 print"ich bin ";
3100 printra$(sp)
3110 print"ich sehe ";
3120 fora=1toao
3130 ifob(a)<>spthen3160
3140 ifpos(0)+len(ob$(a))+2<39thenprintob$(a);", ";:fl(1)=-1:goto3160
3150 ifpos(0)+len(ob$(a))+2>39thenprint:goto3140
3160 nexta
3170 printchr$(157);:printchr$(157)"."
3180 printms$(23)
3190 printchr$(154)"ich kann nach ";
3200 forx=1to6
3210 ifdu(sp,x)=0then3260
3220 ifpos(0)=14thenprintri$(x);:goto3260
3230 ifpos(0)+len(ri$(x))<37thenprint", ";ri$(x);:goto3260
3240 ifpos(0)+len(ri$(x))>=37thenprint",":printri$(x);:goto3260
3250 ifpos(0)<16andpos(0)>2thenprint", ";ri$(x);:goto3260
3260 nextx
3270 print"."
3280 forx=1to39:printchr$(5);chr$(166);:nextx
3290 poke211,0:poke214,24:sys58732:printchr$(144);:input"was soll ich tun";ei$
3300 iffl(2)=0thenprint"ach du schreck!!!":forx=1to1000:nextx:goto4410
3310 iflen(ei$)>2then3430
3320 ifob(32)<>-2andsp=20thenprint"ohne essen gehe ich nicht weiter!":goto3030
3340 ifei$="n"anddu(sp,1)<>0thensp=du(sp,1):print"o.k.":goto3030
3350 ifei$="s"anddu(sp,2)<>0thensp=du(sp,2):print"o.k.":goto3030
3360 ifei$="w"anddu(sp,3)<>0thensp=du(sp,3):print"o.k.":goto3030
3370 ifei$="o"anddu(sp,4)<>0thensp=du(sp,4):print"o.k.":goto3030
3380 ifei$="ob"anddu(sp,5)<>0thensp=du(sp,5):print"o.k.":goto3030
3390 ifei$="u"anddu(sp,6)<>0thensp=du(sp,6):print"o.k.":goto3030
3400 ifob(32)<>-2andsp=20thenprint"ohne essen gehe ich nicht weiter!":goto3030
3420 print"dahin fuehrt kein weg!":goto3030
3430 ifleft$(ei$,3)<>"inv"then3490
3440 print"ich habe folgende gegenstaende bei mir:"
3450 forx=1toao
3460 ifob(x)=-1thenprintob$(x)
3470 nextx
3480 goto3030
3490 ifleft$(ei$,4)<>"save"then3730
3500 printchr$(147)spc(10)"spielstand speichern":printchr$(17):printchr$(17)
3510 input"welcher spieler";ei$
3520 iflen(ei$)>16then3500
3530 print"das spiel von ";ei$;" wird gespeichert."
3540 open2,8,2,"@:"+ei$+",s,w"
3550 print#2,sp
3560 print#2,z
3570 forx=1toao
3580 print#2,ob(x)
3590 nextx
3600 print"* ";
3610 forx=1toar
3620 fory=1to6
3630 print#2,du(x,y)
3640 nexty
3650 nextx
3660 print"* ";
3670 forx=1toaf
3680 print#2,fl(x)
3690 nextx
3700 print"* ";
3710 close2
3720 goto3030
3730 if left$(ei$,4)<>"load" then 3980
3740 printchr$(147)spc(10)"altes spiel laden":printchr$(17):printchr$(17)
3750 input"welchen spieler laden";ei$
3760 if len(ei$)>16 then3740
3770 printchr$(17):printchr$(17)
3780 print"spiel von ";ei$;" wird geladen."
3790 open 2,8,2,ei$+",s,r"
3800 input#2,sp
3810 print"* ";
3820 input#2,z
3830 forx=1toao
3840 input#2,ob(x)
3850 nextx
3860 print"* ";
3870 forx=1toar
3880 fory=1to6
3890 input#2,du(x,y)
3900 nexty
3910 nextx
3920 print"* ";
3930 forx=1toaf
3940 input#2,fl(x)
3950 print"* "
3960 close2
3970 printchr$(147):goto3030
3980 ifleft$(ei$,3)<>"vok"then4080
3990 printchr$(147):printchr$(158)"ich verstehe folgende verben:"
4000 printchr$(17):printchr$(17)
4010 forx=1toav
4020 printve$(x)
4030 nextx
4040 printspc(19)"weiter '*' druecken"
4050 getei$:ifei$=""then4050
4060 ifei$="*"thenprintchr$(147):goto3030
4070 ifei$<>"*"then4050
4080 if left$(ei$,3)<>"end"then 4110
4090 printchr$(147)"schade das sie nicht zuende spielen"
4100 print:print"koennen.":end
4110 if left$(ei$,4)<>"help" then goto 4170
4120 ifsp=20andob(32)<>-2thenprint"ein guetiger troll zeigt das essen.":sp=5:goto3030
4140 print"sie moechten wohl, dass ich ihnen "
4150 print"jetzt helfe. ha! ha! haaaa!"
4160 goto3030
4170 ln=len(ei$)
4180 el=ln+1:fornn=1toln
4190 test$=mid$(ei$,nn,1)
4200 iftest$=" "thenel=nn:nn=ln
4205 next
4210 ev$=left$(ei$,wl)
4220 rl=ln-el
4230 ifrl<0then4260
4240 eo$=right$(ei$,rl)
4250 eo$=left$(eo$,wl)
4260 vn=0:fornn=1toav
4270 ifev$=vv$(nn)thenvn=nn:nn=av
4280 next
4290 ifvn=0thenprint"das verb kenne ich nicht!":goto3030
4300 n=0:fornn=1toao
4310 ifeo$=rn$(nn)thenn=nn:nn=ao
4320 next
4330 ifn=0thenprint"das objekt kenne ich nicht!":goto3030
4340 onvngoto4560,4350,6800,6900,7150,7350,7700,7790,7840
4350 an=0
4360 nn=0:forx=1toao
4370 ifob(x)=-1thenan=an+1
4380 ifan=4thenx=ao:nn=1
4390 nextx
4395 ifnn=1thenprintms$(47):printms$(48):goto3030
4400 goto5790
4410 printchr$(147)
4420 print:print:printms$(16):print:printms$(0)
4430 print:print"noch einmal";:inputei$
4440 ifei$="n"thenend
4450 ifei$="j"thenrun
4460 goto4410
4470 printchr$(147)
4480 print:print"sie wachen auf und stellen fest"
4490 print:print"das sie dieses abenteur nur"
4500 print:print"getraeumt haben. so einen"
4510 print:print"geldbeutel und die wunder-"
4520 print:print"blume gibt es gar nicht."
4530 print:print"trotzdem haben sie sich gut"
4540 print:print"geschlagen. herzlichen gluckwuensche!"
4550 end
4560 rem ************ untersuchen *
4570 ifn=1andsp=1thenprintms$(1):goto3030
4580 ifn=2andob(3)=0andsp=2thenprintms$(6):ob(3)=sp:du(2,6)=7:goto3030
4590 ifn=3andob(3)=2andsp=2thenprint"sie ist sehr steil.":goto3030
4600 ifn=29andsp=3thenprintms$(7):printms$(8):ob(4)=3:ob(5)=3:ob(6)=3:goto3030
4610 ifn=4andob(n)=spthenprint"sie sind sehr rostig.":goto3030
4620 ifn=5andob(n)=spthenprint"er sieht noch brauchbar aus.":goto3030
4630 ifn=6andob(n)=spthenprint"kein umweltbewusstsein haben die leute.":goto3030
4650 ifn=9andsp=5thenprint"o.k. ":ob(10)=sp:goto3030
4660 ifn=10andsp=5thenprintms$(3):goto3030
4670 ifn=11andsp=6thenprint"o.k. - ich sehe ein tor.":ob(12)=sp:goto3030
4680 ifob(12)=spandn=12anddu(6,3)=16thenprintms$(27):goto3030
4690 ifob(12)=0andsp=6thenprint"erst muss ich doch die mauer untersuch.":goto3030
4710 if n=13andsp=8thenprint"in der ecke steht eine kiste.":ob(14)=sp:goto3030
4720 ifn=14andsp=8thenfl(2)=0:ob(15)=sp:ms$(0)=ms$(15):print"o.k.":goto3030
4730 ifn=16andsp=9thenprint"hinter dem brett ist eine eisentruhe.":ob(17)=9:goto3030
4750 ifn=17andob(n)=spandfl(3)=-1thenprintms$(17):goto3030
4760 ifn=17andob(n)=spandfl(3)=0thenprintms$(18):ob(18)=9:goto3030
4770 ifn=18andob(n)=spthenprint"der ist auch nicht aus gold.":goto3030
4780 if n=19andfl(4)=-1 andsp=10thenms$(0)=ms$(19):goto4410
4790 ifn=19andfl(4)=0andsp=10thenprint"ich habe das brett gut darueber gelegt.":goto3030
4810 ifn=20andsp=11thenprint"o.k.":ob(28)=11:goto3030
4820 ifn=28andob(28)=11thenprint"ich glaube, er will mich fressen.":goto3030
4830 ifn=21andsp=12thenms$(0)=ms$(20):goto4410
4840 ifn=22andsp=13thenprint"o.k.":ob(23)=13:ob(24)=13:ob(25)=13:ob(22)=0:goto3030
4860 ifn=23andsp=13thenprint"o.k. - ";ms$(1):goto3030
4870 ifn=24andsp=13thenprint"o.k. - ";ms$(21):goto3030
4880 ifn=25andsp=13thenprint"o.k. - ";ms$(22):goto3030
4890 ifn=33andsp=16thenprint"sie ist unendlich.":goto3030
4900 ifn=34andsp=16thenprint"er ist fast undurchdringlich.":goto3030
4910 ifn=35andsp=16thenprint"sind die berge hoch!":goto3030
4920 ifn=36andsp=17thenprint"sie ist aus holz,die tuer ist offen.":goto3030
4930 ifn=37andob(37)=17andsp=17thenprint"darauf liegt ein messer.":ob(38)=17:goto3030
4950 ifn=38andob(38)=17thenprint"es ist sehr scharf.":goto3030
4960 ifn=39andsp=18thenprintms$(28):printms$(29):ob(40)=18:ob(41)=18:goto3030
4970 ifn=40andob(40)=18andsp=18thenprint"es ist nicht mehr zu reparieren.":goto3030
4990 ifn=41andob(41)=sp thenprintms$(30):ob(41)=-1:sp=19:goto3030
5000 ifn=42andob(42)=19thenprint"er faellt durch ein holztor.":ob(43)=19:goto3030
5020 ifn=43andob(43)=spandfl(6)=-1thenprint"ich brauche hammer und meissel.":goto3030
5040 ifn=43andob(43)=spandfl(6)=0thenprint"es ist offen.":du(19,2)=20:goto3030
5050 ifn=45andsp=20thenprintms$(31):ob(46)=20:ob(47)=20:goto3030
5060 if(n=46orn=47)andob(46)=20andob(47)=20andfl(7)=-1thenms$(0)=ms$(32):goto4410
5080 if(n=46orn=47)andob(46)=20andob(47)=20andfl(7)=0thenprint"das wasser ist gut.":goto3030
5100 ifn=48andob(48)=21andsp=21thenprint"er scheint fliegen zu koennen.":goto3030
5120 ifn=49andsp=22thenprint"die zugbruecke ist heruntergelassen.":goto3030
5130 ifn=51andsp=24thenprint"sind die dreckig!":ob(52)=24:goto3030
5140 ifn=53andsp=24thenprint"die sind lange nicht benutzt worden.":goto3030
5150 ifn=52andsp=24andob(52)=24thenprint"davor ekele ich mich!":goto3030
5160 ifn=54andsp=25thenprint"ohh - eine alte lampe!":ob(55)=25:goto3030
5170 ifn=55andsp=25andob(55)=25thenprint"sie sieht wie aladins lampe aus.":goto3030
5190 ifn=56andsp=26thenprint"puh - liegt da dreck.":goto3030
5200 ifn=57andsp=26thenprint"sehr vertrauenerweckend sieht die nicht":print"aus.":goto3030
5220 ifn=58andsp=26thenprint"die ist auch sehr klapprig.":goto3030
5230 ifn=59andsp=27thenprint"es sieht sehr zerbrechlich aus.":goto3030
5240 ifn=60andsp=27thenprint"sie klingt sehr hell.":goto3030
5250 ifn=61andsp=28thenprint"eine tuer ist doch offen.":du(28,2)=29:goto3030
5260 ifn=63andsp=29thenprint"o. k.":ob(62)=29:ob(68)=29:goto3030
5270 ifn=62andob(62)=29andsp=29thenms$(0)=ms$(33):goto4410
5280 ifn=68andob(68)=29andsp=29thenprint"er hat zauberkraefte.":goto3030
5290 ifn=64andsp=30thenprint"o. k.":ob(67)=30:goto3030
5300 ifn=65andsp=30thenprint"ihhhgitt - eine spinne!":ob(66)=30:goto3030
5310 ifn=66andob(66)=30andsp=30 thenms$(0)="ich bin gebissen worden.":goto4410
5320 ifn=67andob(67)=30andsp=30 thenprint"das kann ich bestimmt gebrauchen.":goto3030
5340 ifn=69 thenprint"er rauscht.":goto3030
5350 ifn=71andsp=33thenprint"hilf mir - ein drachen!":ob(72)=33:goto3030
5360 ifn=72andob(72)=spthenms$(0)=ms$(34):goto4410
5370 ifn=73andsp=34thenprint"o.k.":ob(74)=34:ob(75)=34:du(34,4)=39:du(34,5)=38:goto3030
5390 ifn=74andsp=34andob(74)=34thenprint"scheint interressant zu sein.":goto3030
5410 ifn=75andsp=34andob(75)=34thenprint"von oben habe ich einen weiten ausblick.":goto3030
5430 ifn=76andsp=35thenprint"die welt scheint zuende zu sein.":goto3030
5440 ifn=78andsp=35andob(78)=35thenprint"er moechte zauberpulver.":goto3030
5450 ifn=79andsp=35andob(79)=35thenprint"darin wohnt der riese.":goto3030
5460 ifn=77andsp=35thenprint"die welt scheint zuende zu sein.":goto3030
5470 ifn=81andsp=36thenprintms$(1):goto3030
5480 ifn=82andsp=36thenprint"es ist ein hexenhaus.":ob(113)=36:goto3030
5490 ifn=83andob(83)=spthenprint"darauf liegt ein zettel.":ob(84)=36:goto3030
5500 ifn=84andob(84)=spthenprint"ich sehe einen zauberspruch.":ob(85)=36:goto3030
5520 ifn=85andob(85)=spthenprint"den kann ich bestimmt noch brauchen.":goto3030
5530 ifn=88andsp=38thenms$(0)="ich bin abgestuerzt.":goto4410
5540 ifn=89andsp=39andob(60)=-1thenprintms$(35):printms$(36):ob(60)=12:goto3030
5550 ifn=90andsp=40thenprintms$(37):printms$(38):printms$(39):fl(2)=-1:goto3030
5560 ifn=99andsp=40thenprint"es ist ein spaten.":ob(98)=40:ob(99)=0:goto3030
5570 ifn=96andsp=43thenprint"hier ist etwas vergraben worden.":goto3030
5580 ifn=97andsp=43andob(97)=43thenprint"zum kaempfen geeignet.":goto3030
5590 ifn=101andsp=45thenms$(0)="ich bin gebissen worden.":goto4410
5600 ifn=103andsp=47thenprint"ganz schoen zerfallen.":goto3030
5610 ifn=104andsp=48thenprint"hier ist eine leiter.":ob(105)=48:du(48,6)=50:goto3030
5630 ifn=106andsp=49thenprint"ich kann nichts sehen.":goto3030
5640 ifn=107andsp=49andob(107)=49thenprint"sie wird nie leer.":goto3030
5650 ifn=108andsp=49andob(108)=49thenprint"sie gibt ewige gesundheit.":goto3030
5660 ifn=109andsp=50thenprint"es erwacht und will mich toeten.":goto3030
5670 ifn=110andob(110)=50andsp=50thenprint"die kann ich gebrauchen.":goto3030
5680 ifn=111andob(111)=50andsp=50thenprint"es ist voll funktionstuechtig.":goto3030
5700 ifn=112andob(112)=spthenprint"da liegen ja sachen.":ob(110)=50:ob(111)=50:goto3030
5720 ifn=48andsp=22andob(48)=22thenprint"mit dem bist du doch gekommen.":goto3030
5740 ifn=2andob(3)=2andsp=2thenprint"ausser der treppe sehe ich nichts.":goto3030
5760 if ob(12)=spandn=12thenprint"es ist verschlossen.":goto3030
5770 ifob(n)<>spandob(n)<>-1thenprint"so etwas sehe ich hier nicht.":goto3030
5780 printms$(1):goto3030
5790 rem ******************* nimm *
5800 if n=1 andsp=1 then printms$(2):goto3030
5810 if n=2 andsp=2 thenprintms$(3);ms$(2):goto3030
5820 if n=4 andob(4)=spthenprint"o.k.":ob(4)=-1:goto3030
5830 if n=5 andob(5)=spthenprint"o.k.":ob(5)=-1:goto3030
5840 if n=6 andob(6)=spthenprint"o.k.":ob(6)=-1:goto3030
5850 ifn=1andsp=4 thenprintms$(2):goto3030
5860 ifn=10andsp=5andob(10)=sp thenprintms$(4):goto3030
5870 ifn=11andsp=6thenprint"wie soll ich eine mauer nehmen?":goto3030
5880 ifn=12andsp=6andob(12)=6thenprint"ich soll ein tor nehmen? ha! ha! ha!":goto3030
5900 if n=17andsp=9andob(17)=0thenprint"ich sehe nur ein brett.":goto3030
5910 ifn=16andsp=9andob(17)=0thenprintms$(24):ob(17)=sp:ob(16)=-1:goto3030
5920 ifn=17andob(17)=spthenprint"geht nicht!":printms$(17):goto3030
5930 ifn=19andsp=10andfl(4)=-1thenms$(0)=ms$(19):goto4410
5940 ifn=20andsp=11thenprint"als andenken ganz schoen.":ob(20)=-1:ob(31)=11:goto3030
5960 ifn=28andob(28)=11thenprint"das traue ich mir nicht zu.":goto3030
5970 ifn=21andsp=12thenms$(0)=ms$(20):goto4410
5980 ifn=22andsp=13thenprintms$(25):printms$(26):goto3030
5990 ifn=23andob(23)=spthenprint"o. k.":ob(23)=-1:goto3030
6000 ifn=24andob(24)=spthenprint"o. k.":ob(24)=-1:goto3030
6010 ifn=25andob(25)=spthenprint"o. k.":ob(25)=-1:goto3030
6020 ifn=16andsp=9andob(17)=spthenprint"o.k.":ob(16)=-1:goto3030
6030 ifn=3andob(3)=spthenprintms$(2):goto3030
6040 ifn=29andob(29)=spthenprint"so etwas habe ich noch nie gehoert.":goto3030
6050 ifn=9andob(9)=spthenprint"so einen grossen topf gibt es nicht!":goto3030
6060 ifn=13andob(13)=spthenprint"es wird ja immer verrueckter!":goto3030
6070 ifn=19andob(19)=spandfl(4)=0thenms$(0)=ms$(19):goto4410
6080 ifn=21andob(21)=spthenms$(0)=ms$(20):goto4410
6090 ifn=18andob(18)=9andsp=9thenprint"o.k.":fl(5)=0:ob(18)=-1:goto3030
6100 ifn=37andob(37)=17andsp=17thenprintms$(3):goto3030
6110 ifn=38andob(38)=17andsp=17thenprint"o.k.":ob(38)=-1:goto3030
6120 ifn=39andsp=18thenprint"viel lieber lasse ich mich ziehen.":goto3030
6130 ifn=40andob(40)=18andsp=18thenprintms$(3):goto3030
6140 ifn=43andob(43)=19andsp=19thenprint"es ist fest verankert.":goto3030
6150 ifn=42andsp=19thenprint"ich bin doch kein schildbuerger.":goto3030
6160 if(n=46orn=47)andob(46)=20andob(47)=20andfl(7)=-1thenms$(0)=ms$(32):goto4410
6180 if(n=46orn=47)andob(46)=20andob(47)=20andfl(7)=0thenprint"das wasser ist gut.":goto3030
6200 ifn=48andsp=21thenprint"das geht nicht.":goto3030
6210 ifn=51andsp=24thenprint"o. k.":ob(51)=-1:ob(52)=0:goto3030
6220 ifn=52andob(52)=24andsp=24thenprint"o. k.":ob(52)=-1:goto3030
6230 ifn=53andob(53)=24andsp=24thenprint"o.k.":ob(53)=-1:ob(114)=24:goto3030
6240 ifn=54andsp=25thenprint"warum soll ich denn den schleppen?":goto3030
6250 ifn=55andob(55)=spthenprintms$(49):ob(55)=-1:sp=1:ob(48)=21:goto3030
6260 ifn=59andsp=27thenprint"o. k.":ob(59)=-1:goto3030
6270 ifn=60andsp=27thenprint"o. k.":ob(60)=-1:goto3030
6280 ifn=62andob(62)=29andsp=29thenms$(0)=ms$(33):goto4410
6290 ifn=68andob(68)=29andsp=29thenprint"das ist auch in ordnung.":ob(68)=-1:goto3030
6310 ifn=64andob(64)=30andsp=30thenprint"o.k.":ob(64)=-1:ob(67)=-1:goto3030
6320 ifn=65andsp=30thenprintms$(9):ob(65)=-1:goto3030
6330 ifn=67andob(67)=30andsp=30thenprint"o.k.":ob(64)=-1:ob(67)=-1:goto3030
6340 ifn=66andob(66)=30andsp=30thenms$(0)="sie hat mich gebissen.":goto4410
6350 if n=33andsp=16 thenprint"das mache mir mal vor.":goto3030
6360 ifn=34andsp=16thenprint"unmoeglich!":goto3030
6370 ifn=35andsp=16thenprintms$(11):goto3030
6380 ifn=41andob(41)=18andsp=18thenprintms$(30):sp=19:ob(41)=-1:goto3030
6390 ifn=49andsp=22thenprintms$(11):goto3030
6400 ifn=56andsp=26thenprint"soll wohl ein witz sein?":goto3030
6410 ifn=57andsp=26thenprint"das schaffe noch nicht einmal ich.":goto3030
6420 ifn=58andsp=26thenprint"die faellt dann ja auseinander.":goto3030
6430 ifn=61andsp=28thenprint"es sind zuviele.":goto3030
6440 ifn=63andsp=29thenprintms$(5):goto3030
6450 ifn=36andsp=17thenprintms$(11):goto3030
6460 ifn=69thenprint"wie soll ich den transportieren?":goto3030
6470 ifn=71andsp=33thenprint"noch ein witz":goto3030
6480 ifn=72andsp=33thenms$(0)="der drache hat mich getoetet.":goto4410
6490 ifn=73andsp=34thenprint"was du alles verlangst.":goto3030
6500 ifn=74andsp=34andob(74)=34thenprintms$(3):goto3030
6510 ifn=75andsp=34andob(75)=34thenprintms$(2):goto3030
6520 ifn=78andsp=35andob(78)=35thenprint"das halte ich fuer nicht gut.":goto3030
6540 ifn=79andsp=35andob(79)=35thenprintms$(2):goto3030
6550 ifn=82andsp=36thenprint"da wird die hexe aber boese.":goto3030
6560 ifn=88andsp=38thenprintms$(11):goto3030
6570 ifn=89andsp=39thenms$(0)="die trolle haben mich verzaubert.":goto4410
6580 ifn=90andsp=40thenprint"lies lieber die tafel.":goto3030
6590 ifn=96andsp=43thenprint"grabe lieber.":goto3030
6600 ifn=99andsp=40thenprint"ich weiss nicht was du meinst.":goto3030
6610 ifn=100andsp=44thenprint"darauf gebe ich keine antwort.":goto3030
6620 ifn=101andsp=45thenms$(0)="sie haben mich gebissen.":goto4410
6630 ifn=103andsp=47thenprintms$(5):goto3030
6640 ifn=104andsp=48thenprintms$(5):goto3030
6650 ifn=105andsp=48andob(105)=48thenprint"o.k.":ob(105)=-1:du(48,6)=0:goto3030
6660 ifn=107andsp=49andob(107)=49andob(108)=-1then4470
6670 ifn=108andsp=49andob(108)=49andob(107)=-1then4470
6680 ifn=109andsp=50thenms$(0)="der waechter hat mich getoetet.":goto4410
6690 ifn=112andsp=50andob(112)=50thenprint"der ist jetzt wertlos.":goto3030
6700 ifn=76andsp=35thenprint"ich fuehle mich auf den arm genommen.":goto3030
6710 ifn=77andsp=35thenprintms$(2):goto3030
6720 ifn=14andob(14)=8andsp=8thenprint"ach du schreck!":ms$(0)=ms$(15):goto4410
6730 ifn=44andob(44)=spthenprint"soll ich sie aufrollen?":goto3030
6740 ifn=45andob(45)=spthenprint"gib mir lieber was zu essen.":goto3030
6750 ifn=84andob(84)=spandob(85)=spthenprint"o.k.":ob(84)=0:ob(85)=-1:goto3030
6760 ifn=85andob(85)=spandob(84)=spthenprint"o.k.":ob(84)=0:ob(85)=-1:goto3030
6770 ifn=106andob(106)=49andsp=49thenprint"wie denn?":goto3030
6780 ifob(n)=spthenprint"o.k.":ob(n)=-1:goto3030
6790 print"so etwas sehe ich hier nicht.":goto3030
6800 rem ******************* lege *
6810 if ob(n)<>-1thenprint"so etwas habe ich nicht.":goto3030
6820 ifn=16andob(16)=-1andsp=10thenprint"o.k.":ob(16)=10:fl(4)=0:du(10,4)=12:goto3030
6840 ifn=5andob(28)=spthenprint"ich wuerde lieber laufen.":ob(n)=sp:goto3030
6850 ifn=105andsp=48andob(105)=-1thenprint"o.k.":ob(105)=48:du(48,6)=50:goto3030
6870 ifn=67andsp=35andob(67)=-1andob(78)=35thenprintms$(43):du(35,2)=36:goto3030
6890 ob(n)=sp:print"o.k.":goto3030
6900 rem **************** oeffnen *
6910 ifn=12andob(12)=spanddu(6,3)=16thenprint"das tor ist bereits offen.":goto3030
6930 ifn=12andob(12)=spandob(18)=-1andfl(5)=0thenprintms$(27):du(6,3)=16:goto3030
6950 ifn=17andob(17)=spandfl(3)=-1thenprint"erst muss die kette weg.":goto3030
6960 ifn=19andob(19)=spthenms$(0)=ms$(19):goto4410
6970 ifn=4and(ob(4)=sporob(4)=-1)thenprint"sie ist schon lange geoeffnet.":goto3030
6990 ifn=6and(ob(6)=sporob(6)=-1)thenprint"sie ist leer.":goto3030
7000 ifn=17andob(17)=spandfl(3)=0thenprint"da liegt ja ein schluessel.":ob(18)=9:goto3030
7020 ifn=36andsp=17thenprint"die tuer ist schon offen.":goto3030
7030 ifn=39andsp=18thenprint"die tuer ist verklemmt.":goto3030
7040 ifn=43andob(43)=spandfl(6)=-1thenprint"dazu brauche ich hammer und meisel.":goto3030
7060 ifn=43andob(43)=spandfl(6)=0thenprint"o. k.":du(19,2)=20:goto3030
7070 ifn=49andsp=22thenprint"sie ist schon heruntergelassen.":goto3030
7080 ifn=61andsp=28thenprint"eine tuer ist doch offen.":du(28,2)=29:goto3030
7090 ifn=113andsp=36andob(113)=36thenprint"o.k.":ob(83)=sp:goto3030
7100 ifn=107andob(107)=spthenprint"darin ist sehr viel geld.":goto3030
7110 ifn=82andsp=36thenprint"was soll ich an der huette oeffnen?":goto3030
7120 ifn=12andob(12)=spandfl(5)=-1thenprint"ich brauche einen schluessel.":goto3030
7140 print"hier gibt es nichts zu oeffnen.":goto3030
7150 rem **************** betrete *
7160 ifn=16andob(16)=10andsp=10thenprint"o.k.":sp=12:goto3030
7170 ifn=36andsp=17thenprint"o.k. - da ist ein tisch.":ob(37)=17:goto3030
7180 ifn=48andsp=21thenprint"o. k.":ob(48)=22:sp=22:goto3030
7190 ifn=49andsp=22thenprint"o. k.":sp=23:goto3030
7200 ifn=58andsp=26thenprintms$(9):sp=28:goto3030
7210 ifn=57andsp=26thenprint"nur unter groessten bedenken.":sp=27:goto3030
7220 ifn=48andsp=22andob(48)=22thensp=31:ob(48)=21:goto3030
7230 ifn=71andsp=33andob(72)=33thenms$(0)="der drachen hat mich gefressen.":goto4410
7250 ifn=71andsp=33andob(72)=0thenprint"da ist ja ein drache.":ob(72)=33:goto3030
7270 ifn=74andsp=34andob(74)=34thenprint"was sehe ich denn da!":sp=39:goto3030
7280 ifn=79andsp=35andob(79)=35thenprint"der riese wird boese.":goto3030
7290 ifn=82andsp=36andob(113)=0thenprint"wie soll ich die huette betreten?":goto3030
7310 ifn=82andsp=36andob(113)=36thenprint"erst muss die tuer offen sein.":goto3030
7330 ifn=21andsp=12thenms$(0)="ich bin ertrunken.":goto4410
7340 print"warum soll ich dies betreten?":goto3030
7350 if n=24andob(24)=-1andsp=9thenprint"die kette ist weg.":fl(3)=0:goto3030
7360 if n=25andob(25)=-1andsp=9thenprint"der meissel ist zu stumpf.":goto3030
7370 ifn=4andob(4)=-1andsp=12thenms$(0)=ms$(20):goto4410
7380 ifn=6andob(6)=-1andsp=12thenms$(0)=ms$(20):goto4410
7390 ifn=16andob(16)=-1andsp=10thenprint"wie soll ich es benutzen?":goto3030
7400 ifn=23andob(23)=-1andsp=9thenprint"mit dem hammer schaffe ich es nicht.":goto3030
7420 ifn=4andob(4)=-1andsp=5thenprint"ihhh - die sind ja glitschig!":ob(32)=-1:goto3030
7440 ifn=38andsp=20thenprint"o. k.":goto3030
7450 ifn=39andsp18thenprint"ohne pferde?":goto3030
7460 ifn=23andsp=19andob(43)=19andob(23)=-1andob(25)=-1thenprint"o.k.":fl(6)=0:goto3030
7480 ifn=65andsp=30thenprint"ich bin aber gar nicht muede.":goto3030
7490 ifn=69andsp=31thenprint"ich will nicht baden.":goto3030
7500 ifn=68andob(68)=-1andob(72)=spthenprintms$(40):printms$(41):ob(72)=0:du(33,4)=34:goto3030
7520 ifn=68andob(68)<>-1andob(72)=spthenms$(0)=ms$(42):goto4410
7530 ifn=60andsp=35andob(60)=-1thenprint"sie klingt hell.":ob(78)=35:ob(79)=35:goto3030
7550 ifn=98andob(98)=-1andsp=43thenprint"ein schwert - gut zum kampf.":ob(97)=sp:goto3030
7570 ifn=97andob(97)=-1andsp=45thenms$(0)=ms$(44):goto4410
7580 ifn=85andsp=45andob(85)=-1thenprintms$(45):ob(101)=0:ob(115)=45:du(45,4)=46:goto3030
7600 ifn=97andob(97)=-1andsp=50thenprint"er ist tot.":ob(109)=0:ob(112)=50:goto3030
7620 ifn=111andob(111)=-1andsp=49thenprintms$(46):ob(106)=0:ob(107)=49:ob(108)=49:goto3030
7640 ifn=48andsp=21andob(48)=21thenprintms$(10):goto3030
7650 ifn=48andsp=22andob(48)=22thenprintms$(10):goto3030
7660 ifn=72andsp=33andob(72)=33thenms$(0)=ms$(34):goto4410
7670 ifn=60andob(60)=27andsp=27thenprint"sie klingt hell.":goto3030
7680 ifn=60andob(60)<>-1thenprint"die habe ich nicht bei mir.":goto3030
7690 print"warum soll ich das benutzen?":goto3030
7700 rem ****************** essen *
7710 ifn=32andsp=20andob(32)=-1thenprint"wurde auch zeit.":fl(7)=0:ob(32)=-2:goto3030
7730 ifn=5andob(5)=-1thenprint"schmeckt gut.":ob(5)=0:goto3030
7740 ifn=5andob(5)<>-1thenprint"ich habe keinen zucker bei mir.":goto3030
7750 ifn=32andsp<>20andob(32)=-1thenprint"ich habe noch keinen hunger.":goto3030
7770 ifn=32andob(32)<>-1thenprint"ich habe keine fische bei mir.":goto3030
7780 print"dies ist ja gar nichts zum essen":goto3030
7790 rem ****************** reibe *
7800 ifn=55andob(55)=spthengosub7870:goto3030
7810 if n=41and ob(41)=-1thenprint"der ist blank genug.":goto3030
7820 ifn=41andob(41)<>-1thenprint"den ring habe ich abgelegt.":goto3030
7830 print"ich habe keinen sauberkeitsfimmel.":goto3030
7840 ifn=41andob(41)=-1andsp=19thenprint"o.k.":sp=13:goto3030
7850 ifn=41andob(41)=-1andsp=35thenprint"wo bin ich denn jetzt.":sp=12:goto3030
7860 print"warum soll ich drehen?":goto3030
7870 printchr$(147):print" der geist hat mich in einen tiefen"
7880 print" schlaf versetzt. bitte warte"
7890 print" bis ich aufwache."
7900 fora=1to20000:nexta
7910 return
7920 rem reise ins wunderland ===64
7930 rem 038911 bytes memory ===
7940 rem 029680 bytes program ===
7950 rem 000000 bytes variables ===
7960 rem 000000 bytes arrays ===
7970 rem 000000 bytes strings ===
7980 rem 009142 bytes free ===
7990 rem ==========================