home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Compute! Gazette 1988 November
/
1988-11.d64
/
quolerus
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-09-20
|
2KB
|
62 lines
10 rem copyright 1988 compute! publications, inc. all rights reserved
20 print"[147][154] copyright 1988":print" compute! publications, inc."
30 print" all rights reserved"
50 ifl=0thenl=1:load"quolerus.spr",8,1
60 ifl=1thenl=2:load"quolerus.ml",8,1
70 poke52,32:poke56,32:clr:goto460
80 sh=3:en=0:wa=2:le=0:ns=1:sc=0:sl=1
90 fori=53047to53052:pokei,48:next
100 poke53280,0:poke53281,0:goto250
110 v=53248
120 pokev,250:pokev+1,200:pokev+39,1:poke2040,199
130 pokev+4,65:pokev+5,150:pokev+41,5:pokev+23,4:pokev+29,4
140 print"";sh
150 sys 49152
160 z=peek(53278):z=peek(53279)
170 sc$=""
180 fori=53047to53052:rem cf37-cf3c
190 sc$=sc$+chr$(peek(i))
200 next
210 sc=val(sc$):ifsc>=10000*nsthensh=sh+1:ns=ns+1
220 ifpeek(53007)=16thengoto250
230 sh=sh-1:ifsh=0then460
240 goto110
250 le=le+1:poke53031,0:poke53058,0:rem cf27, cf42
260 ifle>10thensl=sl+1:le=8:goto320
270 ifle>7thensl=3:goto290
280 ifle>4thensl=2
290 onslgoto300,310,320
300 wa=2:en=le+2:goto330
310 wa=4:en=le-1:goto330
320 wa=6:en=le-4
330 fori=ento3step-1
340 poke53031,peek(53031)or2^i:rem cf27
350 next
360 poke53022,wa:ifen>=5thenpoke53058,2^en
370 x=1039:y=55311:c=1:k=0
380 fors=1to25
390 fori=0towa+1
400 pokex+i,224:pokey+i,c
410 next
420 x=x+40:y=y+40
430 k=k+1:ifk>=3thenk=0:c=c+1:ifc>15thenc=1
440 next
450 goto110
460 poke53280,0:poke53281,0:print"[147]";
470 print"[159] [169] [223][146] [146] [146] [169] [223][146] [169][146] [169] [223][146] [223][146] [146] [146] [169] [223][146]"
480 print" [146] [146] [146] [146] [146] [146] [146] [146] [146] [146] [146] [146] [146]"
490 print" [146] [146] [146] [146] [146] [146] [146] [146] [146][169] [146] [146] [223] [223][146]"
500 print" [146][223] [146] [146] [146] [146] [146] [146] [146] [146][223][223][146] [146] [146] [146]"
510 print" [223] [146][223][223][146] [223] [146][169] [223] [146][169] [223] [146][169] [223] [146][169] [146] [223] [223] [146][169] [223] [146][169]"
520 fors=1to2500:next
530 print"quolerus is based on"
540 print"yar's revenge"
550 print"copyright 1981 atari corp."
560 print"with permission from"
570 print"atari corporation."
580 print"score:";sc$
590 print"press trigger to begin"
600 ifpeek(56320)=111thenprint"[147]":run80
610 sys 52016
620 fors=1to50:next:goto600