Home » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199211.adf » AWNov92 » !AWNov92/Goodies/Trees/!FEED/!RUNIMAGE

!AWNov92/Goodies/Trees/!FEED/!RUNIMAGE

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 » Recent acquisitions » Acorn ADFS disks » adfs_ArchimedesWorld_199211.adf » AWNov92
Filename: !AWNov92/Goodies/Trees/!FEED/!RUNIMAGE
Read OK:
File size: 1BC0 bytes
Load address: 0000
Exec address: 0000
File contents
    1 REM >!RUNIMAGE
    3 ON ERROR PRINT "RAISE SCREEN MEMORY TO 320K,WITH THE TASK WINDOW":STOP
   10 MODE 15+128
   20 SYS 6,112,0
   30 SYS 6,113,0
   35 CLS
   40 HI%=1000:LBG%=0
   45 OSCLI("CHANNELVOICE 1 10"):OSCLI("CHANNELVOICE 2 11"):OSCLI("CHANNELVOICE 3 12")
   46 VOICES 3
   50 ON ERROR GOTO 9999
   60 DIM Y%(10),X%(10),D%(10),Y1%(10)
   70 DIM IX%(2),IY%(2),I%(2),A% 430000
   80 SYS "OS_SpriteOp",266,A%,"<Obey$Dir>.LOGO":SYS "OS_SpriteOp",34+256,A%,"screen",250,100
   90 *KEY 1 SYS "OS_SpriteOp",34,,
   95 SYS "OS_SpriteOp",266,A%,"<Obey$Dir>.SPR"
   96 FOR L=0 TO 50000:IF INKEY(0)>0 THEN L=50000
   97 NEXT L
   98 CLS
  100 REM NEW GAME VARIBLES
  110 AN%=1
  120 SRN%=0:BG%=1
  130 D1%=4:MD%=50
  140 WC%=0:WF%=0
  150 DR%=0:DR1%=0:DR2%=0
  160 X%=64:XX%=0:LX%=1
  170 BOX%=127:BOY%=560:BO%=1:BC%=0:BF%=0
  180 IA%=1:T0%=1:B$="BON1"
  190 LEV%=1:SC%=0:S1$="00000":S$=S1$
  200 REM ***** NEW LEVEL *****
  210 PL1%=4:PL0%=160-(LEV%*4):PL2%=50
  230 FOR L=1 TO D1%:Y%(L)=-1:NEXT L
  240 DL%=MD%
  250 BA%=0:EL%=0
  260 I%(1)=0:I%(2)=0
  270 BF%=0
  300 REM **** DRAW BACKGROUND ****
  480 SYS "OS_SpriteOp",34+256,A%,"back",0,252
  485 SYS "OS_SpriteOp",34+256,A%,"WATER"+STR$(WC%),1028,760
  490 GOSUB 1400
  500 SYS "OS_SpriteOp",34+256,A%,"READY",480,650,8
  510 PROCno(S$,32,920):GOSUB 2260
  520 SYS "OS_SpriteOp",16+256,A%,"SC",0,32,920,704,976
  590 FOR I=1 TO 12000:NEXT I
  890 REM ********************************
  900 GOSUB 1900
  905 GOSUB 3000
  910 GOSUB 1000
  920 GOSUB 1100
  940 GOSUB 1300:GOSUB 3200
  950 IF LEV%>1 THEN GOSUB 2300
  960 GOSUB 1400:GOSUB 2000
  970 IF DL%<-MD% THEN 1800
  980 IF PL1%=8 THEN 1700
  985 IF INKEY(-92) THEN GOSUB 8000
  990 GOTO 900
 1000 REM DRAW DROPS
 1010 FOR L=1 TO D1%
 1020 IF Y%(L)=-1 THEN
 1030 IF RND(1)>.8 THEN
 1032 DL%-=1:D%(L)=2*(INT(RND(1)*5)+4)
 1034 Y%(L)=800:X%(L)=INT(RND(1)*1200)+3
 1036 IF DL%<0 THEN Y%(L)=-1
 1038ENDIF
 1039IF Y%(L)=-1 THEN 1090
 1040 ENDIF
 1045 IF Y%(L)<-1 THEN GOSUB 1200:GOTO 1090
 1050 SYS "OS_SpriteOp",34+256,A%,"drop",X%(L),Y%(L),8
 1060 Y%(L)-=D%(L)
 1070 IF Y%(L)<272 THEN Y1%(L)=Y%(L):Y%(L)=-2
 1080 IF X%(L)>X% AND X%(L)<X%+56 AND Y%(L)<480 THEN
 1082 Y1%(L)=Y%(L):Y%(L)=-2:WC%+=1
 1084 SC%+=10
 1085 GOSUB 2200
 1086 IF WC%>4 THEN WC%=4
 1088 ENDIF
 1090 NEXT L
 1095 RETURN
 1100 REM **** MOVE MAN ****
 1110 XX%=0
 1120 XX%=XX%+(INKEY(-17))-(INKEY(-34))
 1135 IF XX%<>0 AND X%+XX%>15 AND X%+XX%<1152 THEN
 1140 X%+=(XX%*16)
 1160 LX%=(XX%*AN%)
 1165 AN%+=1:IF AN%=15 THEN AN%=1
 1167 IF AN%=2 OR AN%=10 THEN STEREO 2,INT(X%/5)-127:SOUND 2,-10,9000,1
 1168 ENDIF
 1170 IF BO%>0 AND X%>BOX%-8 AND X%<BOX%+32 AND BOY%<430 THEN GOSUB 4000
 1190 SYS "OS_SpriteOp",34+256,A%,STR$(LX%),X%,270,8
 1195 RETURN
 1200 REM DROP OR NOT
 1210 IF Y%(L)=-2 THEN STEREO 3,(X%(L)/5)-127:SOUND 3,-12,9000,1
 1220 SYS "OS_SpriteOp",34+256,A%,"spl"+STR$(ABS(Y%(L)+1)),X%(L),Y1%(L),8
 1230 Y%(L)-=1:IF Y%(L)<-6 THEN Y%(L)=-1
 1290 RETURN
 1300 REM FEED THE TREE
 1310 IF X%>544 AND X%<630 THEN
 1320 WF%=WF%+WC%
 1325 SC%+=(25*WC%):GOSUB 2200
 1330 WC%=0
 1340 IF WF%>=4 THEN WF%-=4:PL1%+=1:PL2%=200:GOTO 1340
 1350 ENDIF
 1390 RETURN
 1400 REM DISPLAY TREE
 1410 SYS "OS_SpriteOp",34+256,A%,"plant"+STR$(PL1%),560,268,8
 1420 PL2%-=1
 1430 IF PL2%<=0 THEN PL1%-=1:PL2%=PL0%
 1440 IF PL1%=0 THEN 1600
 1490 RETURN
 1500 GOSUB 2000
 1570 IF DL%<-MD% THEN 1800
 1580 IF PL1%=8 THEN 1700
 1590 GOTO 900
 1600 REM *****GAME OVER ******
 1602 BA%=1:BX%=0:BY%=INT(RND(1)*256)+312
 1603 SYS 6,15,1:DL%=0:noi%=1
 1605 GOSUB 1900
 1610 SYS "OS_SpriteOp",34+256,A%,"END",512,650,8
 1612 GOSUB 1000
 1615 GOSUB 3000
 1620 GOSUB 2000
 1625 IF noi%<26 THEN SOUND 1,-15,8000-(noi%*150),1:noi%+=1:GOTO 1605
 1630 A=INKEY(0)
 1650 IF BA%=0 THEN 2500
 1680 IF A=-1 AND BA%=1 THEN 1605
 1690 GOTO 100
 1700 REM *****END OF LEVEL ******
 1710 LEV%+=1
 1720 DL%=0:EL%=1
 1730 GOSUB 1900:GOSUB 1000
 1735 IF LEV%>1 THEN GOSUB 2300
 1740 GOSUB 1400
 1750 PROCwind("WELL DONE! ON TO DAY "+STR$(LEV%))
 1760 GOSUB 2000
 1770 IF DL%>-MD% THEN 1730
 1780 MD%-=1
 1790 GOTO 200
 1800 REM NO MORE DROPS
 1810 FOR L=PL1% TO 1 STEP -1
 1815 GOSUB 1900
 1817 GOSUB 1100
 1820 SYS "OS_SpriteOp",34+256,A%,"plant"+STR$(L),560,268,8
 1825 GOSUB 2000
 1830 FOR I=1 TO 2000:NEXT I
 1840 NEXT L
 1850 SRN%+=1:IF SRN%=2 THEN SRN%=0
 1890 GOTO 1600
 1900 REM UPDATE SCREEN ROUTINE
 1910 SYS 6,112,SRN%
 1920 CLS
 1930 SYS "OS_SpriteOp",34+256,A%,"back",0,252
 1940 SYS "OS_SpriteOp",34+256,A%,"WATER"+STR$(WC%),1028,760
 1950 SYS "OS_SpriteOp",34+256,A%,"SC",32,920
 1990 RETURN
 2000 REM DISPLAY NEW SCREEN BANK
 2010 SYS 6,19:SYS 6,113,SRN%
 2020 SRN%+=1
 2030 IF SRN%=2 THEN SRN%=0
 2040 RETURN
 2100 DEF PROCno(A$,X,Y)
 2110 FOR L=1 TO LEN(A$)
 2120 SYS "OS_SpriteOp",34+256,A%,STR$(ASC(MID$(A$,L,1))),X-32+(L*32),Y
 2130 NEXT L
 2140 ENDPROC
 2200 REM UPDATE SCORE
 2210 S$=STR$(SC%)
 2220 S$=LEFT$("00000",5-LEN(S$))+S$
 2230 PROCno(S$,32,920)
 2240 IF SC%>HI% THEN HI%=SC%:GOSUB 2260
 2250 SYS "OS_SpriteOp",16+256,A%,"SC",0,32,920,704,976:RETURN
 2260 S$=STR$(HI%):S$=LEFT$("00000",5-LEN(S$))+S$
 2270 PROCno(S$,384,920)
 2280 RETURN
 2290 RETURN
 2300 REM MOVE ALIEN INSECTS
 2310 FOR I=1 TO 2
 2315 IF EL%=1 THEN 2360
 2320 IF I%(I)=0 AND RND(1)>.7 THEN
 2330 I%(I)=INT(RND(1)*2)+1
 2340 IX%(I)=-64:IF I%(I)=2 THEN IX%(I)=1200
 2345 IY%(I)=INT(RND(1)*300)+300
 2350 ENDIF
 2360 IF I%(I)>0 THEN
 2370 IF RND(1)<.8 AND I%(I)=1 THEN IX%(I)+=12 ELSE IF RND(1)<.8 THEN IX%(I)-=12
 2375 IF I%(I)=2 AND IX%(I)>1200 THEN I%(I)=0 ELSE IF IX%(I)<-64 THEN I%(I)=0
 2380 IY%(I)=IY%(I)+INT(RND(1)*3)-1
 2400 IF BF%=0 THEN IY%(I)=IY%(I)+(IY%(I)<300)-(IY%(I)>700) ELSE IY%(I)+=8
 2410 SYS "OS_SpriteOp",34+256,A%,"EN"+STR$(T0%)+STR$(IA%),IX%(I),IY%(I),8
 2420 IF IX%(I)>580 AND IX%(I)<612 THEN PL2%-=10
 2460 ENDIF
 2470 NEXT I
 2480 IA%+=1:IF IA%>3 THEN IA%=1
 2490 RETURN
 2500 REM **** WAIT FOR NEW GAME SCREEN ****
 2505 DL%=1000:X%=-1000
 2510 GOSUB 1900
 2520 GOSUB 1000:GOSUB 3000:PROCwind("(c)1992 Luny!"):GOSUB 2000
 2530 IF INKEY(0)=-1 THEN 2510
 2540 GOTO 100
 3000 REM BACKGROUND HAPPENINGS
 3010 IF BA%=0 AND RND>.7 THEN
 3020 BA%=INT(RND(1)*50)+1
 3030 BX%=0:BY%=INT(RND(1)*256)+312
 3040 ENDIF
 3050 CASE BA% OF
 3060 WHEN 1:PLOT 69,BX%,BY%
 3070 BX%=BX%+12*((RND(1)<.2)-(RND(1)>.3)):IF BX%<0 THEN BX%=0
 3080 BY%=BY%+8*((RND(1)<.5)-(RND(1)>.6))
 3090 BY%=BY%+(BY%>310)-(BY%<312)
 3092 IF BX%>1200 THEN BA%=0
 3095 RETURN
 3100 REM LOAD IN NEXT BACKGROUND
 3110 IF LBG%=BG% THEN 3140
 3120 SYS "OS_SpriteOp",11+256,A%,"BG"+STR$(BG%)
 3130 LBG%=BG%
 3140 RETURN
 3190 ENDCASE:RETURN
 3200 REM **** FALLING BONUS SCREEN ****
 3210 IF BO%=0 AND RND(1)>.8 AND RND(1)<.1 AND LEV%>2 THEN
 3220 BOX%=INT(RND(1)*1024)+128
 3230 BO%=INT(RND(1)*(LEV%-2))+2:IF BO%>10 THEN BO%=10
 3235 B$="bon"+STR$(BO%)
 3240 BOY%=560:IF BO%=3 OR BO%=4 OR BO%=6 OR BO%=7 OR BO%=9 THEN BOY%=270
 3250 BC%=0
 3260 IF BO%=4 OR BO%=7 OR BO%=6 THEN BC%=40
 3290 ENDIF
 3300 CASE BO% OF
 3310 WHEN 1,5,8:IF BC%=0 THEN BOY%-=6:IF BOY%<270 THEN BC%=60
 3320 WHEN 2,10:IF BC%=0 THEN BOY%-=10:IF BOY%<270 THEN BC%=100
 3330 WHEN 3:IF BC%<1 THEN BC%-=1:B$=LEFT$(B$,4)+CHR$(96+ABS(BC%))
 3340 IF BC%=-4 THEN BC%=100
 3350 IF BC%>0 THEN B$="bon3d"
 3360 WHEN 4,10:IF BC%=2 THEN BOY%+=6:BOX%+=INT(RND(1)*3)-1:BC%=3
 3370 IF BOY%>650 THEN B$="BLINK":BO%=0
 3380 WHEN 6:B$=LEFT$(B$,4)+CHR$(65+BC% MOD 3)
 3880 ENDCASE
 3885 IF BO%=0 THEN RETURN
 3890 SYS "OS_SpriteOp",34+256,A%,B$,BOX%,BOY%,8
 3900 IF BC%>0 THEN BC%-=1:IF BC%=1 THEN BO%=0
 3990 RETURN
 4000 REM COLLECTED BONUS
 4005 PRINT TAB(0,9)
 4010 SC%=SC%+BC%:GOSUB 2200
 4020 IF BO%=1 THEN GOSUB 4100
 4030 SYS "OS_SpriteOp",34+256,A%,"BLINK",BOX%,BOY%,8
 4040 SOUND 1,-15,2000,1
 4050 IF BO%=3 THEN BF%=200:FOR L%=1 TO 3:SOUND 1,-15,5000,1:WAIT:WAIT:WAIT:NEXT L%
 4090 BO%=0:RETURN
 4100 RESTORE 4200
 4110 READ A$:IF A$="*" THEN 4140
 4120 PRINT TAB(11);A$
 4130 GOTO 4110
 4140 GOSUB 2000
 4150 FOR L=0 TO 15000:NEXT L
 4160 SYS 6,15:A=GET
 4170 RETURN
 4200 DATA "Use keys Q-left  W-right."
 4210 DATA "Your aim is to keep the tree alive and make it flower"
 4220 DATA "You do this by collecting drops of water and feed it to"
 4230 DATA "the tree.You can only carry four drops in your glass,"
 4240 DATA "but you can feed the tree any time.Watch out though as"
 4250 DATA "the drops will run out and your tree will dry up."
 4260 DATA "*"
 5000 DEF PROCwind(A$)
 5010 A1%=LEN(A$)
 5020 A2%=INT(A1%/2)
 5030 A3%=40-A2%
 5040 GCOL 36
 5050 X%=A3%*16:Y%=560
 5060 RECTANGLE FILL X%,Y%,(A1%*16)+32,128
 5070 GCOL 63:COLOUR 128+36 TINT 64::COLOUR 63 TINT 16
 5080 RECTANGLE X%+8,Y%+8,(A1%*16)+16,112
 5090 PRINT TAB(A3%+1,12);A$
 5100 COLOUR 128:COLOUR 63
 5190 ENDPROC
 8000 REM CHEAT!
 8010 RESTORE 8020:SYS "OS_Byte",15,1
 8015 IF INKEY(0)>0 THEN 8015
 8020 DATA 74,69,84,83,69,84,87,73,76,76,89,-1
 8030 READ A:IF A=-1 THEN 1700
 8040 B=GET:IF B<>A THEN RETURN
 8045 VDU 7
 8050 GOTO 8030
 9999 MODE 15:REPORT:PRINT ERL:END
 � >!RUNIMAGE
