mirror of
https://github.com/antoinevignau/source.git
synced 2025-01-21 23:30:21 +00:00
889 lines
39 KiB
QBasic
889 lines
39 KiB
QBasic
1 REM
|
|
2 REM COPYRIGHT LORICIELS 83 L.BENES
|
|
3 REM LE MANOIR DU DOCTEUR GENIUS
|
|
4 REM
|
|
5 REM VERSION APPLE II REALISEE EN 2023
|
|
6 REM PAR BRUTAL DELUXE SOFTWARE : ANTOINE VIGNAU & OLIVIER ZARDINI
|
|
7 REM
|
|
9 REM ... COPYRIGHT LORICIELS TOUT DROIT DE REPRODUCTION INTERDIT .....
|
|
|
|
45 HOME: PRINT: PRINT " VEUILLEZ PATIENTER"
|
|
50 GOSUB 8000 'CHARGEMENT VARIABLES
|
|
55 & H:DIM P(12):P(11)=0:P(12)=0
|
|
60 SALLE=1
|
|
70 FOR N=1 TO 10
|
|
80 P(N)=0:C(N)=0
|
|
85 NEXT
|
|
90 C(3)=14:C(7)=12:C(1)=80:C(9)=12
|
|
100 IFSALLE<>14ANDSALLE<>16ANDSALLE<>17ANDSALLE<>19 THEN P(2)=0
|
|
105 IF P(2)=0 THEN 200
|
|
106 IF O(22)=SA AND P(7)=1 THEN 200
|
|
107 IF O(05)=SA AND P(3)=1 THEN 200
|
|
110 IF C(9)>1 THEN C(9)=C(9)-1
|
|
130 & H
|
|
140 PRINT "Il fait noir comme dans un four,il faudrait peut etre allumer"
|
|
145 IF PEEK(-16384)>128 THEN & W 500 ELSE & W 300
|
|
150 POKE -16368,0: GOTO 500
|
|
200 REM DESCRIPTION SALLE
|
|
210 PRINT
|
|
220 & G (7000+SALLE*10)-10
|
|
300 H=0:N=1
|
|
310 IF O(N)<>SALLE THEN 400
|
|
320 IF H=1 THEN GOTO 350
|
|
330 PRINT "Il y a dans la salle:": & W 100
|
|
340 H=1
|
|
350 PRINT " ";O$(N);
|
|
360 & W 150
|
|
400 N=N+1
|
|
410 IF N<=O THEN 310
|
|
420 PRINT ""
|
|
500 REM ACCEPTATION COMMANDE
|
|
510 T=1:Y$(1) ="":Y$(2)="":N=0
|
|
520 GOTO 1000
|
|
530 IF C(7)>1 AND P(7)=1 THEN C(7)=C(7)-1
|
|
540 IF C(3)>1 AND P(3)=1 THEN C(3)=C(3)-1
|
|
545 IF C(4)>1 AND P(4)=1 THEN C(4)=C(4)-1
|
|
547 IF C(5)>1 THEN C(5)=C(5)-1
|
|
550 INPUT"Que faites vous";X$
|
|
560 HOME:PRINTX$
|
|
570 GOSUB 6000
|
|
580 IF MO$(1)="00" THEN PRINT "Je ne comprends pas...": & W 200:GOTO100
|
|
900 REM CONTROLE Mvt
|
|
910 Z=1
|
|
920 T$=MID$(M$(SALLE),Z,2)
|
|
930 IF T$="00" THEN 980
|
|
940 IF T$<>MO$(1) THEN 970
|
|
950 SALLE=VAL(MID$(M$(SALLE),Z+2,2))
|
|
960 GOTO 100
|
|
970 Z=Z+4:GOTO920
|
|
980 T=0
|
|
990 A1=0
|
|
|
|
1000 REM CONTROLE
|
|
1010 NL=0
|
|
1100 NL=NL+1
|
|
1110 IF T=0 THEN GOTO 1150
|
|
1120 E$=C$(NL)
|
|
1130 GOTO 1400
|
|
1150 IF NL<=A THEN 1200
|
|
1159 PY=23:CO=12
|
|
1160 IF A1=1 THEN GOTO 500
|
|
1170 PRINT "Impossible ";
|
|
1180 IF VAL(MO$(1))<10 THEN PRINT "de prendre ce chemin";
|
|
1190 PRINT "!":GOTO 100
|
|
1200 IF MID$(A$(NL),1,2)<>MO$(1) THEN 1100
|
|
1210 Y$=MID$(A$(NL),3,2)
|
|
1220 IF Y$<>"00" AND Y$<>MO$(2) THEN 1100
|
|
1230 E$=MID$(A$(NL),5)
|
|
1400 REM CONDITIONS
|
|
1410 E=1
|
|
1420 IF MID$(E$,E,1)="." THEN 1700
|
|
1430 LI=ASC(MID$(E$,E,1))-65
|
|
1440 N=VAL(MID$(E$,E+1,2))
|
|
1450 & G 1500+LI*10
|
|
1460 IF OK=0 THEN 1100
|
|
1470 E=E+3:GOTO1420
|
|
1500 IF N=SALLE THEN OK=1 ELSE OK=0
|
|
1505 RETURN
|
|
1510 IF O(N)=-1 OR O(N)=SALLE THEN OK=1 ELSE OK=0
|
|
1515 RETURN
|
|
1520 IF O(N)<>SALLE AND O(N)<>-1 THEN OK=1 ELSE OK=0
|
|
1525 RETURN
|
|
1530 IF O(N)=-1 THEN OK=1 ELSE OK=0
|
|
1535 RETURN
|
|
1540 IF P(N)=1 THEN OK=1 ELSE OK=0
|
|
1545 RETURN
|
|
1550 IF P(N)=0 THEN OK=1 ELSE OK=0
|
|
1555 RETURN
|
|
1560 IF C(N)=1 THEN OK=1 ELSE OK=0
|
|
1565 RETURN
|
|
1570 IF INT(RND(1)*99+1)<N THEN OK=1 ELSE OK=0
|
|
1575 RETURN
|
|
1580 IF N<>SALLE THEN OK=1 ELSE OK=0
|
|
1585 RETURN
|
|
1700 REM ACTIONS
|
|
1705 E=E+1:A1=1
|
|
1710 IF MID$(E$,E,1)="." THEN 1100
|
|
1720 LI=ASC(MID$(E$,E,1))-65
|
|
1730 IF MID$(E$,E+1,1)<>"." THEN N=VAL(MID$(E$,E+1,2))
|
|
1740 BREAK=0
|
|
1750 & G 1800+LI*100
|
|
1760 IF BREAK<>0 THEN GOTO BREAK
|
|
1780 E=E+3
|
|
1790 GOTO 1710
|
|
1800 G=0:HH=0
|
|
1810 G=G+1
|
|
1820 IF O(G)=-1 THEN GOTO 1840
|
|
1830 IF G<O THEN GOTO 1810 ELSE GOTO1870
|
|
1840 IF HH=0 THEN PRINT "Vous detenez:": & W 100
|
|
1850 HH=1
|
|
1860 PRINTO$(G);:PRINT " ";: & W 150
|
|
1865 IF G<V THEN 1810
|
|
1870 IF HH=1 THEN PRINT ".": RETURN
|
|
1880 PRINT "Vous ne detenez absolument rien!!!": & W 200: RETURN
|
|
1900 IF S(1)<5 THEN 1930
|
|
1910 PRINT "Il parait evident que vous ne pouvez portez tant de chose!!"
|
|
1920 & W 250:BREAK=100: RETURN
|
|
1930 IF O(N)<>-1 THEN 1960
|
|
1935 REM CE PROGRAMMEEST LA PROPRIETE DE L.WEILL LORICIELS
|
|
1940 PRINT "Vous l'avez deja,vous etes etourdit etdans cette maison ce n'est pas"
|
|
1945 & W 400
|
|
1950 PRINT "tres conseille...":GOTO1920
|
|
1960 O(N)=-1:S(1)=S(1)+1: RETURN
|
|
2000 IF O(N)=-1 THEN 2030
|
|
2010 PRINT "Comment voulez vous poser ce que vous n'avez pas"
|
|
2020 GOTO 1920
|
|
2030 O(N)=SALLE:S(1)=S(1)-1: RETURN
|
|
2100 HOME: & G 4000+N*10
|
|
2110 RETURN
|
|
2200 P(N)=1: RETURN
|
|
2300 P(N)=0: RETURN
|
|
2400 C(N)=VAL(MID$(A$(N),E+3,2)):E=E+2: RETURN
|
|
2500 IF O(N)=-1 THEN S(1)=S(1)-1
|
|
2510 O(N)=0 : RETURN
|
|
2600 SALLE=N: RETURN
|
|
2700 PRINT "D'accord..."
|
|
2710 & W 150:BREAK=300: RETURN
|
|
2800 BREAK=500
|
|
2810 RETURN
|
|
2900 BREAK=530: RETURN
|
|
3000 BREAK=100: RETURN
|
|
3100 POP:GOTO20000
|
|
3200 O(N)=SALLE: RETURN
|
|
3300 X$=O$(N):O$(N)=O$(N+1):O$(N+1)=X$: RETURN
|
|
|
|
4000 & H: FOR N = 1 TO 20: & E : & W 4: NEXT
|
|
4001 PRINT "Vous avez gardez la lampe trop longtemps allumee,elle a explose"
|
|
4005 & W 400: RETURN
|
|
4010 & H
|
|
4011 PRINT "Vous avez oubliez de fermer le robinetvous mourez sous des tonnes d'eau"
|
|
4015 & W 500: RETURN
|
|
4020 & H
|
|
4022 PRINT "Lapporte vient de se refermer derrierevous,vous voila prisonnier..."
|
|
4025 & W 500: RETURN
|
|
4030 & H
|
|
4031 PRINT "Vous avez trebuche dans l'escalier,vous vous empallez sur le couteau!"
|
|
4035 & W 500: RETURN
|
|
4040 & H
|
|
4041 PRINT "Vous renversez l'eau dans l'escalier, ce qui provoque une decharge";
|
|
4042 PRINT " de la": & W 300:PRINT "prise electrique"
|
|
4045 & W 300: RETURN
|
|
4050 & H
|
|
4051 PRINT "Vous etes sauf grace a la combinaison que vous avez enfile..!"
|
|
4055 & W 500: RETURN
|
|
4060 PRINT "Vous mourrez electrocute..."
|
|
4065 & W 300: RETURN
|
|
4070 & H: REM FOR N=1 TO 20:MUSIC2,2,2,10:PLAY3,7,4,80: & W 1: & E : & W 6:NEXT
|
|
4071 PRINT "La piece etait pleine de gaz explosif,vous auriez du eteindre..."
|
|
4072 & W 500:HOME:PRINT "On ramassera vos morceaux un autre jour..!"
|
|
4075 & W 300: RETURN
|
|
4080 & H
|
|
4081 PRINT "Vous mourez empalle sur des lances sorties du mur...!"
|
|
4085 & W 400: RETURN
|
|
4090 REM
|
|
4091 PRINT "La porte ne s'ouvre pas de cette piece": & W 300: RETURN
|
|
4100 & H
|
|
4101 PRINT "La lampe et le briquet refusent de marcher dans cette piece"
|
|
4105 & W 400: RETURN
|
|
4110 & H
|
|
4111 PRINT "Vous tombez dans une trappe,vous vous disloquez en arrivant au sol.."
|
|
4115 & W 500: RETURN
|
|
4120 REM
|
|
4121 PRINT "Vous avez raison de passer,car ce monstre n'etait qu'une projection"
|
|
4124 & W 400:PRINT "en 3 dimentions sur un ecran de fumee"
|
|
4125 & W 250: RETURN
|
|
4130 REM
|
|
4131 PRINT "Vous avez raison,la curiosite est un vilain defaut!!!"
|
|
4132 & W 400
|
|
4133 POP:TEXT:PRINT:PRINT:PRINTSPC(12)"AU REVOIR"
|
|
4135 & W 200:GOTO 20100
|
|
4140 PRINT "Vous avez raison d'attendre,mais cela ne pourra pas durer";
|
|
4141 PRINT " eternellement.."
|
|
4142 & W 450: RETURN
|
|
4150 : & H:PRINT "Vous avez de la chance car ce coffre etait ouvert.": & W 400
|
|
4152 PRINT "Un message a l'interieur dit:": & W 250:PRINT "Ne respectez pas les ";
|
|
4154 PRINT "couleurs du":PRINT "code de la route...?": & W 500
|
|
4156 PRINT "Tiens le coffre se referme": & W 200: RETURN
|
|
4160 PRINT "Maintenant,vous avez une lampe pleine de petrole"
|
|
4165 & W 400: RETURN
|
|
4170 PRINT "Vous n'avez rien pour transporter le petrole": & W 400: RETURN
|
|
4180 & H:PRINT "Le briquet que vous aviez laisse allume vient d'exploser"
|
|
4181 FOR N=1 TO 10: & E : & W 6:NEXT
|
|
4185 & W 300:PRINT "Ca tue l'etourderie.....": & W 200: RETURN
|
|
4190 & H:PRINT "A force de marcher en long et en large dans cette maison,"
|
|
4195 & W 300:PRINT "vous sombrez dans un coma des plus mortel...": & W 300: RETURN
|
|
4200 PRINT "L'eau coule...": RETURN
|
|
4210 & H:PRINT "Vous avez les pieds trempes,et cela vous rend tres malade..."
|
|
4215 & W 400:PRINT "Vous mourez d'une triple pneumonie...!": & W 300: RETURN
|
|
4220 PRINT "Le titre est:": & W 200:PRINT "La mort a la premiere page.": & W 300: RETURN
|
|
4230 & H:FOR N=1 TO 20: & E :NEXT
|
|
4233 PRINT "Le livre a explose lorsque vous l'avezouvert...": & W 400: RETURN
|
|
4240 PRINT "Le papier indique: Cherchez la clef.": & W 300: RETURN
|
|
4250 PRINT "La clef vous permettera de trouver le code de la porte d'entree."
|
|
4255 & W 400: RETURN
|
|
4260 & H:PRINT "Il y a , a cote de la porte,un claviernumerique permettant ";
|
|
4265 PRINT "d'entrer un code": & W 400: RETURN
|
|
4270 PRINT "Pour faire quoi..?": & W 200: RETURN
|
|
4280 PRINT "Il y a une odeur de gaz.": & W 300: RETURN
|
|
4290 PRINT "Apparement,il n'y a occune odeur mais...": & W 300: RETURN
|
|
4300 PRINT "C'est deja fait,espece de rigolo": & W 300: RETURN
|
|
4310 PRINT "Il faudrait peut etre du feu": & W 300: RETURN
|
|
4320 PRINT "La lampe ne contient pas de petrole": & W 300: RETURN
|
|
4330 PRINT "Vous ne l'avez pas": & W 200: RETURN
|
|
4340 PRINT "Le briquet est encore allume et il eclaire la piece."& W 300: RETURN
|
|
4350 FOR N=1 TO 15: & E : & W 4:NEXT
|
|
4355 PRINT "La torche etait piegee,elle vous explose dans les mains.."
|
|
4357 & W 400: RETURN
|
|
4360 PRINT "La lampe est encore allumee,et elle vous eclaire": & W 300: RETURN
|
|
4370 & H:PRINT "Un nain vient de vous lancer un poignard en plein coeur.."
|
|
4375 & W 300: RETURN
|
|
4380 PRINT "Un nain vient de se precipiter sur vous,il s'empalle sur votre";
|
|
4385 PRINT " ciseau": & W 400: RETURN
|
|
4390 PRINT "Un nain vient de se precipiter sur vous,il s'empalle sur votre";
|
|
4395 PRINT " couteau": & W 400: RETURN
|
|
4400 & H:PRINT "Vous venez de renverser le pot": & W 150: RETURN
|
|
4410 & H:PRINT "La foudre vient de tomber sur la maison": & W 200
|
|
4412 PRINT "La maison n'existe plus,vous non plus": & W 200: RETURN
|
|
4420 & H:PRINT "A force de marcher dans le noir,vous avez trebuche": & W 200
|
|
4425 PRINT "Vous mourez d'une fracture du crane...": & W 200: RETURN
|
|
4430 PRINT "Vous ne pouvez pas travailler dans le noir...": & W 300: RETURN
|
|
4440 PRINT "La lumiere du briquet ne suffit pas pour travaillez...": & W 400: RETURN
|
|
4450 PRINT "Impossible !": & W 100: RETURN
|
|
4460 PRINT "Vous n'avez aucun outil..": & W 250: RETURN
|
|
4470 PRINT "Le teleporteur est en panne,donc les boutons ne fonctionnent pas."
|
|
4475 & W 400: RETURN
|
|
4480 FOR N=1 TO 25: & E : & W 5:NEXT
|
|
4484 PRINT "Le teleporteur vient d'exploser,vous etes decompose..!": & W 400: RETURN
|
|
4490 PRINT "Le teleporteur se met en marche,vous disparaissez"
|
|
4491 REM MUSIC2,1,5,0:PLAY2,1,3,1000
|
|
4492 FOR N=1 TO 12
|
|
4493 & P 4: & W 8: & P 1: & W 8: & P 3: & W 8: & P 4: & W 8: & P 1: & W 8
|
|
4494 NEXT: & P 0: REM PLAY0,0,0,0
|
|
4495 FOR N=500 TO 30 STEP-5
|
|
4497 NEXT: REM SOUND2,N,12:PLAY2,0,0,100:NEXT
|
|
4498 RETURN : REM PLAY0,0,0,0 : & H: RETURN
|
|
4500 & H:PRINT "Vous prenez du 30000 Volts dans les doigts,": & W 300: RETURN
|
|
4510 PRINT "Le placard est ferme a clef": & W 150: RETURN
|
|
4520 & H:PRINT "L'horrible monstre sorti du placard vient de vous devorer"
|
|
4525 & W 400: RETURN
|
|
4530 PRINT "Il ne fallait pas fuir": & W 200: RETURN
|
|
4540 & H:PRINT "Vous avez raison d'utiliser le ciseau,le monstre est mort"
|
|
4545 & W 400: RETURN
|
|
4550 PRINT "A l'interieur du placard,le No "PL" est inscrit": & W 300
|
|
4555 PRINT "Le placard se referme.": & W 150: RETURN
|
|
4560 & H:FOR N=1 TO 30: & E : & W 5:NEXT:PRINT "le pistolet a explose": & W 200
|
|
4565 RETURN
|
|
4570 & H:FOR N=1 TO 25: & E : & W 7:NEXT:
|
|
4575 PRINT "le clavier numerique a explose": & W 250: RETURN
|
|
4580 & H:PRINT "Le clavier numerique prends feu, heureusement,vous aviez ";
|
|
4582 & W 300:PRINT "un pot plein": & W 100
|
|
4585 PRINT "d'eau qui vous a permis d'eteindre ce feu"
|
|
4586 & W 400: RETURN
|
|
4590 & H:INPUT"No DE CODE";ZC
|
|
4595 IF ZC<>PL THEN GOTO 4570
|
|
4600 & W 200:PRINT "Le code est exact...":POP:PRINT "La porte s'ouvre..."
|
|
4603 & W 400
|
|
4605 GOSUB 10000: PRINT "Vous voila en dehors de la maison..."
|
|
4608 GOSUB 32000: GOTO 20100
|
|
4610 & H:PRINT "A l'interieur du placard,il y a un motqui parle d'un teleporteur"
|
|
4615 & W 400:PRINT "Tiens le placard se ferme tout seul...": & W 150: RETURN
|
|
4620 PRINT "Avant de la poser par terre,il faudrait peut etre l'enlever."
|
|
4625 & W 350: RETURN
|
|
4630 & H:PRINT "Il y a un horrible monstre devant vousqui est sortie du placart."
|
|
4635 & W 400: RETURN
|
|
4640 & H:PRINT "Le placard etait piege,vous n'auriez pas du l'ouvrir"
|
|
4645 FOR N=1 TO 30: & E : & W 7:NEXT
|
|
4647 & W 150: RETURN
|
|
|
|
6000 REM ANALYSE DU MOT
|
|
6010 N=0:GN=0
|
|
6020 REPEAT:N=N+1
|
|
6030 UNTIL MID$(X$,N,1)<>" "
|
|
6040 REPEAT:GN=GN+1
|
|
6050 UNTIL MID$(X$,N+GN,1)=" "OR MID$(X$,N+GN,1)="" OR GN=20
|
|
6060 IF GN>4 THEN GN=4
|
|
6070 X$(1)=MID$(X$,N,GN)
|
|
6080 REPEAT:N=N+1
|
|
6090 UNTIL MID$(X$,N,1)=" "OR MID$(X$,N,1)=""
|
|
6100 REPEAT:N=N+1
|
|
6110 UNTIL MID$(X$,N,1)<>" "
|
|
6115 GN=0
|
|
6120 REPEAT:GN=GN+1
|
|
6130 UNTIL MID$(X$,N+GN,1)=" "OR MID$(X$,N+GN,1)="" OR GN=20
|
|
6140 IF GN>4 THEN GN=4
|
|
6150 X$(2)=MID$(X$,N,GN)
|
|
6160 FOR W=1 TO 2:N=0:MO$(W)="00"
|
|
6170 N=N+1
|
|
6180 IF N>V THEN W=3:GOTO 6300
|
|
6190 IF MID$(V$(N),3,4)=X$(W) THEN GOTO 6250
|
|
6200 GOTO 6170
|
|
6250 MO$(W)=MID$(V$(N),1,2)
|
|
6300 NEXT W
|
|
6310 RETURN
|
|
|
|
7000 GOSUB 10000
|
|
7005 PRINT "Vous etes devant le manoir du defunt":PRINT: & W 250
|
|
7006 PRINT SPC(12)"Dr GENIUS"
|
|
7007 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7008 POKE -16368,0: RETURN
|
|
7010 GOSUB 10100
|
|
7015 PRINT "Vous etes dans le hall d'entree."
|
|
7016 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7017 POKE -16368,0: RETURN
|
|
7020 GOSUB 10200
|
|
7024 PRINT "Vous etes en bas de l'escalier menant au 2eme etage"
|
|
7025 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7026 POKE -16368,0: RETURN
|
|
7030 F1=0: GOSUB 10300
|
|
7034 PRINT "Vous etes dans la salle a manger."
|
|
7035 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7036 POKE -16368,0: RETURN
|
|
7040 F1=1: GOSUB 10300
|
|
7043 PRINT "Vous etes dans une biblioteque sans livre...!"
|
|
7045 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7046 POKE -16368,0: RETURN
|
|
7050 GOSUB 10500
|
|
7053 PRINT "Vous etes dans une buanderie"
|
|
7055 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7056 POKE -16368,0: RETURN
|
|
7060 GOSUB 10600
|
|
7063 PRINT "Vous etes dans le salon"
|
|
7065 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7066 POKE -16368,0: RETURN
|
|
7070 LX=0: GOSUB 10700
|
|
7073 PRINT "Vous etes dans une chambre."
|
|
7075 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7076 POKE -16368,0: RETURN
|
|
7080 GOSUB 10800
|
|
7083 PRINT "Vous etes dans un corridor"
|
|
7085 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7086 POKE -16368,0: RETURN
|
|
7090 LX=0: GOSUB 10900
|
|
7093 PRINT "Vous etes dans une salle d'attente."
|
|
7095 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7096 POKE -16368,0: RETURN
|
|
7100 LX=0: GOSUB 11000
|
|
7103 PRINT "Vous etes dans le vestibules"
|
|
7105 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7106 POKE -16368,0: RETURN
|
|
7110 LX=2: GOSUB 10700
|
|
7113 PRINT "Vous etes dans la chambre d'amis."
|
|
7115 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7116 POKE -16368,0: RETURN
|
|
7120 LX=1: GOSUB 10700
|
|
7123 PRINT "Vous etes dans une chambre."
|
|
7125 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7126 POKE -16368,0: RETURN
|
|
7140 LX=2: GOSUB 12200
|
|
7143 PRINT "Vous etes dans une petite salle"
|
|
7145 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7146 POKE -16368,0: RETURN
|
|
7150 GOSUB 11500
|
|
7153 PRINT "Vous etes dans le laboratoire du Dr GENIUS"
|
|
7155 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7156 POKE -16368,0: RETURN
|
|
7160 LX=1: GOSUB 10900
|
|
7163 PRINT "Vous etes dans une petite piece vide."
|
|
7165 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7166 POKE -16368,0: RETURN
|
|
7170 GOSUB 11700
|
|
7173 PRINT "Vous etes...": & W 300:PRINT "Justement,vous ne savez pas ou vous etes"
|
|
7175 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7176 POKE -16368,0: RETURN
|
|
7180 GOSUB 11800
|
|
7183 PRINT "Vous etes en haut de l'escalier"
|
|
7185 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7186 POKE -16368,0: RETURN
|
|
7190 LX=2: GOSUB 10900
|
|
7193 PRINT "Vous etes dans la salle bain"
|
|
7195 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7196 POKE -16368,0: RETURN
|
|
7200 LX=1: GOSUB 12200
|
|
7203 PRINT "Vous etes dans le living room"
|
|
7205 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7206 POKE -16368,0: RETURN
|
|
7210 LX=1: GOSUB 11000
|
|
7213 PRINT "Vous etes dans une piece enfumee...!"
|
|
7215 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7216 POKE -16368,0: RETURN
|
|
7220 LX=0: GOSUB 12200
|
|
7223 PRINT "Vous etes dans une grande piece"
|
|
7225 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7226 POKE -16368,0: RETURN
|
|
7230 GOSUB 12300
|
|
7233 PRINT "Vous etes dans une piece de rangement"
|
|
7235 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7236 POKE -16368,0: RETURN
|
|
7240 GOSUB 12400
|
|
7243 PRINT "Vous etes dans le dressing"
|
|
7245 IF PEEK(-16384)>128 THEN & W 400 ELSE & W 100
|
|
7246 POKE -16368,0: RETURN
|
|
|
|
8000 REM CHARGEMENT VARIABLES
|
|
8001 & R 8000: REM RESTORE
|
|
8010 V=70:DIM V$(V)
|
|
8020 FOR N=1 TO V
|
|
8030 READ KO$
|
|
8040 V$(N)=KO$
|
|
8050 NEXT
|
|
8060 DATA 01N,01NORD,02S,02SUD,03E,03EST,04O,04OUEST,05MONT,05GRIM,06DESC
|
|
8070 DATA 10PREN,10RAMA,11POSE,12OUVR,13FERM,14ENTR,14AVAN,15ALLU,16ETEI
|
|
8080 DATA 17REPA,17DEPA,18LIS,19REGA,20RETO,21RENI,21SENS,22REMP,23VIDE
|
|
8090 DATA 24INVE,24LIST,25RIEN,25ATTE,26POIG,27COUT,28TOUR,29LAMP,30CODE
|
|
8100 DATA 31ESCA,32PIST,33PLAC,34TORC,35TELE,36MONS,37PETR,38POT,18LIT
|
|
8110 DATA 39CLEF,40PAPI,41LIVR,42BRIQ,43COMB,44COFF,45ROUG,46BLEU,47VERT
|
|
8120 DATA 48TITR,49ROBI,50CISE,51PORT
|
|
8124 DATA 52ACTI,53JETE,53LANCE,54EAU,55ENFI,55PASS,56APPU,56ENFO,57ENLE
|
|
8126 DATA 58RENT
|
|
8130 O=25:DIM O(O):DIM O$(O)
|
|
8140 FOR N=1 TO O
|
|
8150 READ KO
|
|
8160 O(N)=KO
|
|
8170 NEXT
|
|
8180 DATA 06,05,05,08,08,00,00,11,11
|
|
8190 DATA 13,20,18,16,16,16,16,00,21
|
|
8200 DATA 00,22,25,12,00,25,00
|
|
8210 FOR N=1 TO O
|
|
8220 READ KO$
|
|
8230 O$(N)=KO$
|
|
8240 NEXT
|
|
8250 DATA UNE TORCHE ELECTRIQUE,UN ROBINET,UN CISEAU,UN TOURNEVIS
|
|
8260 DATA UNE LAMPE A PETROLE,UNE LAMPE PLEINE,UNE LAMPE ALLUME,UN COUTEAU
|
|
8270 DATA UN PAPIER,UN LIVRE,DU PETROLE DANS UN LAVABO BOUCHE
|
|
8280 DATA UNE CLEF,UN BOUTON ROUGE,UN BOUTON BLEU
|
|
8290 DATA UN BOUTON VERT,UN TELEPORTEUR,UN TELEPORTEUR REPARE
|
|
8300 DATA UNE COMBINAISON ARGENTEE,UNE COMBINAISON ENFILEE,UN MONSTRE ALL'EST
|
|
8310 DATA UN PISTOLET,UN BRIQUET,UN BRIQUET ALLUME,UN POT,UN POT PLEIN D'EAU
|
|
8320 M=25:DIM M$(M)
|
|
8330 FOR N=1 TO M
|
|
8340 READ KO$
|
|
8350 M$(N)=KO$
|
|
8360 NEXT
|
|
8370 DATA 00,0403030400,030200,04020305010600,04040107032000,020400
|
|
8380 DATA 04080109020500,030700,04130207031000
|
|
8390 DATA 0409021100,0110031200,041100,030900,0209031500,00,00
|
|
8400 DATA00,00,0122032100,040500,0125022200,012100
|
|
8410 DATA 0124042200,022300,022100
|
|
8430 A=128:DIM A$(A)
|
|
8440 FOR N=1 TO A
|
|
8450 READ KO$
|
|
8460 A$(N)=KO$
|
|
8470 NEXT
|
|
8480 DATA 1400A01.I02D02M.,0500A03D08.D03N.,0500A03E08E09D24.D04D05I19E02M.
|
|
8485 DATA 0500A03E08D24.D04D06N.
|
|
8490 DATA 0500A03E07.I19M.,0500A03E03.I19M.,0500A03.I19E02M.,0600A19D08.D03N.
|
|
8500 DATA0600A19E08E09D24.D04D05I03M.,0600A19E08D24.D04D06N.,0600A19.I03M.
|
|
8505 DATA 0100A09E07B22.D07N.
|
|
8510 DATA 0100A09E03B05.D07N.,0100A09.I14E02M.,0100A14.I16E02M.
|
|
8515 DATA 0200A16E07B22.D07N.,0200A16E03B05.D07N.
|
|
8520 DATA 0200A16.I14E02M.,0400A15E03B05.D07N.,0400A15E07B22.D07N.
|
|
8522 DATA 0400A15.I14E02M.,0100A15E03.I17M.,0100A15E07.I17M.,0100A15.I17E02M.
|
|
8525 DATA 0200A17.F01I15M.
|
|
8530 DATA 0300A17.D08N.,0400A17.D09K.,0300A18.D10F03E01E02I17M.
|
|
8531 DATA 0400A21E03.I19M.
|
|
8535 DATA 0400A21E07.I19M.,0400A21.I19E02M.,0200A22E03.I19M.,0200A22E07.I19M.
|
|
8540 DATA 0200A22.I19E02M.,0200A19.D11N.,0400A19.D11N.,0300A22.D12I23M.
|
|
8541 DATA 2500A01.D13.,2500I01.D14K.,1244A03.D15M.,1034B01.B01J.,1027B08.B08J.
|
|
8545 DATA 1028B04.B04J.,1029B05.B05J.,1032B21.B21J.,1038B24.B24J.
|
|
8548 DATA 1039B12.B12J.,1040B09.B09J.,1041B10.B10J.,1043B18.B18J.
|
|
8550 DATA 1050B03.B03J.,1042B22.B22J.,1037A20B05.H11P05E05D16K.,1037A20.D17K.
|
|
8553 DATA 1134.C01J.,1127.C08J.,1128.C04J.,1129.C05J.,1132.C21J.,1138.C24J.
|
|
8555 DATA 1143E09.D62K.
|
|
8556 DATA 1139.C12J.,1140.C09J.,1141.C10J.,1143.C18J.,1150.C03J.,1142.C22J.
|
|
8560 DATA 2400.A00L.,1249A05.E04D20G0405J.,1349A05.F04J.,2238A05E04.P24E08J.
|
|
8563 DATA 2338A05E08.F08P24J.,2338E08.D21N.,1848B10.D22L.,1841B10.D23N.
|
|
8566 DATA1840B09.D24K.,2040B09.D25K.,1951A02.D26M.,1951.D27K.,2100A14.D28K.
|
|
8570 DATA 2100.D29K.,1542C22.D33K.,1542E07.D30K.,1542A14.D07N.
|
|
8575 DATA 1542A17E01.D10K.,1542E02.F02E07E06P22M.,1542.E07P22J.
|
|
8580 DATA 1529C05.D33K.,1529E03.D30K.,1529F07.D31L.,1529F05.D32L.
|
|
8590 DATA 1529E02.F02E03E06P06P05M.,1529.E03P06P05J.
|
|
8595 DATA 1642C22.D33K.,1642F07.D30K.,1642E06E03.D36F07P22M.
|
|
8597 DATA 1642E06.E02F07F06P22M.
|
|
8600 DATA 1642.F07P22M.,1629C05.D33K.,1629F03.D30K.,1629E07E06.D34F03P05M.
|
|
8605 DATA 1629E06.E02F06F03P05M.,1629.F03P05M.,1534B01.D35N.
|
|
8610 DATA 1735I16.D45K.,1735E02.D43K.,1735F03.D44K.,1735C04.D46K.
|
|
8615 DATA 1735.P16E10J.,5600A16F10.D47K.,5646A16.D48N.,5647A16.D48N.
|
|
8620 DATA 5645A16F09.D50D06N.,5645A16.D49I18M.,5543D18E09.D30K.
|
|
8625 DATA 5543D18.P18E09J.,574& E AND18F09.D30K.,5743D18.P18F09J.
|
|
8630 DATA 1233A24C12.D51K.,1233A24C03.D52N.,1233A24.G0503E11D63K.
|
|
8635 DATA 2636E11.D54F11D55K.,5350E11.D54F11D55K.,5232B21.D56N.
|
|
8640 DATA 5830F08.D57.,5830.D58D59.,1233A06.D61M.
|
|
8650 DATA 1233A25.D64N.
|
|
8700 PL=INT(RND(1)*9000+1000)
|
|
8800 C=14:DIMC$(C)
|
|
8810 FOR N=1 TO C
|
|
8820 READ KO$
|
|
8830 C$(N)=KO$
|
|
8840 NEXT N
|
|
8850 DATA G03E03.D00N.,G04E04.D01N.,I14I16I17I19.F02.,G07E07.D18N.,GO1.D19N.
|
|
8860 DATA H06C03C08.D37N.,H08D08.D39L.,H06D03.D38L.,G08E08B24.D40D21N.
|
|
8870 DATA H02.D41N.,G09E02.D42N.,G05E11.D52N.,I24E11.D53D52N.,.L.
|
|
8900 RETURN
|
|
|
|
10000 & H: & I 0: & S 100,190,1
|
|
10005 & D 0,-60,1: & D 97,0,1: & D 7,10,1: & D -97,0,1: & D -7,-10,1: & D 15,-20,1
|
|
10010 & D -30,-50,1: & D -15,20,1: & D 30,50,1: & S 100,190,1: & D -30,-50,1
|
|
10015 & D 0,-60,1: & S 100,190,1: & D 22,0,1: & D 0,-30,1: & D 15,0,1: & D 0,30,1
|
|
10020 & D 60,0,1: & D 0,-50,1: & M 0,-10,1: & D 0,-30,1: & D -67,-40,1
|
|
10025 & D -23,30,1: & D -30,-50,1: & D 23,-30,1: & D 30,50,1: & S 197,100,1
|
|
10030 & D -45,-60,1: & D -52,-30,1: & S 85,60,1: & D 0,-6,1: & S 115,110,1
|
|
10035 & D 0,-30,1: & M 7,0,1: & D 7,-10,1: & D 7,10,1: & D 0,20,1: & D -15,0,1
|
|
10040 & D 0,-20,1: & M 7,-10,1: & D 0,30,1: & S 182,100,1: & D -30,0,1
|
|
10045 & D 0,20,1: & D 30,0,1: & D 0,-20,1: & M -7,0,1: & D 0,20,1: & M -16,0,1
|
|
10050 & D 0,-20,1: & S 122,190,1: & D 13,7,1: & D 0,-30,1: & D -13,-7,1
|
|
10055 & S 133,182,1: & S 182,150,1: & D -30,0,1: & D 0,20,1: & D 30,0,1
|
|
10060 & D 0,-20,1: & M -7,0,1: & D 0,20,1: & M -16,0,1: & D 0,-20,1
|
|
10065 & S 78,130,1: & D 15,25,1: & D 0,-20,1: & D -15,-25,1: & D 0,20,1
|
|
10070 & M 3,5,1: & D 0,-20,1: & M 9,15,1: & D 0,20,1: & I 3: RETURN
|
|
10100 & H: & I 0: & S 15,190,1: & D 0,-160,1: & D 75,-20,1: & D 0,40,1
|
|
10110 & D 0,-40,1: & D 60,0,1: & D 0,20,1: & D 10,10,1: & D -40,0,1: & D 40,0,1
|
|
10120 & D 0,3,1: & D -40,0,1: & D 0,-3,1: & D 0,-10,1: & D 30,0,1: & D 0,-20,1
|
|
10130 & D 82,20,1: & D 0,160,1: & D -73,-126,1: & D 73,126,3: & D -30,-50,3
|
|
10140 & D 0,-80,1: & D -22,-16,1: & D 0,58,1: & M 19,-9,1: & C 1,1
|
|
10145 & S 15,190,1: & D 37,-68,1: & D 0,-70,1: & D 18,-13,1: & D 0,50,1
|
|
10150 & D -18,33,3: & D 38,-71,1: & D 31,0,1: & D 0,-8,3: & D 0,23,1: & D 3,0,1
|
|
10155 & D 0,-23,1: & D 0,8,1: & D 21,0,1: & D 0,-8,1: & D 0,8,1: & D 1,2,1
|
|
10157 & D 0,-10,1: & D 0,10,1
|
|
10160 & D 2,0,1: & D 0,-10,1: & D 0,8,1: & D 2,0,1: & D 0,-8,1: & D 0,8,1
|
|
10165 & D 3,5,1: & D 0,-12,1: & D 0,20,1: & D 2,3,1: & D 0,-23,1: & D 0,23,1
|
|
10170 & D 3,0,1: & D 0,-23,1: & S 67,68,1: & C 1,1: & I 3: RETURN
|
|
10200 & H: & I 0: & S 15,190,1: & D 0,-120,1: & D 105,-50,1: & D 60,0,1
|
|
10205 & D 45,50,1: & D 0,110,1: & D -45,-100,1: & M 0,-60,1: & D 0,60,1
|
|
10210 & D -60,0,1: & M 0,-60,1: & D 0,60,1: & D -52,54,1: & S 15,190,1
|
|
10215 & D 24,-26,1: & D 0,-104,1: & D 0,60,1: & D 27,14,1: & D 0,-10,1
|
|
10220 & D 53,-50,1: & D -6,-2,1: & D -54,47,1: & M 7,3,1: & D -7,-3,1
|
|
10225 & D 0,-10,1: & D 53,-44,1: & D 0,8,1: & D 0,-8,1: & D -5,-2,1: & D -56,40,1
|
|
10230 & D 9,4,1: & D -9,-4,1: & D 0,-10,1: & D 55,-36,1: & D 0,7,1: & D 0,-7,1
|
|
10235 & D -5,-2,1: & D -56,33,1: & D 7,3,1: & D -7,-3,1: & D 0,-10,1
|
|
10240 & D -5,-2,1: & D 5,2,1: & D 57,-30,1: & D 0,8,1: & D 0,-8,1: & D -5,-2,1
|
|
10245 & D -57,25,1: & D 57,-25,1: & D 0,-7,1: & D -57,24,1: & D 57,-24,1
|
|
10250 & D -5,-2,1: & D -16,5,1: & D 16,-5,1: & D 0,-4,1
|
|
10255 & S 211,146,1: & D 0,-64,1: & D -15,-20,1: & D 0,52,1: & S 207,108,1
|
|
10260 & C 1,1: & S 156,80,1: & D 24,0,0: & D 6,12,0: & D -6,-12,0: & D 0,-40,0
|
|
10265 & D -26,0,1: & D 0,40,1: & D 5,12,1: & D 27,0,1: & D 0,-42,1: & D -6,-10,1
|
|
10270 & D 6,10,1: & D -27,0,1: & D -4,-10,1: & D 4,10,1: & D 0,42,1
|
|
10275 & S 169,70,0: & C 4,1: & S 169,66,1: & D 0,-3,1: & S 169,74,1
|
|
10280 & D 0,2,1: & S 165,70,1: & D -2,0,1: & S 173,70,1: & D 2,0,1
|
|
10285 & S 165,58,1: & C 1,1: & S 170,58,1: & C 1,1: & S 175,58,1
|
|
10290 & C 1,1: & I 3: RETURN
|
|
10300 & H: & I 0: & S 15,190,1: & D 67,-110,1: & D 68,0,1: & D 82,110,1
|
|
10305 & D 0,-140,1: & D -82,-40,1: & D 0,70,0: & D 0,-70,1: & D -68,0,1
|
|
10310 & D 0,70,0: & D 0,-70,1: & D -67,40,1: & D 0,140,1: & S 90,80,1
|
|
10315 & D 0,-50,1: & D 24,0,1: & D 0,50,1: & D -24,0,0: & D 18,10,1: & D 0,-50,1
|
|
10320 & D -18,-10,1: & S 105,64,1
|
|
10325 & S 210,160,1: & D 0,-90,1: & D -23,-14,1: & D 0,74,1: & S 205,110,1
|
|
10330 & S 45,140,1: & D 0,-74,1: & D 18,-14,1: & D 0,60,1: & S 60,86,1
|
|
10335 IF F1=0 THEN & I 3: RETURN
|
|
10400 & I 0: & S 124,80,1: & D 26,0,0: & D 0,-70,0: & D 0,70,0
|
|
10401 & S 149,80,0: & D 12,14,0
|
|
10402 & S 150,80,0: & D 10,14,0
|
|
10405 & S 168,18,1: & D 0,86,1: & D -38,0,1: & D 0,-86,1: & D 38,0,1
|
|
10410 & D -38,0,1: & D -6,-8,1: & D 0,70,1: & D 6,24,1
|
|
10415 & S 168,94,1: & D -38,0,1: & S 168,94,1: & D -8,-10,1: & S 168,84,1
|
|
10420 & D -38,0,1: & S 168,84,1: & D -8,-10,1: & S 168,74,1: & D -38,0,1
|
|
10430 & S 168,74,1: & D -9,-10,1: & S 168,64,1: & D -38,0,1: & S 168,64,1
|
|
10435 & D -9,-10,1: & S 168,54,1: & D -38,0,1: & S 168,54,1: & D -18,-18,1
|
|
10440 & D -18,0,1: & D 18,0,1: & D 0,-16,1
|
|
10445 & I 3: RETURN
|
|
10500 & H: & I 0: & S 13,180,1: & D 0,-132,1: & D 63,-28,1: & D 83,0,1
|
|
10505 & D 67,30,1: & D 0,130,1: & D -11,-14,1: & D -4,-4,0: & D -17,-25,1
|
|
10510 & D -24,-36,0: & D -12,-20,1: & D 0,-61,1: & D 0,61,1: & D -83,0,1
|
|
10515 & D 0,-60,1: & D 0,60,1: & D -63,100,1: & S 22,90,1: & D 19,0,1
|
|
10520 & D 0,-30,3: & D -19,0,1: & D 0,30,1: & D 0,-30,1: & D 33,-20,1
|
|
10525 & D 13,0,1: & D 0,20,1: & D -28,30,1: & D 0,-30,1: & D 27,-20,1
|
|
10530 & D -11,9,1: & D 0,23,1: & S 52,64,1: & S 60,58,1: & S 157,100,1
|
|
10535 & D 30,0,1: & D 29,34,1: & D -40,0,1: & D 0,2,1: & D 40,0,1: & D 0,-2,1
|
|
10540 & D 0,2,3: & D -2,0,3: & D 0,34,1: & D -3,0,1: & D 0,-34,1: & D -30,0,1
|
|
10545 & D 0,34,1: & D -3,0,1: & D 0,-34,1: & D -2,0,3: & D -20,-34,1: & D 0,-2,1
|
|
10550 & D 20,34,1: & S 159,104,1: & D 0,24,1: & D 3,0,1: & D 0,-18,1
|
|
10555 & I 3: RETURN
|
|
10600 & H: & I 0: & S 15,190,1: & D 0,-130,1: & D 75,-50,1
|
|
10605 & D 52,0,1: & D 90,50,1: & D 0,130,1: & D -22,-32,1: & D 0,-52,1
|
|
10610 & D -3,-5,1: & D -42,-43,1: & D -6,0,1: & D -2,4,1: & D 0,10,1: & D -12,0,1
|
|
10613 & D 5,0,1: & D -7,-10,1: & D 0,-50,1: & D 0,50,1
|
|
10615 & D -22,0,1: & D 0,-30,1: & D -15,0,1: & D 13,3,1: & D 0,30,1
|
|
10620 & D -13,-3,1: & D 0,-30,1: & D 0,30,1: & D -15,0,1: & D 0,-50,1: & D 0,50,1
|
|
10625 & D -23,40,1: & D -22,0,1: & D 22,0,1: & D 0,-52,1: & D -22,22,1: & D 0,70,1
|
|
10630 & D -30,50,1: & S 116,49,1: & S 210,158,1: & D -45,0,1: & D 0,-18,1
|
|
10633 & D 0,18,1
|
|
10635 & D -26,-60,0: & D 0,-10,1: & D 6,-16,1: & D 12,0,3: & D 4,4,1: & D -12,0,1
|
|
10640 & D -4,-4,1: & D 4,4,1: & D -6,14,1: & D 10,-2,1: & D 9,0,1: & D 0,-11,1
|
|
10645 & D 0,11,1: & D 19,25,1: & S 165,140,1: & D 10,-20,1: & D 21,0,1
|
|
10650 & D -5,-7,1: & D -21,0,1:: & D 5,7,1: & D -5,-7,1: & D -7,14,1
|
|
10655 & D -20,-37,1: & S 165,140,1: & D -26,-50,1: & S 165,158,1
|
|
10660 & D -26,-59,1: & D 0,-1,1: & S 196,120,1: & D 0,-14,1: & D 2,-5,1
|
|
10665 & D 9,0,1: & D -9,0,1: & D -39,-43,1
|
|
10670 & I 3: RETURN
|
|
10700 & H: & I 0: & S 15,190,1: & D 57,-106,1: & D -57,106,1: & D 0,-150,1
|
|
10705 & D 67,-30,1: & D 0,32,1: & D 0,-32,1: & D 75,0,1: & D 0,50,1: & D 0,-50,1
|
|
10710 & D 75,30,1: & D 0,150,1: & D -75,-130,1: & S 202,138,1: & D 0,-78,1
|
|
10715 & D -22,-18,1: & D 0,56,1: & S 157,60,1: & D -9,0,1: & D 2,3,3
|
|
10720 & D -78,0,1: & D 0,8,1: & D 78,0,2: & D 0,-8,1: & D 0,20,1
|
|
10725 & D -78,0,1: & D 0,-38,1: & D 10,-12,1: & S 82,42,1: & D -10,13,1
|
|
10730 & D 6,1,1: & D 9,-13,1: & D -4,-1,1: & D 4,1,1: & D 0,6,1: & D -9,13,1
|
|
10735 & D 0,1,1: & D 0,-7,1: & D 0,6,1: & D 9,-13,1: & D 55,0,1: & D 8,15,1
|
|
10738 IF LX=2 THEN GOTO 10745
|
|
10740 & S 197,93,1: & C 1,1
|
|
10745 IF LX=0 THEN & I 3: RETURN
|
|
10750 IF LX=1 THEN GOTO 10780
|
|
10755 & S 202,137,0: & D 0,-77,0: & D -22,-18,0: & D 0,55,0
|
|
10760 & S 30,162,1: & D 26,-49,0: & D 0,1,0: & D -26,49,0
|
|
10765 & S 30,162,1: & D 0,-80,1: & D 22,-22,1: & D 0,9,1: & D 0,-9,1
|
|
10770 & D -22,22,1: & D 27,-15,1: & D 0,77,1: & D -25,18,1: & S 51,111,1
|
|
10775 & C 1,1: & I 3: RETURN
|
|
10780 & S 30,50,1: & D 0,40,1: & D 22,-24,1: & D 0,-29,1: & D -22,14,1
|
|
10785 & D 12,-8,3: & D 0,33,1
|
|
10790 & I 3: RETURN
|
|
10800 & H: & I 0: & S 15,190,1: & D 0,-140,1: & D 82,-40,1: & D 53,0,1
|
|
10805 & D 75,40,1: & D 0,140,1: & D -30,-50,1: & D 0,-80,1: & D -26,-22,1
|
|
10810 & D 0,60,1: & D 26,0,1: & D -26,0,1: & D -19,-30,1: & D 0,-58,1
|
|
10812 & D 0,58,1: & D -22,0,1
|
|
10815 & D 0,-40,1: & D -15,0,1: & D 13,4,1: & D 0,40,1: & D -13,-4,1: & D 0,-40,1
|
|
10820 & D 0,40,1: & D -15,0,1: & D 0,-58,1: & D 0,58,1: & D -30,42,1: & D -22,0,1
|
|
10825 & D 22,0,1: & D 0,-68,1: & D -22,16,1: & D 0,86,1: & D -30,43,1
|
|
10830 & S 123,52,1: & I 3: RETURN
|
|
10900 & H: & I 0: & S 232,190,1: & D 0,-150,1: & D -82,-30,1: & D 0,50,1
|
|
10905 & D 0,-50,1: & D -60,0,1: & D 0,50,1: & D 0,-50,1: & D -75,30,1: & D 0,150,1
|
|
10910 IF LX=0 THEN & D 75,-130,1: & D -23,40,3:GOTO10920
|
|
10915 & D 30,-52,1: & D -30,52,1: & D 75,-130,3: & D -23,40,1: & D -22,0,1
|
|
10918 & D 22,0,1
|
|
10920 & D 0,-58,1: & D -22,16,1: & D 0,80,1
|
|
10925 & S 90,60,1: & D 60,0,1: & D 82,130,1
|
|
10930 IF LX=0 THEN & S 63,78,1: & C 1,1: & I 3: RETURN
|
|
10935 IF LX=1 THEN & I 3: RETURN
|
|
10940 & S 210,100,1: & D -15,0,1: & D -3,-10,1: & D 18,0,1: & D 0,10,1
|
|
10945 & D 0,-10,1: & D -27,-25,1: & D 0,5,1: & D 20,20,1: & D -20,-20,1
|
|
10950 & D -8,0,1: & D 8,0,1: & D 0,-5,1: & D -12,0,1: & D 21,25,1: & D -21,-25,1
|
|
10955 & D -1,0,1: & D 2,8,1: & D 21,26,1
|
|
10960 & I 3: RETURN
|
|
11000 & H: & I 0: & S 15,190,1: & D 0,-150,1: & D 82,-30,1: & D 0,40,1
|
|
11005 & D 0,-40,1: & D 60,0,1: & D 0,40,1: & D 0,-40,1: & D 75,30,1: & D 0,150,1
|
|
11010 & D -22,-42,1: & D 0,-75,1: & D -23,-21,1: & D 0,52,1: & D 23,0,1
|
|
11015 & D -23,0,1: & D -30,-54,1: & D -60,0,1: & D -82,140,0: & D 82,-140,1
|
|
11020 & D 15,0,1: & D 0,-24,1: & D 12,0,1: & D 0,24,1: & M -3,-12,1
|
|
11025 IF LX=0 THEN & I 3: RETURN
|
|
11030 & S 187,104,1: & D 22,0,0: & M -22,0,1: & D 23,44,1: & M -5,-45,1
|
|
11035 & C 1,1: & S 30,50,1: & D 0,40,1: & D 37,-34,1: & D 0,-25,1: & D -37,20,1
|
|
11040 & D 21,-10,3: & D 0,31,1: & I 3: RETURN
|
|
11500 & H: & I 0: & S 15,180,1: & D 0,-140,1: & D 67,-30,1: & D 75,0,1
|
|
11505 & D 67,30,1: & D 0,150,1: & D -42,-70,1: & D 0,-70,1: & D -24,-20,1
|
|
11510 & D 0,-20,1: & D 0,20,1: & D -45,0,1: & D -15,20,1: & D 85,0,1: & D -33,0,1
|
|
11515 & D 0,70,1: & D 33,0,1: & D -34,0,1: & D -14,-40,1: & D 0,-30,1: & D 0,30,1
|
|
11520 & D -22,0,1: & D 0,-30,1: & D 0,30,1: & D -15,40,1: & D 0,-70,1: & D 0,30,1
|
|
11525 & D -15,0,1: & D 0,-70,1: & D 0,70,1: & D -67,100,1
|
|
11530 & S 167,60,1: & C 1,1: & M 0,10,1: & C 1,1: & M 0,10,1: & C 1,1
|
|
11540 & M 0,20,1: & D 6,2,1: & D -6,-2,1: & C 8,1
|
|
11545 REM POKE 43346,1:POKE 43348,3:POKE 43386,1:POKE 43388,3
|
|
11550 REM POKE 43746,4:POKE 43748,3:POKE 43786,4:POKE 43788,3
|
|
11555 REM POKE 44146,2:POKE 44148,3:POKE 44186,2:POKE 44188,3
|
|
11560 & I 3: RETURN
|
|
11700 & H: & I 0: & S 15,190,1: & D 0,-140,1: & D 60,-40,1: & D 75,00,1
|
|
11705 & D 82,40,1: & D 0,140,1: & D -45,-72,3: & D 0,-54,1: & D -15,-14,1
|
|
11710 & D 0,44,1: & S 232,190,1: & D -82,-130,1: & D 0,-50,1: & D 0,50,1
|
|
11715 & D -75,0,1: & D 0,-50,1: & D 0,50,1: & D -4,10,1: & D 9,0,1: & D -23,0,1
|
|
11720 & D -34,50,1: & D 39,0,1: & D 18,-50,1: & D 0,4,1: & D -18,52,1
|
|
11725 & D 0,-6,1: & D 0,6,1: & D -39,0,1: & D 0,-6,1
|
|
11730 & S 15,190,1: & D 15,-33,1: & D 0,-30,1
|
|
11735 & D 4,0,3: & D 0,37,1: & D -4,0,1: & D 0,-7,1: & D 0,7,1: & D 4,0,1
|
|
11740 : & D 3,-8,1: & D 0,-29,1: & D 15,0,3: & D 0,37,1: & D 4,0,1: & D 0,-37,1
|
|
11745 & D 0,37,1: & D 3,-8,1: & D 0,-29,1: & D -14,0,3: & D -7,16,1
|
|
11750 & S 74,93,1: & D 0,12,1: & D 3,0,1: & D 0,-19,1: & D 0,19,1
|
|
11755 & D 2,-7,1: & D 0,-18,1
|
|
11760 & S 184,86,1: & I 3: RETURN
|
|
11800 & H: & I 0: & S 15,191,1: & D 0,-160,1: & D 75,-30,1: & D 52,0,1
|
|
11805 & D 90,30,1: & D 0,160,1: & S 15,191,1: & D 75,-140,1: & D 0,-50,1
|
|
11810 & D 0,50,1: & D 15,0,1: & D 0,-30,1: & D 12,4,1: & D 0,30,1: & D -12,-4,1
|
|
11815 & D 0,-30,1: & D 15,0,1: & D 0,30,1: & D 22,0,1: & D 0,-50,1: & D 0,50,1
|
|
11820 & D 36,55,1: & D 21,0,1: & D -21,0,1: & D 0,-60,1: & D 21,15,1: & D 0,74,1
|
|
11825 & D 6,8,1: & D -106,0,1: & D -15,46,1: & D 15,-46,1: & D 0,10,1: & D 106,0,1
|
|
11830 & D 0,-10,1: & D 0,10,1: & D 4,5,1: & D -112,0,1: & D 2,-5,1: & D -2,5,1
|
|
11835 & D 0,10,1: & D 112,0,1: & D 0,-10,1: & D 0,10,1: & D 4,6,1: & D -119,0,1
|
|
11840 & D 3,-6,1: & D -3,6,1: & D 0,10,1: & D 119,0,1: & D 0,-10,1: & D 0,10,1
|
|
11845 & D 4,6,1: & D -126,0,1: & D 3,-6,1: & S 115,49,1
|
|
11850 & I 3: RETURN
|
|
12200 & H: & I 0: & S 15,190,1: & D 0,-150,1: & D 75,-30,1: & D 0,50,1
|
|
12205 & D 0,-50,1: & D 60,0,1: & D 0,50,1: & D 0,-50,1: & D 82,30,1: & D 0,150,1
|
|
12210 & D -82,-130,1: & D -45,0,1: & D 0,-30,1: & D 15,0,1: & D 0,30,1: & D -30,0,1
|
|
12215 & D -30,53,1:IF LX=2 THEN & D -23,0,1: & D 23,0,1
|
|
12220 & D 0,-60,1: & D -23,17,1: & D 0,80,1
|
|
12225 IF LX<>2 THEN & D 23,-37,1: & D -23,37,1
|
|
12230 & D -22,40,1:IF LX<>2 THEN & S 57,88,1: & C 1,1
|
|
12235 IF LX<>0 THEN & S 117,45,1: & C 1,1: & I 3: RETURN
|
|
12240 & S 105,60,1: & D 15,0,0: & M -15,0,1: & D 0,-30,1: & D 12,3,1
|
|
12245 & D 0,30,1: & D -12,-4,1: & S 115,48,1: & I 3: RETURN
|
|
12299 GOTO14000
|
|
12300 & H: & I 0: & S 15,190,1: & D 0,-150,1: & D 67,-30,1: & D 67,0,1
|
|
12310 & D 82,30,1: & D 0,150,1: & D -65,-104,1: & D 0,-54,1: & D -16,-10,1
|
|
12315 & D 0,-10,1: & D 0,10,1: & D -37,0,1: & D -3,10,1: & D 0,54,1: & D 56,0,1
|
|
12320 & D 0,-54,1: & D -28,0,1: & D 0,54,1: & D 0,-54,1: & D -28,0,1: & D 0,30,1
|
|
12325 & D -27,0,1: & D 0,-50,1: & D 0,50,1: & D -67,130,1
|
|
12330 & S 133,60,1: & C 1,1: & M 11,0,1: & C 1,1
|
|
12340 & I 3: RETURN
|
|
12400 & H: & I 0: & S 30,164,1: & D -15,26,1: & D 0,-143,1: & D 15,-7,1
|
|
12405 & D 0,124,1: & D 15,0,1: & D 0,-124,1: & D -15,0,1: & D 15,0,1: & D 45,-30,1
|
|
12410 & D 0,13,1: & D 0,-13,1: & D 60,0,1: & D 0,50,1: & D 0,-50,1: & D 82,30,1
|
|
12415 & D 0,150,1: & D -82,-130,1: & D -50,0,1: & D -32,104,1: & D -22,0,1
|
|
12420 & D 22,0,1: & D 0,-92,1: & D -22,0,1: & D 44,-48,1: & D 10,0,1: & D -32,48,1
|
|
12425 & D 32,-48,1: & D 0,35,1: & D -14,46,3: & D 0,-61,1
|
|
12430 & S 81,88,1: & C 1,1: & M 11,-21,1: & C 1,1: & I 3: RETURN
|
|
12499 REM GOTO 14000
|
|
13000 & H: & I 0: & S 75,62,1: & D -5,0,1: & D -55,108,1: & D 37,-10,1
|
|
13005 & D 30,-90,1: & D -19,5,1: & D 19,-5,1: & D 20,5,1: & D -12,94,1
|
|
13007 & D -38,-10,1: & D 38,10,1: & D 0,20,1: & D -75,0,1: & D 0,-20,1
|
|
13010 & D 0,20,1: & D 75,0,1: & D 15,-112,1: & D 0,-15,1
|
|
13012 & D -3,14,1: & D 3,-14,1: & D -13,0,1
|
|
13015 & D 0,-12,1: & D 0,12,1: & D -4,10,1: & D 0,-22,1: & D 12,0,1
|
|
13020 & D 4,-7,1: & D 0,-15,1: & D -4,6,1: & D 0,16,1: & D 0,-16,1: & D -12,0,1
|
|
13025 & D 4,-6,1: & D 12,0,1: & D -12,0,1: & D 0,-16,1: & D -4,6,1: & D 0,16,1
|
|
13030 & D 0,-16,1: & D -12,0,1: & D 4,-6,1: & D 12,0,1: & D -12,0,1: & D -4,6,1
|
|
13035 & D 0,16,1: & D -12,0,1: & D 4,-6,1: & D 7,0,1: & D -7,0,1: & D -4,6,1
|
|
13040 & D 0,16,1: & D 12,0,1: & D 0,22,1
|
|
13045 & I 3: RETURN
|
|
|
|
20000 GOSUB 13000 'TOMBE
|
|
20010 GOSUB 30000 'SARABANDE
|
|
20100 TEXT: PRINT: PRINT: PRINT: PRINT: PRINT "Voulez-vous rejouer ?":GET X$
|
|
20105 IF X$="O" THEN RUN 45
|
|
20110 IF X$="N" THEN GOTO 20200
|
|
20120 GOTO 20100
|
|
20200 HOME: PRINT: PRINT: PRINT: PRINT " AU REVOIR"
|
|
20210 END
|
|
|
|
30000 REM SARABANDE
|
|
30001 RETURN
|
|
30005 & R 30000: REM RESTORE
|
|
30010 FOR N=1 TO 41:READ Y$,Y$,Y$,Y$,Y$,Y$,Y$:NEXT
|
|
30015 FOR N=1 TO 75
|
|
30020 READ A1,A2,A3,A4,A5
|
|
30025 READ A6,A7,A8,A9,A0
|
|
30030 REM MUSIC1,A1,A2,A3:MUSIC2,A4,A5,A6:MUSIC3,A7,A8,A9:PLAY7,0,0,100: & W A0
|
|
30032 REM IF N>70 THEN NEXT:PLAY0,0,0,0: RETURN
|
|
30035 REM PLAY0,0,0,0:NEXT
|
|
30040 DATA 3,6,8,3,3,8,2,10,8,80
|
|
30045 DATA 3,6,8,3,3,8,2,10,8,80
|
|
30050 DATA 0,1,1,0,1,1,0,1,1,40
|
|
30055 DATA 3,8,8,3,5,8,0,1,1,40
|
|
30060 DATA 3,5,8,3,2,8,2,10,8,80
|
|
30065 DATA 3,5,8,3,2,8,2,10,8,40
|
|
30070 DATA 1,11,8,0,1,1,0,1,1,40
|
|
30075 DATA 1,10,8,0,1,1,0,1,1,40
|
|
30080 DATA 1,8,8,0,1,1,0,1,1,40
|
|
30085 DATA 3,10,8,3,6,9,3,1,8,80
|
|
30090 DATA 3,10,8,3,6,9,3,1,8,80
|
|
30095 DATA 0,1,1,0,1,1,0,1,1,40
|
|
30100 DATA 3,11,8,3,8,8,0,1,1,40
|
|
30105 DATA 3,8,8,3,5,8,3,1,8,80
|
|
30110 DATA 3,8,8,3,5,8,3,1,8,40
|
|
30115 DATA 2,1,8,0,1,1,0,1,1,40
|
|
30120 DATA 1,11,8,0,1,1,0,1,1,40
|
|
30125 DATA 1,10,8,3,7,8,3,10,8,40
|
|
30130 DATA 3,11,8,3,8,8,3,3,8,80
|
|
30135 DATA 3,11,8,3,8,8,3,3,8,80
|
|
30140 DATA 1,8,8,0,1,1,0,1,1,40
|
|
30145 DATA 1,8,8,3,10,8,4,1,8,40
|
|
30150 DATA 3,10,8,3,6,8,3,3,8,80
|
|
30155 DATA 3,10,8,3,6,8,3,3,8,80
|
|
30160 DATA 0,1,1,0,1,1,0,1,1,40
|
|
30165 DATA 3,10,8,2,1,8,0,1,1,40
|
|
30170 DATA 4,3,8,3,10,8,1,11,8,80
|
|
30175 DATA 4,3,8,3,8,8,2,11,9,80
|
|
30180 DATA 0,1,1,0,1,1,0,1,1,40
|
|
30185 DATA 4,5,8,0,1,1,0,1,1,40
|
|
30190 DATA 4,2,8,3,10,8,3,5,8,80
|
|
30195 DATA 4,2,8,3,10,8,3,5,8,40
|
|
30200 DATA 2,8,8,0,1,1,0,1,1,40
|
|
30202 DATA 2,6,8,0,1,1,0,1,1,40
|
|
30203 DATA 2,5,8,0,1,1,0,1,1,40
|
|
30205 DATA 3,6,8,3,3,8,2,10,8,80
|
|
30210 DATA 3,6,8,3,3,8,2,10,8,80
|
|
30215 DATA 0,1,1,0,1,1,0,1,1,40
|
|
30220 DATA 3,8,8,3,5,8,0,1,1,40
|
|
30225 DATA 3,5,8,3,2,8,2,10,8,80
|
|
30230 DATA 3,5,8,3,2,8,2,10,8,40
|
|
30235 DATA 1,11,8,0,1,1,0,1,1,40
|
|
30240 DATA 1,10,8,0,1,1,0,1,1,40
|
|
30245 DATA 1,8,8,0,1,1,0,1,1,40
|
|
30250 DATA 3,10,8,3,6,9,3,1,8,80
|
|
30255 DATA 3,10,8,3,6,9,3,1,8,80
|
|
30260 DATA 0,1,1,0,1,1,0,1,1,40
|
|
30265 DATA 3,11,8,3,8,8,0,1,1,40
|
|
30270 DATA 3,8,8,3,5,8,3,1,8,80
|
|
30275 DATA 3,8,8,3,5,8,3,1,8,40
|
|
30280 DATA 2,1,8,0,1,1,0,1,1,40
|
|
30285 DATA 1,11,8,0,1,1,0,1,1,40
|
|
30290 DATA 1,10,8,3,7,8,3,10,8,40
|
|
30295 DATA 3,11,8,3,8,8,3,3,8,80
|
|
30300 DATA 2,8,8,0,1,1,0,1,1,40
|
|
30305 DATA 3,11,8,3,8,8,3,1,8,40
|
|
30310 DATA 2,8,8,0,1,1,0,1,1,40
|
|
30315 DATA 2,1,8,0,1,1,0,1,1,40
|
|
30320 DATA 4,1,8,2,5,8,0,1,1,40
|
|
30325 DATA 3,10,8,3,6,8,3,1,8,80
|
|
30330 DATA 3,10,8,2,3,8,0,1,1,40
|
|
30335 DATA 4,3,8,3,6,8,2,11,8,40
|
|
30340 DATA 4,2,8,0,1,1,0,1,1,40
|
|
30345 DATA 4,3,8,3,11,8,2,8,8,40
|
|
30350 DATA 4,5,8,0,1,1,0,1,1,40
|
|
30355 DATA 4,6,8,3,10,8,2,10,8,80
|
|
30360 DATA 4,5,8,3,8,8,1,10,8,40
|
|
30365 DATA 0,1,1,3,8,8,1,10,8,40
|
|
30370 DATA 4,3,8,0,1,1,0,1,1,40
|
|
30375 DATA 4,3,8,3,6,8,2,3,8,80
|
|
30380 DATA 3,3,8,3,10,8,3,6,8,40
|
|
30385 DATA 3,3,7,3,10,7,3,6,7,40
|
|
30390 DATA 3,3,6,3,10,6,3,6,6,40
|
|
30395 DATA 3,3,5,3,10,5,3,6,5,40
|
|
30400 DATA 3,3,4,3,10,4,3,6,5,40
|
|
|
|
32000 REM TEA FOR TWO
|
|
32001 GOTO 33000
|
|
32002 & R 32000: REM RESTORE
|
|
32004 FOR N=1 TO 166:READ Y$,Y$,Y$,Y$,Y$,Y$,Y$,Y$:NEXT
|
|
32005 FOR N=1 TO 110
|
|
32010 READ A1,A2,A3
|
|
32015 REM MUSIC1,A1,A2,10:PLAY1,0,0,100: & W A3
|
|
32020 REM PLAY0,0,0,0
|
|
32022 NEXT
|
|
32025 DATA 4,6,45,4,3,15,4,5,45,4,3,15,4,6,45,4,3,15,4,5,45
|
|
32030 DATA 4,1,15,4,5,45,4,1,15,4,3,45,4,1,15,4,5,45,4,1,15
|
|
32035 DATA4,3,45,4,1,15,4,6,45,4,3,15,4,5,45,4,3,15,4,6,45
|
|
32040 DATA4,3,15,4,5,45,4,1,30,4,10,30,4,10,22,4,7,8,4,9,30,4,9,22,4,7,8
|
|
32045 DATA4,10,30,4,10,22,4,7,8,4,9,30,4,9,22,4,5,8,4,9,30,4,7,22,4,5,8
|
|
32050 DATA4,7,30,4,7,22,4,5,8,4,9,30,4,9,22,4,5,8,4,7,30,4,7,22,4,5,8
|
|
32055 DATA4,10,30,4,10,22,4,7,8,4,9,30,4,9,22,4,7,8,4,10,30,4,10,22,4,7,8
|
|
32060 DATA4,9,30,4,9,30,5,2,120,5,1,60,4,6,45,4,3,15,4,5,45,4,3,15,4,6,45
|
|
32065 DATA4,3,15,4,5,45,4,1,15,4,5,45,4,1,15,4,3,45,4,1,15,4,5,45,4,1,15
|
|
32070 DATA4,3,45,4,1,15,4,6,45,4,3,15,4,5,45,4,3,15,4,6,45,4,3,15,4,5,45
|
|
32075 DATA4,1,30,5,3,45,5,3,15,5,1,45,5,1,15,4,11,45,4,11,15,4,10,45,4,10,15
|
|
32080 DATA5,1,45,5,1,15,4,11,45,4,11,15,4,10,45,4,10,15,4,8,45,4,8,15
|
|
32085 DATA4,6,45,4,3,15,4,5,45,4,3,15
|
|
32090 DATA4,6,45,4,3,15,4,5,45,4,10,15,4,6,120
|
|
|
|
33000 TEXT:HOME:NORMAL
|
|
33002 GOSUB 50000
|
|
33003 RETURN: REM LOGO
|
|
33005 FOR N=1 TO 331:READ Y$,Y$,Y$,Y$,Y$:NEXT:READ Y$,Y$,Y$
|
|
33010 FOR N=46360 TO 46423
|
|
33020 READ GH:POKE N,GH
|
|
33030 NEXT
|
|
33040 DATA 1,2,4,4,4,2,3,1,48,32,24,16,32,16,32,32
|
|
33050 DATA 2,6,9,8,8,8,4,6,16,16,8,40,26,12,10,16
|
|
33060 DATA 7,8,8,16,16,8,28,0,48,8,8,4,4,2,3,0
|
|
33070 DATA 3,4,4,6,2,2,3,0,48,24,8,4,4,4,6,0
|
|
33100 FOR N=48802 TO 48836 STEP 2
|
|
33110 POKE N,35:POKE N+1,36:POKE N+40,37:POKE N+41,38:POKE N+80,39:POKE N+81,40
|
|
33120 REM & W 48836-N
|
|
33130 POKE N,32:POKE N+40,32:POKE N+80,32
|
|
33140 POKE N+1,35:POKE N+2,36:POKE N+41,37:POKE N+42,38:POKE N+81,41:POKE N+82,42
|
|
33150 REM & W 48836-N
|
|
33160 POKE N+1,32:POKE N+41,32:POKE N+81,32
|
|
33170 NEXT
|
|
33180 POKE N,32:POKE N+40,32:POKE N+80,32
|
|
33190 REM CALL#F89B
|
|
33200 RETURN
|
|
|
|
50000 PRINT: PRINT " Cela est exceptionnel,vous etes le premier a etre sorti vivant";
|
|
50010 PRINT " de cette": PRINT: PRINT "maison , mais je serais vous , je me ": PRINT "mettrais a ";
|
|
50020 PRINT "courrir car un nain rode": PRINT: PRINT "peut etre dans les parages"
|
|
50030 RETURN
|