home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 188
/
188.d81
/
inf4.pt6
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
10KB
|
222 lines
0 rem *** save"@0:inf4.pt6",8
1 poke56,150:clr:poke53281,0:poke53280,0:poke53371,0:dv=peek(186)
2 goto100
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 dv=peek(186):ifdv<8thendv=8
40 rem *** door
41 print"[147][152][170][155][146] [152] [155] [152] ";
42 print" [155] [152] [170][151][146] [152] [155]";
43 print" [152] [155] [152] [170][151][146] ";
44 print" [146] [155] [152][170][151][146] [155] [146] [152] [155]";
45 print"[146] [152] [155][146] [152] [155][146] [152] [155][146] [152] [155][146] [151] [146] [152] ";
46 print" [155] [152] [155] [152] [151][183][146] [155] [146][160][152] [155][146] [152] ";
47 print"[155][146] [152] [155][146][160] [152] [155][146] [152] [155][146] [151] [146] [152] [155] ";
48 print"[152] [160] [155] [152] [151][183][146] [155] [146] [152] [155][146] [152] [155][146] [152]";
49 print" [155][146] [152] [155][146] [152][160][155][146] [160][151] [146] [152] [155] [152] ";
50 print" [155] [152] [151][183][146] [155] [146] [152] [155][146] [152] [155][146] [152] [155][146] [152]";
51 print" [155][146] [152][160][155][146] [160][151] [146] [152] [155] [152] [155] [152] ";
52 print" [208][151][146] [155] [146] [152] [155][146] [152] [155][146] [152] [155][146] [152] [155][146] ";
53 print"[152][160][155][146] [151] [146] [155] [152][170][151][146] [155]";
54 print" [146] [152] [155][146] [152] [155][146] [152] [155][146] [152] [155][146] [152] [155][146] [151]";
55 print" [146] [152] [155] [152] [155] [152] [155][170][151][146] [155] [146] [152]";
56 print" [155][146] [152] [155][146] [152] [155][146] [152] [155][146] [152] [155][146] [151] [146] [152]";
57 print" [155] [152] [155] [152] [170][151][146] [155] [146] [152] [155][146] [152]";
58 print" [155][146] [152] [155][146] [152] [155][146] [152][160][155][146] [151] [146] [152] [155] [152] ";
59 print" [155] [152] [170][151][146] [155][206] [152] [155] [152] [155] [152] [155] ";
60 print"[152] [155] [152] [155] [205][151] [146] [152] [155] [152] [155] [152] [170][151][146]";
61 print" [146] [155] ";
62 print" [152][170][151][146] [152] [155] [152]";
63 print" [155] [152] [155][170][151][146] [152]";
64 print" [155] [152] [155] [152] [170][151][146] ";
65 print" [152] [155] [152] [155] [152] [151][183][146] ";
66 print" [155] [152] [155] [152] [155] [152] [151][183]";
67 print"[146] [155] ";
68 print" [151][183][146] [152] [155] [152] [155] [152] [155]":return
100 sys49615:poke781,0:poke782,150:sys49664
101 vi=53248:pg=64:sa=pg*256:sp=248
102 ss=49152:pokevi+32,0:pokevi+33,0
103 pokevi+29,255:forzd=0to7:pokevi+zd,4:next
104 syssa
105 rem *** poke sprite data
106 yy=14:fori=0to7
107 poke2040+i,248+i:rem sprite pointers
108 pokevi+39+i,i+1:rem sprite colors
109 pokevi+37,14:pokevi+38,15:next
110 pokevi+29,255:rem x size
111 pokevi+23,0:rem y size
112 pokevi+28,255:rem multicolor on
113 pokevi+37,5:rem multicolor 1
114 pokevi+38,13:rem multicolor 2
115 pokevi+21,0:rem turn sprites on
116 pokess,7:zz=2:zy=10:zx=zy:gosub530
117 pokesa+6,2:pokesa+7,1:pokesa+8,zz
118 pokesa+9,zz:pokesa+10,zy
119 pokesa+13,zx:pokevi+37,14
120 pokevi+38,zc:pokevi+39,3
121 z=z+1:if z=10 then z=0:zz=zz+1:if zz=5 then zz=2:zy=zy+5
122 if zy=40 then zy=10:zx=zx+5
123 y=y+1:ify<3thenzc=5
124 ify>2thenzc=4:ify>3theny=0:yy=yy+1:ifyy=15thenyy=0:goto127
125 geta$:if(peek(ss)=0)or(a$<>"")thenpoke49152,0:sys49897:goto130
126 goto117
127 yx=2^yz+yx:pokevi+21,yx:yz=yz+1:ifyz=8thenyx=0:yz=0:xx=xx+1
128 goto125
130 rem *** turn off sinus
132 pokevi+21,0:pokevi+32,0:pokevi+33,0
133 sys57812"alien font",dv,0:poke780,0:poke781,0:poke782,48:sys65493
134 poke53272,29
135 rem *** gamestart
136 print"you are walking down the street when a
137 [153]"car drives up. 'get in!', martha kent
138 print"says. 'i know i am going to regret this
139 [153]"in the morning.' you jump in her car and
140 print"soon you're off to luthelcorp's local[145][145][145]":gosub5:pokevi+38,4
141 pokevi+21,255:fort=1to3000:next:pokevi+21,0
142 print"[145][145][145][145][145][145]office. it is a quick drive. martha kent
143 [153]"makes it very clear that she is a party
144 print"to this misadventure. what the hey, you
145 [153]"like the idea of company! the front of "
146 [153]"building's locked so you go round back.ononon":[141]5:[151]vi[170]38,5
147 [151]vi[170]21,255:[129]t[178]1[164]3000:[130]:[151]vi[170]21,0
148 [141]40:[153]"there is a heavy metal door here and a
149 print"keypad. nothing more. you enter [156]246801
150 [153]"listand hear a click. the door swings open!ononon":[141]5
151 [153]"ononinside you see an elevator and 2 doors.
152 print"'i hope you know what you're doing', "
153 print"martha comments. you make no reply. [145][145][145]":gosub5
154 a$=" take a ride on the elevator ":b$=" go through the leftmost door ":x=2
155 c$=" go through the rightmost door":gosub690:gosub200:oncgoto172,156,164
156 gosub570:print"you wind up in the lobby. there's noth-
157 [153]"ing here except for a receptionist desk
158 print"and three phones. you search the desk &[145][145][145]":gosub5:pokevi+38,4
159 pokevi+21,127:fort=1to3000:next:pokevi+21,0
160 print"[145][145]find the drawers aren't locked! there's
161 [153]"a log book in the bottom drawer. you "
162 [153]"take some pictures. go back thru door. ononon":[141]5:[151]vi[170]38,5
163 [151]vi[170]21,127:[129]t[178]1[164]3000:[130]:[151]vi[170]21,0:[137]154
164 [141]570:[153]"you find the door is locked. you take
165 print"out a small jeweler's kit & to martha's
166 [153]"surprise, pick the lock with expertononon":[141]5:[151]vi[170]38,4
167 [151]vi[170]21,63:[129]t[178]1[164]3000:[130]:[151]vi[170]21,0
168 [153]"ononskill. you find it's only a janitor's
169 print"closet. you examine it very carefully "
170 print"and find nothing. you give it a sigh.[145][145][145]":gosub5:pokevi+38,5
171 pokevi+21,63:fort=1to3000:next:pokevi+21,0:goto154
172 gosub530:print"you see a zero on the elevator panel.
173 [153]"press it and nothing happens. none of
174 print"other floors work either! when you press
175 [153]"a second time, the numbers cancel out.
176 print"with sudden inspiration, you tap out[145][145][145]":gosub5:pokevi+38,4
177 pokevi+21,31:fort=1to3000:next:pokevi+21,0
178 print"[145][145][145][145][145][145][156]2-4-6-8-0-1[155]. suddenly, the elevator is
179 [153]"in motion! it plummets at an impressive
180 print"speed then comes to an abrupt stop. you "
181 print"are now some place underground. there "
182 print"are light panels on the walls. [145][145][145]":gosub5:pokevi+38,4
183 pokevi+21,31:fort=1to3000:next:pokevi+21,0
184 gosub690:print"you touch a darkened panel on one wall &
185 [153]"a door opens. inside you see a giantic
186 print"aquarium. something is floating inside
187 [153]"of it -- gray octopi-like creatures!
188 print"'they don't look real!', martha whispers
189 [153]"softly. you nod. you explore futher andononon":[141]5
190 [141]40:[153]"find another heavy metal door! even your
191 print"borderline criminal talents cannot open
192 [153]"it but you're willing to try! ononon":[141]5
193 [153]"ononmartha, however, wants to leave. you spy
194 print"a key pad and smile. one more open ses-
195 [153]"ame act. 'let's leave!', martha begs. ononon":[141]5
196 a$[178]" enter code on key pad 246801 ":b$[178]" checkout rest of installation":x[178]2
197 c$[178]" leave with nervous friend ":[141]690:[141]200:[145]c[137]210,210,210
200 [143] *** options table
201 [153]""[166]16)"listoptions":[153]" clr 1 w