home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Commodore 64 Scene Diskmags Assortment
/
Querbyte_01_19xx_Civitas.d64
/
penetrate!......
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2023-02-26
|
1KB
|
66 lines
2 poke53272,21:poke657,128:poke53280,4:poke53281,7:print"[147]";
4 print" [176][192][192][192][192][192][192][192][192][192][192][192][192][174] ";
6 print" [221] penetrate! [221] ";
8 print" [173][192][192][192][192][192][192][192][192][192][192][192][192][189] "
10 print""tab(11)"use space bar to
12 [153]""[163]11)"fire cannon thru
14 print""tab(11)"opening in wall
18 [129]d[178]1[164]2500:[130]:[153]" press [space] to continue.on
20 poke198,0:wait198,1
28 poke53280,7:poke53281,7:poke54296,15
30 gosub300
40 pts=100:print"":gosub500
50 sw=0
60 geta$
70 ifa$=" "then120
80 iftime<limthen60
90 ifsw=0then110
100 gosub600:sw=0:goto60
110 gosub700:sw=1:goto60
120 spot=1510:pokespot,81:gosub800
130 fori=1to27
140 pokespot,32:spot=spot+1
150 ifi=5thenpoke54276,128
160 ifpeek(spot)<>32then260
170 pokespot,81:pokespot+54272,0
180 iftime<limthen220
190 ifsw=0then210
200 gosub600:sw=0:goto220
210 gosub700:sw=1:ifi>19then260
220 next
230 pokespot,32
240 pts=pts+10:gosub500
250 goto60
260 pts=pts-10:gosub500
270 ifpts>0then60
280 poke53280,6:poke53281,6:poke54296,0
290 print"[147][154]...game over!":end
300 rem
310 print"[147]"
320 forrow=8to16
330 forcol=26to33
340 spot=1024+row*40+col
350 pokespot,160:pokespot+54272,0
360 next:next
380 fori=55776to55815:pokei,0:next
410 fori=1504to1509:pokei,160:next
440 goto600
450 return
500 rem
510 print"";
520 remifpts<1000thenprint"0";
530 remifpts<100thenprint"0";
540 remifpts<10thenprint"0";
550 print" "mid$(str$(pts),2)" points ":print""tab(24)" penetrate! "
560 return
600 rem open
610 forj=1530to1537:pokej,32:next
640 lim=time+int(rnd(.)*4)*30+30
650 return
700 rem shut
710 forj=1530to1537:pokej,160:next
740 lim=time+int(rnd(.)*4)*60+60
750 return
800 rem noise
802 fort=1to5:poke54296,15:poke54296,0:next:return