? � � � "RAISE SCREEN MEMORY TO 320K,WITH THE TASK WINDOW":�


 � 15+128
 ș 6,112,0
 ș 6,113,0
# �
( HI%=1000:LBG%=0
-I �("CHANNELVOICE 1 10"):�("CHANNELVOICE 2 11"):�("CHANNELVOICE 3 12")
.	 Ƞ 3
2 � � � �TOg
<# � Y%(10),X%(10),D%(10),Y1%(10)
F$ � IX%(2),IY%(2),I%(2),A% 430000
PZ ș "OS_SpriteOp",266,A%,"<Obey$Dir>.LOGO":ș "OS_SpriteOp",34+256,A%,"screen",250,100
Z" *KEY 1 SYS "OS_SpriteOp",34,,
_- ș "OS_SpriteOp",266,A%,"<Obey$Dir>.SPR"
`% � L=0 � 50000:� �(0)>0 � L=50000
a � L
b �
d � NEW GAME VARIBLES
n
 AN%=1
x SRN%=0:BG%=1
� D1%=4:MD%=50
� WC%=0:WF%=0
� DR%=0:DR1%=0:DR2%=0
� X%=64:XX%=0:LX%=1
�( BOX%=127:BOY%=560:BO%=1:BC%=0:BF%=0
� IA%=1:T0%=1:B$="BON1"
�$ LEV%=1:SC%=0:S1$="00000":S$=S1$
� � ***** NEW LEVEL *****
�% PL1%=4:PL0%=160-(LEV%*4):PL2%=50
� � L=1 � D1%:Y%(L)=-1:� L
� DL%=MD%
� BA%=0:EL%=0
 I%(1)=0:I%(2)=0

 BF%=0
,  � **** DRAW BACKGROUND ****
�, ș "OS_SpriteOp",34+256,A%,"back",0,252
�7 ș "OS_SpriteOp",34+256,A%,"WATER"+�(WC%),1028,760
� � �DxE
�1 ș "OS_SpriteOp",34+256,A%,"READY",480,650,8
� �no(S$,32,920):� �dTH
5 ș "OS_SpriteOp",16+256,A%,"SC",0,32,920,704,976
N � I=1 � 12000:� I
z' � ********************************
� � �DlG
� � �txK
� � �dhC
� � �DLD
� � �TTE:� �t@L
� � LEV%>1 � � �d|H
� � �DxE:� �dPG
� � DL%<-MD% � �THG
� � PL1%=8 � �tdF
� � �(-92) � � �D@_
� � �tDC
� � DRAW DROPS
� � L=1 � D1%
� � Y%(L)=-1 �
 � �(1)>.8 �
! DL%-=1:D%(L)=2*(�(�(1)*5)+4)

# Y%(L)=800:X%(L)=�(�(1)*1200)+3
 � DL%<0 � Y%(L)=-1
�
� Y%(L)=-1 � �DBD
 �
 � Y%(L)<-1 � � �tpD:� �DBD
4 ș "OS_SpriteOp",34+256,A%,"drop",X%(L),Y%(L),8
$ Y%(L)-=D%(L)
.( � Y%(L)<272 � Y1%(L)=Y%(L):Y%(L)=-2
8+ � X%(L)>X% � X%(L)<X%+56 � Y%(L)<480 �
:! Y1%(L)=Y%(L):Y%(L)=-2:WC%+=1
< SC%+=10
= � �tXH
> � WC%>4 � WC%=4
@ �
B � L
G �
L � **** MOVE MAN ****
V
 XX%=0
` XX%=XX%+(�(-17))-(�(-34))
o) � XX%<>0 � X%+XX%>15 � X%+XX%<1152 �
t X%+=(XX%*16)
� LX%=(XX%*AN%)
� AN%+=1:� AN%=15 � AN%=1
�7 � AN%=2 � AN%=10 � Ȣ 2,�(X%/5)-127:� 2,-10,9000,1
� �
�9 � BO%>0 � X%>BOX%-8 � X%<BOX%+32 � BOY%<430 � � �t`O
�/ ș "OS_SpriteOp",34+256,A%,�(LX%),X%,270,8
� �
� � DROP OR NOT
�3 � Y%(L)=-2 � Ȣ 3,(X%(L)/5)-127:� 3,-12,9000,1
�B ș "OS_SpriteOp",34+256,A%,"spl"+�(�(Y%(L)+1)),X%(L),Y1%(L),8
�# Y%(L)-=1:� Y%(L)<-6 � Y%(L)=-1

 �
 � FEED THE TREE
 � X%>544 � X%<630 �
( WF%=WF%+WC%
- SC%+=(25*WC%):� �tXH
2
 WC%=0
<. � WF%>=4 � WF%-=4:PL1%+=1:PL2%=200:� �T|E
F �
n �
x � DISPLAY TREE
�9 ș "OS_SpriteOp",34+256,A%,"plant"+�(PL1%),560,268,8
� PL2%-=1
�" � PL2%<=0 � PL1%-=1:PL2%=PL0%
� � PL1%=0 � �D@F
� �
� � �dPG
" � DL%<-MD% � �THG
, � PL1%=8 � �tdF
6 � �tDC
@ � *****GAME OVER ******
B$ BA%=1:BX%=0:BY%=�(�(1)*256)+312
C ș 6,15,1:DL%=0:noi%=1
E � �DlG
J/ ș "OS_SpriteOp",34+256,A%,"END",512,650,8
L � �dhC
O � �txK
T � �dPG
Y9 � noi%<26 � � 1,-15,8000-(noi%*150),1:noi%+=1:� �DEF
^ A=�(0)
r � BA%=0 � �dDI
� � A=-1 � BA%=1 � �DEF
� � �Dd@
� � *****END OF LEVEL ******
� LEV%+=1
� DL%=0:EL%=1
� � �DlG:� �dhC
� � LEV%>1 � � �d|H
� � �DxE
�+ �wind("WELL DONE! ON TO DAY "+�(LEV%))
� � �dPG
� � DL%>-MD% � �dBF
� MD%-=1
� � �dH@
 � NO MORE DROPS
 � L=PL1% � 1 � -1
 � �DlG
 � �DLD
6 ș "OS_SpriteOp",34+256,A%,"plant"+�(L),560,268,8
! � �dPG
& � I=1 � 2000:� I
0 � L
: SRN%+=1:� SRN%=2 � SRN%=0
b � �D@F
l � UPDATE SCREEN ROUTINE
v ș 6,112,SRN%
� �
�, ș "OS_SpriteOp",34+256,A%,"back",0,252
�7 ș "OS_SpriteOp",34+256,A%,"WATER"+�(WC%),1028,760
�+ ș "OS_SpriteOp",34+256,A%,"SC",32,920
� �
� � DISPLAY NEW SCREEN BANK
� ș 6,19:ș 6,113,SRN%
� SRN%+=1
� � SRN%=2 � SRN%=0
� �
4 � �no(A$,X,Y)
> � L=1 � �(A$)
H< ș "OS_SpriteOp",34+256,A%,�(�(�A$,L,1))),X-32+(L*32),Y
R � L
\ �
� � UPDATE SCORE
� S$=�(SC%)
� S$=�"00000",5-�(S$))+S$
� �no(S$,32,920)
� � SC%>HI% � HI%=SC%:� �dTH
�7 ș "OS_SpriteOp",16+256,A%,"SC",0,32,920,704,976:�
�& S$=�(HI%):S$=�"00000",5-�(S$))+S$
� �no(S$,384,920)
� �
� �
� � MOVE ALIEN INSECTS
	 � I=1 � 2
	 � EL%=1 � �TxI
	 � I%(I)=0 � �(1)>.7 �
	 I%(I)=�(�(1)*2)+1
	$' IX%(I)=-64:� I%(I)=2 � IX%(I)=1200
	) IY%(I)=�(�(1)*300)+300
	. �
	8 � I%(I)>0 �
	B> � �(1)<.8 � I%(I)=1 � IX%(I)+=12 � � �(1)<.8 � IX%(I)-=12
	G? � I%(I)=2 � IX%(I)>1200 � I%(I)=0 � � IX%(I)<-64 � I%(I)=0
	L IY%(I)=IY%(I)+�(�(1)*3)-1
	`B � BF%=0 � IY%(I)=IY%(I)+(IY%(I)<300)-(IY%(I)>700) � IY%(I)+=8
	jB ș "OS_SpriteOp",34+256,A%,"EN"+�(T0%)+�(IA%),IX%(I),IY%(I),8
	t) � IX%(I)>580 � IX%(I)<612 � PL2%-=10
	� �
	� � I
	� IA%+=1:� IA%>3 � IA%=1
	� �
	�) � **** WAIT FOR NEW GAME SCREEN ****
	� DL%=1000:X%=-1000
	� � �DlG
	�0 � �dhC:� �txK:�wind("(c)1992 Luny!"):� �dPG
	� � �(0)=-1 � �dNI
	� � �Dd@
