home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 43
/
043.d81
/
iquitos
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
7KB
|
257 lines
0 ifz3=7then53420
1 clr:v2$="":sp$=" "
2 dimd$(13),c(19),a(13),b(13):fora=1to13:readd$(a),b(a):next:restore:jf=peek(766)
3 e$(1)="[198]ield assistant":e$(2)="[205]edic":e$(3)="[210]adio operator":e$(4)="[199]uard"
4 gosub50000:ifpeek(767)=55thenf$="a":og$="expa":gosub760:goto116
6 f$="b":og$="expb":gosub760:goto116
10 goto53400
12 gosub 1000
20 gosub2010:printv2$tab(11)"[194][146])uy [211][146])ell [216][146])it ";
22 gosub2000
24 m$=g$:ifm$="b"then42
26 ifm$="s"then32
28 ifm$<>"x"then22
30 goto116
32 printv2$sp$v2$tab(9)"[197][146])quipmento o [193][146])rtifactos ?";
34 gosub2000
36 ifg$="e"then42
38 ifg$<>"a"then34
40 goto188
42 printv2$sp$v2$tab(6)"?[209]ue nombre, por favor?";
44 gosub2000
46 b=asc(g$)-64:ifb<1orb>13then44
48 goto52
50 gosub500
51 fora=1to5000:next:goto 12
52 ifm$="b"thengosub56:goto60
54 ifm$="s"thengosub110:goto60
56 b$=chr$(b+192):printleft$(v2$,b+8)b$") "d$(b)tab(13)"$"mid$(str$(b(b)),2);
57 ifa(b)=0thenprint:return
58 printtab(22)d$(b)tab(34)"("mid$(str$(a(b)),2)")":return
60 printv2$sp$v2$tab(7)"?[209]uanto, amigos? [216])it";
62 gosub2000
64 ifg$="x"thengosub114:goto20
66 e=gg:ife<1ore>9then62
68 ifm$="s"then102
70 ife*b(b)>ithen50
72 ifb=10ande*b(b)*20>ithen50
74 z7=0:onbgosub90,82,86,86,82,86,78,78,78,94,90,90,82:ifz7=1then12
76 goto100
78 ife+a(b)>1then98
80 return
82 ife+a(b)>2then98
84 return
86 ife+a(b)>4then98
88 return
90 ife+a(b)>8then98
92 return
94 e=e*20:ife+a(b)>200then98
96 return
98 printv2$sp$v2$tab(14)"overloaded[146]";:forb=1to1500:next:z7=1:return
100 a(b)=a(b)+e:i=i-b(b)*e:gosub114:goto20
102 ifb=10thene=e*20
103 ife<=a(b)then108
104 print"[147] [206]o gracias, bandito":fora=1to2600:next:goto12
108 a(b)=a(b)-e:i=i+e*(b(b)/2):gosub114:goto20
110 goto1100
111 datamed kit,30,tools,50,lamp,100,battery,50,rope,50,mosq. net,100,sw radio
112 data2000,loran,99900,a/rifle,20000,bullet,2,grenade,200,food/day,100,boat
113 data2000
114 goto1140
116 poke53281,3:poke53280,3:print"[144]":gosub2500
117 gosub2000
118 ifg$<>"v"andg$<>"m"andg$<>"r"andg$<>"g"andg$<>"e"then117
119 print"[147]"
120 rem
122 ifg$<>"v"then134
124 print"[147][201]llustration? [217])es [206])o"
126 getay$:ifay$=""then126
128 ifay$="y"then10
130 ifay$<>"n"then126
132 goto 12
134 ifg$="r"then160
136 ifg$="g"thengosub212:goto30
138 ifg$<>"m"then152
140 print"[147] [205]ove to base camp? [217])es [206])o
142 [141]2000
144 [139]g$[178]"y"[167][151]766,jf:[137]150
146 [139]g$[179][177]"n"[167]142
148 [137]30
150 [153]"load (NULL)iding the paddle wheel":[141]1500
151 [141]1510:[147]"az",8
152 [139]g$[179][177]"e"[167]117
154 [141]186:[141]256:[141]1540
156 [141]2000
158 [147]"hello",8
160 [141]1600
170 [141]2000
172 [139]g$[178]"e"[167]178
174 [139]g$[178]"x"[167]30
176 [137]170
178 [141]1780
180 [141]2000
182 [139]g$[178]"x"[167]160
184 [137]180
186 [137] 840
188 f[178]0:l[178]0:[153]"load":[129]a[178]1[164]10:b[178][187](1)[172]1000[170]1000:[139]f$(a)[178]""[167]200
190 a$[178][200](f$(a),1):f[178]1:[139]a$[178]"c"[167]b[178]10
192 [139]a$[178]"s"[167]b[178][187](1)[172]100[170]100
194 [139]a$[178]"g"[167]b[178][187](1)[172]500[170]500
196 [141]1960
198 l[178]l[170]b:[153][163]4)f$(a)" "[163]22)c$b$
200 [130]:[141] 2010:[139] f[178]0[167][141]3000:[137]12
202 [153]v2$sp$v2$[163]7)"left$okay amigo? (NULL))es (NULL))o
204 gosub2000
206 ifg$="n"then12
208 ifg$<>"y"then204
210 i=int(i+l):fora=1to10:f$(a)="":next:g=int(g+l):goto12
212 iff(2)=0thena$="[217]our medic is dead!":goto218
214 ifa(1)=0then244
216 goto220
218 print"[147]"tab(19-(len(a$)/2))a$:gosub5000:return
220 m=0:forp=1to4:r=19-len(h$(p))/2:iff(p)=0then248
222 c$="":ifd(p)>0thenc$="(d&d ("+mid$(str$(d(p)),2)+"))":goto228
224 iff(p)<6or(f(p)<40andf(p)<2*e(p))then228
226 goto248
228 print"[147]"a(1)"medical kits in stock.":gosub 2280
230 gosub2000
232 ifg$<>"n"andg$<>"y"then230
234 ifg$="n"then250
236 gosub44444:gosub2360
238 iff(p)<bthenf(p)=b
242 iff(p)>40thenf(p)=40
244 a(1)=a(1)+(a(1)>0):ifa(1)=0thena$="[207]ut of medicine":goto 218
246 goto250
248 print"[147]":gosub2480:print" "a$tab(r)b$:gosub5000
250 nextp:a$="[205]edical aid complete":goto218
256 gg$=og$:og$=og$+og$:gosub186:og$=gg$:return
500 print"[147] [196]espense' mi amigo"
501 printtab(7)"[217]ou mus' hab mas dinero!"
502 ifb=10thenprint" (bullets come in clips of 20 for $40)
503 [142]
760 [159]2,8,2,og$[170]",s,r"
761 [129]b[178]1[164]4:[132]2,h$(b):[132]2,d(b):[132]2,e(b):[132]2,f(b):[130]
762 [132]2,c:[132]2,d:[132]2,g:[132]2,h:[132]2,i:[132]2,j:[132]2,k
763 [129]b[178]1[164]13:[132]2,a(b):[130]:[132]2,i$:[132]2,j$:[132]2,k$
764 [129]b[178]1[164]19:[132]2,c(b):[130]:[129]b[178]1[164]10:[132]2,f$(b):[130]:[160] 2:[142]
840 [159]3,8,3,"@:"[170]og$[170]",s,w"
841 [129]b[178]1[164]4:[152]3,h$(b):[152]3,d(b):[152]3,e(b):[152]3,f(b):[130]
842 [152]3,c:[152]3,d:[152]3,g:[152]3,h:[152]3,i:[152]3,j:[152]3,k
843 [129]b[178]1[164]13:[152]3,a(b):[130]:[152]3,i$:[152]3,j$:[152]3,k$
844 [129]b[178]1[164]19:[152]3,c(b):[130]:[129]b[178]1[164]10:[152]3,f$(b)[170]" ":[130]:[160] 3:[142]
1000 [153]"load atnmazon trading post":[153][163]11)"(NULL)edro chr$omez, (NULL)gr."
1001 [153][163]11)"****************":[153]" (NULL)tock list"[163]26)"valxpedition"
1002 [153]" & price"[163]16)"cash"[163]24)"property & qty":l$[178][202]([196](i),2)
1003 [153][163]16)"$"l$:[129]b[178]1[164]39:[153]".";:[130]:[153]
1004 [129]b[178]8[164]21:[153][200](v2$,b)[163]19)".":[130]
1005 [129]b[178]1[164]13:b$[178][199](b[170]192):[153][200](v2$,b[170]8)b$") "d$(b)[163]13)"$";
1006 [153][202]([196](b(b)),2);:[139]a(b)[178]0[167][153]:[137]1008
1007 [153][163]22)d$(b)[163]34)"("[202]([196](a(b)),2)")"
1008 [130]:[142]
1100 b$[178][199](b[170]192):[153][200](v2$,b[170]8)b$") "d$(b)[163]13)"$";
1101 [153][202]([196](b(b)),2)[163]22);:[141]2020:[153][200](v2$,b[170]8)[163]22);
1102 [153]""d$(b);[163]38[171][195]([196](b(b)[173]2)))"$"[202]([196](b(b)[173]2),2)"wait";:[141]2020
1103 [142]
1140 [153][200](v2$,b[170]8)" "
1141 b$[178][199](b[170]192):[153][200](v2$,b[170]8)b$") "d$(b)[163]13)"$"[202]([196](b(b)),2);
1142 [153][163]22);:[139]a(b)[177]0[167][153]d$(b)[163]34)"("[202]([196](a(b)),2)")";
1143 [141]2020:[153]v2$sp$[200](v2$,7)[163]16)"$"[202]([196](i),2)" ":[142]
1500 [153][163]12)"up the atnmazon":[141]186:[141]256:[142]
1510 [153]"load (NULL)arning: (NULL)ou are about to"
1511 [153][163]8)"enter deadly regions.":[142]
1540 [153]"load (NULL)ress a key to play,
1541 printtab(8)"or turn your computer off.":return
1600 print"[147] [197]xpedition "f$
1601 print"[198]unds: $"mid$(str$(i),2)" [211]q. meters explored:"j
1602 a%=(h-(d/2)-(k/2))*3:ifa%<0thena%=0
1620 print"[212]ime in field:"d"day";:ifd<>1thenprint"s";
1640 print" and"c"hour";:ifc<>1thenprint"s";
1660 print
1680 print"[211]ectors mapped:"h;tab(21)"[198]ind value $"mid$(str$(g),2)
1681 print"[205]embers lost:"k;tab(21)"[197][210] factor:"a%
1682 print"[205]embers"tab(28)" [204][214][204] [197][204]
1690 [129]b[178]1[164]4:[153]h$(b)[163]12)e$(b)[163]28)" "e(b)[163]34)f(b):[130]
1691 [153]v2$[163]12)"val)quipment (NULL))it":[142]
1780 [153]"load"[163]14)"valquipment":[153][163]14)"*********"
1781 [129]b[178]1[164]13:[153][163]4)b" "d$(b)[163]18)a(b):[130]
1782 [153]v2$[163]16)"(NULL))it":[142]
1960 b[178][181](([187](1)[172]100[170]1)[170](b[172]10[172]1[173]c(19))):c$[178]" $"
1961 [139]a$[178]"c"[175][202](f$(a),2,1)[178]"r"[167] [141] 30000
1962 [139]f$(a)[178]"raw diamond"[167]b[178][181]([187](1)[172]10000[170]500)
1963 b$[178][202]([196](b),2):[142]
2000 [161]g$:[139]g$[178]""[167]2000
2001 gg[178][197](g$):[142]
2010 [161]g$:[139]g$[179][177]""[167]2010
2011 [142]
2020 [139][185](0)[179]39[167][153][200](sp$,39[171][185](0))
2021 [142]
2280 [153]h$(p)" val(NULL):"f(p)c$:[153]"chr$ive aid? (NULL))es (NULL))o":[142]
2360 [153]"load"[163]r[171]5)"(NULL)orking on "h$(p):[141]5000:d(p)[178]0
2361 b[178]2[172]e(p):[139]b[179]6[167]b[178]6
2362 [142]
2480 [14