home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 125
/
125.d81
/
hallow-c
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
4KB
|
180 lines
10 dv=peek(186):ifdv<8thendv=8
100 rem - hallow-c (3rd section)
200 poke53280,0:poke53281,0:printchr$(142)"[147]"
210 sys51721,1,1:poke55375,0
215 restore:v=53248:gosub2000
220 poke2045,201:rem - moon
230 pokev+44,7:pokev+16,32:pokev+10,30:pokev+11,70:pokev+27,32:pokev+21,32
300 :
305 rem - h. house sequence
310 gosub2100
315 gosub1160:rem - wind
320 gosub1260:rem - ghost descending
325 gosub1160:rem - wind
330 gosub1310:rem - witch fly right
340 gosub1350:rem - bat flying left
350 gosub1160:rem - wind
360 gosub1410:rem - bat flying
370 gosub1210:rem - lightning
375 fort=1to2000:next
380 gosub1160:rem - wind
385 gosub1210:rem - lightning
390 gosub1460:rem - bat flying out
395 gosub1510:rem - witch leaves
400 gosub1550:rem - ghost leaves
410 gosub1210:pokev+21,0:pokev+16,0:pokev+27,0
500 :print"[147]":poke214,20:print"[158]lightning struck the house!
850 [153]"stop"
855 [153]"new"
860 [153]"load"[199](34)"0:hallow-d"[199](34)","dv
865 [153]"run"
870 [153]"":[151]631,13:[151]632,13:[151]633,13:[151]198,3
890 [128]
1100 [143] *** subroutines ***
1105 [143] - screen wiper
1110 c1[178]23:c2[178]19:c3[178]24:c4[178]39:c5[178]59903
1115 [129]j[178]0[164]c1:c2$[178]c2$[170][199](32)[170][199](157)[170][199](17):[130]:c2$[178]c2$[170][199](145)
1120 [129]j[178]0[164]c2:[139]j[178]0[167][151]781,c3:[158]c5
1125 [153]"";[163]j);c2$:[153]""[163]c4[171]j);c2$
1130 [130]:[153]"load";:c2$[178]""
1135 [142]
1150 :
1155 [143] - sound of wind
1160 [129]l[178]54272[164]54296:[151]l,0:[130]
1165 s[178]54272:[151]s[170]24,15
1170 [151]s[170]5,255:[151]s[170]12,255:[151]s[170]19,255
1175 [151]s,255:[151]s[170]1,254:[151]s[170]7,98:[151]s[170]8,5:[151]s[170]14,90:[151]s[170]15,6
1180 [151]s[170]3,6:[151]s[170]2,1:[151]s[170]10,2:[151]s[170]9,12:[151]s[170]17,8:[151]s[170]16,0
1185 [151]s[170]4,129:[151]s[170]11,129:[151]s[170]18,129
1190 [142]
1200 :
1205 [143] - lightning & thunder
1210 [129]l[178]54272[164]54296:[151]l,0:[130]
1215 s[178]54272:[151]s[170]24,15
1220 [129]i[178]1[164]5:[151]53281,1
1225 [129]t[178]1[164]50:[130]
1230 [151]53281,0
1235 [129]t[178]1[164]50:[130]
1240 [151]53281,0:[130]
1245 [151]s[170]5,28:[151]s[170]1,40:[151]s[170]4,128:[151]s[170]4,129
1250 [129]t[178]1[164]2000:[130]:[151]s[170]4,0:[142]
1255 :
1260 [143] *** ghost descending ***
1265 [151]2046,200:[151]v[170]45,1:[151]v[170]12,245:[151]v[170]13,0:[151]v[170]21,96
1270 [129]y[178]0[164]150:[151]v[170]13,y:[129]t[178]1[164]20:[130]:[130]
1275 [129]t[178]1[164]500:[130]:[151]v[170]21,32
1280 [129]t[178]1[164]5000:[130]:[142]
1300 :
1305 [143] *** witch flying right ***
1310 [151]2047,199:[151]v[170]46,1:x[178]0:[151]v[170]14,x:y[178]48:[151]v[170]15,y:[151]v[170]21,160
1320 [129]x[178]0[164]220:[151]v[170]14,x:y[178]y[170].2:[151]v[170]15,y:[130]
1330 [129]t[178]1[164]1000:[130]:[151]v[170]21,32:[129]t[178]1[164]2000:[130]
1335 [142]
1340 :
1345 [143] *** bat flying left ***
1350 [151]2047,198:[151]v[170]46,4
1355 [151]v[170]14,150:y[178]70:[151]v[170]15,y:[151]v[170]21,160
1360 [129]x[178]150[164]0[169][171]1
1365 [151]2047,197:[129]t[178]1[164]50:[130]
1370 [151]2047,198:[129]t[178]1[164]50:[130]
1375 y[178]y[170].5:[151]v[170]15,y:[151]v[170]14,x
1380 [143]:fort=1to20:next
1385 [130]x:[129]t[178]1[164]5000:[130]
1390 [151]v[170]21,32:[142]
1400 :
1405 [143] *** bat flying on right ***
1410 [151]2047,198:[151]v[170]46,4
1415 [151]v[170]14,250:y[178]50:[151]v[170]15,y:[151]v[170]21,160
1420 [129]x[178]250[164]130[169][171]2
1425 [151]2047,197:[129]t[178]1[164]50:[130]
1435 [151]2047,198:[129]t[178]1[164]50:[130]
1440 y[178]y[170].7:[151]v[170]15,y:[151]v[170]14,x
1445 [130]x:[151]v[170]21,32
1450 [129]t[178]1[164]2000:[130]:[142]
1455 :
1460 [143] *** bat leaving ***
1465 [151]2047,198:[151]v[170]46,4
1470 [151]v[170]14,100:y[178]150:[151]v[170]15,y:[151]v[170]21,160
1475 [129]x[178]100[164]254[169]2
1480 [151]2047,197:[129]t[178]1[164]20:[130]
1485 [151]2047,198:[129]t[178]1[164]20:[130]
1490 y[178]y[171]1:[151]v[170]15,y:[151]v[170]14,x
1495 [130]x:[151]v[170]21,32:[142]
1500 :
1505 [143] *** witch leaving ***
1510 [151]2047,199:[151]v[170]46,1:x[178]180:y[178]140:[151]v[170]14,x:[151]v[170]15,y:[151]v[170]21,160
1520 [129]x[178]180[164]254:[151]v[170]14,x
1525 y[178]y[171]1:[151]v[170]15,y
1530 [130]:[151]v[170]21,32
1535 [142]
1550 :
1555 [143] *** ghost leaving ***
1560 [151]2046,200:[151]v[170]45,1:x[178]245:[151]v[170]12,x:[151]v[170]13,150:[151]v[170]21,96
1565 [129]y[178]150[164]0[169][171]1:[151]v[170]13,y:x[178]x[171]1:[151]v[170]12,x:[130]
1570 [129]t[178]1[164]5000:[130]:[142]
2000 [143] - sprite data
2002 [143] *** moon ***
2004 [129]i[178]0[164]63:[135]a:[151]12864[170]i,a:[130]
2006 [131]0,0,0,0,255,0,7,255
2008 [131]224,31,255,248,63,255,252,127
2010 [131]255,254,127,255,254,255,255,255
2012 [131]255,255,255,255,255,255,255,255
2014 [131]255,255,255,255,255,255,255,255
2016 [131]255,255,127,255,254,127,255,254
2018 [131]63,255,252,31,255,248,7,255
2020 [131]224,0,255,0,0,0,0,0
2030 [142]
2100 :
2101 [143] *** bat,wings up ***
2102 [129]i[178]0[164]63:[135]a:[151]12608[170]i,a:[130]
2104 [131]0,0,0,0,0,0,0,0
2106 [131]0,0,0,0,0,0,0,0
2108 [131]0,0,28,0,56,119,0,238
2110 [131]129,219,129,0,60,0,0,24
2112 [131]0,0,36,0,0,0,0,0
2114 [131]0,0,0,0,0,0,0,0
2116 [131]0,0,0,0,0,0,0,0
2118 [131]0,0,0,0,0,0,0,0
2120 :
2122 [143] *** bat, wings down ***
2124 [129]i[178]0[164]63:[135]a:[151]12672[170]i,a:[130]
2126 [131]0,0,0,0,0,0,0,0
2128 [131]0,0,0,0,0,0,0,0
2130 [131]0,0,0,0,0,0,0,0
2132 [131]129,219,129,119,60,238,28,24
2134 [131]53,0,36,0,0,0,0,0
2136 [131]0,0,0,0,0,0,0,0
2138 [131]0,0,0,0,0,0,0,0
2140 [131]0,0,0,0,0,0,0,0
2142 :
2144 [143] *** small witch ***
2146 [129]i[178]0[164]63:[135]a:[151]12736[170]i,a:[130]
2148 [131]0,0,0,0,60,0,0,14
2150 [131]0,0,15,0,0,15,192,0
2152 [131]23,0,0,7,128,2,15,0
2154 [131]1,255,0,3,255,128,4,249
2156 [131]128,0,60,192,160,126,224,84
2158 [131]126,112,171,255,255,84,191,0
2160 [131]128,7,0,0,30,0,0,60
2162 [131]0,0,112,0,0,112,0,0
2170 :
2172 [143] *** ghost ***
2174 [129]i[178]0[164]63:[135]a:[151]12800[170]i,a:[130]
2176 [131]0,170,0,3,85,128,6,170
2178 [131]192,9,1,32,10,108,160,4
2180 [131]16,64,12,130,96,4,124,64
2182 [131]14,0,224,5,199,64,10,170
2184 [131]160,21,85,80,10,170,160,37
2186 [131]85,72,10,170,160,85,85,84
2188 [131]42,170,160,245,85,94,10,170
2190 [131]160,5,85,64,10,170,160,255
2200 :
3000 :
3002 [143] - ml routines
3010 [143] *** erase screen ***
3012 [129]i[178]0[164]33:[135]a:[151]49186[170]i,a:[130]
3014 [131]169,32,160,232,162,3,141,0,5,238,41,192,208,3,238,42,192,136,208,242
3016 [131]202,208,239,169,0,141,41,192,169,5,141,42,192,96
3020 [142]
10000 [159]15,8,15,"s0:hallow-c":[160]15:[148]"hallow-c",8:[128]