� � BACKGROUND HAPPENINGS
� � BA%=0 � �>.7 �
� BA%=�(�(1)*50)+1
� BX%=0:BY%=�(�(1)*256)+312
� �
�
 Ȏ BA% �
� � 1:� 69,BX%,BY%
�5 BX%=BX%+12*((�(1)<.2)-(�(1)>.3)):� BX%<0 � BX%=0
$ BY%=BY%+8*((�(1)<.5)-(�(1)>.6))
  BY%=BY%+(BY%>310)-(BY%<312)
 � BX%>1200 � BA%=0
 �
 � LOAD IN NEXT BACKGROUND
& � LBG%=BG% � �DDL
0+ ș "OS_SpriteOp",11+256,A%,"BG"+�(BG%)
:
 LBG%=BG%
D �
v �:�
�% � **** FALLING BONUS SCREEN ****
�+ � BO%=0 � �(1)>.8 � �(1)<.1 � LEV%>2 �
� BOX%=�(�(1)*1024)+128
�- BO%=�(�(1)*(LEV%-2))+2:� BO%>10 � BO%=10
� B$="bon"+�(BO%)
�@ BOY%=560:� BO%=3 � BO%=4 � BO%=6 � BO%=7 � BO%=9 � BOY%=270
�
 BC%=0
�% � BO%=4 � BO%=7 � BO%=6 � BC%=40
� �
�
 Ȏ BO% �
�2 � 1,5,8:� BC%=0 � BOY%-=6:� BOY%<270 � BC%=60
�3 � 2,10:� BC%=0 � BOY%-=10:� BOY%<270 � BC%=100

0 � 3:� BC%<1 � BC%-=1:B$=�B$,4)+�(96+�(BC%))

 � BC%=-4 � BC%=100

 � BC%>0 � B$="bon3d"

 5 � 4,10:� BC%=2 � BOY%+=6:BOX%+=�(�(1)*3)-1:BC%=3

*" � BOY%>650 � B$="BLINK":BO%=0

4  � 6:B$=�B$,4)+�(65+BC% � 3)
( �
- � BO%=0 � �
2. ș "OS_SpriteOp",34+256,A%,B$,BOX%,BOY%,8
<% � BC%>0 � BC%-=1:� BC%=1 � BO%=0
� �
� � COLLECTED BONUS
� � �0,9)
� SC%=SC%+BC%:� �tXH
� � BO%=1 � � �TDP
�3 ș "OS_SpriteOp",34+256,A%,"BLINK",BOX%,BOY%,8
� � 1,-15,2000,1
�> � BO%=3 � BF%=200:� L%=1 � 3:� 1,-15,5000,1:Ȗ:Ȗ:Ȗ:� L%
� BO%=0:�
 � �DhP
 � A$:� A$="*" � �TlP
 � �11);A$
" � �TNP
, � �dPG
6 � L=0 � 15000:� L
@ ș 6,15:A=�
J �
h" � "Use keys Q-left  W-right."
r> � "Your aim is to keep the tree alive and make it flower"
|@ � "You do this by collecting drops of water and feed it to"
�> � "the tree.You can only carry four drops in your glass,"
�? � "but you can feed the tree any time.Watch out though as"
�: � "the drops will run out and your tree will dry up."
�
 � "*"
� � �wind(A$)
� A1%=�(A$)
� A2%=�(A1%/2)
� A3%=40-A2%
�	 � 36
� X%=A3%*16:Y%=560
�  ȓ Ȑ X%,Y%,(A1%*16)+32,128
�$ � 63:� 128+36 Ȝ 64::� 63 Ȝ 16
�! ȓ X%+8,Y%+8,(A1%*16)+16,112
� � �A3%+1,12);A$
� � 128:� 63
F �
@
 � CHEAT!
