home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Loadstar 43
/
043.d81
/
flint
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-08-26
|
5KB
|
154 lines
0 ifzx<>0then6420
1 clr:v2$="":sp$=" "
2 print"[147][144]":gosub4321:dima(13),b(19):if peek(767)=0thenpoke766,0:sys896:goto 7
3 if peek(767)<>55 then a$="expb":b$="b":goto5
4 a$="expa":b$="a"
5 gosub 76:fora=1to4:ifc$(a)=""thenp=4:a=4
6 next:goto 55
7 gosub 700
9 get g$:ifg$=""then9
10 a=val(g$):ifa<1ora>5then9
11 ifa<>1then13
12 goto29
13 ifa<>2then25
14 print" [197]xpedition [193][146] or [194][146]?"
15 getg$:ifg$=""then15
16 ifg$<>"a"then22
17 a$="expa":b$="a"
18 c=0:gosub76:d=0:fora=1to4:ifc$(a)=""thend=d+1
19 next:ifd=4then24
20 if d=0then77
21 goto56
22 ifg$<>"b"then15
23 a$="expb":b$="b":goto18
24 print"[147][206]o expedition in progress[146]":fora=1to1200:next:goto7
25 ifa<>4then92
26 gosub260
27 getg$:ifg$=""then27
28 poke767,0:goto7
29 a$="expa":b$="a":goto31
30 a$="expb":b$="b"
31 gosub76:d=0:fora=1to4:ifc$(a)=""thend=d+1
32 next:ifd=4thengosub800:gosub49:fori7=1to4567:next:goto50
33 if b$="a"then30
34 gosub340
35 getg$:ifg$=""then35
36 ifg$="n"then7
37 ifg$<>"y"then35
38 print" [193] or [194]?"
39 getb$:ifb$<>"a"andb$<>"b"then39
42 print"[145] [196]isband expedition ";b$;"[146] ?"
43 getg$:ifg$=""then43
44 ifg$="n"then7
45 ifg$<>"y"then 43
46 a$="exp"+b$:gosub49:goto50
49 goto490
50 gosub200
51 getg$:ifg$=""then51
52 m=4:print"[147] [197]nter level of difficulty":printtab(16)"1 thru 9
53 [161]g$:[139]g$[178]""[167]53
54 b(19)[178][197](g$):[139]b(19)[178]0[176]b(19)[177]9[167]53
55 [139][194](767)[177]0[175]p[179][177]4[167]79
56 [141]560
57 [141]74:[141]75:[137]77
58 [153]" (NULL)ame"[163]22)"(NULL)itle":[129]a[178]1[164]39:[153]"-";:[130]:[153]:[141]590:[137]60
60 [129]n[178]1[164]4:[153][163]22)g$(n):[130]:[129]n[178]1[164]4:[139]c$(n)[178]""[167]62
61 [153][200](v2$,12[170]n)" "c$(n)[163]22)g$(n):[137]65
62 [141]620:[141]66:[139]o[178]0[167]64
63 [141]71:c$(n)[178]"":n[178]n[171]1:[137]65
64 [153][200](v2$,12[170]n)" "c$(n)[163]22)g$(n):[141]73
65 [130]:[129]b[178]1[164]700:[130]:[142]
66 o[178]0:[139][195](c$(n))[177]10[167]o[178]1:[141]72:[142]
67 [139][195](c$(n))[178]0[167]o[178]1:[142]
68 [129]b[178]1[164]4:[139]b[178]n[167]70
69 [139]c$(b)[178]c$(n)[167]o[178]1:[153]v2$[166]13)"(NULL)n expeditionwait"[166]10):[129]e[178]1[164]1000:[130]
70 [130]:[142]
71 [153]v2$sp$v2$[163]14)"(NULL)nacceptablewait":[129]b[178]1[164]1000:[130]:[153]v2$sp$:[142]
72 [153]v2$sp$v2$[163]16)"too longwait":[129]b[178]1[164]1000:[130]:[142]
73 f(n)[178]0:e(n)[178]10:c(n)[178]0:d(n)[178]0:[142]
74 j[178][181](600[172]10[173]b(19)):k[178]0:[141]87:[142]
75 d$[178]"ooooooooooooo":e$[178]d$:f$[178]d$:[129]b[178]1[164]18:b(b)[178]1:[130]:[129]b[178]1[164]13:a(b)[178]0:[130]:[142]
76 [137] 760
77 [139]b$[178]"a"[167][151]767,55:[137]79
78 [151] 767,25
79 [141]790
80 [161]g$:a[178][197](g$):[139]a[179]1[176]a[177]2[167]80
81 [139]a[178]1[167][141]810:[141]84:[147]"iquitos",8
83 [141]830:[141]84:[147]"az",8
84 [141]840:[142]
85 [144]
87 [159]4,8,4,"@:"[170]a$[170]"c,s,w"
88 [129]a[178]1[164]40:[135]b:[152]4,b:[130]:[160]4
89 [142]:[131]2,2,2,1,1,2,1,2,2,1,2,2,2,2,1,1,2,2,2,1,2,3,1,4,1,1,1,1
90 [131]2,5,1,6,2,7,1,8,2,9,2,10
92 [139]a[179][177]5[167]100
94 [147]"res",8
100 [139]a[179][177]3[167]9
110 [137]6400
200 [153]"load *****************************"
210 [153]" asclint (NULL)niversity authorizes"
220 [153][163]10)"atnmazon expedition "b$"wait"
230 [153]" *****************************"
240 [153]" (NULL)ress any key":[142]
260 [153]"load (NULL)ress a key to play"
261 [153][163]7)"or turn your computer off.":[142]
340 [153]"load (NULL)here are twowait expeditions":[153]" in progress.
341 print" [196]o you wish to disband one?":print" [217][146])es [206][146])o":return
490 forb=1to4:c$(b)="":c(b)=0:d(b)=0:e(b)=0:next
491 f=0:g=0:h=0:i=0:j=0:k=0:l=0:forb=1to13:a(b)=0:next
492 d$="":e$="":f$="":forb=1to19:b(b)=1:next:forb=1to10:e$(b)="":next:return
560 print"[147] [193]pplications are now being taken"
561 printtab(8)"for [193]mazon expedition "b$"[146]":gosub58:if k<>0then77
590 g$(1)="[198]ield assistant":g$(2)="[205]edic":g$(3)="[210]adio operator"
591 g$(4)="[199]uard":return
620 printleft$(v2$,12+n)tab(22)""g$(n)"[146]"
621 printv2$sp$v2$" [206]ame";:inputc$(n)
622 ifc$(n)<"a"orc$(n)>"zz"thenreturn
623 c$(n)=chr$(asc(left$(c$(n),1))+128)+mid$(c$(n),2):return
700 print"[147] [215]elcome to [146]"
701 print" [198]lint [213]niversity [146]"
702 print" [217]ou may:"
703 print" 1) [211]tart a new expedition"
704 print" 2) [210]esume an expedition"
705 print" 3) [214]iew illustration"
706 print" 4) [197]xit the game"
707 gosub7070:return
760 open2,8,2,a$+",s,r"
761 forb=1to4:input#2,c$(b):input#2,c(b):input#2,f(b):input#2,e(b):next
762 input#2,f:input#2,g:input#2,h:input#2,i:input#2,j:input#2,k:input#2,l
763 forb=1to13:input#2,a(b):next:input#2,d$:input#2,e$:input#2,f$
764 forb=1to19:input#2,b(b):next:forb=1to10:input#2,e$(b):next:close 2:return
790 print"[147] 1) [198]ly to [201]quitos
795 [153]" 2) ascly to base camp
798 return
800 print"[147] [198]lint [213]niversity"
801 print" [197]st. [205][195][205][204][216][216][216][201][201]"
802 print" [206]ihil, [212]exas"
803 gosub8000:return
810 print"[147] [202]eep and bus to [211]an [193]ntonio"
811 print" [193]ir flight to [201]quitos, [208]eru":return
830 gosub810:print" [208]addle wheel boat to base camp":return
840 open3,8,3,"@:"+a$+",s,w"
841 forb=1to4:print#3,c$(b):print#3,c(b):print#3,f(b):print#3,e(b):next
842 print#3,f:print#3,g:print#3,h:print#3,i:print#3,j:print#3,k:print#3,l
843 forb=1to13:print#3,a(b):next:print#3,d$:print#3,e$:print#3,f$
844 forb=1to19:print#3,b(b):next:forb=1to10:print#3,e$(b)+" ":next:close 3:return
4321 poke53280,15:poke53281,15:return
6400 sys32789:poke53280,0:poke53281,0
6410 zx=7:load"p3",8,1
6420 getay$:ifay$=""then6420
6430 sys32780
6440 poke 53280,15:poke53281,15:goto9
7070 print"[172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191]";
7071 fora=1to11
7072 print"[190][191]";
7073 print"[191][172]";
7074 next
7075 print"[172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191][172][191]";
7079 print"[144]":return
8000 print"[172][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][187]";
8001 forba=1to22
8002 print"[161][146][161]";:next
8003 print"[188][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][162][146][190]";
8009 print"[144]":return