home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 181
/
181.d81
/
inf2.pt6
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
8KB
|
193 lines
0 rem ***** save"@0:inf2.pt6",8
1 dv=peek(186)
2 poke53272,29:goto10
5 poke198,0
6 getk$:ifk$=""then6
7 ifk$="s"andpeek(49152)=7thenpoke49152,0:sys49897:return
8 ifk$="s"andpeek(49152)=0thenpoke781,0:poke782,150:sys49664:poke49152,7
9 return
10 sys49615:poke781,0:poke782,150:sys49664
36 rem *** setup variables
37 vi=53248:pg=64:sa=pg*256:sp=248:ss=49152
38 pokevi+32,0:pokevi+33,0:pokevi+29,255:forzd=39to47:pokevi+zd,4:next
39 rem *** setup sinus interrupt
40 syssa
41 rem *** poke sprite data
51 pokevi+21,0:rem turn sprites on
52 pokess,7:zz=2:zy=10:zx=zy:gosub340
53 pokesa+6,3:pokesa+7,3:pokesa+8,zz
54 pokesa+9,zz:pokesa+10,zy
56 pokesa+13,zx
57 pokevi+37,14
58 pokevi+38,zc
60 z=z+1:if z=10 then z=0:zz=zz+1:if zz=5 then zz=2:zy=zy+5
61 if zy=40 then zy=10:zx=zx+5
62 y=y+1:ify<3thenzc=5
63 ify>2thenzc=4:ify>3theny=0:yy=yy+1:ifyy=8thenyy=0:goto66
64 geta$:if(peek(ss)=0)or(a$<>"")then70
65 goto53
66 yx=2^yz+yx:pokevi+21,yx:yz=yz+1:ifyz=8thenyx=0:yz=0:xx=xx+1
67 ifxx=1andpeek(vi+21)=1thengosub770:xx=2
68 ifxx=3andpeek(vi+21)=1thengosub100:xx=4
69 goto64
70 rem *** turn off sinus
71 pokevi+21,0
72 pokevi+32,0:pokevi+33,0
80 rem *** gamestart
81 gosub600:print"the elevator comes to an abrupt stop.
82 [153]"it feels like you plummeted several hun-
83 print"dred feet [192][192] impossible! it would mean
84 [153]"the sublevels to this building start at
85 print"nearly half of its overall height![145][145][145]":gosub5:pokevi+38,4
86 a$=" proceed left (westward) ":b$=" proceed right (eastward) ":x=1
87 c$=" go straight (northward) ":gosub340:gosub200:oncgoto88,88,210
88 ifx=2thengosub770:print"this corridor dead ends with a strange":zs=31:goto90
89 h=16:j=16:gosub795:print"[155]this corridor dead ends with a strange":zs=63
90 print"door with a light strip running across
91 [153]"its center. you hear gurgling sounds
92 print"coming from behind the door.":gosub5:pokevi+21,zs:fort=1to3000:next
95 pokevi+21,0:print"[145][145][145][145][145][145][145]you search the door looking for a way "
96 print"to open it. you must've done something
97 [153]"right because the door opens and you "
98 [153]"see rows of liquid-filled cylinders.":[141]5:[151]vi[170]38,5:[151]vi[170]21,zs
99 [129]t[178]1[164]3000:[130]:[151]vi[170]21,0:[151]vi[170]38,5:[141]970:[137]221
100 [143] *** cityscape
101 [153]"loadcont .list ";
102 [153]" cont .list ";
103 [153]" cont pokethenlist ";
104 [153]" poke cont. poke(NULL)fn cont.list ";
105 [153]" cont poketo left$(NULL) ";
106 [153]"ortan^ortan^ cont.list cont poke(NULL)fn sqrthen peekpeek ";
107 [153]" cont.pokepeeksys.pokepeekpeeksys.pokepeeklist poke sgn(NULL)tofnsys.poketab((NULL) ";
108 [153]"or(NULL)usrusr(NULL)^ pokepeeksys.pokepeekpeeksys.pokepeeklist poketosgnsys";
109 [153]".....pokethen to(NULL) sys.... poke(NULL) pokepeeksys.pokepeekpeeksys.poke";
110 [153]"/^list poke sys.....pokethentofnsys. sys.. sys .poke(NULL) ";
111 [153]" pokeortanexp poke/exp pokepeeklist poke ";
112 [153]" sys.. poke+ poke(NULL)>(NULL)(NULL)sys... sys. sys.poke(NULL) pokeor^";
113 [153]"list print sys print pokeusrusr print";
114 [153]" poke(NULL)tolist pokesgnlist pokefn ";
115 [153]" print sys.poke(NULL)to(NULL)list poke(NULL) "
116 [153]"clrtab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(tab(list":[142]
200 [143] *** options table
201 [153]""[166]16)"listoptions":[153]" clr 1 wait list"a$
202 [153]" clr 2 wait list"b$:[153]" clr 3 wait list"c$:c[178]0
203 [139]x[178]1[167][153]"onononononlist 1 clr"a$
204 [139]x[178]2[167][153]"onononlist 2 clr"b$
205 [139]x[178]3[167][153]"onlist 3 clr"c$
206 [141]5:[139]k$[178]""[175]x[179]3[167]x[178]x[170]1
207 [139]k$[178]"on"[175]x[177]1[167]x[178]x[171]1
208 [139]k$[178][199](13)[167]c[178]x:[142]
209 [137]200
210 [141]100:[153]"onthe corridor, filled with steel drums,
211 print"with whirry's warehouse mark, dead ends.[145][145]":gosub5:pokevi+21,15
212 fort=1to3000:next:pokevi+21,0:print"[145][145]you hear someone coming [192][192] ";
213 print"accidentally":print"press against a door [192][192] it opens!!! [145][145]"
216 gosub5:pokevi+38,5:pokevi+21,15:fort=1to3000:next:pokevi+21,0:pokevi+38,4
217 gosub970:print"you find yourself in a room with a wall
218 [153]"strangely like an aquarium. bizarre
219 print"creatures are floating in an amber fluid
220 [153]"tantan it looks like they are asleep!onon":[141]5:h[178]17:[141]795
221 [153]"you hear a slithering":[153]"sound tantan turn and see a
222 print"terrible monster! it":print"points a weapon at you [192][192]":gosub5
223 forh=1to5:poke53281,1:fort=1to5:next:poke53281,0:fort=1to5:next:next
224 print"there is no way around":print"it [192][192] you're dead!
225 [153]"only in movies do heroes always win!":[141]5
226 [153]"load thank you for dropping by
227 print" you are being returned to [155]loadstar":gosub5
285 f$="hello connect":goto291
291 syssa+3:poke53280,0:poke53281,0:poke49152,0:sys49935
293 print"[144]load"chr$(34)f$chr$(34)","dv:print"run"
294 poke631,13:poke632,13:poke198,2:end
340 rem *** cityscape3
341 print"[147][153] [155] [153] [152][167][153] ";
342 print" [155].[153] [155].[153] [152] [190][188][146] [153] [155].[153] ";
343 print" [155].[153] [155] [153] [155] [153] [155].[153] [152]";
344 print"[161] [190][146][161][153] [155].[153] [155].[153] [155] [153] [155].[153]";
345 print" [152][161][187] [146][161][153] [155] ";
346 print"[153] [152][172][187][153][146] [152][165] [190][167][153][146] [151]";
347 print"[184] [184][153][146] [155].[153] [155] [153] [152] [153][146] [151][223][146] [155].";
348 print"[153] [152][165] [167][155][146].[153] [151] [146][191] [153][146] [155] [153] ";
349 print" [152][181] [182][155][146] [151] [223][146] [169][153][146] [152][165][190] [167][153][146] [155].[153]";
350 print" [151] [191] [153][146] [155] [153] [151][221][155] [153] [152][165][190] [167][155][146] [151]";
351 print" [146] [152][146][172] [146][187][151] [153] [155].[151] [146][191] [165] ";
352 print" [155][146] [153] [151][184] [184][153][146] [152][165] [188][167][155][146] [151] [191] [188] [152][165] [191][167][151] ";
353 print" [170][184][155][146].[151][184] [162][146][184][183][163][155] [151][163][163][163][163][155] [151][172] [187][152][165] [167][155][146]";
354 print" [151][164][164][164][191] [152][165] [167][151][191] [191][170] [164][175][162][155][146] [151] ";
355 print" [152][165][188] [187] [167][151][164][164][164][170][146][190][155] ";
356 print" [151][164][188][164][190][164][152][165] [181] [162][146][184][183][163][163][155] ";
357 print" [152] [187][187] [188] [172][155][146] ";
358 print" [152] [161] [190][190] [172][155][146] ";
359 print" [152] [185][162][146][184][155]":return
600 rem *** ray newcube
601 print"[147] [149][185][185][162][162][162][162][162][185][175][154] [155] ";
602 print" [150] [149] [129][190][149] [129][188][149][146][187] ";
603 print" [155] [150] [149] [190][129] [149] ";
604 print" [129] [149] [146] [155] [150] [149] ";
605 print" [129][163][163][149][163] [163][129][163][163][149] [146] [155] [150]";
606 print" [149] [223][163][146][209][163][149][165] [167][163][146][209][163][149][169] [146] [155] ";
607 print"