J � �DT_:ș "OS_Byte",15,1
O � �(0)>0 � �DO_
T* � 74,69,84,83,69,84,87,73,76,76,89,-1
^ � A:� A=-1 � �tdF
h B=�:� B<>A � �
m � 7
r � �D^_
' � 15:�:� �:�
�
00000000  0d 00 01 11 20 f4 20 3e  21 52 55 4e 49 4d 41 47  |.... . >!RUNIMAG|
00000010  45 0d 00 03 3f 20 ee 20  85 20 f1 20 22 52 41 49  |E...? . . . "RAI|
00000020  53 45 20 53 43 52 45 45  4e 20 4d 45 4d 4f 52 59  |SE SCREEN MEMORY|
00000030  20 54 4f 20 33 32 30 4b  2c 57 49 54 48 20 54 48  | TO 320K,WITH TH|
00000040  45 20 54 41 53 4b 20 57  49 4e 44 4f 57 22 3a fa  |E TASK WINDOW":.|
00000050  0d 00 0a 0d 20 eb 20 31  35 2b 31 32 38 0d 00 14  |.... . 15+128...|
00000060  0f 20 c8 99 20 36 2c 31  31 32 2c 30 0d 00 1e 0f  |. .. 6,112,0....|
00000070  20 c8 99 20 36 2c 31 31  33 2c 30 0d 00 23 06 20  | .. 6,113,0..#. |
00000080  db 0d 00 28 14 20 48 49  25 3d 31 30 30 30 3a 4c  |...(. HI%=1000:L|
00000090  42 47 25 3d 30 0d 00 2d  49 20 ff 28 22 43 48 41  |BG%=0..-I .("CHA|
000000a0  4e 4e 45 4c 56 4f 49 43  45 20 31 20 31 30 22 29  |NNELVOICE 1 10")|
000000b0  3a ff 28 22 43 48 41 4e  4e 45 4c 56 4f 49 43 45  |:.("CHANNELVOICE|
000000c0  20 32 20 31 31 22 29 3a  ff 28 22 43 48 41 4e 4e  | 2 11"):.("CHANN|
000000d0  45 4c 56 4f 49 43 45 20  33 20 31 32 22 29 0d 00  |ELVOICE 3 12")..|
000000e0  2e 09 20 c8 a0 20 33 0d  00 32 0f 20 ee 20 85 20  |.. .. 3..2. . . |
000000f0  e5 20 8d 54 4f 67 0d 00  3c 23 20 de 20 59 25 28  |. .TOg..<# . Y%(|
00000100  31 30 29 2c 58 25 28 31  30 29 2c 44 25 28 31 30  |10),X%(10),D%(10|
00000110  29 2c 59 31 25 28 31 30  29 0d 00 46 24 20 de 20  |),Y1%(10)..F$ . |
00000120  49 58 25 28 32 29 2c 49  59 25 28 32 29 2c 49 25  |IX%(2),IY%(2),I%|
00000130  28 32 29 2c 41 25 20 34  33 30 30 30 30 0d 00 50  |(2),A% 430000..P|
00000140  5a 20 c8 99 20 22 4f 53  5f 53 70 72 69 74 65 4f  |Z .. "OS_SpriteO|
00000150  70 22 2c 32 36 36 2c 41  25 2c 22 3c 4f 62 65 79  |p",266,A%,"<Obey|
00000160  24 44 69 72 3e 2e 4c 4f  47 4f 22 3a c8 99 20 22  |$Dir>.LOGO":.. "|
00000170  4f 53 5f 53 70 72 69 74  65 4f 70 22 2c 33 34 2b  |OS_SpriteOp",34+|
00000180  32 35 36 2c 41 25 2c 22  73 63 72 65 65 6e 22 2c  |256,A%,"screen",|
00000190  32 35 30 2c 31 30 30 0d  00 5a 22 20 2a 4b 45 59  |250,100..Z" *KEY|
000001a0  20 31 20 53 59 53 20 22  4f 53 5f 53 70 72 69 74  | 1 SYS "OS_Sprit|
000001b0  65 4f 70 22 2c 33 34 2c  2c 0d 00 5f 2d 20 c8 99  |eOp",34,,.._- ..|
000001c0  20 22 4f 53 5f 53 70 72  69 74 65 4f 70 22 2c 32  | "OS_SpriteOp",2|
000001d0  36 36 2c 41 25 2c 22 3c  4f 62 65 79 24 44 69 72  |66,A%,"<Obey$Dir|
000001e0  3e 2e 53 50 52 22 0d 00  60 25 20 e3 20 4c 3d 30  |>.SPR"..`% . L=0|
000001f0  20 b8 20 35 30 30 30 30  3a e7 20 a6 28 30 29 3e  | . 50000:. .(0)>|
00000200  30 20 8c 20 4c 3d 35 30  30 30 30 0d 00 61 08 20  |0 . L=50000..a. |
00000210  ed 20 4c 0d 00 62 06 20  db 0d 00 64 18 20 f4 20  |. L..b. ...d. . |
00000220  4e 45 57 20 47 41 4d 45  20 56 41 52 49 42 4c 45  |NEW GAME VARIBLE|
00000230  53 0d 00 6e 0a 20 41 4e  25 3d 31 0d 00 78 11 20  |S..n. AN%=1..x. |
00000240  53 52 4e 25 3d 30 3a 42  47 25 3d 31 0d 00 82 11  |SRN%=0:BG%=1....|
00000250  20 44 31 25 3d 34 3a 4d  44 25 3d 35 30 0d 00 8c  | D1%=4:MD%=50...|
00000260  10 20 57 43 25 3d 30 3a  57 46 25 3d 30 0d 00 96  |. WC%=0:WF%=0...|
00000270  18 20 44 52 25 3d 30 3a  44 52 31 25 3d 30 3a 44  |. DR%=0:DR1%=0:D|
00000280  52 32 25 3d 30 0d 00 a0  16 20 58 25 3d 36 34 3a  |R2%=0.... X%=64:|
00000290  58 58 25 3d 30 3a 4c 58  25 3d 31 0d 00 aa 28 20  |XX%=0:LX%=1...( |
000002a0  42 4f 58 25 3d 31 32 37  3a 42 4f 59 25 3d 35 36  |BOX%=127:BOY%=56|
000002b0  30 3a 42 4f 25 3d 31 3a  42 43 25 3d 30 3a 42 46  |0:BO%=1:BC%=0:BF|
000002c0  25 3d 30 0d 00 b4 1a 20  49 41 25 3d 31 3a 54 30  |%=0.... IA%=1:T0|
000002d0  25 3d 31 3a 42 24 3d 22  42 4f 4e 31 22 0d 00 be  |%=1:B$="BON1"...|
000002e0  24 20 4c 45 56 25 3d 31  3a 53 43 25 3d 30 3a 53  |$ LEV%=1:SC%=0:S|
000002f0  31 24 3d 22 30 30 30 30  30 22 3a 53 24 3d 53 31  |1$="00000":S$=S1|
00000300  24 0d 00 c8 1c 20 f4 20  2a 2a 2a 2a 2a 20 4e 45  |$.... . ***** NE|
00000310  57 20 4c 45 56 45 4c 20  2a 2a 2a 2a 2a 0d 00 d2  |W LEVEL *****...|
00000320  25 20 50 4c 31 25 3d 34  3a 50 4c 30 25 3d 31 36  |% PL1%=4:PL0%=16|
00000330  30 2d 28 4c 45 56 25 2a  34 29 3a 50 4c 32 25 3d  |0-(LEV%*4):PL2%=|
00000340  35 30 0d 00 e6 1d 20 e3  20 4c 3d 31 20 b8 20 44  |50.... . L=1 . D|
00000350  31 25 3a 59 25 28 4c 29  3d 2d 31 3a ed 20 4c 0d  |1%:Y%(L)=-1:. L.|
00000360  00 f0 0c 20 44 4c 25 3d  4d 44 25 0d 00 fa 10 20  |... DL%=MD%.... |
00000370  42 41 25 3d 30 3a 45 4c  25 3d 30 0d 01 04 14 20  |BA%=0:EL%=0.... |
00000380  49 25 28 31 29 3d 30 3a  49 25 28 32 29 3d 30 0d  |I%(1)=0:I%(2)=0.|
00000390  01 0e 0a 20 42 46 25 3d  30 0d 01 2c 20 20 f4 20  |... BF%=0..,  . |
000003a0  2a 2a 2a 2a 20 44 52 41  57 20 42 41 43 4b 47 52  |**** DRAW BACKGR|
000003b0  4f 55 4e 44 20 2a 2a 2a  2a 0d 01 e0 2c 20 c8 99  |OUND ****..., ..|
000003c0  20 22 4f 53 5f 53 70 72  69 74 65 4f 70 22 2c 33  | "OS_SpriteOp",3|
000003d0  34 2b 32 35 36 2c 41 25  2c 22 62 61 63 6b 22 2c  |4+256,A%,"back",|
000003e0  30 2c 32 35 32 0d 01 e5  37 20 c8 99 20 22 4f 53  |0,252...7 .. "OS|
000003f0  5f 53 70 72 69 74 65 4f  70 22 2c 33 34 2b 32 35  |_SpriteOp",34+25|
00000400  36 2c 41 25 2c 22 57 41  54 45 52 22 2b c3 28 57  |6,A%,"WATER"+.(W|
00000410  43 25 29 2c 31 30 32 38  2c 37 36 30 0d 01 ea 0b  |C%),1028,760....|
00000420  20 e4 20 8d 44 78 45 0d  01 f4 31 20 c8 99 20 22  | . .DxE...1 .. "|
00000430  4f 53 5f 53 70 72 69 74  65 4f 70 22 2c 33 34 2b  |OS_SpriteOp",34+|
00000440  32 35 36 2c 41 25 2c 22  52 45 41 44 59 22 2c 34  |256,A%,"READY",4|
00000450  38 30 2c 36 35 30 2c 38  0d 01 fe 1a 20 f2 6e 6f  |80,650,8.... .no|
00000460  28 53 24 2c 33 32 2c 39  32 30 29 3a e4 20 8d 64  |(S$,32,920):. .d|
00000470  54 48 0d 02 08 35 20 c8  99 20 22 4f 53 5f 53 70  |TH...5 .. "OS_Sp|
00000480  72 69 74 65 4f 70 22 2c  31 36 2b 32 35 36 2c 41  |riteOp",16+256,A|
00000490  25 2c 22 53 43 22 2c 30  2c 33 32 2c 39 32 30 2c  |%,"SC",0,32,920,|
000004a0  37 30 34 2c 39 37 36 0d  02 4e 16 20 e3 20 49 3d  |704,976..N. . I=|
000004b0  31 20 b8 20 31 32 30 30  30 3a ed 20 49 0d 03 7a  |1 . 12000:. I..z|
000004c0  27 20 f4 20 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |' . ************|
000004d0  2a 2a 2a 2a 2a 2a 2a 2a  2a 2a 2a 2a 2a 2a 2a 2a  |****************|
000004e0  2a 2a 2a 2a 0d 03 84 0b  20 e4 20 8d 44 6c 47 0d  |****.... . .DlG.|
000004f0  03 89 0b 20 e4 20 8d 74  78 4b 0d 03 8e 0b 20 e4  |... . .txK.... .|
00000500  20 8d 64 68 43 0d 03 98  0b 20 e4 20 8d 44 4c 44  | .dhC.... . .DLD|
00000510  0d 03 ac 12 20 e4 20 8d  54 54 45 3a e4 20 8d 74  |.... . .TTE:. .t|
00000520  40 4c 0d 03 b6 16 20 e7  20 4c 45 56 25 3e 31 20  |@L.... . LEV%>1 |
00000530  8c 20 e4 20 8d 64 7c 48  0d 03 c0 12 20 e4 20 8d  |. . .d|H.... . .|
00000540  44 78 45 3a e4 20 8d 64  50 47 0d 03 ca 16 20 e7  |DxE:. .dPG.... .|
00000550  20 44 4c 25 3c 2d 4d 44  25 20 8c 20 8d 54 48 47  | DL%<-MD% . .THG|
00000560  0d 03 d4 14 20 e7 20 50  4c 31 25 3d 38 20 8c 20  |.... . PL1%=8 . |
00000570  8d 74 64 46 0d 03 d9 16  20 e7 20 a6 28 2d 39 32  |.tdF.... . .(-92|
00000580  29 20 8c 20 e4 20 8d 44  40 5f 0d 03 de 0b 20 e5  |) . . .D@_.... .|
00000590  20 8d 74 44 43 0d 03 e8  11 20 f4 20 44 52 41 57  | .tDC.... . DRAW|
000005a0  20 44 52 4f 50 53 0d 03  f2 10 20 e3 20 4c 3d 31  | DROPS.... . L=1|
000005b0  20 b8 20 44 31 25 0d 03  fc 11 20 e7 20 59 25 28  | . D1%.... . Y%(|
000005c0  4c 29 3d 2d 31 20 8c 0d  04 06 10 20 e7 20 b3 28  |L)=-1 ..... . .(|
000005d0  31 29 3e 2e 38 20 8c 0d  04 08 21 20 44 4c 25 2d  |1)>.8 ....! DL%-|
000005e0  3d 31 3a 44 25 28 4c 29  3d 32 2a 28 a8 28 b3 28  |=1:D%(L)=2*(.(.(|
000005f0  31 29 2a 35 29 2b 34 29  0d 04 0a 23 20 59 25 28  |1)*5)+4)...# Y%(|
00000600  4c 29 3d 38 30 30 3a 58  25 28 4c 29 3d a8 28 b3  |L)=800:X%(L)=.(.|
00000610  28 31 29 2a 31 32 30 30  29 2b 33 0d 04 0c 17 20  |(1)*1200)+3.... |
00000620  e7 20 44 4c 25 3c 30 20  8c 20 59 25 28 4c 29 3d  |. DL%<0 . Y%(L)=|
00000630  2d 31 0d 04 0e 05 cd 0d  04 0f 15 e7 20 59 25 28  |-1.......... Y%(|
00000640  4c 29 3d 2d 31 20 8c 20  8d 44 42 44 0d 04 10 06  |L)=-1 . .DBD....|
00000650  20 cd 0d 04 15 1f 20 e7  20 59 25 28 4c 29 3c 2d  | ..... . Y%(L)<-|
00000660  31 20 8c 20 e4 20 8d 74  70 44 3a e5 20 8d 44 42  |1 . . .tpD:. .DB|
00000670  44 0d 04 1a 34 20 c8 99  20 22 4f 53 5f 53 70 72  |D...4 .. "OS_Spr|
00000680  69 74 65 4f 70 22 2c 33  34 2b 32 35 36 2c 41 25  |iteOp",34+256,A%|
00000690  2c 22 64 72 6f 70 22 2c  58 25 28 4c 29 2c 59 25  |,"drop",X%(L),Y%|
000006a0  28 4c 29 2c 38 0d 04 24  11 20 59 25 28 4c 29 2d  |(L),8..$. Y%(L)-|
000006b0  3d 44 25 28 4c 29 0d 04  2e 28 20 e7 20 59 25 28  |=D%(L)...( . Y%(|
000006c0  4c 29 3c 32 37 32 20 8c  20 59 31 25 28 4c 29 3d  |L)<272 . Y1%(L)=|
000006d0  59 25 28 4c 29 3a 59 25  28 4c 29 3d 2d 32 0d 04  |Y%(L):Y%(L)=-2..|
000006e0  38 2b 20 e7 20 58 25 28  4c 29 3e 58 25 20 80 20  |8+ . X%(L)>X% . |
000006f0  58 25 28 4c 29 3c 58 25  2b 35 36 20 80 20 59 25  |X%(L)<X%+56 . Y%|
00000700  28 4c 29 3c 34 38 30 20  8c 0d 04 3a 21 20 59 31  |(L)<480 ...:! Y1|
00000710  25 28 4c 29 3d 59 25 28  4c 29 3a 59 25 28 4c 29  |%(L)=Y%(L):Y%(L)|
00000720  3d 2d 32 3a 57 43 25 2b  3d 31 0d 04 3c 0c 20 53  |=-2:WC%+=1..<. S|
00000730  43 25 2b 3d 31 30 0d 04  3d 0b 20 e4 20 8d 74 58  |C%+=10..=. . .tX|
00000740  48 0d 04 3e 14 20 e7 20  57 43 25 3e 34 20 8c 20  |H..>. . WC%>4 . |
00000750  57 43 25 3d 34 0d 04 40  06 20 cd 0d 04 42 08 20  |WC%=4..@. ...B. |
00000760  ed 20 4c 0d 04 47 06 20  f8 0d 04 4c 19 20 f4 20  |. L..G. ...L. . |
00000770  2a 2a 2a 2a 20 4d 4f 56  45 20 4d 41 4e 20 2a 2a  |**** MOVE MAN **|
00000780  2a 2a 0d 04 56 0a 20 58  58 25 3d 30 0d 04 60 1e  |**..V. XX%=0..`.|
00000790  20 58 58 25 3d 58 58 25  2b 28 a6 28 2d 31 37 29  | XX%=XX%+(.(-17)|
000007a0  29 2d 28 a6 28 2d 33 34  29 29 0d 04 6f 29 20 e7  |)-(.(-34))..o) .|
000007b0  20 58 58 25 3c 3e 30 20  80 20 58 25 2b 58 58 25  | XX%<>0 . X%+XX%|
000007c0  3e 31 35 20 80 20 58 25  2b 58 58 25 3c 31 31 35  |>15 . X%+XX%<115|
000007d0  32 20 8c 0d 04 74 11 20  58 25 2b 3d 28 58 58 25  |2 ...t. X%+=(XX%|
000007e0  2a 31 36 29 0d 04 88 12  20 4c 58 25 3d 28 58 58  |*16).... LX%=(XX|
000007f0  25 2a 41 4e 25 29 0d 04  8d 1c 20 41 4e 25 2b 3d  |%*AN%).... AN%+=|
00000800  31 3a e7 20 41 4e 25 3d  31 35 20 8c 20 41 4e 25  |1:. AN%=15 . AN%|
00000810  3d 31 0d 04 8f 37 20 e7  20 41 4e 25 3d 32 20 84  |=1...7 . AN%=2 .|
00000820  20 41 4e 25 3d 31 30 20  8c 20 c8 a2 20 32 2c a8  | AN%=10 . .. 2,.|
00000830  28 58 25 2f 35 29 2d 31  32 37 3a d4 20 32 2c 2d  |(X%/5)-127:. 2,-|
00000840  31 30 2c 39 30 30 30 2c  31 0d 04 90 06 20 cd 0d  |10,9000,1.... ..|
00000850  04 92 39 20 e7 20 42 4f  25 3e 30 20 80 20 58 25  |..9 . BO%>0 . X%|
00000860  3e 42 4f 58 25 2d 38 20  80 20 58 25 3c 42 4f 58  |>BOX%-8 . X%<BOX|
00000870  25 2b 33 32 20 80 20 42  4f 59 25 3c 34 33 30 20  |%+32 . BOY%<430 |
00000880  8c 20 e4 20 8d 74 60 4f  0d 04 a6 2f 20 c8 99 20  |. . .t`O.../ .. |
00000890  22 4f 53 5f 53 70 72 69  74 65 4f 70 22 2c 33 34  |"OS_SpriteOp",34|
000008a0  2b 32 35 36 2c 41 25 2c  c3 28 4c 58 25 29 2c 58  |+256,A%,.(LX%),X|
000008b0  25 2c 32 37 30 2c 38 0d  04 ab 06 20 f8 0d 04 b0  |%,270,8.... ....|
000008c0  12 20 f4 20 44 52 4f 50  20 4f 52 20 4e 4f 54 0d  |. . DROP OR NOT.|
000008d0  04 ba 33 20 e7 20 59 25  28 4c 29 3d 2d 32 20 8c  |..3 . Y%(L)=-2 .|
000008e0  20 c8 a2 20 33 2c 28 58  25 28 4c 29 2f 35 29 2d  | .. 3,(X%(L)/5)-|
000008f0  31 32 37 3a d4 20 33 2c  2d 31 32 2c 39 30 30 30  |127:. 3,-12,9000|
00000900  2c 31 0d 04 c4 42 20 c8  99 20 22 4f 53 5f 53 70  |,1...B .. "OS_Sp|
00000910  72 69 74 65 4f 70 22 2c  33 34 2b 32 35 36 2c 41  |riteOp",34+256,A|
00000920  25 2c 22 73 70 6c 22 2b  c3 28 94 28 59 25 28 4c  |%,"spl"+.(.(Y%(L|
00000930  29 2b 31 29 29 2c 58 25  28 4c 29 2c 59 31 25 28  |)+1)),X%(L),Y1%(|
00000940  4c 29 2c 38 0d 04 ce 23  20 59 25 28 4c 29 2d 3d  |L),8...# Y%(L)-=|
00000950  31 3a e7 20 59 25 28 4c  29 3c 2d 36 20 8c 20 59  |1:. Y%(L)<-6 . Y|
00000960  25 28 4c 29 3d 2d 31 0d  05 0a 06 20 f8 0d 05 14  |%(L)=-1.... ....|
00000970  14 20 f4 20 46 45 45 44  20 54 48 45 20 54 52 45  |. . FEED THE TRE|
00000980  45 0d 05 1e 18 20 e7 20  58 25 3e 35 34 34 20 80  |E.... . X%>544 .|
00000990  20 58 25 3c 36 33 30 20  8c 0d 05 28 10 20 57 46  | X%<630 ...(. WF|
000009a0  25 3d 57 46 25 2b 57 43  25 0d 05 2d 19 20 53 43  |%=WF%+WC%..-. SC|
000009b0  25 2b 3d 28 32 35 2a 57  43 25 29 3a e4 20 8d 74  |%+=(25*WC%):. .t|
000009c0  58 48 0d 05 32 0a 20 57  43 25 3d 30 0d 05 3c 2e  |XH..2. WC%=0..<.|
000009d0  20 e7 20 57 46 25 3e 3d  34 20 8c 20 57 46 25 2d  | . WF%>=4 . WF%-|
000009e0  3d 34 3a 50 4c 31 25 2b  3d 31 3a 50 4c 32 25 3d  |=4:PL1%+=1:PL2%=|
000009f0  32 30 30 3a e5 20 8d 54  7c 45 0d 05 46 06 20 cd  |200:. .T|E..F. .|
00000a00  0d 05 6e 06 20 f8 0d 05  78 13 20 f4 20 44 49 53  |..n. ...x. . DIS|
00000a10  50 4c 41 59 20 54 52 45  45 0d 05 82 39 20 c8 99  |PLAY TREE...9 ..|
00000a20  20 22 4f 53 5f 53 70 72  69 74 65 4f 70 22 2c 33  | "OS_SpriteOp",3|
00000a30  34 2b 32 35 36 2c 41 25  2c 22 70 6c 61 6e 74 22  |4+256,A%,"plant"|
00000a40  2b c3 28 50 4c 31 25 29  2c 35 36 30 2c 32 36 38  |+.(PL1%),560,268|
00000a50  2c 38 0d 05 8c 0c 20 50  4c 32 25 2d 3d 31 0d 05  |,8.... PL2%-=1..|
00000a60  96 22 20 e7 20 50 4c 32  25 3c 3d 30 20 8c 20 50  |." . PL2%<=0 . P|
00000a70  4c 31 25 2d 3d 31 3a 50  4c 32 25 3d 50 4c 30 25  |L1%-=1:PL2%=PL0%|
00000a80  0d 05 a0 14 20 e7 20 50  4c 31 25 3d 30 20 8c 20  |.... . PL1%=0 . |
00000a90  8d 44 40 46 0d 05 d2 06  20 f8 0d 05 dc 0b 20 e4  |.D@F.... ..... .|
00000aa0  20 8d 64 50 47 0d 06 22  16 20 e7 20 44 4c 25 3c  | .dPG..". . DL%<|
00000ab0  2d 4d 44 25 20 8c 20 8d  54 48 47 0d 06 2c 14 20  |-MD% . .THG..,. |
00000ac0  e7 20 50 4c 31 25 3d 38  20 8c 20 8d 74 64 46 0d  |. PL1%=8 . .tdF.|
00000ad0  06 36 0b 20 e5 20 8d 74  44 43 0d 06 40 1c 20 f4  |.6. . .tDC..@. .|
00000ae0  20 2a 2a 2a 2a 2a 47 41  4d 45 20 4f 56 45 52 20  | *****GAME OVER |
00000af0  2a 2a 2a 2a 2a 2a 0d 06  42 24 20 42 41 25 3d 31  |******..B$ BA%=1|
00000b00  3a 42 58 25 3d 30 3a 42  59 25 3d a8 28 b3 28 31  |:BX%=0:BY%=.(.(1|
00000b10  29 2a 32 35 36 29 2b 33  31 32 0d 06 43 1b 20 c8  |)*256)+312..C. .|
00000b20  99 20 36 2c 31 35 2c 31  3a 44 4c 25 3d 30 3a 6e  |. 6,15,1:DL%=0:n|
00000b30  6f 69 25 3d 31 0d 06 45  0b 20 e4 20 8d 44 6c 47  |oi%=1..E. . .DlG|
00000b40  0d 06 4a 2f 20 c8 99 20  22 4f 53 5f 53 70 72 69  |..J/ .. "OS_Spri|
00000b50  74 65 4f 70 22 2c 33 34  2b 32 35 36 2c 41 25 2c  |teOp",34+256,A%,|
00000b60  22 45 4e 44 22 2c 35 31  32 2c 36 35 30 2c 38 0d  |"END",512,650,8.|
00000b70  06 4c 0b 20 e4 20 8d 64  68 43 0d 06 4f 0b 20 e4  |.L. . .dhC..O. .|
00000b80  20 8d 74 78 4b 0d 06 54  0b 20 e4 20 8d 64 50 47  | .txK..T. . .dPG|
00000b90  0d 06 59 39 20 e7 20 6e  6f 69 25 3c 32 36 20 8c  |..Y9 . noi%<26 .|
00000ba0  20 d4 20 31 2c 2d 31 35  2c 38 30 30 30 2d 28 6e  | . 1,-15,8000-(n|
00000bb0  6f 69 25 2a 31 35 30 29  2c 31 3a 6e 6f 69 25 2b  |oi%*150),1:noi%+|
00000bc0  3d 31 3a e5 20 8d 44 45  46 0d 06 5e 0b 20 41 3d  |=1:. .DEF..^. A=|
00000bd0  a6 28 30 29 0d 06 72 13  20 e7 20 42 41 25 3d 30  |.(0)..r. . BA%=0|
00000be0  20 8c 20 8d 64 44 49 0d  06 90 1a 20 e7 20 41 3d  | . .dDI.... . A=|
00000bf0  2d 31 20 80 20 42 41 25  3d 31 20 8c 20 8d 44 45  |-1 . BA%=1 . .DE|
00000c00  46 0d 06 9a 0b 20 e5 20  8d 44 64 40 0d 06 a4 1f  |F.... . .Dd@....|
00000c10  20 f4 20 2a 2a 2a 2a 2a  45 4e 44 20 4f 46 20 4c  | . *****END OF L|
00000c20  45 56 45 4c 20 2a 2a 2a  2a 2a 2a 0d 06 ae 0c 20  |EVEL ******.... |
00000c30  4c 45 56 25 2b 3d 31 0d  06 b8 10 20 44 4c 25 3d  |LEV%+=1.... DL%=|
00000c40  30 3a 45 4c 25 3d 31 0d  06 c2 12 20 e4 20 8d 44  |0:EL%=1.... . .D|
00000c50  6c 47 3a e4 20 8d 64 68  43 0d 06 c7 16 20 e7 20  |lG:. .dhC.... . |
00000c60  4c 45 56 25 3e 31 20 8c  20 e4 20 8d 64 7c 48 0d  |LEV%>1 . . .d|H.|
00000c70  06 cc 0b 20 e4 20 8d 44  78 45 0d 06 d6 2b 20 f2  |... . .DxE...+ .|
00000c80  77 69 6e 64 28 22 57 45  4c 4c 20 44 4f 4e 45 21  |wind("WELL DONE!|
00000c90  20 4f 4e 20 54 4f 20 44  41 59 20 22 2b c3 28 4c  | ON TO DAY "+.(L|
00000ca0  45 56 25 29 29 0d 06 e0  0b 20 e4 20 8d 64 50 47  |EV%)).... . .dPG|
00000cb0  0d 06 ea 16 20 e7 20 44  4c 25 3e 2d 4d 44 25 20  |.... . DL%>-MD% |
00000cc0  8c 20 8d 64 42 46 0d 06  f4 0b 20 4d 44 25 2d 3d  |. .dBF.... MD%-=|
00000cd0  31 0d 06 fe 0b 20 e5 20  8d 64 48 40 0d 07 08 14  |1.... . .dH@....|
00000ce0  20 f4 20 4e 4f 20 4d 4f  52 45 20 44 52 4f 50 53  | . NO MORE DROPS|
00000cf0  0d 07 12 16 20 e3 20 4c  3d 50 4c 31 25 20 b8 20  |.... . L=PL1% . |
00000d00  31 20 88 20 2d 31 0d 07  17 0b 20 e4 20 8d 44 6c  |1 . -1.... . .Dl|
00000d10  47 0d 07 19 0b 20 e4 20  8d 44 4c 44 0d 07 1c 36  |G.... . .DLD...6|
00000d20  20 c8 99 20 22 4f 53 5f  53 70 72 69 74 65 4f 70  | .. "OS_SpriteOp|
00000d30  22 2c 33 34 2b 32 35 36  2c 41 25 2c 22 70 6c 61  |",34+256,A%,"pla|
00000d40  6e 74 22 2b c3 28 4c 29  2c 35 36 30 2c 32 36 38  |nt"+.(L),560,268|
00000d50  2c 38 0d 07 21 0b 20 e4  20 8d 64 50 47 0d 07 26  |,8..!. . .dPG..&|
00000d60  15 20 e3 20 49 3d 31 20  b8 20 32 30 30 30 3a ed  |. . I=1 . 2000:.|
00000d70  20 49 0d 07 30 08 20 ed  20 4c 0d 07 3a 1e 20 53  | I..0. . L..:. S|
00000d80  52 4e 25 2b 3d 31 3a e7  20 53 52 4e 25 3d 32 20  |RN%+=1:. SRN%=2 |
00000d90  8c 20 53 52 4e 25 3d 30  0d 07 62 0b 20 e5 20 8d  |. SRN%=0..b. . .|
00000da0  44 40 46 0d 07 6c 1c 20  f4 20 55 50 44 41 54 45  |D@F..l. . UPDATE|
00000db0  20 53 43 52 45 45 4e 20  52 4f 55 54 49 4e 45 0d  | SCREEN ROUTINE.|
00000dc0  07 76 12 20 c8 99 20 36  2c 31 31 32 2c 53 52 4e  |.v. .. 6,112,SRN|
00000dd0  25 0d 07 80 06 20 db 0d  07 8a 2c 20 c8 99 20 22  |%.... ...., .. "|
00000de0  4f 53 5f 53 70 72 69 74  65 4f 70 22 2c 33 34 2b  |OS_SpriteOp",34+|
00000df0  32 35 36 2c 41 25 2c 22  62 61 63 6b 22 2c 30 2c  |256,A%,"back",0,|
00000e00  32 35 32 0d 07 94 37 20  c8 99 20 22 4f 53 5f 53  |252...7 .. "OS_S|
00000e10  70 72 69 74 65 4f 70 22  2c 33 34 2b 32 35 36 2c  |priteOp",34+256,|
00000e20  41 25 2c 22 57 41 54 45  52 22 2b c3 28 57 43 25  |A%,"WATER"+.(WC%|
00000e30  29 2c 31 30 32 38 2c 37  36 30 0d 07 9e 2b 20 c8  |),1028,760...+ .|
00000e40  99 20 22 4f 53 5f 53 70  72 69 74 65 4f 70 22 2c  |. "OS_SpriteOp",|
00000e50  33 34 2b 32 35 36 2c 41  25 2c 22 53 43 22 2c 33  |34+256,A%,"SC",3|
00000e60  32 2c 39 32 30 0d 07 c6  06 20 f8 0d 07 d0 1e 20  |2,920.... ..... |
00000e70  f4 20 44 49 53 50 4c 41  59 20 4e 45 57 20 53 43  |. DISPLAY NEW SC|
00000e80  52 45 45 4e 20 42 41 4e  4b 0d 07 da 1a 20 c8 99  |REEN BANK.... ..|
00000e90  20 36 2c 31 39 3a c8 99  20 36 2c 31 31 33 2c 53  | 6,19:.. 6,113,S|
00000ea0  52 4e 25 0d 07 e4 0c 20  53 52 4e 25 2b 3d 31 0d  |RN%.... SRN%+=1.|
00000eb0  07 ee 16 20 e7 20 53 52  4e 25 3d 32 20 8c 20 53  |... . SRN%=2 . S|
00000ec0  52 4e 25 3d 30 0d 07 f8  06 20 f8 0d 08 34 12 20  |RN%=0.... ...4. |
00000ed0  dd 20 f2 6e 6f 28 41 24  2c 58 2c 59 29 0d 08 3e  |. .no(A$,X,Y)..>|
00000ee0  12 20 e3 20 4c 3d 31 20  b8 20 a9 28 41 24 29 0d  |. . L=1 . .(A$).|
00000ef0  08 48 3c 20 c8 99 20 22  4f 53 5f 53 70 72 69 74  |.H< .. "OS_Sprit|
00000f00  65 4f 70 22 2c 33 34 2b  32 35 36 2c 41 25 2c c3  |eOp",34+256,A%,.|
00000f10  28 97 28 c1 41 24 2c 4c  2c 31 29 29 29 2c 58 2d  |(.(.A$,L,1))),X-|
00000f20  33 32 2b 28 4c 2a 33 32  29 2c 59 0d 08 52 08 20  |32+(L*32),Y..R. |
00000f30  ed 20 4c 0d 08 5c 06 20  e1 0d 08 98 13 20 f4 20  |. L..\. ..... . |
00000f40  55 50 44 41 54 45 20 53  43 4f 52 45 0d 08 a2 0e  |UPDATE SCORE....|
00000f50  20 53 24 3d c3 28 53 43  25 29 0d 08 ac 1c 20 53  | S$=.(SC%).... S|
00000f60  24 3d c0 22 30 30 30 30  30 22 2c 35 2d a9 28 53  |$=."00000",5-.(S|
00000f70  24 29 29 2b 53 24 0d 08  b6 13 20 f2 6e 6f 28 53  |$))+S$.... .no(S|
00000f80  24 2c 33 32 2c 39 32 30  29 0d 08 c0 1f 20 e7 20  |$,32,920).... . |
00000f90  53 43 25 3e 48 49 25 20  8c 20 48 49 25 3d 53 43  |SC%>HI% . HI%=SC|
00000fa0  25 3a e4 20 8d 64 54 48  0d 08 ca 37 20 c8 99 20  |%:. .dTH...7 .. |
00000fb0  22 4f 53 5f 53 70 72 69  74 65 4f 70 22 2c 31 36  |"OS_SpriteOp",16|
00000fc0  2b 32 35 36 2c 41 25 2c  22 53 43 22 2c 30 2c 33  |+256,A%,"SC",0,3|
00000fd0  32 2c 39 32 30 2c 37 30  34 2c 39 37 36 3a f8 0d  |2,920,704,976:..|
00000fe0  08 d4 26 20 53 24 3d c3  28 48 49 25 29 3a 53 24  |..& S$=.(HI%):S$|
00000ff0  3d c0 22 30 30 30 30 30  22 2c 35 2d a9 28 53 24  |=."00000",5-.(S$|
00001000  29 29 2b 53 24 0d 08 de  14 20 f2 6e 6f 28 53 24  |))+S$.... .no(S$|
00001010  2c 33 38 34 2c 39 32 30  29 0d 08 e8 06 20 f8 0d  |,384,920).... ..|
00001020  08 f2 06 20 f8 0d 08 fc  19 20 f4 20 4d 4f 56 45  |... ..... . MOVE|
00001030  20 41 4c 49 45 4e 20 49  4e 53 45 43 54 53 0d 09  | ALIEN INSECTS..|
00001040  06 0e 20 e3 20 49 3d 31  20 b8 20 32 0d 09 0b 13  |.. . I=1 . 2....|
00001050  20 e7 20 45 4c 25 3d 31  20 8c 20 8d 54 78 49 0d  | . EL%=1 . .TxI.|
00001060  09 10 1a 20 e7 20 49 25  28 49 29 3d 30 20 80 20  |... . I%(I)=0 . |
00001070  b3 28 31 29 3e 2e 37 20  8c 0d 09 1a 16 20 49 25  |.(1)>.7 ..... I%|
00001080  28 49 29 3d a8 28 b3 28  31 29 2a 32 29 2b 31 0d  |(I)=.(.(1)*2)+1.|
00001090  09 24 27 20 49 58 25 28  49 29 3d 2d 36 34 3a e7  |.$' IX%(I)=-64:.|
000010a0  20 49 25 28 49 29 3d 32  20 8c 20 49 58 25 28 49  | I%(I)=2 . IX%(I|
000010b0  29 3d 31 32 30 30 0d 09  29 1b 20 49 59 25 28 49  |)=1200..). IY%(I|
000010c0  29 3d a8 28 b3 28 31 29  2a 33 30 30 29 2b 33 30  |)=.(.(1)*300)+30|
000010d0  30 0d 09 2e 06 20 cd 0d  09 38 10 20 e7 20 49 25  |0.... ...8. . I%|
000010e0  28 49 29 3e 30 20 8c 0d  09 42 3e 20 e7 20 b3 28  |(I)>0 ...B> . .(|
000010f0  31 29 3c 2e 38 20 80 20  49 25 28 49 29 3d 31 20  |1)<.8 . I%(I)=1 |
00001100  8c 20 49 58 25 28 49 29  2b 3d 31 32 20 8b 20 e7  |. IX%(I)+=12 . .|
00001110  20 b3 28 31 29 3c 2e 38  20 8c 20 49 58 25 28 49  | .(1)<.8 . IX%(I|
00001120  29 2d 3d 31 32 0d 09 47  3f 20 e7 20 49 25 28 49  |)-=12..G? . I%(I|
00001130  29 3d 32 20 80 20 49 58  25 28 49 29 3e 31 32 30  |)=2 . IX%(I)>120|
00001140  30 20 8c 20 49 25 28 49  29 3d 30 20 8b 20 e7 20  |0 . I%(I)=0 . . |
00001150  49 58 25 28 49 29 3c 2d  36 34 20 8c 20 49 25 28  |IX%(I)<-64 . I%(|
00001160  49 29 3d 30 0d 09 4c 1e  20 49 59 25 28 49 29 3d  |I)=0..L. IY%(I)=|
00001170  49 59 25 28 49 29 2b a8  28 b3 28 31 29 2a 33 29  |IY%(I)+.(.(1)*3)|
00001180  2d 31 0d 09 60 42 20 e7  20 42 46 25 3d 30 20 8c  |-1..`B . BF%=0 .|
00001190  20 49 59 25 28 49 29 3d  49 59 25 28 49 29 2b 28  | IY%(I)=IY%(I)+(|
000011a0  49 59 25 28 49 29 3c 33  30 30 29 2d 28 49 59 25  |IY%(I)<300)-(IY%|
000011b0  28 49 29 3e 37 30 30 29  20 8b 20 49 59 25 28 49  |(I)>700) . IY%(I|
000011c0  29 2b 3d 38 0d 09 6a 42  20 c8 99 20 22 4f 53 5f  |)+=8..jB .. "OS_|
000011d0  53 70 72 69 74 65 4f 70  22 2c 33 34 2b 32 35 36  |SpriteOp",34+256|
000011e0  2c 41 25 2c 22 45 4e 22  2b c3 28 54 30 25 29 2b  |,A%,"EN"+.(T0%)+|
000011f0  c3 28 49 41 25 29 2c 49  58 25 28 49 29 2c 49 59  |.(IA%),IX%(I),IY|
00001200  25 28 49 29 2c 38 0d 09  74 29 20 e7 20 49 58 25  |%(I),8..t) . IX%|
00001210  28 49 29 3e 35 38 30 20  80 20 49 58 25 28 49 29  |(I)>580 . IX%(I)|
00001220  3c 36 31 32 20 8c 20 50  4c 32 25 2d 3d 31 30 0d  |<612 . PL2%-=10.|
00001230  09 9c 06 20 cd 0d 09 a6  08 20 ed 20 49 0d 09 b0  |... ..... . I...|
00001240  1b 20 49 41 25 2b 3d 31  3a e7 20 49 41 25 3e 33  |. IA%+=1:. IA%>3|
00001250  20 8c 20 49 41 25 3d 31  0d 09 ba 06 20 f8 0d 09  | . IA%=1.... ...|
00001260  c4 29 20 f4 20 2a 2a 2a  2a 20 57 41 49 54 20 46  |.) . **** WAIT F|
00001270  4f 52 20 4e 45 57 20 47  41 4d 45 20 53 43 52 45  |OR NEW GAME SCRE|
00001280  45 4e 20 2a 2a 2a 2a 0d  09 c9 16 20 44 4c 25 3d  |EN ****.... DL%=|
00001290  31 30 30 30 3a 58 25 3d  2d 31 30 30 30 0d 09 ce  |1000:X%=-1000...|
000012a0  0b 20 e4 20 8d 44 6c 47  0d 09 d8 30 20 e4 20 8d  |. . .DlG...0 . .|
000012b0  64 68 43 3a e4 20 8d 74  78 4b 3a f2 77 69 6e 64  |dhC:. .txK:.wind|
000012c0  28 22 28 63 29 31 39 39  32 20 4c 75 6e 79 21 22  |("(c)1992 Luny!"|
000012d0  29 3a e4 20 8d 64 50 47  0d 09 e2 15 20 e7 20 a6  |):. .dPG.... . .|
000012e0  28 30 29 3d 2d 31 20 8c  20 8d 64 4e 49 0d 09 ec  |(0)=-1 . .dNI...|
000012f0  0b 20 e5 20 8d 44 64 40  0d 0b b8 1c 20 f4 20 42  |. . .Dd@.... . B|
00001300  41 43 4b 47 52 4f 55 4e  44 20 48 41 50 50 45 4e  |ACKGROUND HAPPEN|
00001310  49 4e 47 53 0d 0b c2 15  20 e7 20 42 41 25 3d 30  |INGS.... . BA%=0|
00001320  20 80 20 b3 3e 2e 37 20  8c 0d 0b cc 15 20 42 41  | . .>.7 ..... BA|
00001330  25 3d a8 28 b3 28 31 29  2a 35 30 29 2b 31 0d 0b  |%=.(.(1)*50)+1..|
00001340  d6 1e 20 42 58 25 3d 30  3a 42 59 25 3d a8 28 b3  |.. BX%=0:BY%=.(.|
00001350  28 31 29 2a 32 35 36 29  2b 33 31 32 0d 0b e0 06  |(1)*256)+312....|
00001360  20 cd 0d 0b ea 0d 20 c8  8e 20 42 41 25 20 ca 0d  | ..... .. BA% ..|
00001370  0b f4 15 20 c9 20 31 3a  f0 20 36 39 2c 42 58 25  |... . 1:. 69,BX%|
00001380  2c 42 59 25 0d 0b fe 35  20 42 58 25 3d 42 58 25  |,BY%...5 BX%=BX%|
00001390  2b 31 32 2a 28 28 b3 28  31 29 3c 2e 32 29 2d 28  |+12*((.(1)<.2)-(|
000013a0  b3 28 31 29 3e 2e 33 29  29 3a e7 20 42 58 25 3c  |.(1)>.3)):. BX%<|
000013b0  30 20 8c 20 42 58 25 3d  30 0d 0c 08 24 20 42 59  |0 . BX%=0...$ BY|
000013c0  25 3d 42 59 25 2b 38 2a  28 28 b3 28 31 29 3c 2e  |%=BY%+8*((.(1)<.|
000013d0  35 29 2d 28 b3 28 31 29  3e 2e 36 29 29 0d 0c 12  |5)-(.(1)>.6))...|
000013e0  20 20 42 59 25 3d 42 59  25 2b 28 42 59 25 3e 33  |  BY%=BY%+(BY%>3|
000013f0  31 30 29 2d 28 42 59 25  3c 33 31 32 29 0d 0c 14  |10)-(BY%<312)...|
00001400  17 20 e7 20 42 58 25 3e  31 32 30 30 20 8c 20 42  |. . BX%>1200 . B|
00001410  41 25 3d 30 0d 0c 17 06  20 f8 0d 0c 1c 1e 20 f4  |A%=0.... ..... .|
00001420  20 4c 4f 41 44 20 49 4e  20 4e 45 58 54 20 42 41  | LOAD IN NEXT BA|
00001430  43 4b 47 52 4f 55 4e 44  0d 0c 26 16 20 e7 20 4c  |CKGROUND..&. . L|
00001440  42 47 25 3d 42 47 25 20  8c 20 8d 44 44 4c 0d 0c  |BG%=BG% . .DDL..|
00001450  30 2b 20 c8 99 20 22 4f  53 5f 53 70 72 69 74 65  |0+ .. "OS_Sprite|
00001460  4f 70 22 2c 31 31 2b 32  35 36 2c 41 25 2c 22 42  |Op",11+256,A%,"B|
00001470  47 22 2b c3 28 42 47 25  29 0d 0c 3a 0d 20 4c 42  |G"+.(BG%)..:. LB|
00001480  47 25 3d 42 47 25 0d 0c  44 06 20 f8 0d 0c 76 08  |G%=BG%..D. ...v.|
00001490  20 cb 3a f8 0d 0c 80 25  20 f4 20 2a 2a 2a 2a 20  | .:....% . **** |
000014a0  46 41 4c 4c 49 4e 47 20  42 4f 4e 55 53 20 53 43  |FALLING BONUS SC|
000014b0  52 45 45 4e 20 2a 2a 2a  2a 0d 0c 8a 2b 20 e7 20  |REEN ****...+ . |
000014c0  42 4f 25 3d 30 20 80 20  b3 28 31 29 3e 2e 38 20  |BO%=0 . .(1)>.8 |
000014d0  80 20 b3 28 31 29 3c 2e  31 20 80 20 4c 45 56 25  |. .(1)<.1 . LEV%|
000014e0  3e 32 20 8c 0d 0c 94 1a  20 42 4f 58 25 3d a8 28  |>2 ..... BOX%=.(|
000014f0  b3 28 31 29 2a 31 30 32  34 29 2b 31 32 38 0d 0c  |.(1)*1024)+128..|
00001500  9e 2d 20 42 4f 25 3d a8  28 b3 28 31 29 2a 28 4c  |.- BO%=.(.(1)*(L|
00001510  45 56 25 2d 32 29 29 2b  32 3a e7 20 42 4f 25 3e  |EV%-2))+2:. BO%>|
00001520  31 30 20 8c 20 42 4f 25  3d 31 30 0d 0c a3 14 20  |10 . BO%=10.... |
00001530  42 24 3d 22 62 6f 6e 22  2b c3 28 42 4f 25 29 0d  |B$="bon"+.(BO%).|
00001540  0c a8 40 20 42 4f 59 25  3d 35 36 30 3a e7 20 42  |..@ BOY%=560:. B|
00001550  4f 25 3d 33 20 84 20 42  4f 25 3d 34 20 84 20 42  |O%=3 . BO%=4 . B|
00001560  4f 25 3d 36 20 84 20 42  4f 25 3d 37 20 84 20 42  |O%=6 . BO%=7 . B|
00001570  4f 25 3d 39 20 8c 20 42  4f 59 25 3d 32 37 30 0d  |O%=9 . BOY%=270.|
00001580  0c b2 0a 20 42 43 25 3d  30 0d 0c bc 25 20 e7 20  |... BC%=0...% . |
00001590  42 4f 25 3d 34 20 84 20  42 4f 25 3d 37 20 84 20  |BO%=4 . BO%=7 . |
000015a0  42 4f 25 3d 36 20 8c 20  42 43 25 3d 34 30 0d 0c  |BO%=6 . BC%=40..|
000015b0  da 06 20 cd 0d 0c e4 0d  20 c8 8e 20 42 4f 25 20  |.. ..... .. BO% |
000015c0  ca 0d 0c ee 32 20 c9 20  31 2c 35 2c 38 3a e7 20  |....2 . 1,5,8:. |
000015d0  42 43 25 3d 30 20 8c 20  42 4f 59 25 2d 3d 36 3a  |BC%=0 . BOY%-=6:|
000015e0  e7 20 42 4f 59 25 3c 32  37 30 20 8c 20 42 43 25  |. BOY%<270 . BC%|
000015f0  3d 36 30 0d 0c f8 33 20  c9 20 32 2c 31 30 3a e7  |=60...3 . 2,10:.|
00001600  20 42 43 25 3d 30 20 8c  20 42 4f 59 25 2d 3d 31  | BC%=0 . BOY%-=1|
00001610  30 3a e7 20 42 4f 59 25  3c 32 37 30 20 8c 20 42  |0:. BOY%<270 . B|
00001620  43 25 3d 31 30 30 0d 0d  02 30 20 c9 20 33 3a e7  |C%=100...0 . 3:.|
00001630  20 42 43 25 3c 31 20 8c  20 42 43 25 2d 3d 31 3a  | BC%<1 . BC%-=1:|
00001640  42 24 3d c0 42 24 2c 34  29 2b bd 28 39 36 2b 94  |B$=.B$,4)+.(96+.|
00001650  28 42 43 25 29 29 0d 0d  0c 17 20 e7 20 42 43 25  |(BC%)).... . BC%|
00001660  3d 2d 34 20 8c 20 42 43  25 3d 31 30 30 0d 0d 16  |=-4 . BC%=100...|
00001670  19 20 e7 20 42 43 25 3e  30 20 8c 20 42 24 3d 22  |. . BC%>0 . B$="|
00001680  62 6f 6e 33 64 22 0d 0d  20 35 20 c9 20 34 2c 31  |bon3d".. 5 . 4,1|
00001690  30 3a e7 20 42 43 25 3d  32 20 8c 20 42 4f 59 25  |0:. BC%=2 . BOY%|
000016a0  2b 3d 36 3a 42 4f 58 25  2b 3d a8 28 b3 28 31 29  |+=6:BOX%+=.(.(1)|
000016b0  2a 33 29 2d 31 3a 42 43  25 3d 33 0d 0d 2a 22 20  |*3)-1:BC%=3..*" |
000016c0  e7 20 42 4f 59 25 3e 36  35 30 20 8c 20 42 24 3d  |. BOY%>650 . B$=|
000016d0  22 42 4c 49 4e 4b 22 3a  42 4f 25 3d 30 0d 0d 34  |"BLINK":BO%=0..4|
000016e0  20 20 c9 20 36 3a 42 24  3d c0 42 24 2c 34 29 2b  |  . 6:B$=.B$,4)+|
000016f0  bd 28 36 35 2b 42 43 25  20 83 20 33 29 0d 0f 28  |.(65+BC% . 3)..(|
00001700  06 20 cb 0d 0f 2d 10 20  e7 20 42 4f 25 3d 30 20  |. ...-. . BO%=0 |
00001710  8c 20 f8 0d 0f 32 2e 20  c8 99 20 22 4f 53 5f 53  |. ...2. .. "OS_S|
00001720  70 72 69 74 65 4f 70 22  2c 33 34 2b 32 35 36 2c  |priteOp",34+256,|
00001730  41 25 2c 42 24 2c 42 4f  58 25 2c 42 4f 59 25 2c  |A%,B$,BOX%,BOY%,|
00001740  38 0d 0f 3c 25 20 e7 20  42 43 25 3e 30 20 8c 20  |8..<% . BC%>0 . |
00001750  42 43 25 2d 3d 31 3a e7  20 42 43 25 3d 31 20 8c  |BC%-=1:. BC%=1 .|
00001760  20 42 4f 25 3d 30 0d 0f  96 06 20 f8 0d 0f a0 16  | BO%=0.... .....|
00001770  20 f4 20 43 4f 4c 4c 45  43 54 45 44 20 42 4f 4e  | . COLLECTED BON|
00001780  55 53 0d 0f a5 0c 20 f1  20 8a 30 2c 39 29 0d 0f  |US.... . .0,9)..|
00001790  aa 17 20 53 43 25 3d 53  43 25 2b 42 43 25 3a e4  |.. SC%=SC%+BC%:.|
000017a0  20 8d 74 58 48 0d 0f b4  15 20 e7 20 42 4f 25 3d  | .tXH.... . BO%=|
000017b0  31 20 8c 20 e4 20 8d 54  44 50 0d 0f be 33 20 c8  |1 . . .TDP...3 .|
000017c0  99 20 22 4f 53 5f 53 70  72 69 74 65 4f 70 22 2c  |. "OS_SpriteOp",|
000017d0  33 34 2b 32 35 36 2c 41  25 2c 22 42 4c 49 4e 4b  |34+256,A%,"BLINK|
000017e0  22 2c 42 4f 58 25 2c 42  4f 59 25 2c 38 0d 0f c8  |",BOX%,BOY%,8...|
000017f0  13 20 d4 20 31 2c 2d 31  35 2c 32 30 30 30 2c 31  |. . 1,-15,2000,1|
00001800  0d 0f d2 3e 20 e7 20 42  4f 25 3d 33 20 8c 20 42  |...> . BO%=3 . B|
00001810  46 25 3d 32 30 30 3a e3  20 4c 25 3d 31 20 b8 20  |F%=200:. L%=1 . |
00001820  33 3a d4 20 31 2c 2d 31  35 2c 35 30 30 30 2c 31  |3:. 1,-15,5000,1|
00001830  3a c8 96 3a c8 96 3a c8  96 3a ed 20 4c 25 0d 0f  |:..:..:..:. L%..|
00001840  fa 0c 20 42 4f 25 3d 30  3a f8 0d 10 04 0b 20 f7  |.. BO%=0:..... .|
00001850  20 8d 44 68 50 0d 10 0e  19 20 f3 20 41 24 3a e7  | .DhP.... . A$:.|
00001860  20 41 24 3d 22 2a 22 20  8c 20 8d 54 6c 50 0d 10  | A$="*" . .TlP..|
00001870  18 0e 20 f1 20 8a 31 31  29 3b 41 24 0d 10 22 0b  |.. . .11);A$..".|
00001880  20 e5 20 8d 54 4e 50 0d  10 2c 0b 20 e4 20 8d 64  | . .TNP..,. . .d|
00001890  50 47 0d 10 36 16 20 e3  20 4c 3d 30 20 b8 20 31  |PG..6. . L=0 . 1|
000018a0  35 30 30 30 3a ed 20 4c  0d 10 40 10 20 c8 99 20  |5000:. L..@. .. |
000018b0  36 2c 31 35 3a 41 3d a5  0d 10 4a 06 20 f8 0d 10  |6,15:A=...J. ...|
000018c0  68 22 20 dc 20 22 55 73  65 20 6b 65 79 73 20 51  |h" . "Use keys Q|
000018d0  2d 6c 65 66 74 20 20 57  2d 72 69 67 68 74 2e 22  |-left  W-right."|
000018e0  0d 10 72 3e 20 dc 20 22  59 6f 75 72 20 61 69 6d  |..r> . "Your aim|
000018f0  20 69 73 20 74 6f 20 6b  65 65 70 20 74 68 65 20  | is to keep the |
00001900  74 72 65 65 20 61 6c 69  76 65 20 61 6e 64 20 6d  |tree alive and m|
00001910  61 6b 65 20 69 74 20 66  6c 6f 77 65 72 22 0d 10  |ake it flower"..|
00001920  7c 40 20 dc 20 22 59 6f  75 20 64 6f 20 74 68 69  ||@ . "You do thi|
00001930  73 20 62 79 20 63 6f 6c  6c 65 63 74 69 6e 67 20  |s by collecting |
00001940  64 72 6f 70 73 20 6f 66  20 77 61 74 65 72 20 61  |drops of water a|
00001950  6e 64 20 66 65 65 64 20  69 74 20 74 6f 22 0d 10  |nd feed it to"..|
00001960  86 3e 20 dc 20 22 74 68  65 20 74 72 65 65 2e 59  |.> . "the tree.Y|
00001970  6f 75 20 63 61 6e 20 6f  6e 6c 79 20 63 61 72 72  |ou can only carr|
00001980  79 20 66 6f 75 72 20 64  72 6f 70 73 20 69 6e 20  |y four drops in |
00001990  79 6f 75 72 20 67 6c 61  73 73 2c 22 0d 10 90 3f  |your glass,"...?|
000019a0  20 dc 20 22 62 75 74 20  79 6f 75 20 63 61 6e 20  | . "but you can |
000019b0  66 65 65 64 20 74 68 65  20 74 72 65 65 20 61 6e  |feed the tree an|
000019c0  79 20 74 69 6d 65 2e 57  61 74 63 68 20 6f 75 74  |y time.Watch out|
000019d0  20 74 68 6f 75 67 68 20  61 73 22 0d 10 9a 3a 20  | though as"...: |
000019e0  dc 20 22 74 68 65 20 64  72 6f 70 73 20 77 69 6c  |. "the drops wil|
000019f0  6c 20 72 75 6e 20 6f 75  74 20 61 6e 64 20 79 6f  |l run out and yo|
00001a00  75 72 20 74 72 65 65 20  77 69 6c 6c 20 64 72 79  |ur tree will dry|
00001a10  20 75 70 2e 22 0d 10 a4  0a 20 dc 20 22 2a 22 0d  | up.".... . "*".|
00001a20  13 88 10 20 dd 20 f2 77  69 6e 64 28 41 24 29 0d  |... . .wind(A$).|
00001a30  13 92 0e 20 41 31 25 3d  a9 28 41 24 29 0d 13 9c  |... A1%=.(A$)...|
00001a40  11 20 41 32 25 3d a8 28  41 31 25 2f 32 29 0d 13  |. A2%=.(A1%/2)..|
00001a50  a6 0f 20 41 33 25 3d 34  30 2d 41 32 25 0d 13 b0  |.. A3%=40-A2%...|
00001a60  09 20 e6 20 33 36 0d 13  ba 15 20 58 25 3d 41 33  |. . 36.... X%=A3|
00001a70  25 2a 31 36 3a 59 25 3d  35 36 30 0d 13 c4 20 20  |%*16:Y%=560...  |
00001a80  c8 93 20 c8 90 20 58 25  2c 59 25 2c 28 41 31 25  |.. .. X%,Y%,(A1%|
00001a90  2a 31 36 29 2b 33 32 2c  31 32 38 0d 13 ce 24 20  |*16)+32,128...$ |
00001aa0  e6 20 36 33 3a fb 20 31  32 38 2b 33 36 20 c8 9c  |. 63:. 128+36 ..|
00001ab0  20 36 34 3a 3a fb 20 36  33 20 c8 9c 20 31 36 0d  | 64::. 63 .. 16.|
00001ac0  13 d8 21 20 c8 93 20 58  25 2b 38 2c 59 25 2b 38  |..! .. X%+8,Y%+8|
00001ad0  2c 28 41 31 25 2a 31 36  29 2b 31 36 2c 31 31 32  |,(A1%*16)+16,112|
00001ae0  0d 13 e2 14 20 f1 20 8a  41 33 25 2b 31 2c 31 32  |.... . .A3%+1,12|
00001af0  29 3b 41 24 0d 13 ec 0f  20 fb 20 31 32 38 3a fb  |);A$.... . 128:.|
00001b00  20 36 33 0d 14 46 06 20  e1 0d 1f 40 0d 20 f4 20  | 63..F. ...@. . |
00001b10  43 48 45 41 54 21 0d 1f  4a 1d 20 f7 20 8d 44 54  |CHEAT!..J. . .DT|
00001b20  5f 3a c8 99 20 22 4f 53  5f 42 79 74 65 22 2c 31  |_:.. "OS_Byte",1|
00001b30  35 2c 31 0d 1f 4f 14 20  e7 20 a6 28 30 29 3e 30  |5,1..O. . .(0)>0|
00001b40  20 8c 20 8d 44 4f 5f 0d  1f 54 2a 20 dc 20 37 34  | . .DO_..T* . 74|
00001b50  2c 36 39 2c 38 34 2c 38  33 2c 36 39 2c 38 34 2c  |,69,84,83,69,84,|
00001b60  38 37 2c 37 33 2c 37 36  2c 37 36 2c 38 39 2c 2d  |87,73,76,76,89,-|
00001b70  31 0d 1f 5e 16 20 f3 20  41 3a e7 20 41 3d 2d 31  |1..^. . A:. A=-1|
00001b80  20 8c 20 8d 74 64 46 0d  1f 68 13 20 42 3d a5 3a  | . .tdF..h. B=.:|
00001b90  e7 20 42 3c 3e 41 20 8c  20 f8 0d 1f 6d 08 20 ef  |. B<>A . ...m. .|
00001ba0  20 37 0d 1f 72 0b 20 e5  20 8d 44 5e 5f 0d 27 0f  | 7..r. . .D^_.'.|
00001bb0  11 20 eb 20 31 35 3a f6  3a f1 20 9e 3a e0 0d ff  |. . 15:.:. .:...|
00001bc0