Home » Personal collection » Acorn tapes » Commercial_Releases » box05_tape03a_acorn_white_magic_2_electron.wav » DEF2
DEF2
This website contains an archive of files for the Acorn Electron, BBC Micro, Acorn Archimedes, Commodore 16 and Commodore 64 computers, which Dominic Ford has rescued from his private collection of floppy disks and cassettes.
Some of these files were originally commercial releases in the 1980s and 1990s, but they are now widely available online. I assume that copyright over them is no longer being asserted. If you own the copyright and would like files to be removed, please contact me.
Tape/disk: | Home » Personal collection » Acorn tapes » Commercial_Releases » box05_tape03a_acorn_white_magic_2_electron.wav |
Filename: | DEF2 |
Read OK: | ✔ |
File size: | 1D23 bytes |
Load address: | 0E00 |
Exec address: | 8023 |
Duplicates
There is 1 duplicate copy of this file in the archive:
- AEW website » 4thdimension » 4thdimension_5_25_discs_White-Magic-2_HD-WM2.dsd » DEF2
- Personal collection » Acorn tapes » Commercial_Releases » box05_tape03a_acorn_white_magic_2_electron.wav » DEF2
File contents
10GOTO 40 15IF ?&8F=1 THEN FORL%=&3500 TO &38FF:?L%=47:NEXT 20PROCwind(4,20,26,10):IF ERR=17 THEN PROCtext("ESCAPE",12,14) ELSE PROCtext("ERROR!",12,14) 30PROCpret:CALL&B8D:A%=X%:B%=Y%:CALL&B20:GOTO 950 40HIMEM=&3148:VDU23,1,0;0;0;0;:ON ERROR GOTO 15 50DIM S%(3,4):*FX11 30 60*FX12 2 80*LOAD DGRAFIX 3900 100*LOAD MAPSYMB 3148 110*LOAD MINIFONT 3E10 120FORL%=&3500 TO &38FF:?L%=47:NEXT 130*LOAD DEFCODE A00 140GOTO 930 150DEFPROCload 160PROCwind(4,20,26,10):PROCtext("LOAD FILE",10,11):PROCtext("LEVEL NO. :",6,15):PROCinput(17,15,2):IF VAL(A$)>32 OR VAL(A$)<1 THEN 160 170A%=VAL(A$):IF A%<10 THEN A$="LEVEL0"+STR$(A%) ELSE A$="LEVEL"+STR$(A%) 171VDU28,2,19,12,13:COLOUR3:CLS:?&8F=1:OSCLI("*LOAD "+A$+" 3500"):CLS:VDU26:?&8F=0 172OSCLI("*FX229,1"):PROCtext("ENTER CODE :",6,15):PROCinput(18,15,4):PROCgpcd:IF A$<>T$ THEN VDU7:FORL%=&3500 TO &38FF:?L%=47:NEXT:OSCLI("*FX229"):CALL&B8D:R%=0:T%=0:ENDPROC ELSE OSCLI("*FX229") 180CALL&B8D:VDU19,1,?&3500;0;0;0;19,2,?&3501;0;0;0;19,3,?&350A;0;0;0; 190T%=0:R%=0:FORL%=(&3500+63) TO (&3500+1023):IF ?L%=107 THEN T%=T%+1 200IF ?L%>109 AND ?L%<114 THEN R%=R%+1:NEXT:ENDPROC ELSE NEXT:ENDPROC 210DEFPROCcat:VDU26,28,0,30,14,0,24,0;32;984;1023;:CLG:COLOUR128:CLS:*CAT 220VDU7:REPEAT UNTIL INKEY(-74):CALL&B8D:ENDPROC 230DEFPROCgrid:A%=0:B%=32:GCOL3,3:FORL%=1 TO 5:FORK%=1 TO 5:PLOT4,A%,B%:PLOT1,216,0:PLOT1,0,220:PLOT1,-216,0:PLOT1,0,-220:A%=A%+192:NEXT:A%=0:B%=B%+192:NEXT:ENDPROC 250DEFPROCcd:TIME=0:REPEAT UNTIL TIME>10:ENDPROC 260DEFPROCcols:B%=X%:C%=Y%:A%=&B:X%=&70:Y%=0:?&70=1:CALL &FFF1:M%=?&71:?&70=2:CALL &FFF1:N%=?&71:?&70=3:CALL &FFF1:H%=?&71:PROCwind(5,24,25,10):PROCtext("COLOUR DEFINER",8,11):PROCtext("PRESS 1,2 OR 3",8,14) 270PROCtext("TO ALTER COLOURS",7,15):X%=B%:Y%=C%: 280PROCtext("RETURN TO EXIT",8,17):PROCtext("1 : ",7,19):PROCtext("2 : ",7,21):PROCtext("3 : ",7,23):COLOUR129:PRINTTAB(5,19);SPC(5):COLOUR130:PRINTTAB(5,21);SPC(5):COLOUR131:PRINTTAB(5,23);SPC(5):COLOUR128:VDU30 290IF INKEY(-49) THEN M%=((M%+1) AND 7):VDU19,1,M%;0;0;0;:PROCcd 300IF INKEY(-50) THEN N%=((N%+1) AND 7):VDU19,2,N%;0;0;0;:PROCcd 310IF INKEY(-18) THEN H%=((H%+1) AND 7):VDU19,3,H%;0;0;0;:PROCcd 320IF NOT INKEY(-74) THEN 290 330CALL&B8D:ENDPROC 340DEFPROCswind:PROCwind(4,20,26,10):PROCtext("SAVE LEVEL",10,11):ENDPROC 350DEFPROCsave:PROCswind:PROCtext("PLEASE WAIT",9,15):K%=0:FORL%=(&3500+63) TO (&3500+93):IF FNtest(?L%)=1 THEN K%=1:NEXT ELSE NEXT 360IF K%=1 THEN VDU7:PROCtext("EDGE NOT COMPLETE!",6,15):PROCpret:CALL&B8D:ENDPROC 370FORL%=(&3500+63) TO (&3500+993) STEP 31:IF FNtest(?L%)=1 OR FNtest(?(L%+30))=1 THEN K%=1:NEXT ELSE NEXT 380IF K%=1 THEN VDU7:PROCtext("EDGE NOT COMPLETE!",6,15):PROCpret:CALL&B8D:ENDPROC 390FORL%=(&3500+993) TO (&3500+1023):IF FNtest(?L%)=1 THEN K%=1:NEXT ELSE NEXT 400IF K%=1 THEN VDU7:PROCtext("EDGE NOT COMPLETE!",6,15):PROCpret:CALL&B8D:ENDPROC 410K%=0:M%=0:FORL%=&353F TO &38FF:IF ?L%=118 THEN K%=1 420IF ?L%=58 THEN M%=1 430NEXT:IF K%=0 THEN VDU7:PROCtext("NO MASTER KEY! ",6,15):PROCpret:CALL&B8D:ENDPROC ELSE IF M%=0 THEN VDU7:PROCtext("NO TRAPDOOR! ",6,15):PROCpret:CALL&B8D:ENDPROC 440PROCswind:PROCtext("SAVE AS LEVEL NO.:",5,15):PROCinput(23,15,2):IF VAL(A$)<0 OR VAL(A$)>32 THEN GOTO 440 ELSE O%=VAL(A$) 450PROCswind:PROCtext("LEVEL TITLE (MAX 20)",5,15):PROCinput(6,17,20):IF A$="" OR LEN(A$)>20 THEN 450 ELSE T$=A$ 460IF LEN(T$)<20 THEN T$=" "+T$ 470PROCswind:PROCtext("TIME (MAX 9899):",5,15):PROCinput(21,15,4):IF VAL(A$)<1 OR VAL(A$)>9899 THEN 470 ELSE Z%=VAL(A$) 480PROCswind:PROCtext("POSITION START",9,15):PROCpoint(6,6):IF ?H%<>47 THEN VDU7:GOTO 480 ELSE U%=A%:G%=B% 490IF T%=0 THEN 540 500PROCswind:PROCtext("SET DESTINATION",5,15):PROCtext("FOR EACH TELEPORTER",5,16):PROCpret:CALL&B8D:F%=(&3500+14):V%=(&3500+63):FORY2%=0 TO 30:FORX2%=0 TO 30:IF ?V%<>107 THEN 530 510A%=X2%:B%=Y2%:CALL&B20:SOUND1,-15,200,2:PROCpoint(30,30):IF ?H%<>47 THEN A%=X2%:B%=Y2%:CALL&B20:GOTO 510 520?F%=A%:?(F%+1)=B%:M%=-6:REPEAT:M%=M%+6:UNTIL A%>(M%-1) AND A%<(M%+7):?(F%+2)=M%:M%=-6:REPEAT:M%=M%+6:UNTIL B%>(M%-1) AND B%<(M%+7):?(F%+3)=M%:F%=F%+4:A%=X2%:B%=Y2%:CALL&B20 530V%=V%+1:NEXT:NEXT 540?&3502=0:?&3503=0:?&3504=(U%*3):?&3505=(G%*3):V%=(&43F+U%+(G%*31)):?&3506=(V% MOD 256):?&3507=(V% DIV 256):?&350B=&3F:?&350C=&4:IF LEN(T$)>19 THEN PROCcstr:GOTO 560 550V%=20-LEN(T$):T$=STRING$((V%/2)," ")+T$:PROCcstr 560A%=0:B%=0:A%=(Z% MOD 10):A%=(A% OR (((Z% MOD 100) DIV 10)*16)):Z%=(Z% DIV 100):B%=(Z% MOD 10):B%=(B% OR ((Z% DIV 10)*16)):?&3508=A%:?&3509=B% 570X2%=X%:Y2%=Y%:A%=&B:X%=&70:Y%=0:?&70=1:CALL&FFF1:M%=?&71:?&70=2:CALL&FFF1:N%=?&71:?&70=3:CALL&FFF1:H%=?&71:X%=X2%:Y%=Y2%:X2%=236:Y2%=46:?&3500=M%:?&3501=N%:?&350A=H% 580PROCswind 590PROCtext("PREPARE TO SAVE",7,14):PROCtext("LEVEL DATA",10,16):PROCpret:VDU28,3,19,12,13:COLOUR128:CLS:IF O%<10 THEN T$="LEVEL0"+STR$(O%) ELSE T$="LEVEL"+STR$(O%) 600OSCLI("*SAVE "+T$+" 3500 3900 400 400"):VDU26:PROCswind:PROCgpcd:A$="PASSCODE :"+T$:PROCtext(A$,6,15):PROCpret:CALL&B8D:ENDPROC 611DEFPROCgpcd:T$=CHR$(48+(?&3533 AND 7))+CHR$(48+(?&3534 AND 7))+CHR$(48+((?&3533 AND 56)/8))+CHR$(48+((?&3534 AND 56)/8)):ENDPROC 620DEFPROCpret:PROCtext("PRESS RETURN",9,19):REPEAT UNTIL INKEY(-74):TIME=0:REPEAT UNTIL TIME>30:OSCLI("*FX21"):ENDPROC 630DEFFNtest(A%):IF A%>31 AND A%<37 THEN =0 640IF A%>71 AND A%<85 THEN =0 650IF A%=86 OR A%=93 OR A%=94 OR A%=116 OR A%=117 THEN =0 660IF A%>118 AND A%<132 THEN =0 670IF A%>132 AND A%<138 THEN =0 680IF A%=250 THEN =0 690=1 700DEFPROCcstr:A%=(&3500+42):FORL%=A% TO (A%+20):?L%=32:NEXT:$A%=T$:ENDPROC 710DEFPROCpoint(K%,L%):FORA%=1 TO 300:NEXT:OSCLI("*FX21"):A%=0:B%=0:H%=(&3500+63):CALL&B20 720OSCLI("*FX19"):CALL&B20:IF INKEY(-98) AND A%>0 THEN A%=A%-1:H%=H%-1 730IF INKEY(-73) AND B%>0 THEN B%=B%-1:H%=H%-31 740IF INKEY(-67) AND A%<K% THEN A%=A%+1:H%=H%+1 750IF INKEY(-105) AND B%<L% THEN B%=B%+1:H%=H%+31 760IF INKEY(-74) THEN ENDPROC 770OSCLI("*FX19"):CALL&B20:GOTO 720 780DATA 32,33,34,35,36,45,46,48,49,58,59,60,61,62,63,72,73,74,75,76,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125 790DATA 126,127,128,129,130,131,132,133,134,135,136,137 820DEFPROCpshet:RESTORE 780:IF S%=1 THEN 830 ELSE FORL%=1 TO (S%-1):FORK%=1 TO 20:READ A%:NEXT:NEXT 830FORB%=22 TO 30 STEP 2:FORA%=32 TO 38 STEP 2:READ C%:S%(((A%-32)/2),((B%-22)/2))=C%:CALL&AAA:NEXT:NEXT:ENDPROC 840DEFPROCishet:PLOT4,1016+(Q%*64),287-(W%*64):GCOL3,3:PLOT1,40,0:PLOT1,0,36:PLOT1,-40,0:PLOT1,0,-36:ENDPROC 850DEFPROCwind(A%,B%,C%,D%):C%=((C%-A%)*32)+24:D%=((B%-D%)*32)+28:VDU24,(A%*32);(1023-(B%*32))-28;(A%*32)+C%;((1023-(B%*32))-28)+D%;:GCOL0,128:CLG:VDU26:GCOL0,1:PLOT4,(A%*32)-8,((1023-(B%*32))-28)-4:PLOT1,C%+16,0:PLOT1,0,D%+8 860PLOT1,-(C%+16),0:PLOT1,0,-(D%+8):ENDPROC 870DEFPROCtext(A$,A%,B%):$&34A0=A$:CALL&A00:ENDPROC 880DEFPROCinput(A%,B%,C%):FORL%=100 TO 0 STEP -1:NEXT:L%=0:A$="":*FX21 890K%=GET:IF K%=13 AND L%>0 THEN ENDPROC 900IF K%>31 AND K%<127 AND L%<C% THEN A$=A$+CHR$(K%):?&34A0=K%:?&34A1=13:CALL&A00:A%=A%+1:L%=L%+1:GOTO 890 910IF K%=127 AND L%>0 THEN A%=A%-1:?&34A0=32:?&34A1=13:CALL&A00:L%=L%-1:IF L%=0 THEN A$="":GOTO 890 ELSE A$=LEFT$(A$,L%):GOTO 890 920GOTO 890 930: 940S%=1:PROCpshet:Q%=0:W%=0:X%=0:Y%=0:E%=(&3500+63):I%=S%(Q%,W%):PROCishet:CALL&B8D:T%=0:R%=0:A%=34:B%=16:C%=I%:CALL&B31:A%=34:B%=10:C%=?E%:CALL&B31:A%=X%:B%=Y%:CALL&B20 950OSCLI("*FX19"):A%=X%:B%=Y%:CALL&B20:IF INKEY(-98) AND X%>0 THEN X%=X%-1:E%=E%-1 960IF INKEY(-67) AND X%<30 THEN X%=X%+1:E%=E%+1 970IF INKEY(-73) AND Y%>0 THEN Y%=Y%-1:E%=E%-31 980IF INKEY(-105) AND Y%<30 THEN Y%=Y%+1:E%=E%+31 990A%=34:B%=10:IF ?E%=250 THEN PROCiii ELSE C%=?E%:CALL&B31 1000IF INKEY(-66) AND Q%>0 THEN PROCishet:Q%=Q%-1:PROCishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:CALL&B31 1010IF INKEY(-82) AND Q%<3 THEN PROCishet:Q%=Q%+1:PROCishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:CALL&B31 1020IF INKEY(-56) AND W%>0 THEN PROCishet:W%=W%-1:PROCishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:CALL&B31 1030IF INKEY(-87) AND W%<4 THEN PROCishet:W%=W%+1:PROCishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:CALL&B31 1040IF NOT INKEY(-40) THEN 1070 1050S%=S%+1:IF S%>4 THEN S%=1 1060PROCpshet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:CALL&B31:$&34A0="SHEET ":?&34A6=ASC(STR$(S%)):A%=32:B%=20:CALL&A00 1070IF INKEY(-20) THEN PROCcat 1080GOTO 1100 1090DEFPROCiii:PROCtext(" ",34,10):PROCtext("INV",34,11):PROCtext(" ",34,12):ENDPROC 1100IF NOT INKEY(-74) THEN 1160 1110IF (I%>109 AND I%<114) AND R%>11 THEN VDU7:GOTO 1160 1120IF I%=107 AND T%>6 THEN VDU7:GOTO 1160 1130PROCeb 1140?E%=I%:C%=I%:CALL&BE9:IF I%=107 THEN T%=T%+1 1150IF I%>109 AND I%<114 THEN R%=R%+1 1160IF NOT INKEY(-90) THEN 1230 1170PROCeb:GOTO 1180 1180?E%=47:GOTO 1230 1190DEFPROCeb:IF ?E%>109 AND ?E%<114 THEN R%=R%-1:GOTO 1210 1200IF ?E%=107 THEN T%=T%-1 1210A%=X%:B%=Y%:C%=?E%:IF C%=250 THEN CALL&B20 ELSE CALL&BE9 1220ENDPROC 1230IF NOT INKEY(-18) THEN 1260 1240PROCwind(5,20,25,10):PROCtext("THIS WILL WIPE THE",6,11):PROCtext("ENTIRE LEVEL!",8,13):PROCtext("ARE YOU SURE (Y/N)",6,17):REPEAT UNTIL INKEY(-69) OR INKEY(-86):IF INKEY(-86) THEN CALL&B8D:GOTO 1260 1250FORL%=(&3500+63) TO (&3500+1023):?L%=47:NEXT:R%=0:T%=0:CALL&B8D:GOTO 1260 1260IF INKEY(-49) THEN PROCload 1270IF INKEY(-84) THEN PROCgrid 1280IF INKEY(-19) THEN PROCcols 1290IF INKEY(-50) THEN PROCsave 1300IF INKEY(-1) THEN PROCeb:?E%=250:CALL&B20 1310A%=X%:B%=Y%:CALL&B20:OSCLI("*FX19"):GOTO950
� �Th@ )� ?&8F=1 � �L%=&3500 � &38FF:?L%=47:� L�wind(4,20,26,10):� �=17 � �text("ESCAPE",12,14) � �text("ERROR!",12,14) (�pret:�&B8D:A%=X%:B%=Y%:�&B20:� �tvC (%�=&3148:�23,1,0;0;0;0;:� � � �TO@ 2� S%(3,4):*FX11 30 <*FX12 2 P*LOAD DGRAFIX 3900 d*LOAD MAPSYMB 3148 n*LOAD MINIFONT 3E10 x�L%=&3500 � &38FF:?L%=47:� �*LOAD DEFCODE A00 � � �tbC � ��load �t�wind(4,20,26,10):�text("LOAD FILE",10,11):�text("LEVEL NO. :",6,15):�input(17,15,2):� �(A$)>32 � �(A$)<1 � �t`@ �;A%=�(A$):� A%<10 � A$="LEVEL0"+�(A%) � A$="LEVEL"+�(A%) �B�28,2,19,12,13:�3:�:?&8F=1:�("*LOAD "+A$+" 3500"):�:�26:?&8F=0 ���("*FX229,1"):�text("ENTER CODE :",6,15):�input(18,15,4):�gpcd:� A$<>T$ � �7:�L%=&3500 � &38FF:?L%=47:�:�("*FX229"):�&B8D:R%=0:T%=0:� � �("*FX229") �A�&B8D:�19,1,?&3500;0;0;0;19,2,?&3501;0;0;0;19,3,?&350A;0;0;0; �?T%=0:R%=0:�L%=(&3500+63) � (&3500+1023):� ?L%=107 � T%=T%+1 �+� ?L%>109 � ?L%<114 � R%=R%+1:�:� � �:� �:��cat:�26,28,0,30,14,0,24,0;32;984;1023;:�:�128:�:*CAT ��7:� � �(-74):�&B8D:� �|��grid:A%=0:B%=32:�3,3:�L%=1 � 5:�K%=1 � 5:�4,A%,B%:�1,216,0:�1,0,220:�1,-216,0:�1,0,-220:A%=A%+192:�:A%=0:B%=B%+192:�:� ���cd:�=0:� � �>10:� ���cols:B%=X%:C%=Y%:A%=&B:X%=&70:Y%=0:?&70=1:� &FFF1:M%=?&71:?&70=2:� &FFF1:N%=?&71:?&70=3:� &FFF1:H%=?&71:�wind(5,24,25,10):�text("COLOUR DEFINER",8,11):�text("PRESS 1,2 OR 3",8,14) /�text("TO ALTER COLOURS",7,15):X%=B%:Y%=C%: ��text("RETURN TO EXIT",8,17):�text("1 : ",7,19):�text("2 : ",7,21):�text("3 : ",7,23):�129:�5,19);�(5):�130:�5,21);�(5):�131:�5,23);�(5):�128:�30 "2� �(-49) � M%=((M%+1) � 7):�19,1,M%;0;0;0;:�cd ,2� �(-50) � N%=((N%+1) � 7):�19,2,N%;0;0;0;:�cd 62� �(-18) � H%=((H%+1) � 7):�19,3,H%;0;0;0;:�cd @� � �(-74) � �TbA J�&B8D:� T9��swind:�wind(4,20,26,10):�text("SAVE LEVEL",10,11):� ^h��save:�swind:�text("PLEASE WAIT",9,15):K%=0:�L%=(&3500+63) � (&3500+93):� �test(?L%)=1 � K%=1:� � � h>� K%=1 � �7:�text("EDGE NOT COMPLETE!",6,15):�pret:�&B8D:� rU�L%=(&3500+63) � (&3500+993) � 31:� �test(?L%)=1 � �test(?(L%+30))=1 � K%=1:� � � |>� K%=1 � �7:�text("EDGE NOT COMPLETE!",6,15):�pret:�&B8D:� �>�L%=(&3500+993) � (&3500+1023):� �test(?L%)=1 � K%=1:� � � �>� K%=1 � �7:�text("EDGE NOT COMPLETE!",6,15):�pret:�&B8D:� �0K%=0:M%=0:�L%=&353F � &38FF:� ?L%=118 � K%=1 �� ?L%=58 � M%=1 �}�:� K%=0 � �7:�text("NO MASTER KEY! ",6,15):�pret:�&B8D:� � � M%=0 � �7:�text("NO TRAPDOOR! ",6,15):�pret:�&B8D:� �d�swind:�text("SAVE AS LEVEL NO.:",5,15):�input(23,15,2):� �(A$)<0 � �(A$)>32 � � �txA � O%=�(A$) �_�swind:�text("LEVEL TITLE (MAX 20)",5,15):�input(6,17,20):� A$="" � �(A$)>20 � �dBA � T$=A$ �� �(T$)<20 � T$=" "+T$ �b�swind:�text("TIME (MAX 9899):",5,15):�input(21,15,4):� �(A$)<1 � �(A$)>9899 � �dVA � Z%=�(A$) �W�swind:�text("POSITION START",9,15):�point(6,6):� ?H%<>47 � �7:� �d`A � U%=A%:G%=B% �� T%=0 � �T\B ��swind:�text("SET DESTINATION",5,15):�text("FOR EACH TELEPORTER",5,16):�pret:�&B8D:F%=(&3500+14):V%=(&3500+63):�Y2%=0 � 30:�X2%=0 � 30:� ?V%<>107 � �TRB �YA%=X2%:B%=Y2%:�&B20:�1,-15,200,2:�point(30,30):� ?H%<>47 � A%=X2%:B%=Y2%:�&B20:� �d~A �?F%=A%:?(F%+1)=B%:M%=-6:�:M%=M%+6:� A%>(M%-1) � A%<(M%+7):?(F%+2)=M%:M%=-6:�:M%=M%+6:� B%>(M%-1) � B%<(M%+7):?(F%+3)=M%:F%=F%+4:A%=X2%:B%=Y2%:�&B20 V%=V%+1:�:� �?&3502=0:?&3503=0:?&3504=(U%*3):?&3505=(G%*3):V%=(&43F+U%+(G%*31)):?&3506=(V% � 256):?&3507=(V% � 256):?&350B=&3F:?&350C=&4:� �(T$)>19 � �cstr:� �TpB &(V%=20-�(T$):T$=�(V%/2)," ")+T$:�cstr 0�A%=0:B%=0:A%=(Z% � 10):A%=(A% � (((Z% � 100) � 10)*16)):Z%=(Z% � 100):B%=(Z% � 10):B%=(B% � ((Z% � 10)*16)):?&3508=A%:?&3509=B% :�X2%=X%:Y2%=Y%:A%=&B:X%=&70:Y%=0:?&70=1:�&FFF1:M%=?&71:?&70=2:�&FFF1:N%=?&71:?&70=3:�&FFF1:H%=?&71:X%=X2%:Y%=Y2%:X2%=236:Y2%=46:?&3500=M%:?&3501=N%:?&350A=H% D �swind N��text("PREPARE TO SAVE",7,14):�text("LEVEL DATA",10,16):�pret:�28,3,19,12,13:�128:�:� O%<10 � T$="LEVEL0"+�(O%) � T$="LEVEL"+�(O%) Xh�("*SAVE "+T$+" 3500 3900 400 400"):�26:�swind:�gpcd:A$="PASSCODE :"+T$:�text(A$,6,15):�pret:�&B8D:� ce��gpcd:T$=�(48+(?&3533 � 7))+�(48+(?&3534 � 7))+�(48+((?&3533 � 56)/8))+�(48+((?&3534 � 56)/8)):� lJ��pret:�text("PRESS RETURN",9,19):� � �(-74):�=0:� � �>30:�("*FX21"):� v#ݤtest(A%):� A%>31 � A%<37 � =0 �� A%>71 � A%<85 � =0 �2� A%=86 � A%=93 � A%=94 � A%=116 � A%=117 � =0 �� A%>118 � A%<132 � =0 �� A%>132 � A%<138 � =0 �� A%=250 � =0 �=1 �;��cstr:A%=(&3500+42):�L%=A% � (A%+20):?L%=32:�:$A%=T$:� �I��point(K%,L%):�A%=1 � 300:�:�("*FX21"):A%=0:B%=0:H%=(&3500+63):�&B20 �6�("*FX19"):�&B20:� �(-98) � A%>0 � A%=A%-1:H%=H%-1 �&� �(-73) � B%>0 � B%=B%-1:H%=H%-31 �&� �(-67) � A%<K% � A%=A%+1:H%=H%+1 �(� �(-105) � B%<L% � B%=B%+1:H%=H%+31 �� �(-74) � � �("*FX19"):�&B20:� �dPB �� 32,33,34,35,36,45,46,48,49,58,59,60,61,62,63,72,73,74,75,76,77,78,79,80,81,82,83,84,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125 5� 126,127,128,129,130,131,132,133,134,135,136,137 4E��pshet:� �TLC:� S%=1 � �T~C � �L%=1 � (S%-1):�K%=1 � 20:� A%:�:� >S�B%=22 � 30 � 2:�A%=32 � 38 � 2:� C%:S%(((A%-32)/2),((B%-22)/2))=C%:�&AAA:�:�:� HP��ishet:�4,1016+(Q%*64),287-(W%*64):�3,3:�1,40,0:�1,0,36:�1,-40,0:�1,0,-36:� R���wind(A%,B%,C%,D%):C%=((C%-A%)*32)+24:D%=((B%-D%)*32)+28:�24,(A%*32);(1023-(B%*32))-28;(A%*32)+C%;((1023-(B%*32))-28)+D%;:�0,128:�:�26:�0,1:�4,(A%*32)-8,((1023-(B%*32))-28)-4:�1,C%+16,0:�1,0,D%+8 \ �1,-(C%+16),0:�1,0,-(D%+8):� f&��text(A$,A%,B%):$&34A0=A$:�&A00:� p9��input(A%,B%,C%):�L%=100 � 0 � -1:�:L%=0:A$="":*FX21 zK%=�:� K%=13 � L%>0 � � �[� K%>31 � K%<127 � L%<C% � A$=A$+�(K%):?&34A0=K%:?&34A1=13:�&A00:A%=A%+1:L%=L%+1:� �DzC �i� K%=127 � L%>0 � A%=A%-1:?&34A0=32:?&34A1=13:�&A00:L%=L%-1:� L%=0 � A$="":� �DzC � A$=�A$,L%):� �DzC � � �DzC �: ��S%=1:�pshet:Q%=0:W%=0:X%=0:Y%=0:E%=(&3500+63):I%=S%(Q%,W%):�ishet:�&B8D:T%=0:R%=0:A%=34:B%=16:C%=I%:�&B31:A%=34:B%=10:C%=?E%:�&B31:A%=X%:B%=Y%:�&B20 �B�("*FX19"):A%=X%:B%=Y%:�&B20:� �(-98) � X%>0 � X%=X%-1:E%=E%-1 �&� �(-67) � X%<30 � X%=X%+1:E%=E%+1 �&� �(-73) � Y%>0 � Y%=Y%-1:E%=E%-31 �(� �(-105) � Y%<30 � Y%=Y%+1:E%=E%+31 �/A%=34:B%=10:� ?E%=250 � �iii � C%=?E%:�&B31 �P� �(-66) � Q%>0 � �ishet:Q%=Q%-1:�ishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:�&B31 �P� �(-82) � Q%<3 � �ishet:Q%=Q%+1:�ishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:�&B31 �P� �(-56) � W%>0 � �ishet:W%=W%-1:�ishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:�&B31 P� �(-87) � W%<4 � �ishet:W%=W%+1:�ishet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:�&B31 � � �(-40) � �TnD S%=S%+1:� S%>4 � S%=1 $b�pshet:I%=S%(Q%,W%):A%=34:B%=16:C%=I%:�&B31:$&34A0="SHEET ":?&34A6=�(�(S%)):A%=32:B%=20:�&A00 .� �(-20) � �cat 8 � �DLD BD��iii:�text(" ",34,10):�text("INV",34,11):�text(" ",34,12):� L� � �(-74) � �tHD V+� (I%>109 � I%<114) � R%>11 � �7:� �tHD `� I%=107 � T%>6 � �7:� �tHD j�eb t)?E%=I%:C%=I%:�&BE9:� I%=107 � T%=T%+1 ~� I%>109 � I%<114 � R%=R%+1 �� � �(-90) � �dND ��eb:� �t\D �?E%=47:� �dND �-��eb:� ?E%>109 � ?E%<114 � R%=R%-1:� �tzD �� ?E%=107 � T%=T%-1 �/A%=X%:B%=Y%:C%=?E%:� C%=250 � �&B20 � �&BE9 �� �� � �(-18) � �dlD ؟�wind(5,20,25,10):�text("THIS WILL WIPE THE",6,11):�text("ENTIRE LEVEL!",8,13):�text("ARE YOU SURE (Y/N)",6,17):� � �(-69) � �(-86):� �(-86) � �&B8D:� �dlD �A�L%=(&3500+63) � (&3500+1023):?L%=47:�:R%=0:T%=0:�&B8D:� �dlD �� �(-49) � �load �� �(-84) � �grid � �(-19) � �cols � �(-50) � �save � �(-1) � �eb:?E%=250:�&B20 &A%=X%:B%=Y%:�&B20:�("*FX19"):�tvC �
00000000 0d 00 0a 0a e5 20 8d 54 68 40 0d 00 0f 29 e7 20 |..... .Th@...). | 00000010 3f 26 38 46 3d 31 20 8c 20 e3 4c 25 3d 26 33 35 |?&8F=1 . .L%=&35| 00000020 30 30 20 b8 20 26 33 38 46 46 3a 3f 4c 25 3d 34 |00 . &38FF:?L%=4| 00000030 37 3a ed 0d 00 14 4c f2 77 69 6e 64 28 34 2c 32 |7:....L.wind(4,2| 00000040 30 2c 32 36 2c 31 30 29 3a e7 20 9f 3d 31 37 20 |0,26,10):. .=17 | 00000050 8c 20 f2 74 65 78 74 28 22 45 53 43 41 50 45 22 |. .text("ESCAPE"| 00000060 2c 31 32 2c 31 34 29 20 8b 20 f2 74 65 78 74 28 |,12,14) . .text(| 00000070 22 45 52 52 4f 52 21 22 2c 31 32 2c 31 34 29 0d |"ERROR!",12,14).| 00000080 00 1e 28 f2 70 72 65 74 3a d6 26 42 38 44 3a 41 |..(.pret:.&B8D:A| 00000090 25 3d 58 25 3a 42 25 3d 59 25 3a d6 26 42 32 30 |%=X%:B%=Y%:.&B20| 000000a0 3a e5 20 8d 74 76 43 0d 00 28 25 d3 3d 26 33 31 |:. .tvC..(%.=&31| 000000b0 34 38 3a ef 32 33 2c 31 2c 30 3b 30 3b 30 3b 30 |48:.23,1,0;0;0;0| 000000c0 3b 3a ee 20 85 20 e5 20 8d 54 4f 40 0d 00 32 16 |;:. . . .TO@..2.| 000000d0 de 20 53 25 28 33 2c 34 29 3a 2a 46 58 31 31 20 |. S%(3,4):*FX11 | 000000e0 33 30 0d 00 3c 0b 2a 46 58 31 32 20 32 0d 00 50 |30..<.*FX12 2..P| 000000f0 16 2a 4c 4f 41 44 20 44 47 52 41 46 49 58 20 33 |.*LOAD DGRAFIX 3| 00000100 39 30 30 0d 00 64 16 2a 4c 4f 41 44 20 4d 41 50 |900..d.*LOAD MAP| 00000110 53 59 4d 42 20 33 31 34 38 0d 00 6e 17 2a 4c 4f |SYMB 3148..n.*LO| 00000120 41 44 20 4d 49 4e 49 46 4f 4e 54 20 33 45 31 30 |AD MINIFONT 3E10| 00000130 0d 00 78 1e e3 4c 25 3d 26 33 35 30 30 20 b8 20 |..x..L%=&3500 . | 00000140 26 33 38 46 46 3a 3f 4c 25 3d 34 37 3a ed 0d 00 |&38FF:?L%=47:...| 00000150 82 15 2a 4c 4f 41 44 20 44 45 46 43 4f 44 45 20 |..*LOAD DEFCODE | 00000160 41 30 30 0d 00 8c 0a e5 20 8d 74 62 43 0d 00 96 |A00..... .tbC...| 00000170 0a dd f2 6c 6f 61 64 0d 00 a0 74 f2 77 69 6e 64 |...load...t.wind| 00000180 28 34 2c 32 30 2c 32 36 2c 31 30 29 3a f2 74 65 |(4,20,26,10):.te| 00000190 78 74 28 22 4c 4f 41 44 20 46 49 4c 45 22 2c 31 |xt("LOAD FILE",1| 000001a0 30 2c 31 31 29 3a f2 74 65 78 74 28 22 4c 45 56 |0,11):.text("LEV| 000001b0 45 4c 20 4e 4f 2e 20 3a 22 2c 36 2c 31 35 29 3a |EL NO. :",6,15):| 000001c0 f2 69 6e 70 75 74 28 31 37 2c 31 35 2c 32 29 3a |.input(17,15,2):| 000001d0 e7 20 bb 28 41 24 29 3e 33 32 20 84 20 bb 28 41 |. .(A$)>32 . .(A| 000001e0 24 29 3c 31 20 8c 20 8d 74 60 40 0d 00 aa 3b 41 |$)<1 . .t`@...;A| 000001f0 25 3d bb 28 41 24 29 3a e7 20 41 25 3c 31 30 20 |%=.(A$):. A%<10 | 00000200 8c 20 41 24 3d 22 4c 45 56 45 4c 30 22 2b c3 28 |. A$="LEVEL0"+.(| 00000210 41 25 29 20 8b 20 41 24 3d 22 4c 45 56 45 4c 22 |A%) . A$="LEVEL"| 00000220 2b c3 28 41 25 29 0d 00 ab 42 ef 32 38 2c 32 2c |+.(A%)...B.28,2,| 00000230 31 39 2c 31 32 2c 31 33 3a fb 33 3a db 3a 3f 26 |19,12,13:.3:.:?&| 00000240 38 46 3d 31 3a ff 28 22 2a 4c 4f 41 44 20 22 2b |8F=1:.("*LOAD "+| 00000250 41 24 2b 22 20 33 35 30 30 22 29 3a db 3a ef 32 |A$+" 3500"):.:.2| 00000260 36 3a 3f 26 38 46 3d 30 0d 00 ac 97 ff 28 22 2a |6:?&8F=0.....("*| 00000270 46 58 32 32 39 2c 31 22 29 3a f2 74 65 78 74 28 |FX229,1"):.text(| 00000280 22 45 4e 54 45 52 20 43 4f 44 45 20 3a 22 2c 36 |"ENTER CODE :",6| 00000290 2c 31 35 29 3a f2 69 6e 70 75 74 28 31 38 2c 31 |,15):.input(18,1| 000002a0 35 2c 34 29 3a f2 67 70 63 64 3a e7 20 41 24 3c |5,4):.gpcd:. A$<| 000002b0 3e 54 24 20 8c 20 ef 37 3a e3 4c 25 3d 26 33 35 |>T$ . .7:.L%=&35| 000002c0 30 30 20 b8 20 26 33 38 46 46 3a 3f 4c 25 3d 34 |00 . &38FF:?L%=4| 000002d0 37 3a ed 3a ff 28 22 2a 46 58 32 32 39 22 29 3a |7:.:.("*FX229"):| 000002e0 d6 26 42 38 44 3a 52 25 3d 30 3a 54 25 3d 30 3a |.&B8D:R%=0:T%=0:| 000002f0 e1 20 8b 20 ff 28 22 2a 46 58 32 32 39 22 29 0d |. . .("*FX229").| 00000300 00 b4 41 d6 26 42 38 44 3a ef 31 39 2c 31 2c 3f |..A.&B8D:.19,1,?| 00000310 26 33 35 30 30 3b 30 3b 30 3b 30 3b 31 39 2c 32 |&3500;0;0;0;19,2| 00000320 2c 3f 26 33 35 30 31 3b 30 3b 30 3b 30 3b 31 39 |,?&3501;0;0;0;19| 00000330 2c 33 2c 3f 26 33 35 30 41 3b 30 3b 30 3b 30 3b |,3,?&350A;0;0;0;| 00000340 0d 00 be 3f 54 25 3d 30 3a 52 25 3d 30 3a e3 4c |...?T%=0:R%=0:.L| 00000350 25 3d 28 26 33 35 30 30 2b 36 33 29 20 b8 20 28 |%=(&3500+63) . (| 00000360 26 33 35 30 30 2b 31 30 32 33 29 3a e7 20 3f 4c |&3500+1023):. ?L| 00000370 25 3d 31 30 37 20 8c 20 54 25 3d 54 25 2b 31 0d |%=107 . T%=T%+1.| 00000380 00 c8 2b e7 20 3f 4c 25 3e 31 30 39 20 80 20 3f |..+. ?L%>109 . ?| 00000390 4c 25 3c 31 31 34 20 8c 20 52 25 3d 52 25 2b 31 |L%<114 . R%=R%+1| 000003a0 3a ed 3a e1 20 8b 20 ed 3a e1 0d 00 d2 3a dd f2 |:.:. . .:....:..| 000003b0 63 61 74 3a ef 32 36 2c 32 38 2c 30 2c 33 30 2c |cat:.26,28,0,30,| 000003c0 31 34 2c 30 2c 32 34 2c 30 3b 33 32 3b 39 38 34 |14,0,24,0;32;984| 000003d0 3b 31 30 32 33 3b 3a da 3a fb 31 32 38 3a db 3a |;1023;:.:.128:.:| 000003e0 2a 43 41 54 0d 00 dc 19 ef 37 3a f5 20 fd 20 a6 |*CAT.....7:. . .| 000003f0 28 2d 37 34 29 3a d6 26 42 38 44 3a e1 0d 00 e6 |(-74):.&B8D:....| 00000400 7c dd f2 67 72 69 64 3a 41 25 3d 30 3a 42 25 3d ||..grid:A%=0:B%=| 00000410 33 32 3a e6 33 2c 33 3a e3 4c 25 3d 31 20 b8 20 |32:.3,3:.L%=1 . | 00000420 35 3a e3 4b 25 3d 31 20 b8 20 35 3a f0 34 2c 41 |5:.K%=1 . 5:.4,A| 00000430 25 2c 42 25 3a f0 31 2c 32 31 36 2c 30 3a f0 31 |%,B%:.1,216,0:.1| 00000440 2c 30 2c 32 32 30 3a f0 31 2c 2d 32 31 36 2c 30 |,0,220:.1,-216,0| 00000450 3a f0 31 2c 30 2c 2d 32 32 30 3a 41 25 3d 41 25 |:.1,0,-220:A%=A%| 00000460 2b 31 39 32 3a ed 3a 41 25 3d 30 3a 42 25 3d 42 |+192:.:A%=0:B%=B| 00000470 25 2b 31 39 32 3a ed 3a e1 0d 00 fa 17 dd f2 63 |%+192:.:.......c| 00000480 64 3a d1 3d 30 3a f5 20 fd 20 91 3e 31 30 3a e1 |d:.=0:. . .>10:.| 00000490 0d 01 04 b9 dd f2 63 6f 6c 73 3a 42 25 3d 58 25 |......cols:B%=X%| 000004a0 3a 43 25 3d 59 25 3a 41 25 3d 26 42 3a 58 25 3d |:C%=Y%:A%=&B:X%=| 000004b0 26 37 30 3a 59 25 3d 30 3a 3f 26 37 30 3d 31 3a |&70:Y%=0:?&70=1:| 000004c0 d6 20 26 46 46 46 31 3a 4d 25 3d 3f 26 37 31 3a |. &FFF1:M%=?&71:| 000004d0 3f 26 37 30 3d 32 3a d6 20 26 46 46 46 31 3a 4e |?&70=2:. &FFF1:N| 000004e0 25 3d 3f 26 37 31 3a 3f 26 37 30 3d 33 3a d6 20 |%=?&71:?&70=3:. | 000004f0 26 46 46 46 31 3a 48 25 3d 3f 26 37 31 3a f2 77 |&FFF1:H%=?&71:.w| 00000500 69 6e 64 28 35 2c 32 34 2c 32 35 2c 31 30 29 3a |ind(5,24,25,10):| 00000510 f2 74 65 78 74 28 22 43 4f 4c 4f 55 52 20 44 45 |.text("COLOUR DE| 00000520 46 49 4e 45 52 22 2c 38 2c 31 31 29 3a f2 74 65 |FINER",8,11):.te| 00000530 78 74 28 22 50 52 45 53 53 20 31 2c 32 20 4f 52 |xt("PRESS 1,2 OR| 00000540 20 33 22 2c 38 2c 31 34 29 0d 01 0e 2f f2 74 65 | 3",8,14).../.te| 00000550 78 74 28 22 54 4f 20 41 4c 54 45 52 20 43 4f 4c |xt("TO ALTER COL| 00000560 4f 55 52 53 22 2c 37 2c 31 35 29 3a 58 25 3d 42 |OURS",7,15):X%=B| 00000570 25 3a 59 25 3d 43 25 3a 0d 01 18 98 f2 74 65 78 |%:Y%=C%:.....tex| 00000580 74 28 22 52 45 54 55 52 4e 20 54 4f 20 45 58 49 |t("RETURN TO EXI| 00000590 54 22 2c 38 2c 31 37 29 3a f2 74 65 78 74 28 22 |T",8,17):.text("| 000005a0 31 20 3a 20 22 2c 37 2c 31 39 29 3a f2 74 65 78 |1 : ",7,19):.tex| 000005b0 74 28 22 32 20 3a 20 22 2c 37 2c 32 31 29 3a f2 |t("2 : ",7,21):.| 000005c0 74 65 78 74 28 22 33 20 3a 20 22 2c 37 2c 32 33 |text("3 : ",7,23| 000005d0 29 3a fb 31 32 39 3a f1 8a 35 2c 31 39 29 3b 89 |):.129:..5,19);.| 000005e0 28 35 29 3a fb 31 33 30 3a f1 8a 35 2c 32 31 29 |(5):.130:..5,21)| 000005f0 3b 89 28 35 29 3a fb 31 33 31 3a f1 8a 35 2c 32 |;.(5):.131:..5,2| 00000600 33 29 3b 89 28 35 29 3a fb 31 32 38 3a ef 33 30 |3);.(5):.128:.30| 00000610 0d 01 22 32 e7 20 a6 28 2d 34 39 29 20 8c 20 4d |.."2. .(-49) . M| 00000620 25 3d 28 28 4d 25 2b 31 29 20 80 20 37 29 3a ef |%=((M%+1) . 7):.| 00000630 31 39 2c 31 2c 4d 25 3b 30 3b 30 3b 30 3b 3a f2 |19,1,M%;0;0;0;:.| 00000640 63 64 0d 01 2c 32 e7 20 a6 28 2d 35 30 29 20 8c |cd..,2. .(-50) .| 00000650 20 4e 25 3d 28 28 4e 25 2b 31 29 20 80 20 37 29 | N%=((N%+1) . 7)| 00000660 3a ef 31 39 2c 32 2c 4e 25 3b 30 3b 30 3b 30 3b |:.19,2,N%;0;0;0;| 00000670 3a f2 63 64 0d 01 36 32 e7 20 a6 28 2d 31 38 29 |:.cd..62. .(-18)| 00000680 20 8c 20 48 25 3d 28 28 48 25 2b 31 29 20 80 20 | . H%=((H%+1) . | 00000690 37 29 3a ef 31 39 2c 33 2c 48 25 3b 30 3b 30 3b |7):.19,3,H%;0;0;| 000006a0 30 3b 3a f2 63 64 0d 01 40 15 e7 20 ac 20 a6 28 |0;:.cd..@.. . .(| 000006b0 2d 37 34 29 20 8c 20 8d 54 62 41 0d 01 4a 0b d6 |-74) . .TbA..J..| 000006c0 26 42 38 44 3a e1 0d 01 54 39 dd f2 73 77 69 6e |&B8D:...T9..swin| 000006d0 64 3a f2 77 69 6e 64 28 34 2c 32 30 2c 32 36 2c |d:.wind(4,20,26,| 000006e0 31 30 29 3a f2 74 65 78 74 28 22 53 41 56 45 20 |10):.text("SAVE | 000006f0 4c 45 56 45 4c 22 2c 31 30 2c 31 31 29 3a e1 0d |LEVEL",10,11):..| 00000700 01 5e 68 dd f2 73 61 76 65 3a f2 73 77 69 6e 64 |.^h..save:.swind| 00000710 3a f2 74 65 78 74 28 22 50 4c 45 41 53 45 20 57 |:.text("PLEASE W| 00000720 41 49 54 22 2c 39 2c 31 35 29 3a 4b 25 3d 30 3a |AIT",9,15):K%=0:| 00000730 e3 4c 25 3d 28 26 33 35 30 30 2b 36 33 29 20 b8 |.L%=(&3500+63) .| 00000740 20 28 26 33 35 30 30 2b 39 33 29 3a e7 20 a4 74 | (&3500+93):. .t| 00000750 65 73 74 28 3f 4c 25 29 3d 31 20 8c 20 4b 25 3d |est(?L%)=1 . K%=| 00000760 31 3a ed 20 8b 20 ed 0d 01 68 3e e7 20 4b 25 3d |1:. . ...h>. K%=| 00000770 31 20 8c 20 ef 37 3a f2 74 65 78 74 28 22 45 44 |1 . .7:.text("ED| 00000780 47 45 20 4e 4f 54 20 43 4f 4d 50 4c 45 54 45 21 |GE NOT COMPLETE!| 00000790 22 2c 36 2c 31 35 29 3a f2 70 72 65 74 3a d6 26 |",6,15):.pret:.&| 000007a0 42 38 44 3a e1 0d 01 72 55 e3 4c 25 3d 28 26 33 |B8D:...rU.L%=(&3| 000007b0 35 30 30 2b 36 33 29 20 b8 20 28 26 33 35 30 30 |500+63) . (&3500| 000007c0 2b 39 39 33 29 20 88 20 33 31 3a e7 20 a4 74 65 |+993) . 31:. .te| 000007d0 73 74 28 3f 4c 25 29 3d 31 20 84 20 a4 74 65 73 |st(?L%)=1 . .tes| 000007e0 74 28 3f 28 4c 25 2b 33 30 29 29 3d 31 20 8c 20 |t(?(L%+30))=1 . | 000007f0 4b 25 3d 31 3a ed 20 8b 20 ed 0d 01 7c 3e e7 20 |K%=1:. . ...|>. | 00000800 4b 25 3d 31 20 8c 20 ef 37 3a f2 74 65 78 74 28 |K%=1 . .7:.text(| 00000810 22 45 44 47 45 20 4e 4f 54 20 43 4f 4d 50 4c 45 |"EDGE NOT COMPLE| 00000820 54 45 21 22 2c 36 2c 31 35 29 3a f2 70 72 65 74 |TE!",6,15):.pret| 00000830 3a d6 26 42 38 44 3a e1 0d 01 86 3e e3 4c 25 3d |:.&B8D:....>.L%=| 00000840 28 26 33 35 30 30 2b 39 39 33 29 20 b8 20 28 26 |(&3500+993) . (&| 00000850 33 35 30 30 2b 31 30 32 33 29 3a e7 20 a4 74 65 |3500+1023):. .te| 00000860 73 74 28 3f 4c 25 29 3d 31 20 8c 20 4b 25 3d 31 |st(?L%)=1 . K%=1| 00000870 3a ed 20 8b 20 ed 0d 01 90 3e e7 20 4b 25 3d 31 |:. . ....>. K%=1| 00000880 20 8c 20 ef 37 3a f2 74 65 78 74 28 22 45 44 47 | . .7:.text("EDG| 00000890 45 20 4e 4f 54 20 43 4f 4d 50 4c 45 54 45 21 22 |E NOT COMPLETE!"| 000008a0 2c 36 2c 31 35 29 3a f2 70 72 65 74 3a d6 26 42 |,6,15):.pret:.&B| 000008b0 38 44 3a e1 0d 01 9a 30 4b 25 3d 30 3a 4d 25 3d |8D:....0K%=0:M%=| 000008c0 30 3a e3 4c 25 3d 26 33 35 33 46 20 b8 20 26 33 |0:.L%=&353F . &3| 000008d0 38 46 46 3a e7 20 3f 4c 25 3d 31 31 38 20 8c 20 |8FF:. ?L%=118 . | 000008e0 4b 25 3d 31 0d 01 a4 13 e7 20 3f 4c 25 3d 35 38 |K%=1..... ?L%=58| 000008f0 20 8c 20 4d 25 3d 31 0d 01 ae 7d ed 3a e7 20 4b | . M%=1...}.:. K| 00000900 25 3d 30 20 8c 20 ef 37 3a f2 74 65 78 74 28 22 |%=0 . .7:.text("| 00000910 4e 4f 20 4d 41 53 54 45 52 20 4b 45 59 21 20 20 |NO MASTER KEY! | 00000920 20 20 22 2c 36 2c 31 35 29 3a f2 70 72 65 74 3a | ",6,15):.pret:| 00000930 d6 26 42 38 44 3a e1 20 8b 20 e7 20 4d 25 3d 30 |.&B8D:. . . M%=0| 00000940 20 8c 20 ef 37 3a f2 74 65 78 74 28 22 4e 4f 20 | . .7:.text("NO | 00000950 54 52 41 50 44 4f 4f 52 21 20 20 20 20 20 20 22 |TRAPDOOR! "| 00000960 2c 36 2c 31 35 29 3a f2 70 72 65 74 3a d6 26 42 |,6,15):.pret:.&B| 00000970 38 44 3a e1 0d 01 b8 64 f2 73 77 69 6e 64 3a f2 |8D:....d.swind:.| 00000980 74 65 78 74 28 22 53 41 56 45 20 41 53 20 4c 45 |text("SAVE AS LE| 00000990 56 45 4c 20 4e 4f 2e 3a 22 2c 35 2c 31 35 29 3a |VEL NO.:",5,15):| 000009a0 f2 69 6e 70 75 74 28 32 33 2c 31 35 2c 32 29 3a |.input(23,15,2):| 000009b0 e7 20 bb 28 41 24 29 3c 30 20 84 20 bb 28 41 24 |. .(A$)<0 . .(A$| 000009c0 29 3e 33 32 20 8c 20 e5 20 8d 74 78 41 20 8b 20 |)>32 . . .txA . | 000009d0 4f 25 3d bb 28 41 24 29 0d 01 c2 5f f2 73 77 69 |O%=.(A$)..._.swi| 000009e0 6e 64 3a f2 74 65 78 74 28 22 4c 45 56 45 4c 20 |nd:.text("LEVEL | 000009f0 54 49 54 4c 45 20 28 4d 41 58 20 32 30 29 22 2c |TITLE (MAX 20)",| 00000a00 35 2c 31 35 29 3a f2 69 6e 70 75 74 28 36 2c 31 |5,15):.input(6,1| 00000a10 37 2c 32 30 29 3a e7 20 41 24 3d 22 22 20 84 20 |7,20):. A$="" . | 00000a20 a9 28 41 24 29 3e 32 30 20 8c 20 8d 64 42 41 20 |.(A$)>20 . .dBA | 00000a30 8b 20 54 24 3d 41 24 0d 01 cc 1a e7 20 a9 28 54 |. T$=A$..... .(T| 00000a40 24 29 3c 32 30 20 8c 20 54 24 3d 22 20 22 2b 54 |$)<20 . T$=" "+T| 00000a50 24 0d 01 d6 62 f2 73 77 69 6e 64 3a f2 74 65 78 |$...b.swind:.tex| 00000a60 74 28 22 54 49 4d 45 20 28 4d 41 58 20 39 38 39 |t("TIME (MAX 989| 00000a70 39 29 3a 22 2c 35 2c 31 35 29 3a f2 69 6e 70 75 |9):",5,15):.inpu| 00000a80 74 28 32 31 2c 31 35 2c 34 29 3a e7 20 bb 28 41 |t(21,15,4):. .(A| 00000a90 24 29 3c 31 20 84 20 bb 28 41 24 29 3e 39 38 39 |$)<1 . .(A$)>989| 00000aa0 39 20 8c 20 8d 64 56 41 20 8b 20 5a 25 3d bb 28 |9 . .dVA . Z%=.(| 00000ab0 41 24 29 0d 01 e0 57 f2 73 77 69 6e 64 3a f2 74 |A$)...W.swind:.t| 00000ac0 65 78 74 28 22 50 4f 53 49 54 49 4f 4e 20 53 54 |ext("POSITION ST| 00000ad0 41 52 54 22 2c 39 2c 31 35 29 3a f2 70 6f 69 6e |ART",9,15):.poin| 00000ae0 74 28 36 2c 36 29 3a e7 20 3f 48 25 3c 3e 34 37 |t(6,6):. ?H%<>47| 00000af0 20 8c 20 ef 37 3a e5 20 8d 64 60 41 20 8b 20 55 | . .7:. .d`A . U| 00000b00 25 3d 41 25 3a 47 25 3d 42 25 0d 01 ea 11 e7 20 |%=A%:G%=B%..... | 00000b10 54 25 3d 30 20 8c 20 8d 54 5c 42 0d 01 f4 9c f2 |T%=0 . .T\B.....| 00000b20 73 77 69 6e 64 3a f2 74 65 78 74 28 22 53 45 54 |swind:.text("SET| 00000b30 20 44 45 53 54 49 4e 41 54 49 4f 4e 22 2c 35 2c | DESTINATION",5,| 00000b40 31 35 29 3a f2 74 65 78 74 28 22 46 4f 52 20 45 |15):.text("FOR E| 00000b50 41 43 48 20 54 45 4c 45 50 4f 52 54 45 52 22 2c |ACH TELEPORTER",| 00000b60 35 2c 31 36 29 3a f2 70 72 65 74 3a d6 26 42 38 |5,16):.pret:.&B8| 00000b70 44 3a 46 25 3d 28 26 33 35 30 30 2b 31 34 29 3a |D:F%=(&3500+14):| 00000b80 56 25 3d 28 26 33 35 30 30 2b 36 33 29 3a e3 59 |V%=(&3500+63):.Y| 00000b90 32 25 3d 30 20 b8 20 33 30 3a e3 58 32 25 3d 30 |2%=0 . 30:.X2%=0| 00000ba0 20 b8 20 33 30 3a e7 20 3f 56 25 3c 3e 31 30 37 | . 30:. ?V%<>107| 00000bb0 20 8c 20 8d 54 52 42 0d 01 fe 59 41 25 3d 58 32 | . .TRB...YA%=X2| 00000bc0 25 3a 42 25 3d 59 32 25 3a d6 26 42 32 30 3a d4 |%:B%=Y2%:.&B20:.| 00000bd0 31 2c 2d 31 35 2c 32 30 30 2c 32 3a f2 70 6f 69 |1,-15,200,2:.poi| 00000be0 6e 74 28 33 30 2c 33 30 29 3a e7 20 3f 48 25 3c |nt(30,30):. ?H%<| 00000bf0 3e 34 37 20 8c 20 41 25 3d 58 32 25 3a 42 25 3d |>47 . A%=X2%:B%=| 00000c00 59 32 25 3a d6 26 42 32 30 3a e5 20 8d 64 7e 41 |Y2%:.&B20:. .d~A| 00000c10 0d 02 08 97 3f 46 25 3d 41 25 3a 3f 28 46 25 2b |....?F%=A%:?(F%+| 00000c20 31 29 3d 42 25 3a 4d 25 3d 2d 36 3a f5 3a 4d 25 |1)=B%:M%=-6:.:M%| 00000c30 3d 4d 25 2b 36 3a fd 20 41 25 3e 28 4d 25 2d 31 |=M%+6:. A%>(M%-1| 00000c40 29 20 80 20 41 25 3c 28 4d 25 2b 37 29 3a 3f 28 |) . A%<(M%+7):?(| 00000c50 46 25 2b 32 29 3d 4d 25 3a 4d 25 3d 2d 36 3a f5 |F%+2)=M%:M%=-6:.| 00000c60 3a 4d 25 3d 4d 25 2b 36 3a fd 20 42 25 3e 28 4d |:M%=M%+6:. B%>(M| 00000c70 25 2d 31 29 20 80 20 42 25 3c 28 4d 25 2b 37 29 |%-1) . B%<(M%+7)| 00000c80 3a 3f 28 46 25 2b 33 29 3d 4d 25 3a 46 25 3d 46 |:?(F%+3)=M%:F%=F| 00000c90 25 2b 34 3a 41 25 3d 58 32 25 3a 42 25 3d 59 32 |%+4:A%=X2%:B%=Y2| 00000ca0 25 3a d6 26 42 32 30 0d 02 12 0f 56 25 3d 56 25 |%:.&B20....V%=V%| 00000cb0 2b 31 3a ed 3a ed 0d 02 1c 99 3f 26 33 35 30 32 |+1:.:.....?&3502| 00000cc0 3d 30 3a 3f 26 33 35 30 33 3d 30 3a 3f 26 33 35 |=0:?&3503=0:?&35| 00000cd0 30 34 3d 28 55 25 2a 33 29 3a 3f 26 33 35 30 35 |04=(U%*3):?&3505| 00000ce0 3d 28 47 25 2a 33 29 3a 56 25 3d 28 26 34 33 46 |=(G%*3):V%=(&43F| 00000cf0 2b 55 25 2b 28 47 25 2a 33 31 29 29 3a 3f 26 33 |+U%+(G%*31)):?&3| 00000d00 35 30 36 3d 28 56 25 20 83 20 32 35 36 29 3a 3f |506=(V% . 256):?| 00000d10 26 33 35 30 37 3d 28 56 25 20 81 20 32 35 36 29 |&3507=(V% . 256)| 00000d20 3a 3f 26 33 35 30 42 3d 26 33 46 3a 3f 26 33 35 |:?&350B=&3F:?&35| 00000d30 30 43 3d 26 34 3a e7 20 a9 28 54 24 29 3e 31 39 |0C=&4:. .(T$)>19| 00000d40 20 8c 20 f2 63 73 74 72 3a e5 20 8d 54 70 42 0d | . .cstr:. .TpB.| 00000d50 02 26 28 56 25 3d 32 30 2d a9 28 54 24 29 3a 54 |.&(V%=20-.(T$):T| 00000d60 24 3d c4 28 56 25 2f 32 29 2c 22 20 22 29 2b 54 |$=.(V%/2)," ")+T| 00000d70 24 3a f2 63 73 74 72 0d 02 30 83 41 25 3d 30 3a |$:.cstr..0.A%=0:| 00000d80 42 25 3d 30 3a 41 25 3d 28 5a 25 20 83 20 31 30 |B%=0:A%=(Z% . 10| 00000d90 29 3a 41 25 3d 28 41 25 20 84 20 28 28 28 5a 25 |):A%=(A% . (((Z%| 00000da0 20 83 20 31 30 30 29 20 81 20 31 30 29 2a 31 36 | . 100) . 10)*16| 00000db0 29 29 3a 5a 25 3d 28 5a 25 20 81 20 31 30 30 29 |)):Z%=(Z% . 100)| 00000dc0 3a 42 25 3d 28 5a 25 20 83 20 31 30 29 3a 42 25 |:B%=(Z% . 10):B%| 00000dd0 3d 28 42 25 20 84 20 28 28 5a 25 20 81 20 31 30 |=(B% . ((Z% . 10| 00000de0 29 2a 31 36 29 29 3a 3f 26 33 35 30 38 3d 41 25 |)*16)):?&3508=A%| 00000df0 3a 3f 26 33 35 30 39 3d 42 25 0d 02 3a a0 58 32 |:?&3509=B%..:.X2| 00000e00 25 3d 58 25 3a 59 32 25 3d 59 25 3a 41 25 3d 26 |%=X%:Y2%=Y%:A%=&| 00000e10 42 3a 58 25 3d 26 37 30 3a 59 25 3d 30 3a 3f 26 |B:X%=&70:Y%=0:?&| 00000e20 37 30 3d 31 3a d6 26 46 46 46 31 3a 4d 25 3d 3f |70=1:.&FFF1:M%=?| 00000e30 26 37 31 3a 3f 26 37 30 3d 32 3a d6 26 46 46 46 |&71:?&70=2:.&FFF| 00000e40 31 3a 4e 25 3d 3f 26 37 31 3a 3f 26 37 30 3d 33 |1:N%=?&71:?&70=3| 00000e50 3a d6 26 46 46 46 31 3a 48 25 3d 3f 26 37 31 3a |:.&FFF1:H%=?&71:| 00000e60 58 25 3d 58 32 25 3a 59 25 3d 59 32 25 3a 58 32 |X%=X2%:Y%=Y2%:X2| 00000e70 25 3d 32 33 36 3a 59 32 25 3d 34 36 3a 3f 26 33 |%=236:Y2%=46:?&3| 00000e80 35 30 30 3d 4d 25 3a 3f 26 33 35 30 31 3d 4e 25 |500=M%:?&3501=N%| 00000e90 3a 3f 26 33 35 30 41 3d 48 25 0d 02 44 0a f2 73 |:?&350A=H%..D..s| 00000ea0 77 69 6e 64 0d 02 4e 86 f2 74 65 78 74 28 22 50 |wind..N..text("P| 00000eb0 52 45 50 41 52 45 20 54 4f 20 53 41 56 45 22 2c |REPARE TO SAVE",| 00000ec0 37 2c 31 34 29 3a f2 74 65 78 74 28 22 4c 45 56 |7,14):.text("LEV| 00000ed0 45 4c 20 44 41 54 41 22 2c 31 30 2c 31 36 29 3a |EL DATA",10,16):| 00000ee0 f2 70 72 65 74 3a ef 32 38 2c 33 2c 31 39 2c 31 |.pret:.28,3,19,1| 00000ef0 32 2c 31 33 3a fb 31 32 38 3a db 3a e7 20 4f 25 |2,13:.128:.:. O%| 00000f00 3c 31 30 20 8c 20 54 24 3d 22 4c 45 56 45 4c 30 |<10 . T$="LEVEL0| 00000f10 22 2b c3 28 4f 25 29 20 8b 20 54 24 3d 22 4c 45 |"+.(O%) . T$="LE| 00000f20 56 45 4c 22 2b c3 28 4f 25 29 0d 02 58 68 ff 28 |VEL"+.(O%)..Xh.(| 00000f30 22 2a 53 41 56 45 20 22 2b 54 24 2b 22 20 33 35 |"*SAVE "+T$+" 35| 00000f40 30 30 20 33 39 30 30 20 34 30 30 20 34 30 30 22 |00 3900 400 400"| 00000f50 29 3a ef 32 36 3a f2 73 77 69 6e 64 3a f2 67 70 |):.26:.swind:.gp| 00000f60 63 64 3a 41 24 3d 22 50 41 53 53 43 4f 44 45 20 |cd:A$="PASSCODE | 00000f70 3a 22 2b 54 24 3a f2 74 65 78 74 28 41 24 2c 36 |:"+T$:.text(A$,6| 00000f80 2c 31 35 29 3a f2 70 72 65 74 3a d6 26 42 38 44 |,15):.pret:.&B8D| 00000f90 3a e1 0d 02 63 65 dd f2 67 70 63 64 3a 54 24 3d |:...ce..gpcd:T$=| 00000fa0 bd 28 34 38 2b 28 3f 26 33 35 33 33 20 80 20 37 |.(48+(?&3533 . 7| 00000fb0 29 29 2b bd 28 34 38 2b 28 3f 26 33 35 33 34 20 |))+.(48+(?&3534 | 00000fc0 80 20 37 29 29 2b bd 28 34 38 2b 28 28 3f 26 33 |. 7))+.(48+((?&3| 00000fd0 35 33 33 20 80 20 35 36 29 2f 38 29 29 2b bd 28 |533 . 56)/8))+.(| 00000fe0 34 38 2b 28 28 3f 26 33 35 33 34 20 80 20 35 36 |48+((?&3534 . 56| 00000ff0 29 2f 38 29 29 3a e1 0d 02 6c 4a dd f2 70 72 65 |)/8)):...lJ..pre| 00001000 74 3a f2 74 65 78 74 28 22 50 52 45 53 53 20 52 |t:.text("PRESS R| 00001010 45 54 55 52 4e 22 2c 39 2c 31 39 29 3a f5 20 fd |ETURN",9,19):. .| 00001020 20 a6 28 2d 37 34 29 3a d1 3d 30 3a f5 20 fd 20 | .(-74):.=0:. . | 00001030 91 3e 33 30 3a ff 28 22 2a 46 58 32 31 22 29 3a |.>30:.("*FX21"):| 00001040 e1 0d 02 76 23 dd a4 74 65 73 74 28 41 25 29 3a |...v#..test(A%):| 00001050 e7 20 41 25 3e 33 31 20 80 20 41 25 3c 33 37 20 |. A%>31 . A%<37 | 00001060 8c 20 3d 30 0d 02 80 18 e7 20 41 25 3e 37 31 20 |. =0..... A%>71 | 00001070 80 20 41 25 3c 38 35 20 8c 20 3d 30 0d 02 8a 32 |. A%<85 . =0...2| 00001080 e7 20 41 25 3d 38 36 20 84 20 41 25 3d 39 33 20 |. A%=86 . A%=93 | 00001090 84 20 41 25 3d 39 34 20 84 20 41 25 3d 31 31 36 |. A%=94 . A%=116| 000010a0 20 84 20 41 25 3d 31 31 37 20 8c 20 3d 30 0d 02 | . A%=117 . =0..| 000010b0 94 1a e7 20 41 25 3e 31 31 38 20 80 20 41 25 3c |... A%>118 . A%<| 000010c0 31 33 32 20 8c 20 3d 30 0d 02 9e 1a e7 20 41 25 |132 . =0..... A%| 000010d0 3e 31 33 32 20 80 20 41 25 3c 31 33 38 20 8c 20 |>132 . A%<138 . | 000010e0 3d 30 0d 02 a8 11 e7 20 41 25 3d 32 35 30 20 8c |=0..... A%=250 .| 000010f0 20 3d 30 0d 02 b2 06 3d 31 0d 02 bc 3b dd f2 63 | =0....=1...;..c| 00001100 73 74 72 3a 41 25 3d 28 26 33 35 30 30 2b 34 32 |str:A%=(&3500+42| 00001110 29 3a e3 4c 25 3d 41 25 20 b8 20 28 41 25 2b 32 |):.L%=A% . (A%+2| 00001120 30 29 3a 3f 4c 25 3d 33 32 3a ed 3a 24 41 25 3d |0):?L%=32:.:$A%=| 00001130 54 24 3a e1 0d 02 c6 49 dd f2 70 6f 69 6e 74 28 |T$:....I..point(| 00001140 4b 25 2c 4c 25 29 3a e3 41 25 3d 31 20 b8 20 33 |K%,L%):.A%=1 . 3| 00001150 30 30 3a ed 3a ff 28 22 2a 46 58 32 31 22 29 3a |00:.:.("*FX21"):| 00001160 41 25 3d 30 3a 42 25 3d 30 3a 48 25 3d 28 26 33 |A%=0:B%=0:H%=(&3| 00001170 35 30 30 2b 36 33 29 3a d6 26 42 32 30 0d 02 d0 |500+63):.&B20...| 00001180 36 ff 28 22 2a 46 58 31 39 22 29 3a d6 26 42 32 |6.("*FX19"):.&B2| 00001190 30 3a e7 20 a6 28 2d 39 38 29 20 80 20 41 25 3e |0:. .(-98) . A%>| 000011a0 30 20 8c 20 41 25 3d 41 25 2d 31 3a 48 25 3d 48 |0 . A%=A%-1:H%=H| 000011b0 25 2d 31 0d 02 da 26 e7 20 a6 28 2d 37 33 29 20 |%-1...&. .(-73) | 000011c0 80 20 42 25 3e 30 20 8c 20 42 25 3d 42 25 2d 31 |. B%>0 . B%=B%-1| 000011d0 3a 48 25 3d 48 25 2d 33 31 0d 02 e4 26 e7 20 a6 |:H%=H%-31...&. .| 000011e0 28 2d 36 37 29 20 80 20 41 25 3c 4b 25 20 8c 20 |(-67) . A%<K% . | 000011f0 41 25 3d 41 25 2b 31 3a 48 25 3d 48 25 2b 31 0d |A%=A%+1:H%=H%+1.| 00001200 02 ee 28 e7 20 a6 28 2d 31 30 35 29 20 80 20 42 |..(. .(-105) . B| 00001210 25 3c 4c 25 20 8c 20 42 25 3d 42 25 2b 31 3a 48 |%<L% . B%=B%+1:H| 00001220 25 3d 48 25 2b 33 31 0d 02 f8 10 e7 20 a6 28 2d |%=H%+31..... .(-| 00001230 37 34 29 20 8c 20 e1 0d 03 02 1b ff 28 22 2a 46 |74) . ......("*F| 00001240 58 31 39 22 29 3a d6 26 42 32 30 3a e5 20 8d 64 |X19"):.&B20:. .d| 00001250 50 42 0d 03 0c eb dc 20 33 32 2c 33 33 2c 33 34 |PB..... 32,33,34| 00001260 2c 33 35 2c 33 36 2c 34 35 2c 34 36 2c 34 38 2c |,35,36,45,46,48,| 00001270 34 39 2c 35 38 2c 35 39 2c 36 30 2c 36 31 2c 36 |49,58,59,60,61,6| 00001280 32 2c 36 33 2c 37 32 2c 37 33 2c 37 34 2c 37 35 |2,63,72,73,74,75| 00001290 2c 37 36 2c 37 37 2c 37 38 2c 37 39 2c 38 30 2c |,76,77,78,79,80,| 000012a0 38 31 2c 38 32 2c 38 33 2c 38 34 2c 38 36 2c 38 |81,82,83,84,86,8| 000012b0 37 2c 38 38 2c 38 39 2c 39 30 2c 39 31 2c 39 32 |7,88,89,90,91,92| 000012c0 2c 39 33 2c 39 34 2c 39 35 2c 39 36 2c 39 37 2c |,93,94,95,96,97,| 000012d0 39 38 2c 39 39 2c 31 30 30 2c 31 30 31 2c 31 30 |98,99,100,101,10| 000012e0 32 2c 31 30 33 2c 31 30 34 2c 31 30 35 2c 31 30 |2,103,104,105,10| 000012f0 36 2c 31 30 37 2c 31 30 38 2c 31 30 39 2c 31 31 |6,107,108,109,11| 00001300 30 2c 31 31 31 2c 31 31 32 2c 31 31 33 2c 31 31 |0,111,112,113,11| 00001310 34 2c 31 31 35 2c 31 31 36 2c 31 31 37 2c 31 31 |4,115,116,117,11| 00001320 38 2c 31 31 39 2c 31 32 30 2c 31 32 31 2c 31 32 |8,119,120,121,12| 00001330 32 2c 31 32 33 2c 31 32 34 2c 31 32 35 0d 03 16 |2,123,124,125...| 00001340 35 dc 20 31 32 36 2c 31 32 37 2c 31 32 38 2c 31 |5. 126,127,128,1| 00001350 32 39 2c 31 33 30 2c 31 33 31 2c 31 33 32 2c 31 |29,130,131,132,1| 00001360 33 33 2c 31 33 34 2c 31 33 35 2c 31 33 36 2c 31 |33,134,135,136,1| 00001370 33 37 0d 03 34 45 dd f2 70 73 68 65 74 3a f7 20 |37..4E..pshet:. | 00001380 8d 54 4c 43 3a e7 20 53 25 3d 31 20 8c 20 8d 54 |.TLC:. S%=1 . .T| 00001390 7e 43 20 8b 20 e3 4c 25 3d 31 20 b8 20 28 53 25 |~C . .L%=1 . (S%| 000013a0 2d 31 29 3a e3 4b 25 3d 31 20 b8 20 32 30 3a f3 |-1):.K%=1 . 20:.| 000013b0 20 41 25 3a ed 3a ed 0d 03 3e 53 e3 42 25 3d 32 | A%:.:...>S.B%=2| 000013c0 32 20 b8 20 33 30 20 88 20 32 3a e3 41 25 3d 33 |2 . 30 . 2:.A%=3| 000013d0 32 20 b8 20 33 38 20 88 20 32 3a f3 20 43 25 3a |2 . 38 . 2:. C%:| 000013e0 53 25 28 28 28 41 25 2d 33 32 29 2f 32 29 2c 28 |S%(((A%-32)/2),(| 000013f0 28 42 25 2d 32 32 29 2f 32 29 29 3d 43 25 3a d6 |(B%-22)/2))=C%:.| 00001400 26 41 41 41 3a ed 3a ed 3a e1 0d 03 48 50 dd f2 |&AAA:.:.:...HP..| 00001410 69 73 68 65 74 3a f0 34 2c 31 30 31 36 2b 28 51 |ishet:.4,1016+(Q| 00001420 25 2a 36 34 29 2c 32 38 37 2d 28 57 25 2a 36 34 |%*64),287-(W%*64| 00001430 29 3a e6 33 2c 33 3a f0 31 2c 34 30 2c 30 3a f0 |):.3,3:.1,40,0:.| 00001440 31 2c 30 2c 33 36 3a f0 31 2c 2d 34 30 2c 30 3a |1,0,36:.1,-40,0:| 00001450 f0 31 2c 30 2c 2d 33 36 3a e1 0d 03 52 c8 dd f2 |.1,0,-36:...R...| 00001460 77 69 6e 64 28 41 25 2c 42 25 2c 43 25 2c 44 25 |wind(A%,B%,C%,D%| 00001470 29 3a 43 25 3d 28 28 43 25 2d 41 25 29 2a 33 32 |):C%=((C%-A%)*32| 00001480 29 2b 32 34 3a 44 25 3d 28 28 42 25 2d 44 25 29 |)+24:D%=((B%-D%)| 00001490 2a 33 32 29 2b 32 38 3a ef 32 34 2c 28 41 25 2a |*32)+28:.24,(A%*| 000014a0 33 32 29 3b 28 31 30 32 33 2d 28 42 25 2a 33 32 |32);(1023-(B%*32| 000014b0 29 29 2d 32 38 3b 28 41 25 2a 33 32 29 2b 43 25 |))-28;(A%*32)+C%| 000014c0 3b 28 28 31 30 32 33 2d 28 42 25 2a 33 32 29 29 |;((1023-(B%*32))| 000014d0 2d 32 38 29 2b 44 25 3b 3a e6 30 2c 31 32 38 3a |-28)+D%;:.0,128:| 000014e0 da 3a ef 32 36 3a e6 30 2c 31 3a f0 34 2c 28 41 |.:.26:.0,1:.4,(A| 000014f0 25 2a 33 32 29 2d 38 2c 28 28 31 30 32 33 2d 28 |%*32)-8,((1023-(| 00001500 42 25 2a 33 32 29 29 2d 32 38 29 2d 34 3a f0 31 |B%*32))-28)-4:.1| 00001510 2c 43 25 2b 31 36 2c 30 3a f0 31 2c 30 2c 44 25 |,C%+16,0:.1,0,D%| 00001520 2b 38 0d 03 5c 20 f0 31 2c 2d 28 43 25 2b 31 36 |+8..\ .1,-(C%+16| 00001530 29 2c 30 3a f0 31 2c 30 2c 2d 28 44 25 2b 38 29 |),0:.1,0,-(D%+8)| 00001540 3a e1 0d 03 66 26 dd f2 74 65 78 74 28 41 24 2c |:...f&..text(A$,| 00001550 41 25 2c 42 25 29 3a 24 26 33 34 41 30 3d 41 24 |A%,B%):$&34A0=A$| 00001560 3a d6 26 41 30 30 3a e1 0d 03 70 39 dd f2 69 6e |:.&A00:...p9..in| 00001570 70 75 74 28 41 25 2c 42 25 2c 43 25 29 3a e3 4c |put(A%,B%,C%):.L| 00001580 25 3d 31 30 30 20 b8 20 30 20 88 20 2d 31 3a ed |%=100 . 0 . -1:.| 00001590 3a 4c 25 3d 30 3a 41 24 3d 22 22 3a 2a 46 58 32 |:L%=0:A$="":*FX2| 000015a0 31 0d 03 7a 1b 4b 25 3d a5 3a e7 20 4b 25 3d 31 |1..z.K%=.:. K%=1| 000015b0 33 20 80 20 4c 25 3e 30 20 8c 20 e1 0d 03 84 5b |3 . L%>0 . ....[| 000015c0 e7 20 4b 25 3e 33 31 20 80 20 4b 25 3c 31 32 37 |. K%>31 . K%<127| 000015d0 20 80 20 4c 25 3c 43 25 20 8c 20 41 24 3d 41 24 | . L%<C% . A$=A$| 000015e0 2b bd 28 4b 25 29 3a 3f 26 33 34 41 30 3d 4b 25 |+.(K%):?&34A0=K%| 000015f0 3a 3f 26 33 34 41 31 3d 31 33 3a d6 26 41 30 30 |:?&34A1=13:.&A00| 00001600 3a 41 25 3d 41 25 2b 31 3a 4c 25 3d 4c 25 2b 31 |:A%=A%+1:L%=L%+1| 00001610 3a e5 20 8d 44 7a 43 0d 03 8e 69 e7 20 4b 25 3d |:. .DzC...i. K%=| 00001620 31 32 37 20 80 20 4c 25 3e 30 20 8c 20 41 25 3d |127 . L%>0 . A%=| 00001630 41 25 2d 31 3a 3f 26 33 34 41 30 3d 33 32 3a 3f |A%-1:?&34A0=32:?| 00001640 26 33 34 41 31 3d 31 33 3a d6 26 41 30 30 3a 4c |&34A1=13:.&A00:L| 00001650 25 3d 4c 25 2d 31 3a e7 20 4c 25 3d 30 20 8c 20 |%=L%-1:. L%=0 . | 00001660 41 24 3d 22 22 3a e5 20 8d 44 7a 43 20 8b 20 41 |A$="":. .DzC . A| 00001670 24 3d c0 41 24 2c 4c 25 29 3a e5 20 8d 44 7a 43 |$=.A$,L%):. .DzC| 00001680 0d 03 98 0a e5 20 8d 44 7a 43 0d 03 a2 05 3a 0d |..... .DzC....:.| 00001690 03 ac 98 53 25 3d 31 3a f2 70 73 68 65 74 3a 51 |...S%=1:.pshet:Q| 000016a0 25 3d 30 3a 57 25 3d 30 3a 58 25 3d 30 3a 59 25 |%=0:W%=0:X%=0:Y%| 000016b0 3d 30 3a 45 25 3d 28 26 33 35 30 30 2b 36 33 29 |=0:E%=(&3500+63)| 000016c0 3a 49 25 3d 53 25 28 51 25 2c 57 25 29 3a f2 69 |:I%=S%(Q%,W%):.i| 000016d0 73 68 65 74 3a d6 26 42 38 44 3a 54 25 3d 30 3a |shet:.&B8D:T%=0:| 000016e0 52 25 3d 30 3a 41 25 3d 33 34 3a 42 25 3d 31 36 |R%=0:A%=34:B%=16| 000016f0 3a 43 25 3d 49 25 3a d6 26 42 33 31 3a 41 25 3d |:C%=I%:.&B31:A%=| 00001700 33 34 3a 42 25 3d 31 30 3a 43 25 3d 3f 45 25 3a |34:B%=10:C%=?E%:| 00001710 d6 26 42 33 31 3a 41 25 3d 58 25 3a 42 25 3d 59 |.&B31:A%=X%:B%=Y| 00001720 25 3a d6 26 42 32 30 0d 03 b6 42 ff 28 22 2a 46 |%:.&B20...B.("*F| 00001730 58 31 39 22 29 3a 41 25 3d 58 25 3a 42 25 3d 59 |X19"):A%=X%:B%=Y| 00001740 25 3a d6 26 42 32 30 3a e7 20 a6 28 2d 39 38 29 |%:.&B20:. .(-98)| 00001750 20 80 20 58 25 3e 30 20 8c 20 58 25 3d 58 25 2d | . X%>0 . X%=X%-| 00001760 31 3a 45 25 3d 45 25 2d 31 0d 03 c0 26 e7 20 a6 |1:E%=E%-1...&. .| 00001770 28 2d 36 37 29 20 80 20 58 25 3c 33 30 20 8c 20 |(-67) . X%<30 . | 00001780 58 25 3d 58 25 2b 31 3a 45 25 3d 45 25 2b 31 0d |X%=X%+1:E%=E%+1.| 00001790 03 ca 26 e7 20 a6 28 2d 37 33 29 20 80 20 59 25 |..&. .(-73) . Y%| 000017a0 3e 30 20 8c 20 59 25 3d 59 25 2d 31 3a 45 25 3d |>0 . Y%=Y%-1:E%=| 000017b0 45 25 2d 33 31 0d 03 d4 28 e7 20 a6 28 2d 31 30 |E%-31...(. .(-10| 000017c0 35 29 20 80 20 59 25 3c 33 30 20 8c 20 59 25 3d |5) . Y%<30 . Y%=| 000017d0 59 25 2b 31 3a 45 25 3d 45 25 2b 33 31 0d 03 de |Y%+1:E%=E%+31...| 000017e0 2f 41 25 3d 33 34 3a 42 25 3d 31 30 3a e7 20 3f |/A%=34:B%=10:. ?| 000017f0 45 25 3d 32 35 30 20 8c 20 f2 69 69 69 20 8b 20 |E%=250 . .iii . | 00001800 43 25 3d 3f 45 25 3a d6 26 42 33 31 0d 03 e8 50 |C%=?E%:.&B31...P| 00001810 e7 20 a6 28 2d 36 36 29 20 80 20 51 25 3e 30 20 |. .(-66) . Q%>0 | 00001820 8c 20 f2 69 73 68 65 74 3a 51 25 3d 51 25 2d 31 |. .ishet:Q%=Q%-1| 00001830 3a f2 69 73 68 65 74 3a 49 25 3d 53 25 28 51 25 |:.ishet:I%=S%(Q%| 00001840 2c 57 25 29 3a 41 25 3d 33 34 3a 42 25 3d 31 36 |,W%):A%=34:B%=16| 00001850 3a 43 25 3d 49 25 3a d6 26 42 33 31 0d 03 f2 50 |:C%=I%:.&B31...P| 00001860 e7 20 a6 28 2d 38 32 29 20 80 20 51 25 3c 33 20 |. .(-82) . Q%<3 | 00001870 8c 20 f2 69 73 68 65 74 3a 51 25 3d 51 25 2b 31 |. .ishet:Q%=Q%+1| 00001880 3a f2 69 73 68 65 74 3a 49 25 3d 53 25 28 51 25 |:.ishet:I%=S%(Q%| 00001890 2c 57 25 29 3a 41 25 3d 33 34 3a 42 25 3d 31 36 |,W%):A%=34:B%=16| 000018a0 3a 43 25 3d 49 25 3a d6 26 42 33 31 0d 03 fc 50 |:C%=I%:.&B31...P| 000018b0 e7 20 a6 28 2d 35 36 29 20 80 20 57 25 3e 30 20 |. .(-56) . W%>0 | 000018c0 8c 20 f2 69 73 68 65 74 3a 57 25 3d 57 25 2d 31 |. .ishet:W%=W%-1| 000018d0 3a f2 69 73 68 65 74 3a 49 25 3d 53 25 28 51 25 |:.ishet:I%=S%(Q%| 000018e0 2c 57 25 29 3a 41 25 3d 33 34 3a 42 25 3d 31 36 |,W%):A%=34:B%=16| 000018f0 3a 43 25 3d 49 25 3a d6 26 42 33 31 0d 04 06 50 |:C%=I%:.&B31...P| 00001900 e7 20 a6 28 2d 38 37 29 20 80 20 57 25 3c 34 20 |. .(-87) . W%<4 | 00001910 8c 20 f2 69 73 68 65 74 3a 57 25 3d 57 25 2b 31 |. .ishet:W%=W%+1| 00001920 3a f2 69 73 68 65 74 3a 49 25 3d 53 25 28 51 25 |:.ishet:I%=S%(Q%| 00001930 2c 57 25 29 3a 41 25 3d 33 34 3a 42 25 3d 31 36 |,W%):A%=34:B%=16| 00001940 3a 43 25 3d 49 25 3a d6 26 42 33 31 0d 04 10 15 |:C%=I%:.&B31....| 00001950 e7 20 ac 20 a6 28 2d 34 30 29 20 8c 20 8d 54 6e |. . .(-40) . .Tn| 00001960 44 0d 04 1a 19 53 25 3d 53 25 2b 31 3a e7 20 53 |D....S%=S%+1:. S| 00001970 25 3e 34 20 8c 20 53 25 3d 31 0d 04 24 62 f2 70 |%>4 . S%=1..$b.p| 00001980 73 68 65 74 3a 49 25 3d 53 25 28 51 25 2c 57 25 |shet:I%=S%(Q%,W%| 00001990 29 3a 41 25 3d 33 34 3a 42 25 3d 31 36 3a 43 25 |):A%=34:B%=16:C%| 000019a0 3d 49 25 3a d6 26 42 33 31 3a 24 26 33 34 41 30 |=I%:.&B31:$&34A0| 000019b0 3d 22 53 48 45 45 54 20 20 22 3a 3f 26 33 34 41 |="SHEET ":?&34A| 000019c0 36 3d 97 28 c3 28 53 25 29 29 3a 41 25 3d 33 32 |6=.(.(S%)):A%=32| 000019d0 3a 42 25 3d 32 30 3a d6 26 41 30 30 0d 04 2e 13 |:B%=20:.&A00....| 000019e0 e7 20 a6 28 2d 32 30 29 20 8c 20 f2 63 61 74 0d |. .(-20) . .cat.| 000019f0 04 38 0a e5 20 8d 44 4c 44 0d 04 42 44 dd f2 69 |.8.. .DLD..BD..i| 00001a00 69 69 3a f2 74 65 78 74 28 22 20 20 20 22 2c 33 |ii:.text(" ",3| 00001a10 34 2c 31 30 29 3a f2 74 65 78 74 28 22 49 4e 56 |4,10):.text("INV| 00001a20 22 2c 33 34 2c 31 31 29 3a f2 74 65 78 74 28 22 |",34,11):.text("| 00001a30 20 20 20 22 2c 33 34 2c 31 32 29 3a e1 0d 04 4c | ",34,12):...L| 00001a40 15 e7 20 ac 20 a6 28 2d 37 34 29 20 8c 20 8d 74 |.. . .(-74) . .t| 00001a50 48 44 0d 04 56 2b e7 20 28 49 25 3e 31 30 39 20 |HD..V+. (I%>109 | 00001a60 80 20 49 25 3c 31 31 34 29 20 80 20 52 25 3e 31 |. I%<114) . R%>1| 00001a70 31 20 8c 20 ef 37 3a e5 20 8d 74 48 44 0d 04 60 |1 . .7:. .tHD..`| 00001a80 1f e7 20 49 25 3d 31 30 37 20 80 20 54 25 3e 36 |.. I%=107 . T%>6| 00001a90 20 8c 20 ef 37 3a e5 20 8d 74 48 44 0d 04 6a 07 | . .7:. .tHD..j.| 00001aa0 f2 65 62 0d 04 74 29 3f 45 25 3d 49 25 3a 43 25 |.eb..t)?E%=I%:C%| 00001ab0 3d 49 25 3a d6 26 42 45 39 3a e7 20 49 25 3d 31 |=I%:.&BE9:. I%=1| 00001ac0 30 37 20 8c 20 54 25 3d 54 25 2b 31 0d 04 7e 1f |07 . T%=T%+1..~.| 00001ad0 e7 20 49 25 3e 31 30 39 20 80 20 49 25 3c 31 31 |. I%>109 . I%<11| 00001ae0 34 20 8c 20 52 25 3d 52 25 2b 31 0d 04 88 15 e7 |4 . R%=R%+1.....| 00001af0 20 ac 20 a6 28 2d 39 30 29 20 8c 20 8d 64 4e 44 | . .(-90) . .dND| 00001b00 0d 04 92 0e f2 65 62 3a e5 20 8d 74 5c 44 0d 04 |.....eb:. .t\D..| 00001b10 9c 11 3f 45 25 3d 34 37 3a e5 20 8d 64 4e 44 0d |..?E%=47:. .dND.| 00001b20 04 a6 2d dd f2 65 62 3a e7 20 3f 45 25 3e 31 30 |..-..eb:. ?E%>10| 00001b30 39 20 80 20 3f 45 25 3c 31 31 34 20 8c 20 52 25 |9 . ?E%<114 . R%| 00001b40 3d 52 25 2d 31 3a e5 20 8d 74 7a 44 0d 04 b0 17 |=R%-1:. .tzD....| 00001b50 e7 20 3f 45 25 3d 31 30 37 20 8c 20 54 25 3d 54 |. ?E%=107 . T%=T| 00001b60 25 2d 31 0d 04 ba 2f 41 25 3d 58 25 3a 42 25 3d |%-1.../A%=X%:B%=| 00001b70 59 25 3a 43 25 3d 3f 45 25 3a e7 20 43 25 3d 32 |Y%:C%=?E%:. C%=2| 00001b80 35 30 20 8c 20 d6 26 42 32 30 20 8b 20 d6 26 42 |50 . .&B20 . .&B| 00001b90 45 39 0d 04 c4 05 e1 0d 04 ce 15 e7 20 ac 20 a6 |E9.......... . .| 00001ba0 28 2d 31 38 29 20 8c 20 8d 64 6c 44 0d 04 d8 9f |(-18) . .dlD....| 00001bb0 f2 77 69 6e 64 28 35 2c 32 30 2c 32 35 2c 31 30 |.wind(5,20,25,10| 00001bc0 29 3a f2 74 65 78 74 28 22 54 48 49 53 20 57 49 |):.text("THIS WI| 00001bd0 4c 4c 20 57 49 50 45 20 54 48 45 22 2c 36 2c 31 |LL WIPE THE",6,1| 00001be0 31 29 3a f2 74 65 78 74 28 22 45 4e 54 49 52 45 |1):.text("ENTIRE| 00001bf0 20 4c 45 56 45 4c 21 22 2c 38 2c 31 33 29 3a f2 | LEVEL!",8,13):.| 00001c00 74 65 78 74 28 22 41 52 45 20 59 4f 55 20 53 55 |text("ARE YOU SU| 00001c10 52 45 20 28 59 2f 4e 29 22 2c 36 2c 31 37 29 3a |RE (Y/N)",6,17):| 00001c20 f5 20 fd 20 a6 28 2d 36 39 29 20 84 20 a6 28 2d |. . .(-69) . .(-| 00001c30 38 36 29 3a e7 20 a6 28 2d 38 36 29 20 8c 20 d6 |86):. .(-86) . .| 00001c40 26 42 38 44 3a e5 20 8d 64 6c 44 0d 04 e2 41 e3 |&B8D:. .dlD...A.| 00001c50 4c 25 3d 28 26 33 35 30 30 2b 36 33 29 20 b8 20 |L%=(&3500+63) . | 00001c60 28 26 33 35 30 30 2b 31 30 32 33 29 3a 3f 4c 25 |(&3500+1023):?L%| 00001c70 3d 34 37 3a ed 3a 52 25 3d 30 3a 54 25 3d 30 3a |=47:.:R%=0:T%=0:| 00001c80 d6 26 42 38 44 3a e5 20 8d 64 6c 44 0d 04 ec 14 |.&B8D:. .dlD....| 00001c90 e7 20 a6 28 2d 34 39 29 20 8c 20 f2 6c 6f 61 64 |. .(-49) . .load| 00001ca0 0d 04 f6 14 e7 20 a6 28 2d 38 34 29 20 8c 20 f2 |..... .(-84) . .| 00001cb0 67 72 69 64 0d 05 00 14 e7 20 a6 28 2d 31 39 29 |grid..... .(-19)| 00001cc0 20 8c 20 f2 63 6f 6c 73 0d 05 0a 14 e7 20 a6 28 | . .cols..... .(| 00001cd0 2d 35 30 29 20 8c 20 f2 73 61 76 65 0d 05 14 1f |-50) . .save....| 00001ce0 e7 20 a6 28 2d 31 29 20 8c 20 f2 65 62 3a 3f 45 |. .(-1) . .eb:?E| 00001cf0 25 3d 32 35 30 3a d6 26 42 32 30 0d 05 1e 26 41 |%=250:.&B20...&A| 00001d00 25 3d 58 25 3a 42 25 3d 59 25 3a d6 26 42 32 30 |%=X%:B%=Y%:.&B20| 00001d10 3a ff 28 22 2a 46 58 31 39 22 29 3a e5 8d 74 76 |:.("*FX19"):..tv| 00001d20 43 0d ff |C..| 00001d23