home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 4
/
AUCD4.iso
/
arcade
/
arcgames
/
artex
/
_exodemo
/
_runimageo
(
.txt
)
< prev
next >
Wrap
RISC OS BBC BASIC V Source
|
1998-02-17
|
415KB
|
20,713 lines
><Planets$Dir>.!RunImage
> DEMO-Version 3
Hinzugef
-Bug beseitigt, nach Mission nicht geschafft
-Init-Hourglass bei BlendFont weg
-Fehler bei: Try a new game: weg??
-Mauswait vor Player-Arrive
-Evtl Fehler behoben: MP:Spieler werden von korrekten Alleys unterstuetzt
-1000MC bei Mehrspielermode ohne Gegner
-bei No Music auch Battle-Sounds ausgeschaltet
-Lautstaerke mit FrontEnd
-Codes auf Zahlen bis zu 50 begrenzt
Bugfixes, erledigt:
- Alley, Alleys ->Ally, Allies
- Info bei Lunar Battle kann Div by Zero geben; fixed? (glaub schon)
- Terra picture ist Sprite, kann nicht ge'picture't werden; fixed!
- Spionage: Unterster Lord auf Liste kann nicht gewaehlt werden; fixed!
- Multiplayer: Erster hat alle Erfind, zweiter kriegt keine mehr; fixed!
- flashnum war nicht 0 bei secretservice, select lord; fixed?
- Multip: Beide fliegen zur Spaceguild=Crash; fixed!
- Bomb Attacks werden angezeigt, kein Mouse-Wait; fixed?
- Keine Beschraenkung fuer Laden v.Robots auf Planet; fixed?
- Tippfehler...
- Alle Marker von Spieler 2 ploetzlich weg (ausser Marker 1); fixed!
- Kleiner Bug bei Hypershuttle Cost fixed.
- Absturz bei Rebel Attack nach "Spotted X units"; fixed! (aber unsauber)
- Monate nicht zurueckgesetzt nach Try a new game; fixed!
Bugfixes, zu erledigen:
- Nuclear Extermination zu oft: Crash ????
- SUBSCRIPT OUT OF RANGE nach Monat-Cal. nur manchmal, bei Mehrsp.
- Multip: 2. Spieler nie Kontakt mit Computer (Handel/Angriff) ? Nee!
------------------------
TESTVERSION:
Aus-rem-en:
ON ERROR LOCAL PROCerror
switchoff=1
------------------------
------------------------
FINAL VERSION:
Folgendes aktivieren:
SYS6,229,27
error
switchoff=0
<M
ON ERROR ON ERROR OFF:OSCLI"Alphabet Latin1":PRINT REPORT$:QUIT
------------------------
codde=0
showorb=0
showlogo
initB
hidelogo
gload("pt1")
Quick Start fuer Tests:
Aus-rem-en:
sp$="st1":flen=1:fin%=0:PROCstartgame
REPEAT:PROCfilm_flyaway:G=GET:UNTIL FALSE
PROCmakingof
PROCfade(1,0,15)
newintro
f_wht
IF killintro THEN PROCentercode
anim(1):
**** NICHT VERGESSEN, ESCAPE ABZUSCHALTEN! **** -OK
**** UND CHEATS RAUSNEHMEN! **** -OK
**** UND CODES NACH ANLEITUNGSLAENGE KUERZEN! **** -OK
PROCb_twoframe(2):END
PROCabspann
PROCgload("pt1"):MOUSE ON:PROCmus_load("ST3"):oldvar=1:PROCspaceguild
war%=250:bomb%=43:scout%=32:trans%=50
OSCLI"Cache Off":PROCr_init:PROCr_start(150,5,8):OSCLI"Alphabet latin1":END
PROCfilm_intro
killintro=0
1:sp$="st3"
2:sp$="st8"
3:sp$="st9"
screentype=0
startgame
clearmemory
makingof
fillarray("MO1",14)
6,113,1
6,112,2
n=1
picture("mk"+
n>2
n<15
0,0,1279,56
pixelswap
6,112,1
t=400
n>2
n<15
codefadein(ar$(n)):t=600
n>2
n<15
codefadeout(ar$(n))
6,112,2
6,112,1
fade(1,0,15)
swapscreen
I=1
6,113,1
6,113,2
I=2
6,112,1
6,112,2
I=3-I
schoose(choice$)
spname$=choice$
plot(kind,plotx,ploty)
plotx,ploty
&2E,256+28,Smem,spname$,,,kind
r0,r1,r2,r3,r4,r5,r6
sdelete(delete$)
&2E,256+25,Smem,delete$,0,0
r0,r1,r2,r3,r4,r5,r6
sget(sget$)
&2E,256+14,Smem,sget$
r0,r1,r2,r3,r4,r5,r6
smerge(smerge$)
&2E,256+11,Smem,smerge$,0,0
r0,r1,r2,r3,r4,r5,r6
gmerge(gmerge$)
name$="Graphic."+gmerge$
gmerge$,"br")
gmerge$,2)="pl"
gmerge$,2)="ct"
name$="Graphic2."+gmerge$
&2E,256+11,Smem,name$,0,0
r0,r1,r2,r3,r4,r5,r6
sload(sload$)
&2E,256+10,Smem,sload$,0,0
r0,r1,r2,r3,r4,r5,r6
gload(gload$)
name$="Graphic."+gload$
gload$,"br")
gload$,2)="pl"
name$="Graphic2."+gload$
&2E,256+10,Smem,name$,0,0
r0,r1,r2,r3,r4,r5,r6
&2E,256+9,Smem
zoom(x%,y%,xx%,xy%,yy%,yx%,name$)
= factor%!0=xx%:factor%!4=xy%:factor%!8=yy%:factor%!12=yx%
&2E,256+52,Smem,name$,x%,y%,8,factor%,-1
newintro
6,112,1
6,113,1
6,112,2
fillarray("it1",27)
5 readtime=0:readline=1:readfadein=1:readfadeout=0
signal=0
gload("pt1")
picture("ea1")
1279,1023:
sget("back")
6,21,0
6,21,9
total=0:waiting=0
6,112,2
schoose("back")
plot(0,0,0)
pixelswap
A,B,C
C=4
I$=" "
(27)
killintro=1:signal=1
6,112,2
schoose("back")
plot(0,0,0)
total+=1
waiting>10
introtalk
waiting+=1
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
signal
killintro
signal=0
sdelete("back")
6,112,2
picture("ct1")
sload("intro.sh1")
1279,1023:
sget("back")
pixelswap
6,113,1
!4 zoom%=0:add%=0:count=0:offs=0:waiting=0:total=0
total+=1
6,112,2
waiting>40
zoom%<1000
zoom%+=8
add%+=0.5
offs=0
count+=1
count=21
count=1
count<6
offs=-4
4%
count>5
count<11
offs=0
5%
count>10
count<16
offs=4
6&
count>15
count<21
offs=0
waiting+=1
schoose("back")
plot(0,0,0)
xlen=175:ylen=119
A@ a$="ship":
total=200
total=202
total=220
a$="ship2"
PROCzoom(640-(xlen*2)*zoom%/1000,720-ylen*2+add%+offs,zoom%,zoom%,1000,1000,a$)
zoom(640-(xlen*2)*zoom%/1000,720-ylen*2+add%,zoom%,zoom%,1000,1000,a$)
introtalk
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
signal
killintro
signal=0
6,112,2
picture("cn1")
sload("intro.sh2")
1279,1023:
sget("back")
6,113,1
`/ zoom%=1000:add%=0:count=0:waiting=0:sub%=0
6,112,2
zoom%>0 zoom%-=8
add%-=0.5
sub%-=0.5
schoose("back")
plot(0,0,0)
xlen=65:ylen=48
zoom%>0
zoom(850-(xlen*2)*zoom%/1000+sub%,600-ylen*2+add%,zoom%,zoom%,1000,1000,"ship")
introtalk
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
signal
killintro
signal=0
6,112,2
picture("cr1")
sload("intro.fi1")
1279,1023:
sget("back")
count=0:waiting=0:wait=0
6,112,2
schoose("back")
plot(0,0,0)
count+=1
IF count>30 THEN count=1
IF count<16 THEN PROCschoose("fire1") ELSE PROCschoose("fire2")
PROCplot(8,676,284)
schoose("fire1"):
plot(0,937,323)
introtalk
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
signal
killintro
signal=0
6,112,2
picture("dr1")
sload("intro.gu1")
1279,1023:
sget("back")
total=0:waiting=0
6,112,2
schoose("back")
plot(0,0,0)
schoose("guard")
plot(0,475,131)
total+=1
waiting+=1
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
waiting>20
killintro
signal=0
6,112,2
picture("cr1")
sload("intro.fi1")
1279,1023:
sget("back")
- count=0:waiting=0:wait=0:cstep=1:fstep=0
6,112,2
schoose("back")
plot(0,0,0)
px=937:py=323
count+=1
count
3:cstep=2:px=886:py=305
4:cstep=3:px=844:py=272
5:cstep=4:px=643:py=260
6:cstep=5:px=589:py=242
7:cstep=6:px=667:py=242
count
10:fstep=1:fx=(136*4+4)-(136*0+4)
11:fstep=2:fx=(136*4+4)-(136*1+4)
12:fstep=3:fx=(136*4+4)-(136*2+4)
13:fstep=4:fx=(136*4+4)-(136*3+4)
14:fstep=5:fx=(136*4+4)-(136*4+4)
count>7 px=667:py=242
schoose("fire"+
(cstep))
plot(0,px,py)
fstep
schoose("shot"+
(fstep))
plot(0,fx,606)
PROCintrotalk
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
G=GET
count>13
killintro
signal=0
6,112,2
picture("dr1")
sload("intro.bt1")
1279,1023:
sget("back")
% count=0:waiting=0:wait=0:cstep=1
6,112,2
schoose("back")
plot(0,0,0)
count+=1
count
3:cstep=2
5:cstep=3
7:cstep=4
9:cstep=5
11:cstep=6
13:cstep=7
cstep
1:px=477:py=92
2:px=397:py=83
3:px=382:py=77
4:px=364:py=56
cstep>4 px=316:py=56
schoose("fall"+
(cstep))
plot(0,px,py)
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
G=GET
count>20
killintro
signal=0
entercode
readline=22
6,112,2
picture("dr1")
sload("intro.od1")
1279,1023:
sget("back")
C% count=0:waiting=0:wait=0:cstep=1
openl=-8:openr=0
dtalk=0
6,112,2
schoose("back")
plot(0,0,0)
schoose("behind"):
plot(0,442,338)
schoose("door_l"):
plot(0,442-openl,342)
schoose("door_r"):
plot(0,640+openr,342)
schoose("frame"):
plot(8,208,335)
schoose("sepp"):
plot(8,493,60)
dtalk+=1
dtalk>7
schoose("off")
Z
dtalk>15
schoose("on")
plot(0,268,764)
dtalk>20
introtalk
openl<172
openl+=4
openr+=4
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
signal
killintro
signal=0
6,112,2
picture("ho1")
sload("intro.sh4")
1279,1023:
sget("back")
6,113,1
~6 zoom%=1000:add%=0:count=0:waiting=0:blk=0:addy%=0
comeout=-10:height=600:sl=1
6,112,2
schoose("back")
plot(0,0,0)
blk+=1:
blk=10
blk=0
schoose("blink1"):
plot(0,42,587)
schoose("blink2"):
plot(0,985,692)
schoose("blink3"):
plot(0,1060,512)
comeout+=1
comeout>0
sl=1
comeout<19
height+=8
comeout>18
comeout<21
height+=4
comeout>14
sl=2
comeout>16
sl=3
comeout>18
sl=4
xlen=52:ylen=39
comeout>25
sl=4
zoom%>0 zoom%-=8
add%+=8
addy%+=4
o
zoom%>0
zoom(660-(xlen*2)*zoom%/1000-add%,height-ylen*2+addy%,zoom%,zoom%,1000,1000,"shuttle"+
(sl))
e
zoom(660-(xlen*2)*zoom%/1000-add%,height-ylen*2+addy%,zoom%,zoom%,1000,1000,"shuttle"+
(sl))
schoose("moveout")
plot(8,475,365)
introtalk
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
signal
killintro
signal=0
6,112,2
picture("js1")
sload("intro.sh3")
gmerge("hp1")
1279,1023:
sget("back")
6,113,1
< zoom%=1000:add%=0:count=0:waiting=0:addy%=0:zoomb%=1000
ladx%=0:lady%=0
apos=340:bpos=820
alen=104:blen=73
) hypw=280:hypc=0:hypx=0:hypy=0:hypa=1
count+=1
6,112,2
zoom%>0 zoom%-=8
add%+=4
addy%+=2
schoose("back")
plot(0,0,0)
a$="cruiser"
count>164
a$="cruiser2"
count>166
a$="cruiser1"
zoomb%>0
zoom(apos-(alen*2)*zoomb%/1000,bpos-(blen*2)*zoomb%/1000,zoomb%,zoomb%,1000,1000,a$)
PROCplot(8,apos,bpos)
zoom%=0
count>180
apos+=4
bpos-=3
zoomb%-=10
xlen=52:ylen=39
zoom%>0
zoom(900-(xlen*2)*zoom%/1000-add%,588-ylen*2+addy%,zoom%,zoom%,1000,1000,"shuttle")
hypc<10
hypw=0
hypc+=1
,
hypc<6
hypa+=hypa
hypa-=hypa/2
! hypy+=1:
hypy>5
hypy=1
hypx=hypa*100
T
zoom(740-120*hypx/1000,524-120*hypx/1000,hypx,hypx,1000,1000,"hyp"+
(hypy))
hypw-=1
introtalk
1279,1023:
sget("b")
6,112,1
schoose("b")
plot(0,0,0)
count>310
signal>0
killintro
signal=0
fade(1,0,15)
introtalk
ia,ib,ic
ia,ib,ic
I$=" "
(27)
ic=4
killintro=1:signal=1
readfadein
readfadein
readfadeout
readfadeout
dspc(ar$(readline),25)
readtime+=1
readtime>30
readfadeout=1
readfadein
readfadein
1:font_col=&40404000
2:font_col=&90909000
3:font_col=&c0c0c000
4:font_col=&fdfdfd00
CASE readfadein OF
WHEN 1:SYS 262291,,0,1,6,&00000000,&40404000
WHEN 2:SYS 262291,,0,1,6,&00000000,&90909000
WHEN 3:SYS 262291,,0,1,6,&00000000,&c0c0c000
WHEN 4:SYS 262291,,0,1,6,&00000000,&fdfdfd00
ENDCASE
(. readfadein+=1:
readfadein=5 readfadein=0
readfadeout
readtime=0
readfadeout
1:font_col=&c0c0c000
2:font_col=&90909000
3:font_col=&40404000
4:font_col=&00000000
CASE readfadeout OF
WHEN 1:SYS 262291,,0,1,6,&00000000,&c0c0c000
WHEN 2:SYS 262291,,0,1,6,&00000000,&90909000
WHEN 3:SYS 262291,,0,1,6,&00000000,&40404000
WHEN 4:SYS 262291,,0,1,6,&00000000,&00000000
ENDCASE
IF INKEY$(0)="x" THEN signal=1
readfadeout+=1
readfadeout=5
<7 readfadeout=0:readline+=1:readtime=0:readfadein=1
readline=3
readline=10
readline=15
readline=23
readline=19
readline=25
signal=1
decode(st,pl)
cx=1
cy=1
E3 surf%(cx,cy)=
surf$(st-1,pl-1,cx-1),cy,1))
code(st,pl)
cx=1
surf$(st-1,pl-1,cx-1)=""
cy=1
N- surf$(st-1,pl-1,cx-1)+=
(surf%(cx,cy))
insert after 'surf$(st-1,pl-1,cx-1)+=...' :
IF surf%(cx,cy)=255 THEN PROCwrong
r_init
rock=20
wing(5,5,1),action(5,5,1),target(5,5,1),wingx(5,5,1),wingy(5,5,1)
rocket(rock),rocketx(rock),rockety(rock),rocketax(rock),rocketay(rock),rocketcount(rock)
pl_stone(numba,a_stone,b_stone)
bu,hx,hy
IF free=0 PRINT"FREE=0!!":END
bu=1
numba
a7 A%=za-1:B%=zb-1:C%=a_stone:D%=b_stone:
position%
free-=1
showlogo
gload("lg1")
mus_setvolume(64)
mus_play(0,9):
6,113,1
6,112,2
C=0
T=0
192
128+C
swapscreen
6,112,1
6,113,1
X=1
schoose("pic"+
plot(0,32,400)
hidelogo
<300
>=300
X=5
schoose("pic"+
plot(0,32,400)
6,113,1
6,112,2
C=63
T=192
128+C
swapscreen
pixelswap
pixelswap
fadeinstars
6,112,1
6,113,1
a=1
snum
starx(a)=
(1279)
stary(a)=
(1023):
stary(a)<485
stary(a)>551
starc(a)=
starf()=0
fade=1
a=1
snum
starf(a)+=starc(a)/16
f=
(starf(a))
starx(a),stary(a)
A,B,C:
fa=flen:
fade(1,0,15):killintro=1:
C I$=
I$<>""
fin%
fa=flen:
fade(1,0,15):killintro=1:
wait(5)
fade
6,112,2
a=1
snum
starc(a)
starx(a),stary(a)
6,112,1
flash(shallwait)
flashnum=0
fx,fy,mx,my,mb,fok,col
mx,my,mb
fok=0
fx=1
flashnum
my>=flashy(fx)
my<flashy(fx)+40
flashactual<>fx
f_wht
I
sfp(flash$(flashactual),flashx(flashactual),flashy(flashactual))
flashactual=fx
fok=1
flashstate=6
flashactual=fx
2 flashstate+=1:
flashstate>11 flashstate=1
flashstate
1:col=&ffffff00
2:col=&fff0f000
3:col=&ffe0e000
4:col=&ffd0d000
5:col=&ffc0c000
6:col=&ffb0b000
7:col=&ffa0a000
8:col=&ffb0b000
9:col=&ffc0c000
10:col=&ffd0d000
11:col=&ffe0e000
12:col=&f0f0f000
)
SYS 262291,,0,1,6,&00000000,col
font_col=col
.
sfp(flash$(fx),flashx(fx),flashy(fx))
fok=1
shallwait
wait(4)
f_wht
fok=0
flashactual>0
sfp(flash$(flashactual),flashx(flashactual),flashy(flashactual))
flashactual=0:flashstate=0
anim(anum)
IF killintro THEN ENDPROC
a,b,c:
6,112,1:
6,113,1:
6,112,2:
6,112,1
6,21,0
6,21,9
fin%
animshow=1
" zbegin=0:
var for zoomin/out
fillarray("Film.F"+
(anum)+".fd",2)
flen=
(ar$(1))+1
fillarray("Film.F"+
(anum)+".fd",flen)
animshow=0
flen
* H$=ar$(a):
uppercase:ar$(a)=H$:a$=H$
a$,"PICTURE")
cut("P",8)
a$,"LOADMEM")
cut("M",8)
a$,"MERGEMEM")
cut("H",9)
a$,"PLOTMEM")
cut("T",8)
a$,"WAIT")
cut("W",5)
a$,"FADEOUT")
cut("F",8)
a$,"KILLMEM")
cut("K",8)
a$,"TERMINATE")
cut("X",10)
a$,"ZOOMIN")
cut("Z",7)
a$,"ZOOMOUT")
cut("O",8)
a$,"REPAINT")
cut("R",8)
a$,"PLOTBACK")
cut("B",9)
a$,"SCRIBE")
cut("S",7)
a$,"ZAPIN")
cut("I",6)
a$,"ZAPOUT")
cut("U",7)
a$,"GRAPHWIN")
cut("G",9)
a$,"NOGRAPHWIN")
cut("N",11)
a$,"TEXTIN")
cut("A",7)
a$,"TEXTOUT")
cut("C",8)
a$,"ZOOMSTART")
cut("D",10)
a$,"TEXT")
cut("E",5)
a$,"PROCEDURE")
cut("1",10)
a$,"REM") ar$(a)=" "
6,113,1
6,112,1
6,21,9
fa=2
flen
A,B,C:
fa=flen:
fade(1,0,15)
75 I$=
I$<>""
fin%
fa=flen:
fade(1,0,15)
a$=ar$(fa)
b$=
a$,1)
c$=
(a$)-1)
b$="P"
c$="VAR"
c$=filmvar$
6,112,2
picture(c$)
6,113,2
6,112,1
picture(c$)
6,113,1
b$="M"
E&
sload("Film.F"+
(anum)+"."+c$)
b$="1"
(c$)
fadeinstars
b$="H"
M'
smerge("Film.F"+
(anum)+"."+c$)
b$="W"
abuba=
FOR n=1TO VAL(c$)
WAIT
T7
A,B,C:
fin%=1 :abuba-=
(c$):
:n=VAL(c$)
U; I$=
I$<>""
fin%=1 :abuba-=
(c$):
:n=VAL(c$)
NEXT n
-abuba>
b$="X"
fa=flen
b$="F"
fade(1,0,15)
b$="K"
b$="R"
6,112,2
1279,1023
sget("cop1")
6,112,1
schoose("cop1")
plot(0,0,0)
sdelete("cop1")
b$="T"
spname$=
(c$)-10)
n%
plot(8,
c$,4)),
c$,6,4)))
b$="B"
slen=
c$,11,4))*4
shgt=
c$,16,4))*4
6,112,2
t p=
c$,4)):q=
c$,6,4))
u*
p,q:
p+slen,q+shgt:
sget("cop1")
spname$=
(c$)-20)
w%
plot(8,
c$,4)),
c$,6,4)))
x*
p,q:
p+slen,q+shgt:
sget("cop2")
schoose("cop1")
plot(0,p,q)
6,112,1
schoose("cop2")
plot(0,p,q)
sdelete("cop1")
sdelete("cop2")
b$="Z"
slen=
c$,16,4))*4
shgt=
c$,21,4))*4
. p=
c$,4))-slen/2:q=
c$,6,4))-shgt/2
. r=
c$,4))+slen/2:s=
c$,6,4))+shgt/2
6,112,2
p,q:
r,s:
sget("cop1")
zoom%=zbegin
1000
c$,11,4))
6,112,2
schoose("cop1")
plot(0,p,q)
l
zoom(
c$,4))-slen/2*zoom%/1000,
c$,6,4))-shgt/2*zoom%/1000,zoom%,zoom%,1000,1000,
(c$)-25))
!
p,q:
r,s:
sget("cop2")
6,112,1
schoose("cop2")
plot(0,p,q)
%
arm>2.5
wait(2)
wait(1)
(
A,B,C:
zoom%=1000:fin%=1
, I$=
I$<>""
zoom%=1000:fin%=1
zoom%
6,112,2
schoose("cop1")
plot(0,p,q)
6,112,1
sdelete("cop1")
sdelete("cop2")
b$="G"
x1=
c$,4))
y1=
c$,6,4))
x2=
c$,11,4))
y2=
c$,16,4))
24,x1;y1;x2;y2;
b$="A"
fadein(
(c$)-10),
c$,4)),
c$,6,4)))
b$="C"
fadeout(
(c$)-10),
c$,4)),
c$,6,4)))
b$="E"
(c$)-10),
c$,4)),
c$,6,4)))
b$="D"
zbegin=
b$="N"
b$="I"
slen=
c$,16,4))*4
shgt=
c$,21,4))*4
' p=
c$,4)):q=
c$,6,4))-shgt/2
, r=
c$,4))+slen:s=
c$,6,4))+shgt/2
6,112,2
p,q:
r,s:
sget("cop1")
zoom%=0
1000
c$,11,4))
6,112,2
schoose("cop1")
plot(0,p,q)
Y
zoom(
c$,4)),
c$,6,4))-shgt/2*zoom%/1000,1000,zoom%,1000,1000,
(c$)-25))
!
p,q:
r,s:
sget("cop2")
6,112,1
schoose("cop2")
plot(0,p,q)
%
arm>2.5
wait(2)
wait(1)
(
A,B,C:
zoom%=1000:fin%=1
, I$=
I$<>""
zoom%=1000:fin%=1
zoom%
6,112,2
schoose("cop1")
plot(0,p,q)
6,112,1
sdelete("cop1")
sdelete("cop2")
b$="U"
slen=
c$,16,4))*4
shgt=
c$,21,4))*4
' p=
c$,4)):q=
c$,6,4))-shgt/2
, r=
c$,4))+slen:s=
c$,6,4))+shgt/2
6,112,2
p,q:
r,s:
sget("cop1")
zoom%=1000
c$,11,4))
6,112,2
schoose("cop1")
plot(0,p,q)
Y
zoom(
c$,4)),
c$,6,4))-shgt/2*zoom%/1000,1000,zoom%,1000,1000,
(c$)-25))
!
p,q:
r,s:
sget("cop2")
6,112,1
schoose("cop2")
plot(0,p,q)
%
arm>2.5
wait(2)
wait(1)
%
A,B,C:
zoom%=0:fin%=1
) I$=
I$<>""
zoom%=0:fin%=1
zoom%
6,112,2
schoose("cop1")
plot(0,p,q)
6,112,1
sdelete("cop1")
sdelete("cop2")
b$="O"
slen=
c$,16,4))*4
shgt=
c$,21,4))*4
. p=
c$,4))-slen/2:q=
c$,6,4))-shgt/2
. r=
c$,4))+slen/2:s=
c$,6,4))+shgt/2
6,112,2
p,q:
r,s:
sget("cop1")
zoom%=1000
zbegin
c$,11,4))
6,112,2
schoose("cop1")
plot(0,p,q)
l
zoom(
c$,4))-slen/2*zoom%/1000,
c$,6,4))-shgt/2*zoom%/1000,zoom%,zoom%,1000,1000,
(c$)-25))
!
p,q:
r,s:
sget("cop2")
6,112,1
schoose("cop2")
plot(0,p,q)
%
arm>2.5
wait(2)
wait(1)
%
A,B,C:
zoom%=0:fin%=1
) I$=
I$<>""
zoom%=0:fin%=1
zoom%
6,112,2
schoose("cop1")
plot(0,p,q)
6,112,1
sdelete("cop1")
sdelete("cop2")
b$="S"
sx=
c$,2,4))
sy=
c$,6,4))
s$=
(c$)-10)
s$,n),sx,sy)
s$,n,1)<>" "
wait(5)
%
A,B,C:
(s$):fin%=1
' I$=
I$<>"" n=
(s$):fin%=1
g(glord)
Hg(glord)=1
gn$="Lord"
gn$="Lady"
showhigh
schoose("picture"):
plot(0,gx,gy)
wait(50)
f_blu
dsplargeB("HIGH SCORES",gx+176,gy+500)
f_wht
w=1
dspB(
(w),280,10+w*2)
dspB(
(high(w)),788,10+w*2)
dspB(high$(w),372,10+w*2)
getMK
f_wht
sh_bonus
centx=gx+bcx+68*bcz/1000
centy=gy+bcy+68*bcz/1000
csize=40*bcz/1000
zoom(gx+bcx,gy+bcy,bcz,bcz,1000,1000,"b"+
(bcnt))
C=4
release=1
A>centx-csize
A<centx+csize
B>centy-csize
B<centy+csize
givebonus:C=0:
gx,gy,gx+800,gy+600:bonus=0
bcnt+=1:
bcnt=5
bcnt=1
,3 bcz+=10+level*5:
bcz>=1200
dead=0
bonus=0
playtri(level)
nowshoot=0
3# allkilled=0:deadexit=0:bonus=0
frame(gx-16,gy-16-60,gx+816,gy+616,42)
inframe(gx-4,gy-4-60,gx+804,gy+604,42)
schoose("exit"):
plot(0,gx+4,gy-56)
frame(gx+244,gy-56,gx+796,gy-8,42)
6,113,1
time_index=
(200)=1
bonus=0
bonus=1:bcnt=
(4):bcx=
(750):bcy=
(550):bcz=200
shc+=1:
shc=5
shc=1
6,112,2
schoose("picture"):
plot(0,gx,gy)
arm>3
tristars
A,B,C
C=4
B<gy
A<gx+232
nomore=1:demo=1:demodone=1:dead=1:C=0
C=4
demo=1
demodone=1:C=0
demo=1
announce=6:ancount=5
dead=1
C=4
release=1
G< relnow=1:
PROCschoose("shoot"):PROCplot(8,A-48,B-48)
nowshoot=1
IB ns_x1=gx+(A-gx)/3 :ns_b1=gx+800+(A-(gx+800))/3
J" ns_y1=gy+(B-(gy+100))/3+100
LA ns_x2=ns_x1+(A-gx)/3 :ns_b2=ns_b1+(A-(gx+800))/3
M! ns_y2=ns_y1+(B-(gy+100))/3
OA ns_x3=ns_x2+(A-gx)/3 :ns_b3=ns_b2+(A-(gx+800))/3
P! ns_y3=ns_y2+(B-(gy+100))/3
nowshoot=3
128:
ns_x2,ns_y2,ns_x3,ns_y3:nowshoot=0:
ns_b2,ns_y2,ns_b3,ns_y3:
LINE ns_x2,ns_y2-4,ns_x3,ns_y3-4: LINE ns_b2,ns_y2-4,ns_b3,ns_y3-4
nowshoot=2
64:
ns_x1,ns_y1,ns_x2,ns_y2:nowshoot=3:
ns_b1,ns_y1,ns_b2,ns_y2:
LINE ns_x1,ns_y1-4,ns_x2,ns_y2-4: LINE ns_b1,ns_y1-4,ns_b2,ns_y2-4
nowshoot=1
gx,gy+100,ns_x1,ns_y1:nowshoot=2:
gx+800,gy+100,ns_b1,ns_y1:
LINE gx,gy+100-4,ns_x1,ns_y1-4: LINE gx+800,gy+100-4,ns_b1,ns_y1-4
20,24);tokill;" "
(score)),24);score
11,24);level
C=0
release=1
w=1
cr(w)<1
ck(w)>0
`, ck(w)+=1:
ck(w)>6
newtri:ck(w)=0
b# centx=gx+cx(w)+68*cz(w)/1000
c# centy=gy+cy(w)+68*cz(w)/1000
csize=40*cz(w)/1000
e6
ck(w)=0
x$="t"+
(cnt(w))
x$="xp"+
(ck(w))
f8
zoom(gx+cx(w),gy+cy(w),cz(w),cz(w),1000,1000,x$)
ck(w)>0
h, ck(w)+=1:
ck(w)>6
newtri:ck(w)=0
C=4
release=1
A>centx-csize
A<centx+csize
B>centy-csize
B<centy+csize
ck(w)=0
ck(w)=1:score+=99:C=0:tokill-=1
kI
tokill=0
allkilled=1:score+=2000:
gx,gy,800,600
l' cnt(w)+=1:
cnt(w)=13
cnt(w)=1
mg cz(w)+=10+level*5:
cz(w)>=1200
dead=0
newtri:shield%-=1:
gx,gy,gx+800,gy+600
shield%=-1
dead=1
cr(w)-=1
pW
cr(w)<-3
cr(w)>-6
level<5
schoose("marknew"):
plot(8,gx+cx(w),gy+cy(w))
qa
cz(w)>1000
cr(w)/2=
(cr(w)/2)
zoom(gx+cx(w),gy+cy(w),cz(w),cz(w),1000,1000,"tfire")
cr(w)-=1
schoose("tokill"):
plot(8,gx+400,gy+28)
bonus
sh_bonus
relnow=1
release=0:relnow=0
announce
announce
arm>2.5
wait(3)
dead=1
announce<>3
ancount=0
deadexit=0
ancount=20:announce=3
demo=1
shield%=4
schoose("shield"+
(shield%))
shield%>0
(shield%=0
shc>2)
plot(8,gx+12,gy+12)
gx,gy:
gx+800,gy+600:
sget("backg")
schoose("backg")
6,112,1
plot(0,gx,gy)
demo=1
deadexit=0:alkilled=0
-time_index<10
-time_index>=10
deadexit
allkilled
(demo=1
demodone=1)
allkilled
announce=2:ancount=10
givebonus
(2)=1
& announce=4:ancount=10:score+=999
2 announce=5:ancount=10:
shield%<4 shield%+=1
announce
ancount-=1:
ancount=0
announce=3
deadexit=1
announce=0:
/ antype=3-antype:
antype=1
announce<>6
announce=2
schoose("stage"):
plot(8,gx+200,gy+200)
schoose("s"+
(level)):
plot(8,gx+500,gy+200)
announce
schoose("go"):
plot(8,gx+260,gy+200)
schoose("gameover"):
plot(8,gx+160,gy+160)
schoose("kbon"):
plot(8,gx+200,gy+200)
schoose("sbon"):
plot(8,gx+200,gy+200)
schoose("sheriff"):
plot(8,gx+100,gy+200)
newtri
A cnt(w)=
(12):cx(w)=
(600):cy(w)=
(400):cz(w)=200:cr(w)=
cut(c$,cnum)
& ar$(a)=c$+
ar$(a),
(ar$(a))-cnum)
sptest
music=0
PRINT "Speed test"
<800000
ram=1
ram=2
PRINT HIMEM-LOMEM,ram:G=GET
10000:a=a+2:
howfast=t
music=0
t<40
arm=3
t<20
arm=6
t<12
arm=7
t<4
arm=9
t>120
arm=2
t>40
t<110
arm=2.5
t<60
arm=3
t<30
arm=6
t<14
arm=7
t<4
arm=9
t>180
arm=2
t>60
t<180
arm=2.5
COLOUR 42 TINT 0
PRINT "Speed index=";t
PRINT "Your processor has rating ";arm
G=GET
ram=2 music=1
ram=1
"RMAFree 260k Error RMA allocation error"
startgame
verynew
gmerge("pt1")
verynew=1
6,112,2
verynew=1
6,113,2
6,112,1
ok=1
picture(sp$)
f_yel
centerB("Please select.",1024-9*40)
f_wht
centerB("Conquer the stars",1024-12*40)
centerB("Load a game (disabled)",1024-14*40)
pixelswap
verynew=1
verynew=0:
640,350:
mouse_on
row=0
A,B,C
I$=
-
A>369
A<918
B>533
B<599
row=13
-
A>349
A<937
B>458
B<515
row=15
mus_quit
262274,bfnt%
262274,sfnt%
262274,mfnt%
6,229,0
"Alphabet Latin1"
262383,-1
row=13
fade(2,0,15)
c=0
prepare
c<>2
selectgalaxy
mus_load("ST3")
mastermap
ok=1
flag()=0:flag=0
ok=0
PROCload
IF ok THEN
PROCmus_load("ST3")
PROCmpart(12)
SYS6,21,0
PROCmastermap
ok=1
ENDIF
prepare
genplan=0
pp$="ey1"
6,112,1:
6,113,1
6,112,2
fillarray("pr1",15)
prep(1,3)
f_wht
b=2 p=600
dspB(ar$(2+a+3*(b-1)),80+p,5+a+(b-1)*7.5)
pixelswap
6,113,1:
6,112,1
r = 2
CASE r OF
WHEN 1: Sol=15
WHEN 2: Sol=25
WHEN 3: Sol=40
ENDCASE
Sol=25
_sunsinit
loadplans
genplan(1)
gmerge("br11")
6,112,2
players=1
picture("ey1")
inframe(529,483,597,548,42)
548,497:
592,533:
sget("rubber")
f_yel
dspcB("How many human players wish to play?",7)
f_wht
schoose("lr")
plot(8,384,488)
schoose("ok")
plot(8,616,488)
frame(529-8,483-8,597+8,548+8,42)
inframe(529,483,597,548,42)
(players),552,13)
front(0,0,1279,1023,1)
genplan(3)
inc=0:exit=0
a,b,c:
getInc(384,488)
F) players+=inc:
players<1 players=1
players>5 players=5
getExit(616,488)
schoose("rubber")
plot(0,548,497)
(players),552,13)
genplan(1)
wait(20)
exit
sdelete("rubber")
Startkapital festlegen
players>1
1=0
6,112,2
picture("ey1")
f_yel
dspcB("How much money do the players",7)
dspcB("wish to receive?",7)
pixelswap
actualmenu=2
credits=5000
getMC("Receive",150)
genplan(2)
gmerge("br13")
n=1
players
6,112,2
picture("ey1")
players=1
a$="P"
1: a$="One"
2: a$="Two"
3: a$="Three"
4: a$="Four"
5: a$="Five"
a$="Player "+a$+", p"
dspcB(a$+"lease identify yourself.",7)
f_yel
dspB("Name:",440,11)
f_wht
frame(568,520+40,826,586+40,42)
no_texture=1
inframe(572,524+40,822,582+40,42)
no_texture=0
front(0,0,1279,1023,1)
gflag=1
genplan(3)
inputname("",688,524+40,0)
gflag=0
n=1
PName$=pl$
H$(n)=pl$
n=1
pl$=""
PName$="Arthur"
n=1
H$(n)=PName$
dspcB("You are...",14)
schoose("male"):
plot(0,346,320)
schoose("female"):
plot(0,690,320)
ta$="":tb$=""
A,B,C:
C=4
B>=320
B<=368
T
A>346
A<590
button(346,320,590,368,1):ta$="Lord":tb$="Milord":Hg(n)=1
T
A>690
A<934
button(690,320,934,368,1):ta$="Lady":tb$="Milady":Hg(n)=2
ta$<>""
dspcB("Welcome, "+tb$+".",20)
time_index=
arm>=6
-time_index>=80
genplan(3)
genplan(2)
sdelete("male"):
sdelete("female")
n=1
players
orbit(n)=-1
selectedsys(n)=-1
t%(n)=30
hi%(n)=0
md%(n)=511
lo%(n)=0
actualsys=orbit(1)
selectedsys=orbit(1)
n=players+1
orbit(n)=
(Sol)
gload("ts1")
gmerge("pt1")
n=1
players
6,112,2
picture(pp$)
exoframe((X-1)*428+104,Y*160-96,(X-1)*428+284,Y*160+4)
schoose("flag"+
((Y-1)*3+X))
plot(0,(X-1)*428+100,Y*160-100)
m=1
players
P
flag(m)=(Y-1)*3+X
schoose("flag0"):
plot(8,(X-1)*428+100,Y*160-100)
n>1
front(0,0,1279,1023,1)
f_yel
players=1
a$="P"
g(n)+" "+H$(n)+", p"
n>1
genplan(1)
dspcB(a$+"lease choose one of the flags.",3)
f_wht
n=1
front(0,0,1279,1023,1)
genplan(3)
flag=0
genplan(1)
a,b,c
F
a>(X-1)*428+104
b>Y*160-96
a<(X-1)*428+284
b<Y*160+4
flag=(Y-1)*3+X
5
(X-1)*428+100,Y*160-100,188,108
wait(20)
2
(X-1)*428+100,Y*160-100,188,108
ok=1
m=1
players
!
flag(m)= flag
ok=0
flag>0
ok=1
flag(n)=flag
PROCfade(1,0,13)
genplan(2)
a=players+1
flag=
$
flag=flag(b)
b=15:flag=0
flag
flag
flag(a)=flag
players=1
6,112,2
fillarray("pr2",15)
prep(3,3)
b=2 p=600
dspB(ar$(2+a+3*(b-1)),80+p,5+a+(b-1)*7.5)
front(0,0,1279,1023,1)
loadplans
genplan(3)
PMission=1
PROCfade(2,0,15)
genplan(2)
PMission=0
6,112,2
players>1
fillarray("pr4",12)
prep(7,3)
fillarray("pr3",12)
prep(5,3)
f_wht
b=2 p=600
dspB(ar$(2+a+3*(b-1)),80+p,5+a+(b-1)*7.5)
front(0,0,1279,1023,1)
loadplans
genplan(3)
r=1
(r=2
players>1)
PDifficult=r
noraces=0
players>1
< PDifficult-=1:
PDifficult=0
noraces=1: PDifficult=1
noraces=0
X=players+1
0 credits(X)=300+
(5)*50+(PDifficult-1)*150
% etrans%(X)+=(PDifficult-1)*100
PDifficult=3
(4)=1
evillord(X)=1
players
efreight(n,1)=0
PDifficult
1: credits(n)=300:etrans%(n)=50:ewar%(n)=5:ebomb%(n)=0:escout%(n)=0:Hl(n)=0
2: credits(n)=200:etrans%(n)=35:ewar%(n)=5:ebomb%(n)=0:escout%(n)=0:Hl(n)=0
d
3: credits(n)=50:ewar%(n)=0:etrans%(n)=20:ebomb%(n)=0:escout%(n)=0:Hl(n)=0:efreight(n,1)=20
noraces
players
%P credits(n)=1000:etrans%(n)=50:ewar%(n)=5:ebomb%(n)=0:escout%(n)=0:Hl(n)=0
(a credits=credits(1):war%=ewar%(1):trans%=etrans%(1):scout%=0:bomb%=0:freight(1)=efreight(1,1)
PROCfade(1,0,13)
genplan(2)
6,112,2
picture("st1")
flagload(flag(1))
gload("ts1")
gmerge("pt1")
PROCexoframe(552,112,732,212)
532,100:
752,235:
sget("flback")
PROCschoose("flag"+STR$(flag(1)))
PROCplot(0,548,108)
gmerge("br7")
schoose("e1")
plot(0,260,140)
schoose("e2")
plot(0,784,140)
f_yel:
dspcB("Let me repeat.",3)
players=1
=# a$="You, "+ta$+" "+PName$+","
a$="The lords "
players
a$+=H$(n)
C"
(players-1): a$+=" and "
(players): a$+=""
a$+=", "
f_wht:
dspcB(a$,7)
Sol
15: a$="small"
25: a$="medium"
40: a$="large"
dspcB("arrived at a "+a$+" galaxy,",9)
PMission
0: a$="show who is the best"
1: a$="conquer the stars"
2: a$="gain financial power"
3: a$="build a great civilization"
players>1
c$="and "
c$=""
players=1
b$="mission"
b$="aim"
dspcB(c$+"have the "+b$+" to "+a$+".",11)
PDifficult
1: a$="weak"
2: a$="advanced"
3: a$="strong"
noraces=0
b$="Your enemies are "+a$+"."
b$="There are no other races."
dspcB(b$,13)
f_yel:
dspcB("Is this correct?",16)
f_wht
6,113,2
time_index=
flagstep(532,100)
genplan(1)
-time_index<1
-time_index>=1
i c=0
A,B,C
C=4
A>260
A<958
B>140
B<192
l-
A<504 c=1:
button(262,141,502,189,1)
m.
A>784 c=2:
button(787,141,1024,189,1)
noraces
n=players+1
existing(n)=0
fade(2,0,13)
6,112,1
6,112,2
genplan(2)
c=2
Sol>genplan
gload("ts1")
gmerge("pt1")
actualmenu=1
masterredo
shortinfo
hour_on
Sol-genplan<4
wait(50)
genplan(1):
genplan=Sol
hour_off
mus_fadeout
snew:
gload("pt1")
selectgalaxy
wantit,r
6,21,0
6,21,9
gload("ts1")
gmerge("br14")
gmerge("br15")
6,113,1
6,112,2
_sunpos
picture("st"+
(mappic))
0,0,1279,200
SunX(0)=wrx:SunY(0)=wry
lp=1
schoose("sun"+
(lp))
rX=1
5
Sunsize(rX)=lp
plot(8,SunX(rX),SunY(rX))
schoose("worm")
plot(8,wrx,wry)
pixelswap
6,112,1
r=1
0
SYS 262291,,0,1,6,&00000000,&40404000
font_col=&40404000
0
SYS 262291,,0,1,6,&00000000,&90909000
font_col=&90909000
*
schoose("fade1"):
plot(0,400,60)
0
SYS 262291,,0,1,6,&00000000,&c0c0c000
font_col=&c0c0c000
*
schoose("fade2"):
plot(0,400,60)
0
SYS 262291,,0,1,6,&00000000,&fdfdfd00
font_col=&fdfdfd00
*
schoose("fade3"):
plot(0,400,60)
dspc("Choose this galaxy?",22)
REPEAT MOUSE A,B,C:UNTIL C=0
REPEAT MOUSE A,B,C:UNTIL C<>0
accepted=0
askmaster(400,60,0)
accepted
wantit=1
r=1
0
SYS 262291,,0,1,6,&00000000,&c0c0c000
font_col=&c0c0c000
*
schoose("fade3"):
plot(0,400,60)
0
SYS 262291,,0,1,6,&00000000,&90909000
font_col=&90909000
*
schoose("fade2"):
plot(0,400,60)
0
SYS 262291,,0,1,6,&00000000,&40404000
font_col=&40404000
*
schoose("fade1"):
plot(0,400,60)
$
0,0,1279,200
r<4
dspc("Choose this galaxy?",22)
wantit=0
6,112,2
picture("st"+
(mappic))
0,0,1279,200
pixelswap
wait(20)
sdelete("fade1"):
sdelete("fade2"):
sdelete("fade3")
wantit
6,113,1
6,112,2
picture("st"+
(mappic))
0,0,1279,200
SunX(0)=wrx:SunY(0)=wry
lp=1
schoose("sun"+
(lp))
rX=1
Sunsize(rX)=lp
plot(8,SunX(rX),SunY(rX))
schoose("worm")
plot(8,wrx,wry)
f_wht
f_yel:
dsplargeB(ar$(1),40,900):
f_wht
domap
gmerge("br9")
picture("st"+
(mappic))
frame(0,0,1279,201,42)
no_texture=1
inframe(15,15,381,186,42)
no_texture=0
inframe(396,69,1261,186,42)
schoose("export")
plot(0,397,15)
sdelete("export")
0,205,1279,205
genplan(num)
nu=1
>16900
mus_play(5,9):
=-200000
genplan=Sol
pl_num=0
nu=num
genplan<Sol
pl_num<>0
_planinit
prep(pn,pa)
"( pcount(1)=1:pcount(2)=1:pcount(3)=1
picture(pp$)
sload("StartGr.Gr"+
(pn))
gmerge("pt1")
n=2 p=120
p=684
frame(p,984-300*n-60,p+428,1212-300*n-60,42)
inframe(p+8,992-300*n-60,p+8+412,1204-300*n-60,42)
schoose("piccy"+
plot(0,p+16,1000-300*n-60)
loadplans
1+ g=
("<Planets$Dir>.Data2.pld"+
(3)))
f=1
#g,ar$(f)
A,B,C:
A,B,C:
B>80
B<320 r=3
B>380
B<620 r=2
B>680
B<920 r=1
n=2 p=120
p=684
n=r
E&
p+12,996-300*n-60,404,204
wait(20)
H&
p+12,996-300*n-60,404,204
C=0
M
genplan>0
genplan(1)
fadein(f$,fx,fy)
RESTORE 8830
READ col
SYS 262291,,0,1,6,&00000000,fadetable(X-1)
Y" font_col=fadetable(X-1)
dsp(f$,fx,fy)
wait(2)
fadeout(f$,fx,fy)
RESTORE 8830
FOR X=1TO17
READ col:ar$(X)=STR$(col)
NEXT X
X=17
SYS 262291,,0,1,6,&00000000,fadetable(X-1)
font_col=fadetable(X-1)
dsp(f$,fx,fy)
wait(2)
0,1023-(fy*40)-12,1279,56
f_wht
front(fx1,fy1,fx2,fy2,fr)
6,112,3-fr
fx1,fy1
fx2,fy2
sget("screen")
6,112,fr
schoose("screen")
plot(0,fx1,fy1)
sdelete("screen")
b_glide(gn$,gx1,gy1,gx2,gy2)
stp,g$,gl%,ga$
g$=gn$
gn$="1"
gn$="4"
ga$=gn$
ga$=""
((gx2<gx1
gn$="2")
(gx2>gx1
gn$="5"))
b_speed=0
b_ps(gn$+"-1",gx1,gy1)
arm>=3
wait(4)
wait(2)
b_ps(gn$+"-2",gx1,gy1)
g$=gn$+"-2"
1279,1023:
sget("screen")
6,113,1
6,112,2
schoose("screen")
plot(0,0,0)
gr%(gx1,gy1)>0
schoose("part"+
(gx1-1)+
(gy1-1)):
plot(0,gx1*80-80,gy1*80-80)
human=2
(human=1
gr%(gx1,gy1)<>19)
schoose("part"+
(gx1-1)+
(gy1-1))
plot(8,gx1*80-80,gy1*80-80)
gr%(gx1,gy1)>0
schoose(
(gr%(gx1,gy1))):
plot(8,gx1*80-80,gy1*80-80)
1279,1023:
sget("screen")
gx1*80-160,gy1*80-160
gx1*80+80,gy1*80+80
sget("over")
b_speed=0
gx1<>gx2
gx2>gx1 stp=4
stp=-4
gl=gx1*80-80
gx2*80-80
schoose("over")
&
plot(0,gx1*80-160,gy1*80-160)
schoose(g$)
ga$<>""
gl%+=1
4
gl%<=3
schoose(ga$+"-2")
schoose(ga$)
gl%=6
gl%=0
plot(8,gl,gy1*80-80)
swapscreen
arm>=3
wait(1)
gy2>gy1 stp=4
stp=-4
gl=gy1*80-80
gy2*80-80
schoose("over")
&
plot(0,gx1*80-160,gy1*80-160)
schoose(gn$)
ga$<>""
gl%+=1
4
gl%<=3
schoose(ga$+"-2")
schoose(ga$)
gl%=6
gl%=0
plot(8,gx1*80-80,gl)
swapscreen
arm>=3
wait(1)
schoose("part"+
(gx1-1)+
(gy1-1)):
plot(0,gx1*80-80,gy1*80-80)
gr%(gx1,gy1)>0
(human=2
(human=1
gr%(gx1,gy1)<>19))
schoose(
(gr%(gx1,gy1))):
plot(8,gx1*80-80,gy1*80-80)
schoose("part"+
(gx2-1)+
(gy2-1)):
plot(0,gx2*80-80,gy2*80-80)
gr%(gx2,gy2)>0
(human=2
(human=1
gr%(gx2,gy2)<>19))
schoose(
(gr%(gx2,gy2))):
plot(8,gx2*80-80,gy2*80-80)
schoose(gn$):
plot(8,gx2*80-80,gy2*80-80)
gx1*80-160,gy1*80-160
gx1*80+80,gy1*80+80
sget("over")
6,112,1
((gx2<gx1
gn$="2")
(gx2>gx1
gn$="5"))
b_speed=0
b_ps(gn$+"-1",gx2,gy2)
wait(2)
b_ps(gn$,gx2,gy2)
wait(2)
b_speed=1
schoose("over")
plot(0,gx1*80-160,gy1*80-160)
getfree
X tfree%=trans%-(freight(0)+freight(1)+freight(2)+freight(3)+ship(1)+ship(2)+ship(3))
error
6,112,1:
6,113,1
*fx 20
mus_quit
"Thanks for playing the EXODUS demo."
"The full version is available"
"from all good dealers!"
"More infos can be found on the Artex"
"website:"
192
"http://members.aol.com/artexsoft"
0
$;" at line ";
=134
"Sprite name: ";spname$
startup
-100,-100,20,20
MOUSE TO -99,-99
a$=""
n=32
a$+=
(n+1)
6,112,2
SYS 6,113,2 :REM TEST!!!
PROCpicture("st3")
f_wht
dspB(a$,100,10)
dsplargeB(a$,100,10)
PROCcenterB(a$,100)
G=GET
6,112,1
SYS 6,113,1 :REM TEST!!!
0,0,1279,1023
640,512
f_wht
SYS 262291,,0,1,6,&00000000,&fdfdfd00
font_col=&fdfdfd00
font_back_col=0
f_red
SYS 262291,,0,1,6,&00000000,&0000ee00
font_col=&0000ee00
font_back_col=0
f_yel
SYS 262291,,0,1,6,&00000000,&99ffff00
font_col=&99ffff00
font_back_col=0
f_blu
SYS 262291,,0,1,6,&00000000,&ff880000
font_col=&ff880000
font_back_col=0
f_grn
SYS 262291,,0,1,6,&00000000,&00ee0000
font_col=&00ee0000
font_back_col=0
f_ora
SYS 262291,,0,1,6,&00000000,&00aaff00
font_col=&00aaff00
font_back_col=0
fontcol(col%)
SYS 262291,,0,1,6,&00000000,col%
font_col=col%
font_back_col=0
_initagain
),3))
Y$="!RunImage"
music=0
arm=0
N$="sEt"+j$+
"Font_CacheAddr"
version
version<335
blend_feature=0
blend_feature=1
262273,,"FutureFont.Normal",80*16,80*16
mfnt%
262273,,"FutureFont.Normal",24*16,24*16
bfnt%
262273,,"FutureFont.Normal",16*16,16*16
sfnt%
SYS 262291,,0,1,6,&00000000,&ffffffff
OSCLIN$+Y$+" FF"+"8"
SYS 262290,bfnt%,0,1,6
SYS 262290,sfnt%,0,1,6
SYS 262290,mfnt%,0,1,6
262282,bfnt%
ar$(62),XY(10)
ass_position
position% 6000
rnd_table% 4096
4095:rnd_table%?X=
(256)-1:
pass%=0
P%=position%
[OPT pass%
] ; R0= za - Kleinstes Feld
^ ; R1= zb - Groesstes Feld
; R2= zu setzender Stein
`1 ; R3= Stein, neben den gesetzt werden soll
.begin
CMP R3,#0
eK BEQ place_at_random ; falls =0, gleich zu RandomPos springen
g2 MOV R4,#0 ; Schleifenwert
h: MOV R6,#0 ; Flag, ob Stein da ist
.checkforstone_loop
ADR R5,planetsurface
LDR R5,[R5]
oJ LDRB R5,[R5,R4] ;in R5 jetzt aktueller Stein auf Planet
qF CMP R5,R3 ;aktuellen Stein mit B-Stein vergl.
s:
Q R6,#1 ;Flag stezen, falls gleich
ADD R4,R4,#1
CMP R4,#256
y BNE checkforstone_loop
.go_on_here
}1 CMP R6,#1 ;Flag gesetzt?
~= BNE place_at_random ;Falls nicht, Random-Place
.tacticplace_prep
, MOV R5,#0 ;Loop-Var
I MOV R11,#0 ;Flag,ob irgendwo neben Stein was frei
.tp_loop
ADR R4,planetsurface
LDR R4,[R4]
J LDRB R4,[R4,R5] ;in R4 jetzt aktueller Stein auf Planet
7 CMP R4,R3 ;ist es ein B-Stein?
3 BEQ foundone ;ja=>analysieren
.tploop_goon
ADD R5,R5,#1
CMP R5,#256
BNE tp_loop
.auswerten
CMP R11,#1
B BNE place_at_random ;falls keiner da =>zu RandPlace
6 B tactical_place ;ansonsten 'weiter'
.foundone
;Position steht in R5
;Umrechnen in Koordinaten
+ MOV R9,R5,LSR#4 ;Y-Koord
MOV R8,R9,LSL#4
+ SUB R8,R5,R8 ;X-Koord
, MOV R10,#1 ;Loop-Var
.cf_freB
/ MOV R6,R8 ;R6=X-Backup
/ MOV R7,R9 ;R7=Y-Backup
CMP R10,#1
SUBEQ R6,R6,#1
ADDEQ R7,R7,#1
CMP R10,#2
ADDEQ R7,R7,#1
CMP R10,#3
ADDEQ R6,R6,#1
ADDEQ R7,R7,#1
CMP R10,#4
ADDEQ R6,R6,#1
CMP R10,#5
ADDEQ R6,R6,#1
SUBEQ R7,R7,#1
CMP R10,#6
SUBEQ R7,R7,#1
CMP R10,#7
SUBEQ R6,R6,#1
SUBEQ R7,R7,#1
CMP R10,#8
SUBEQ R6,R6,#1
;'Range Check'
CMP R6,R0
BLT afterch
CMP R6,R1
BGT afterch
CMP R7,R0
BLT afterch
CMP R7,R1
BGT afterch
;check, ob was frei
- ;dazu wieder Adresse aus R6+R7 machen
MOV R12,R7,LSL#4
ADD R12,R12,R6
ADR R4,planetsurface
LDR R4,[R4]
J LDRB R4,[R4,R12] ;in R4 jetzt aktueller Stein auf Planet
CMP R4,#0
Q R11,#1 ;Falls Stein=0,Flag stez.
CMP R4,#9
Q R11,#1 ;Falls Stein=9,Flag stez.
.afterch
ADD R10,R10,#1
CMP R10,#9
BNE cf_freB
.checkdone
B tploop_goon
.tactical_place
7 ;Zufallsnummer aussuchen, bis es ein B-Stein ist
.tp_start
ADR R6,rnd_point%
LDR R6,[R6]
ADR R5,rndtab
LDR R5,[R5]
LDRB R5,[R5,R6]
ADD R6,R6,#1
CMP R6,#4096
Q R6,#0
ADR R7,rnd_point%
STR R6,[R7]
ADR R4,planetsurface
LDR R4,[R4]
J LDRB R4,[R4,R5] ;in R4 jetzt aktueller Stein auf Planet
7 CMP R4,R3 ;ist es ein B-Stein?
= BNE tp_start ;falls nicht, suchen gehen
.checkif_onefree
! ;B-Stein-Offs. steht in R5
;Umrechnen in Koordinaten
+ MOV R9,R5,LSR#4 ;Y-Koord
MOV R8,R9,LSL#4
+ SUB R8,R5,R8 ;X-Koord
, MOV R10,#1 ;Loop-Var
5 MOV R11,#0 ;Flag, ob was frei
.cf_free
/ MOV R6,R8 ;R6=X-Backup
/ MOV R7,R9 ;R7=Y-Backup
CMP R10,#1
SUBEQ R6,R6,#1
ADDEQ R7,R7,#1
CMP R10,#2
ADDEQ R7,R7,#1
CMP R10,#3
ADDEQ R6,R6,#1
ADDEQ R7,R7,#1
CMP R10,#4
ADDEQ R6,R6,#1
CMP R10,#5
ADDEQ R6,R6,#1
SUBEQ R7,R7,#1
CMP R10,#6
SUBEQ R7,R7,#1
CMP R10,#7
SUBEQ R6,R6,#1
SUBEQ R7,R7,#1
CMP R10,#8
SUBEQ R6,R6,#1
;'Range Check'
CMP R6,R0
BLT after_rc
CMP R6,R1
BGT after_rc
CMP R7,R0
BLT after_rc
CMP R7,R1
BGT after_rc
;check, ob was frei
;- ;dazu wieder Adresse aus R6+R7 machen
MOV R12,R7,LSL#4
ADD R12,R12,R6
ADR R4,planetsurface
LDR R4,[R4]
BJ LDRB R4,[R4,R12] ;in R4 jetzt aktueller Stein auf Planet
CMP R4,#0
E9
Q R11,#1 ;Falls Stein=0,Flag stez.
CMP R4,#9
G9
Q R11,#1 ;Falls Stein=9,Flag stez.
.after_rc
ADD R10,R10,#1
CMP R10,#9
BNE cf_free
.checkcomplete
; MOV R0,R11;TEST!!!
; MOV PC,R14;TEST!!!
U3 CMP R11,#1 ;ist einer frei?
V3 BNE tactical_place ;Nein=>von vorne
.do_placing
ZA MOV R9,R5,LSR#4 ;nochmal Y-Koord aus R5 machen
MOV R8,R9,LSL#4
\7 SUB R8,R5,R8 ;nochmal X-Koord ...
.selecta_field
a= ADR R11,rnd_point% ;Zufallszahl, welches Feld
LDR R11,[R11]
ADR R10,rndtab
LDR R10,[R10]
LDRB R10,[R10,R11]
ADD R11,R11,#1
CMP R11,#4096
Q R11,#0
ADR R6,rnd_point%
STR R11,[R6]
MOV R10,R10,LSR#5
m, ADD R10,R10,#1 ;R10=
p/ MOV R6,R8 ;R6=X-Backup
q/ MOV R7,R9 ;R7=Y-Backup
CMP R10,#1
SUBEQ R6,R6,#1
ADDEQ R7,R7,#1
CMP R10,#2
ADDEQ R7,R7,#1
CMP R10,#3
ADDEQ R6,R6,#1
ADDEQ R7,R7,#1
CMP R10,#4
ADDEQ R6,R6,#1
CMP R10,#5
ADDEQ R6,R6,#1
SUBEQ R7,R7,#1
CMP R10,#6
SUBEQ R7,R7,#1
CMP R10,#7
SUBEQ R6,R6,#1
SUBEQ R7,R7,#1
CMP R10,#8
SUBEQ R6,R6,#1
;'Range Check'
CMP R6,R0
BLT selecta_field
CMP R6,R1
BGT selecta_field
CMP R7,R0
BLT selecta_field
CMP R7,R1
BGT selecta_field
;Check, ob Feld frei
- ;dazu wieder Adresse aus R6+R7 machen
MOV R12,R7,LSL#4
ADD R12,R12,R6
ADR R4,planetsurface
LDR R4,[R4]
J LDRB R4,[R4,R12] ;in R4 jetzt aktueller Stein auf Planet
CMP R4,#0
= BEQ prepareset ;Falls Stein=0,Stein stez.
CMP R4,#9
= BEQ prepareset ;Falls Stein=9,Stein stez.
: B selecta_field ;Nix frei=>Neuen suchen
.prepareset
MOV R5,R12
B setstone
.place_at_random
2 ;zufaellig auf eine (freie) Position setzen
.random_number
ADR R6,rnd_point%
LDR R6,[R6]
ADR R5,rndtab
LDR R5,[R5]
LDRB R5,[R5,R6]
ADD R6,R6,#1
6 CMP R6,#4096 ; ist Pointer=4096?
Q R6,#0 ; ja -> wieder auf 0
ADR R7,rnd_point%
: STR R6,[R7] ; neue Zahl abspeichern
.findfreefield
;Zufallszahl steht in R5
;Umrechnen in Koordinaten
+ MOV R9,R5,LSR#4 ;Y-Koord
MOV R8,R9,LSL#4
+ SUB R8,R5,R8 ;X-Koord
;'Range Check'
CMP R8,R0
BLT random_number
CMP R8,R1
BGT random_number
CMP R9,R0
BLT random_number
CMP R9,R1
BGT random_number
ADR R4,planetsurface
LDR R4,[R4]
J LDRB R4,[R4,R5] ;in R4 jetzt aktueller Stein auf Planet
' ;Check, ob geplottet werden darf
D MOV R6,#0 ;Flag, 1=es darf geplottet werden
CMP R4,#0
Q R6,#1 ;Falls Stein=0,darf gepl. werd.
CMP R4,#9
Q R6,#1 ;Falls Stein=9,darf gepl. werd.
1 CMP R6,#1 ;Plot erlaubt?
@ BNE random_number ;Nein -> Nochmal zu random_n.
G B setstone ;Ansonsten weiter bei 'Stein setzen'
.setstone
ADR R4,planetsurface
LDR R4,[R4]
L STRB R2,[R4,R5] ;aktueller Stein auf Planet =Inhalt v. R4
.exitdaroutine
MOV PC,R14
;Felder, Variablen
.rnd_point%
EQUD 0
ALIGN
.planetsurface
EQUD planfield%
ALIGN
.rndtab
EQUD rnd_table%
ALIGN
.rotation
EQUD 1
ALIGN
pass%
0,0,1271,1023
eorvalue=19
animshow=0:j$="type"
com$(15)
("Graphic2.cm1")
n=0
#A,com$(n)
("<Planets$Dir>.!Run.opt")
max_volume=
init sprites for init screen
PROCinitlib(327680) :REM =320K
initlib(400000)
sload("<Planets$Dir>.Graphic.st1")
schoose("initspr")
plot(0,388,492)
6,4,1
_initagain
howfast=0
blend_featue=0
font_col=0
font_back_col=0
f_wht
sptest
** all loading here **
*<Planets$Dir>.Font.3x5
rmload(9)
patch_terrapicture
_InitMice
mus_load("ST1")
PROCinitlib(500000) :REM TEST!!!!!!!!!!!!!!!!!!!!!!!
ass_swap
pswapinit
rmload(rm)
5,com$(2)+"modules.md"+
initB
planfield% 256
t$(685)
("Data.gt1")
t$(b)=""
b$=
eorvalue)
P*
b$<>
(13)
b$<>
(10)
t$(b)+=b$
(13)
fadeinit
b_init
r_init
init_tristars
spcode
spcodeblank
ass_position
fl_init
normalfont=0
SolarSystems=25
Sol=SolarSystems
killintro=0
lastchoice=0
fadetable(16)
fadetable(00)=&00000000
fadetable(01)=&10101000
fadetable(02)=&20202000
fadetable(03)=&30303000
fadetable(04)=&40404000
fadetable(05)=&50505000
fadetable(06)=&60606000
fadetable(07)=&70707000
fadetable(08)=&80808000
fadetable(09)=&90909000
fadetable(10)=&a0a0a000
fadetable(11)=&b0b0b000
fadetable(12)=&c0c0c000
fadetable(13)=&d0d0d000
fadetable(14)=&e0e0e000
fadetable(15)=&f0f0f000
fadetable(16)=&ffffff00
sh_addx(8),sh_addy(8),sh_slen(8),sh_shgt(8),sh_name$(8),sh_vx(8),sh_vy(8),sh_px(8),sh_py(8),sh_delay%(8),sh_ai(8),sh_iadd(8),sh_X(8),sh_type(8),sh_xl(8) :
films
cnt(5),cx(5),cy(5),cw(5),cz(5),cr(5),ck(5):
StarSheriff
high$(4),high(4)
already(16) :
benutzt beim Planetenmachen
markX(15,8),markY(15,8) :
Marker x,y-Koord.
mark$(15,8) :
Marker-String
pc%(8),pb%(8),av%(8) :
Trading
tk$(4),tk(4) :
SpaceCombat
cb(3)
stline$(20) :
fuer Monthly Status
spotcol%(63),spottint%(63) :
PROCframe
num=30
fontsizeB=10
flash$(num),flashx(num),flashy(num)
* flashnum=0:flashstate=0:flashactual=0
produce(3) :
fuer CalcFly
pcount(3)
recall_max=20
recall$(recall_max) :
letzte Infos
var(30) :
FREI VERFUEGBAR! <----
factor% 20 :
fuer PROCzoom
snum=50
starx(snum)
stary(snum)
starc(snum)
starf(snum)
3:high$(X)="Barkeeper":high(X)=X*10657
xy=0
fx=0:fxc=0
watcher=0
@ claimed=0 :
benutzt bei PROCclaim
L actualMenu=1 :
bei1:Galax-Karte,sonst Plan-karte
I spaceport=0 :
benutzt bei PROCcheckspaceport
firstplanet(15) :
ob schon ersten Plan. besiedelt
findvar=0
: varfound=0 :
ob var gefunden
window_open=0
noplanet=0
whichlord=0
nomoney=0
spotted=0
aliens=0
D nonclick=0 :
ob MK-Confirm erlaubt ist
xx%=0:yy%=0
I trans%=50 :
Anz.d.Spieler-Transportschiffe
9 scout%=0 :
Spielerschiffe
, war%=3 :
, bomb%=0 :
ckind=0
useproc=0
cr=0
inc=0
firm=0
decision=0
4 connum=0 :
Konferenz
gflag=0
fwn=0
PMission=1
PDifficult=1
codde=0
ftime=0
hour=0
flysys=0
mappic=6
usenova=0
attacklord=0
reput=3
players=1
usepattern=1
hour_time=0
nopirates=0
) oldp=-1 :
fuer Musik
, chold=0 :
fuer Slavemap
* mousewait=0 :
bei CalcFly
pl_num=0
pl_act=0
0 old_c=0 :
fuer Transfer etc
5 jt=0 :
Lord zum Test auslesen
/ san=0 :
fuer PROCsayanim
/ sanc=0 :
fuer PROCsayanim
lastsaveplace=0
: fght%=0 :
ob gerade LunarBattle aktiv
festival=0
0 mustclear=0 :
fuer PROCfillstat
soonplay=0
) atlord=0 :
fuer Kampf
old_C=0
inventnow=0
hyp=0:hypc=0
ta$="Lord":tb$="Milord"
rcd$="fl2"
battlecom=0
backtoslave=0
quittalk=0:letexit=0
lookagain=0
rebelpeace=0
donecode=0
inmenu=0
usemeteor=0
recall_num=0
usemark=0
chcount=0
< actualplayer=1 :
fuer Laden in Mehrspielermode
useanim=0
escpressed=0
screentype=0
noraces=0
no_texture=0
R plralley=1 :
unsaubere Reparatur des Rebel-MissingVariable-Fehl.
track_x=640
track_y=512
track_lock=0
stsh%(15,10) :
Schiff-Ausstattung (1=Spieler)
t%(15) :
science(+control)-Werte(1=Sp)
credits(15) :
Vermoegen der Feinde
orbit(15) :
Wo Schiff der Feinde ist (Stern)
tactic(15) :
Plan des Feindes
flying(15) :
ob der Lord gerade fliegt
TS(15) :
Zielstern fuer Feind-Aktionen
TP(15) :
Zielplanet fuer Feind-Aktionen
eship(15,3) :
Armeen auf Feind-Schiff
efreight(15,3) :
Fracht auf Feind-Schiff
flag(15) :
wer welche Flagge hat
existing(15) :
ob der Feind noch lebt
gmember(15) :
ob Mitglied in der Gilde
firstcity%(15) :
ob schon 1. Stadt gebaut
MI(15) :
Geheimauftrag
MIs(15) :
" Ziel-Stern
MIp(15) :
" Ziel-Planet
evillord(15) :
welchen Feind Lord hat
whichp(15) :
welcher Plan. gerade gebaut wird
pphase(15) :
in welcher Bauphase WarPlanet
psun(15,9) :
WarPlan-Standort
ptarget(15,9) :
" -Zielort
invent%(15,14) :
Erfindungen
etrans%(15) :
Feindflotte
ewar%(15) :
escout%(15) :
ebomb%(15) :
hi%(15) :
Eigenschaften
md%(15) :
lo%(15) :
v%(3,7) :
Benutzt bei Menugestaltg.
rau_c(1),rau_x(1),rau_y(1),rau_l(1),rau_d(1),rau_t(1)
4 :
Raumer bei PROCstatus
b$(25) :
kann frei benutzt werden! <----
Ps%(15,5) :
Skill des Staffs
Pm(5) :
monatl. MC d.S.
veh(7,5) :
Vehikel
reput(15) :
Ruf der Lords
ftime(15) :
Flugzeit (nur f. andere Spieler)
selectedsys(15) :
Auswahlsys (nur f. andere Spieler)
trace%(20) :
Notiere, was Spieler so tut (fuer Ende)
lordvar(15) :
spezielle Lord-Infos
punish%(15,2) :
Guild-Akte
rotphase%(5) :
Rotationsphase der Planeten
verhalten(7,7) :
Mehrspieler: Verhalten zu anderen Lords
pl$=""
#* PName$="" :
Spielername
$> ttl=0 :
hoechst. bisherig. Titel d. Sp.
ship(3) :
Soldaten auf Schiff
freight(3) :
Waren auf Schiff
c(7),c$(7) :
nur fuer PROCscientists, ansonsten frei <----
shift%(16) :
nur fuer PROCshowplanet, ansonsten frei <----
ship(1)=0
ship(2)=0
ship(3)=0
freight(0)=0
freight(1)=0
freight(2)=0
freight(3)=0
4N verhalten()=2 :
anfangs alle Menschl.Spieler neutral zueinander
radioX(15),radioY(15)
surf%(17,17)
price(16)
price(1)=20
price(2)=3
price(3)=15
price(4)=25
price(5)=30
price(6)=5
price(7)=10
price(8)=20
price(9)=30
price(10)=15
price(11)=10
price(12)=20
price(13)=100
price(14)=120
price(15)=10
prices(3,8,2)
plandat(15,6)
L& A=
("<Planets$Dir>.font.fontdat")
z=1
x=1
#A,prices(z,x,1)
y=1
#A,prices(z,y,2)
W& A=
("<Planets$Dir>.font.plandat")
y=1
x=1
#A,plandat(y,x)
partyAT=0
partyPA=0
flying=0
accepted=0
f5 icon=0 :
Raumschifficon-Counter
g4 icond=1 :
Counter-Zaehlrichtung
h4 credits=300 :
Vermoegen d. Spielers
k7 row=0 :
fuer Kommunik. mit Feind
l8 won=0 :
ob eine Schlacht gewonnen
m9 attacker=0 :
ob man der Angreifende ist
rebels=0
o" sgr$="<Planets$Dir>.StartGr."
radiocount=0
title$(8)
RESTORE
n=1
7:title$(n)=t$(n):
race$(4)
n=0
4:race$(n)=t$(8+n):
H$(15) :
Namen der 15 Herrscher (1=Spieler)
Hl(15) :
Rasse der "
Ha(15) :
Anreden "
Hg(15) :
Geschlecht " (1=m,2=w)
9 selected=0 :
Planet, der gewaehlt wurde
8 actual=2 :
Planet, wo Raumschiff ist
selectedsys=0
allied(15,15) :
mit wem Buendnis geschlossen ist
("Data.sb1")
#A,spotcol%(X),spottint%(X)
15:Hl(X)=
H$(1)=PName$
fillarray("ld"+
(Hl(X)),15)
R=
! H$(X)=
ar$(R),
(ar$(R))-2)
ar$(R),1)="m"
Hg(X)=1
Hg(X)=2
ok=1
#
H$(Y)=H$(X)
Y<>X
ok=0
reput(X)=3
(4)=1
evillord(X)=
(15):
evillord(X)<>X
tactic(X)=0
etrans%(X)=50
Hl(X)=1
% hi%(X)=132 :
bits 2 7
+ md%(X)=369 :
bits 0 4 5 6 8
% lo%(X)=10 :
bits 1 3
Hl(X)=2
) hi%(X)=394 :
bits 1 3 7 8
# md%(X)=4 :
bits 2
) lo%(X)=113 :
bits 0 4 5 6
Hl(X)=3
+ hi%(X)=241 :
bits 0 4 5 6 7
% md%(X)=12 :
bits 2 3
% lo%(X)=258 :
bits 1 8
Hl(X)=4
' hi%(X)=289 :
bits 0 5 8
) md%(X)=90 :
bits 1 3 4 6
% lo%(X)=132 :
bits 2 7
Hl(X)=0
& md%(X)=511 :
alle bits
X=1
existing(X)=1
stsh%(X,2)=1
stsh%(X,4)=5
t%(X)=30
hi%(X)
t%(X)-=10
hi%(X)
t%(X)+=10
lo%(X)
t%(X)-=10
2 mmbx=0 :
Sterne-Marker
mmby=0
MOVE 0,0:MOVE 4,4:PROCsget("mmb")
FORX=1TO15:credits(X)=50000:invent%(X,7)=1:invent%(X,8)=1:NEXT:REM TEST!!!
credits=1000:invent%(1,7)=1:invent%(1,8)=1
Sol=40:
dim_sol
startup
dim_sol
S=Sol
SIs(S,5) :
Sold monatl.
SIn$(S,5) :
Name
SIi(S,5) :
Inhaber
SIb(S,5) :
Lunar Base
SIt(S,5) :
Tradingklasse
SIk%(S,5,3) :
Krieger
SIr(S,5) :
Zufriedenheit
SIg%(S,5,3) :
Lager
SIna(S,5) :
Nahrung-Anbau
SIc(S,5) :
wie viele Staedte
SIam(S,5) :
Geld fuer Army
SId(S,5) :
Durchmesser
SIv(S,5) :
Verteid.geschuetze
SIrm(S,5) :
Rohmaterialien
SIu(S,5) :
Kommunikation+AddTaxes -Flag
SIgr(S,5) :
GuardRobots
SIm%(S,5) :
Monde
SIpo%(S,5) :
Population
SIl%(S,5) :
LAW-Einstellungen
SItb%(S,5) :
Statistik-Tabelle
SunX(S),SunY(S),SunE(S,15),SunP(S),sunsel(S)
Sunsize(S)
SunName$(S)
plan(S,5)
planX(S,5),planY(S,5) :
Planetenkoordinaten
pspeed(S,5) :
Rotationsgeschwindigkeit
ps(S,5) :
auch Rotation
animate(S,5) :
welche Animationsstufe dran ist
surf$(S-1,4,15)
plan(X,5)=0
planX(X,5)=1100
planY(X,5)=500
pspeed(X,5)=10
actualsys=-1
selectedsys=-1
showorb=1
slavemap
plan(selectedsys,a)
chold=a
s=selectedsys
actualmenu=2
gload("ts2")
plan(s,X)<>0
schoose("sphere"+
(plan(s,X)))
plot(0,planX(s,X),planY(s,X))
X+=1:
plan(s,X)
actual=X:selected=X
sunsel(s)>0
plan(s,sunsel(s))>0
selected=sunsel(s)
actual=selected:X=selected
smerge("graphic2.pa"+
(plan(s,actual)))
findvar=0
showaplanet(0)
6,113,1
slaveanimate
plannames
p,i,sl,col1,tint1,col2,tint2
p=1
sl=selectedsys
i=SIi(sl,p)
i>0
plan(sl,p)>0
plan(sl,p)<>7
%O
i=1
col1=47:tint1=0:col2=5:tint2=192
col1=3:tint1=0:col2=2:tint2=0
&]
pixel(SIn$(sl,p),planX(sl,p)+76-
(SIn$(sl,p))*8,planY(sl,p)-32,col1,tint1,col2,tint2)
mastermap
fillarray("JK1",6):cha$=ar$(1):chb$=ar$(2):chc$=ar$(3)
-( chd$=ar$(4):che$=ar$(5):chf$=ar$(6)
6,4,1
actualmenu=1
X=players+1
Sol:SunE(Y,X)=1:
6,113,2
6,112,1
gload("ts1")
gmerge("pt1")
plr=actualplayer
mredo
pixelswap
6,112,2
mainloop
mredo
lp,rett,sls
domap
shortinfo
SunX(0)=wrx:SunY(0)=wry
lp=1
schoose("sun"+
(lp))
rX=1
D4
Sunsize(rX)=lp
plot(8,SunX(rX),SunY(rX))
rX=1
Sunsize(rX)>4
I%
schoose("sun"+
(Sunsize(rX)))
J!
plot(8,SunX(rX),SunY(rX))
schoose("worm")
plot(8,wrx,wry)
rX=1
markX(1,rX)<>0
Q+
markstar(markX(1,rX),markY(1,rX),2)
R@
pixel(mark$(1,rX),markX(1,rX),markY(1,rX)-4,52,192,48,0)
flying>0
schoose("dest")
flysys>0
X-
plot(8,SunX(flysys)-8,SunY(flysys)-8)
plot(8,wrx-8,wry-8)
normalfont>1
flying=0
sls=selectedsys
sls<>0
sls<>-1
mmbx=SunX(sls):mmby=SunY(sls)
mmbx=wrx:mmby=wry
mmbx,mmby
mmbx+56,mmby+56
sget("mmb")
selectedsys<>0
normalfont>1
f" rX=selectedsys:
showastar(0)
(selectedsys=actualsys
flying=0)
(flying=1
flysys=selectedsys)
markstar(mmbx,mmby,3)
markstar(mmbx,mmby,1)
info(text$,row)
xk=404
row=1
yk=148
row=2
yk=112
row=3
yk=76
sfpB(text$,xk,yk)
picture(pic$)
5,com$(13)+"pictures."+pic$
shortinfo
SIi(A,B)=1
c+=1
m=normalfont-1:
m<1 m=1
sfp(t$(13),24,108):
f_yel:
166,110,156,37:
(m),176,108)
f_wht
sfp(t$(14),24,68):
f_yel:
211,65,154,37:
(credits),216,68)
f_wht
sfp(t$(15),24,28):
f_yel:
184,23,81,39:
(c),192,28)
f_wht
players>1
22,142,243,40
sfp(PName$,24,148)
slaveanimate
mcount,rwt,findleave
rotphase%()=0
=0:mcount=1
actualmenu=2
s=selectedsys
findvar=1
varfound=0
A
mcount=0
cleartext:mcount=1
info(t$(16),1):mcount=0
1=0
s=selectedsys:X=selected
" sx=planX(s,X):sy=planY(s,X)
mcount=0
markpl(sx,sy,SIi(s,X))
mcount=1
'
schoose("sphere"+
(plan(s,X)))
&
plot(0,planX(s,X),planY(s,X))
mcount=0
schoose("rot"+
(rotphase%(actual))):
plot(0,planX(s,actual),planY(s,actual))
G rotphase%(actual)+=1:
rotphase%(actual)=90
rotphase%(actual)=0
FOR rwt=1 TO 9:WAIT:NEXT
rwt=
>rwt+9
mouse
actualmenu=1
varfound=1
waitnow=1
findleave=1
findleave
gload("ts1"):
gmerge("pt1")
actualmenu=1
findvar=0
sunsel(s)=selected
varfound=0
backtoslave=0
fade(1,1,15)
gload("ts1"):
gmerge("pt1")
masterredo
gload("ts1"):
gmerge("pt1")
fade(1,0,15):actualmenu=1
masteranimate
mcount,waitnow,sst
=0:mcount=0:ptnr=1
actualmenu=1
normalfont=0
start_the_lords
PROCcalculatefly
PROCcalculatefly
findvar=1
A
mcount=0
cleartext:mcount=1
info(t$(17),1):mcount=0
mcount=0
selectedsys>0
^ sst=1:
(selectedsys=actualsys
flying=0)
(flying=1
selectedsys=flysys)
sst=3
<
markstar(SunX(selectedsys),SunY(selectedsys),sst)
^ sst=1:
(selectedsys=actualsys
flying=0)
(flying=1
selectedsys=flysys)
sst=3
markstar(wrx,wry,sst)
mcount=1
schoose ("mmb")
plot(0,mmbx,mmby)
mcount=0
mastermouse
waitnow=1
varfound=1
screentype=1
PROCredo
PROCcleartext
mouse
ksel=0
s=selectedsys:sel=s
findvar=0
I$=" "
actualmenu=1:waitnow=1
players<2
backtoslave=1
IF (I$="s" OR I$="S") THEN
IF lastsaveplace>0 THEN r=lastsaveplace:PROCsaveHD
IF lastsaveplace=0 THEN PROCcounselor(16)
ENDIF
(27)
grosse_ausnahme=1
varfound=0:findleave=1:
a,b,c:
c=0
c=2
findvar=0
smlmenu
ksel=6
actualmenu=1:waitnow=1
players<2
backtoslave=1
ksel=5
actualmenu=1
gload("ts1")
gmerge("pt1")
showdist(1)
IF ksel=7 THEN
IF lastsaveplace>0 THEN r=lastsaveplace:PROCsaveHD
IF lastsaveplace=0 THEN PROCcounselor(16)
ENDIF
findvar=0
b>=13
b<=63
a>403
a<601
cbutton(1)
SIi(s,actual)=1
lookagain=0
showplanet(1)
lookagain=0
a=0:b=0:c=0
bombplan
+
festival=1
celebrate:a=0:b=0:c=0
(a>607
a<841)
(I$="I"
I$="i")
selected<>0
&
cbutton(2):
status:
slaveredo
a,b,c:
a>847
a<1069
cbutton(3)
)
SIi(s,actual)<>0
comm
claim
"1
a>1075
a<1261
cbutton(4):actualmenu=1
s=selectedsys
plan(s,X)>0
'Z
a>planX(s,X)
b>planY(s,X)
a<planX(s,X)+150
b<planY(s,X)+150
selected<>X
($
findvar=0
showaplanet(1)
)(
plan(s,X)<>plan(s,selected)
*;
gload("ts2"):
smerge("graphic2.pa"+
(plan(s,X)))
selected=X
actual=X
.
0[
a>planX(s,X)
b>planY(s,X)-66
a<planX(s,X)+150
b<planY(s,X)-36
SIi(s,X)=1
sft=40:
X=5
sft=68
2=
inputname(SIn$(s,X),planX(s,X)-sft,planY(s,X)-80,1)
SIn$(s,X)=pl$
5
varfound=0
plan(s,X)>0
=`
a>planX(s,X)
b>planY(s,X)
a<planX(s,X)+150
b<planY(s,X)+150
fplan=X:varfound=1
celebrate
festival=0
gmerge("ct4")
mpart(18)
6,112,2
frame(0,209,1279,1023,42)
inframe(8,217,1271,1015,42)
schoose("export")
plot(0,12,221)
sdelete("export")
SYS 262291,,0,1,6,&44000000,&ffffff00
N/ font_col=&ffffff00:font_back_col=&44000000
cdsB(t$(18)+SIn$(selectedsys,actual),32,2)
front(0,209,1279,1023,1)
getMK
bombplan
exit,looked,empty
SIi(s,actual)=0
empty=1
s<>actualsys
counselor(7):
fillarray("bm1",12)
6,112,2
frame(372,242,908,881,42)
inframe(380,250,899,875,42)
f_yel
dspB(ar$(1),400,5)
dspB(ar$(3),400,9)
dspB("Exit",400,19)
f_wht
dspB(ar$(2),400,6)
dspB(ar$(12),400,7)
empty=1
f_gre
dspB(ar$(n),400,n+6)
f_wht
front(372,242,908,881,1)
flashnum=0:flashactual=0
d=0:e=0:h=-1:i=-1
pickrow
row
7: e=1
8: e=2
11: d=2
12: d=3
13: d=4
14: d=5
15: d=11:h=12:i=13
16: d=14:h=15:i=16
17: d=17
18: d=99
20: exit=1
d>0
empty=1
d>0
e>0
exit
d>0
bomb%=0
redo:
counselor(6):
e>0
scout%=0
redo:
counselor(8):
d>0
flybomb(d,h,i,1):SIr(s,actual)+=1:punish%(1,2)=1:trace%(9)+=1
e>0
empty=0
flyscout
X=sel:Y=actual:
showplanet(2)
gload("ts2"):
smerge("graphic2.pa"+
(plan(sel,actual)))
enemybomb
looked
X=xx:Y=yy
mousewait
mousewait=0:
getMK
donotice(X,Y,t$(19))
cms(t$(20),5,1)
playsoon(8)
cms(H$(lord)+t$(21),7,1)
decode(X,Y)
a=0:b=0
A=1
B=1
su=surf%(A,B)
su=11
su=12
su=13
b+=1
su=4
a+=1
d=4:h=-1:i=-1
a=0
(4)=1
SIc(X,Y)>0
(hi%(lord)
((lo%(lord)
1)=0)
(3)=1
b>0
d=11:h=12:i=13
flybomb(d,h,i,lord)
looked
redo:mousewait=0
flyscout
att,def,vds
8 allied(1,SIi(s,actual))=0:allied(SIi(s,actual),1)=0
6,112,2
picture("ws"+
(plan(s,actual)))
f_yel
dspB(t$(22),400,5)
f_wht
SIv(s,actual)>0
SIv(s,actual)
(4)=1
def+=1
e=2
bomb%>0
bomb%
(25)=1
att+=1
e=2
(def/2)
c=d:
c>20
c=20
c>scout%
c=scout%
d>bomb% d=bomb%
bomb%-=d
! c=def:
c>scout%
c=scout%
att>SIv(s,actual) att=SIv(s,actual)
SIv(s,actual)-=att
scout%-=c
dspB(t$(23),400,7)
dspB("hit "+
(c)+" scouts.",400,8)
vds=10
e=2
dspB(
(att)+t$(24),400,10)
dspB(t$(26),400,11)
dspB(
(d)+t$(25),400,13)
dspB(t$(27),400,14)
vds=16
scout%>0
dspB(t$(28),400,vds)
front(380,250,899,875,1)
getMK
X=selectedsys:Y=actual
showplanet(2)
getMK
flybomb(bk,h,i,lord)
att,def,count,bm,alvil,look,sko
lord=1
X=selectedsys:Y=actual
actual=Y
sel=X:s=X
> allied(lord,SIi(s,actual))=0:allied(SIi(s,actual),lord)=0
(lo%(SIi(s,actual))
1)=0
evillord(SIi(s,actual))=lord
lord=1
6,112,2
bk=5
SIr(X,Y)+=2
lord=1
picture("ws"+
(plan(s,actual)))
f_yel
dspB(t$(29),400,5)
f_wht
SIv(s,actual)>0
SIv(s,actual)
bk=99
R=3
(R)=1
def+=1
lord=1
bm=bomb%
bm=ebomb%(lord)
(6)=1
att+=1
def>bm def=bm
bm-=def
bk=99
att>SIv(s,actual) att=SIv(s,actual)
SIv(s,actual)-=att
decode(sel,actual)
count=0
alvil=0
A=1
B=1
sko=surf%(A,B)
sko=bk
sko=h
sko=i
count+=1
sko=22 alvil+=1
bk<>99
att>count
att=count
count>att
count=att
lord=1
bomb%=bm
ebomb%(lord)=bm
bombdsp(t$(23),7)
bombdsp("hit "+
(def)+" bombers.",8)
bombdsp(
(att)+t$(24),10)
bombdsp(t$(26),11)
lord<=players
bombdsp(t$(28),13)
lord<=players
front(380,250,899,875,1):
getMK
lord>players
SIi(sel,actual)<=players
getMK
getMKw
window_open=0
count=0
lord<=players
showplanet(2)
lord=1
SIi(X,Y)<=players look=1:looked=1:
showplanet(3)
planet=actual
bk<>99
look
dspB(t$(30),1000,13)
dspB(t$(31),1000,14)
dspB(t$(32),1000,15)
watcher=1
count
dx=16
dy=1
sko=surf%(dx,dy)
!"
sko=bk
sko=h
sko=i
",
look
count<4
premark(dx,dy)
#7 watcher=1:
lord<>1
SIi(X,Y)<>1
watcher=0
smash(dx,dy)
dx=1:dy=16
watcher=0
f=1:m=normalfont
m>3 f=5
m>10 f=10
m>25 f=15
m>40 f=20
1 SIpo%(X,Y)=SIc(X,Y)*f+alvil
code(sel,actual)
look
getMK:
srfdel
bombdsp(a$,dsr)
lord=1
dspB(a$,400,dsr)
cms(a$,dsr+2,1)
showaplanet(modus)
findvar
mcount=1:
B sx=planX(s,X):sy=planY(s,X)
PROCschoose("sphere"+STR$(plan(s,chold)))
PROCplot(0,planX(s,chold),planY(s,chold))
chold=X
PROCmarkpl(sx,sy,SIi(s,chold))
modus
6,112,2
cleartext
SIn$(s,X)<>""
info(t$(46)+SIn$(s,X)+", System "+SunName$(selectedsys)+".",1)
info(t$(33),1)
M: b$=
g(SIi(s,X))+" "+H$(SIi(s,X))+title$(Ha(SIi(s,X)))
SIi(s,X)=1
b$=t$(34)
SIi(s,X)=0
b$=t$(35)
info(t$(36)+b$+".",2)
plan(s,X)
1:b$=t$(37)
2:b$=t$(38)
3:b$=t$(39)
4:b$=t$(40)
5:b$=t$(41)
6:b$=t$(42)
7:b$=t$(43)
8:b$=t$(44)
info(t$(45)+b$,3)
modus
front(407,72,1258,182,1)
SIi(s,X)<>1
schoose("m2_1")
schoose("m2_2")
plot(0,403,18)
actual=X
markpl(sx,sy,inh)
i=1:
inh>1 i=2
a$="m"+
schoose(a$+"3"):
plot(0,sx,sy)
schoose(a$+"1"):
plot(0,sx,sy+128)
schoose(a$+"4"):
plot(0,sx+128,sy)
schoose(a$+"2"):
plot(0,sx+128,sy+128)
vessel
say$,f,ok,id$,vtype,vs,vr,out,didcom,disp
mpart(4)
mpart(14)
mpart(16)
R<4
vtype=1
R>3
R<8
vtype=2
R>7
R<13
vtype=3
R>12
R<15
vtype=4
R>14
R<18
vtype=5
R>17
R<20
vtype=6
R>19
R<22
vtype=7
R=22
vtype=8
R=23
vtype=9
i$=""
vtype
1:i$=t$(47):vs=0:vr=0:disp=3
2:i$=t$(48):vs=1:vr=1:disp=3
3:i$=t$(49):vs=0:vr=1:disp=1
4:i$=t$(50):vs=0:vr=1:disp=1
5:i$=t$(51):vs=0:vr=1:disp=6
6:i$=t$(52):vs=0:vr=1:disp=4
7:i$=t$(53):vs=0:vr=1:disp=1
8:i$=t$(54):vs=1:vr=1:disp=2
9:i$=t$(55):vs=0:vr=0:disp=5
a$=""
vtype>2
1:a$=t$(56)
2:a$=t$(57)
3:a$=t$(58)
4:a$=t$(59)
5:a$=t$(60)
6:a$=t$(61)
7:a$=t$(62)
8:a$=t$(63)
9:a$=t$(64)
10:a$=t$(65)
11:a$=t$(66)
12:a$=t$(67)
13:a$=t$(68)
a$=""
a$=i$:i$=""
gmerge("vs0")
gmerge("vs"+
(disp))
6,112,1
frame(0,209,1279,1023,42)
inframe(8,217,1271,1015,42)
schoose("vpic")
plot(0,12,221)
dspB(t$(69),40,2)
dspB(t$(70),40,3)
front(0,209,1279,1023,2)
420,452:
860,762:
sget("vback")
n=1
1000
6,112,1
schoose("vback")
plot(0,420,452)
zoom(640-220*n/1000,612-160*n/1000,n,n,1000,1000,"vessel")
420,452:
860,762:
sget("v2")
6,112,2
schoose("v2")
plot(0,420,452)
A,B,C:I$=
C>0
I$<>""
n=975
ves_mark
wait(20)
pixel(t$(71),912,654+140,61,128,20,192)
pixel(t$(72),912,626+140,61,128,20,192)
pixel(a$,912,580+140,61,128,20,192)
pixel(i$,912,548+140,61,128,20,192)
out=0:didcom=0
A,B,C:
ok=0
A,B,C
C=4
B>=226
B<=274
9
A>205
A<421
ok=1:
button(205,226,417,274,1)
9
A>421
A<637
ok=2:
button(425,226,633,274,1)
9
A>637
A<853
ok=4:
button(641,226,849,274,1)
:
A>853
A<1070
ok=3:
button(857,226,1066,274,1)
ok=1
vr=1
ves_com
didcom=1
ves_redo
dspB(t$(73),40,2)
ok=4
invent%(1,14)>0
out=1
ves_redo
dspB(t$(678),40,2)
ok=3
vs=1
didcom=0
ves_com
didcom=1
out=1
vtype=1
out=1:ok=2
ok=2
out=1
f_wht
ok=2
ves_redo
dspB("Space combat disabled in the demo version. You're lucky.",40,2)
vtype<>3
vtype<>8
ves_del
getMK
screentype=0
ves_del
sdelete("vpic")
sdelete("vback")
sdelete("v2")
sdelete("vessel")
ves_giveup(gt)
ves_redo
dspB(t$(74),40,2)
gt=1
a$=t$(75):scout%+=1
a$=t$(76):trans%+=1
dspB(t$(77)+a$+" ship.",40,4)
gt=2
IF trans%>500 THEN trans%=500 ELSE freight(RND(3))+=1
freight(
(3))+=1
IF scout%>100 scout%=100
getMK
ves_del
ves_mark
schoose("m27"):
plot(8,420,452)
schoose("m25"):
plot(8,420,762)
schoose("m28"):
plot(8,860,452)
schoose("m26"):
plot(8,860,762)
ves_com
fillarray("vs"+
(vtype),11)
ves_redo
dspB(t$(78),40,2)
f_yel
n=1
scribe(ar$(n),60,3+n)
f_wht
ves_redo
6,112,1
schoose("vpic")
plot(0,12,221)
schoose("v2")
plot(0,420,452)
ves_mark
front(12,225,1267,1011,2)
scribe(say$,rx,ry)
sa,sb,sc
f=1
(say$)
say$,f),rx,ry)
sa,sb,sc
(0)<>""
sc<>0)
useanim=1
(say$):killanim=1
wait(3)
mastermouse
ksel,chok
backtoslave=1
backtoslave=0:selected=1:actual=1:
slavemap
findvar=0
I$=
I$=" " waitnow=1:
I$="E"
I$="e"
equip:
IF I$=CHR$(27) THEN
PROCquitgame
IF screentype=0 PROCredo
ENDIF
IF I$="1" THEN PROCfilm_shiplands("Depp","Outland",6):PROCredo
IF I$="1" THEN REPEAT MOUSE A,B,C:VDU30:PRINT A,B:UNTIL C
IF I$="2" THEN players=2 :REM }
IF I$="3" THEN players=3 :REM } TEST!!!
IF I$="4" THEN PMission=3 :REM }
IF I$="5" THEN credits+=1000:REM }
IF I$="6" THEN SunE()=1 :REM }
IF I$="7" THEN PROCplayerwon(2)
I$="0"
switchoff=1
"ESC":
mus_quit:
6,20:
"Alphabet Latin1":
IF I$="x" OR I$="X" THEN INPUT n:evillord(n)=1 :REM TEST!!!
IF I$="y" OR I$="Y" THEN INPUT n:evillord(n)=0 :REM TEST!!!
IF I$="u" ORI$="U" THEN VDU30:INPUT p:PROCmpart(p)
IF I$="g" ORI$="g" THEN VDU30:INPUT jt
IF I$="v" ORI$="V" THEN PROCvessel
I$="m"
I$="M"
flashnum=0:flashactual=0:
setmarkers(1)
I$="d"
I$="D"
showdist(0)
I$="r"
I$="R"
shownotice
IF (I$="s" OR I$="S") THEN
IF lastsaveplace>0 THEN r=lastsaveplace:PROCsaveHD
IF lastsaveplace=0 THEN PROCcounselor(16)
ENDIF
chok=0
chcount
`/
I$=cha$
I$=chb$
chcount+=1:chok=1
b/
I$=chc$
I$=chd$
chcount+=1:chok=1
d/
I$=che$
I$=chf$
chcount+=1:chok=1
f$ credits=10:chcount+=1:chok=1
chcount+=1
j
credits=credits*100
chok=1
I$<>""
chok=0
chcount<>5
chcount=0
I$=
escpressed=0
(27)
varfound=1:escpressed=1
a,b,c
trackmouse
c=0
ksel=0
c=2
findvar=0
smlmenu
IF ksel=7 THEN
IF lastsaveplace>0 THEN r=lastsaveplace:PROCsaveHD
IF lastsaveplace=0 THEN PROCcounselor(16)
ENDIF
ksel=6
waitnow=1:
ksel=5
showdist(0)
findvar=0
I$="F"
I$="f" ksel=1
I$="C"
I$="c" ksel=2
I$="S"
I$="s" ksel=3 :
Zweimal S ?????????????????????????????????
b>=13
b<=63
(a>403
a<601) ksel=1
(a>607
a<841) ksel=2
(a>847
a<1069) ksel=3
a>1075
a<1261
8
selectedsys>0
SunE(selectedsys,1)>0 ksel=4
7
selectedsys=actualsys
actualsys=-1
ksel=4
ksel
cbutton(1):
cbutton(2):
menu:
cbutton(3):
s_info:
cbutton(4):selected=1:actual=1:
pushzoom:
a>SunX(X)
b>SunY(X)
a<SunX(X)+50
b<SunY(X)+50
selectedsys<>X
rX=X:selectedsys=X:
showastar(1):
g,h,C:
C=0:X=Sol
a>wrx
b>wry
a<wrx+50
b<wry+50
selectedsys>-1 selectedsys=-1:
wormhole
varfound=0
a>SunX(X)
b>SunY(X)
a<SunX(X)+50
b<SunY(X)+50
SunE(X,1)=1
fsys=X:varfound=1
smlmenu
mx,my,mok
mx=a-116:my=b-74
mx<0 mx=0
my<0 my=0
mx>1055 mx=1055
my>867 my=867
mx,my:
mx+232,my+164:
sget("sml_back")
schoose("sml_menu")
plot(0,mx+4,my+4)
mx,my,228,160
a,b,c:
a,b,c
a<mx
a>mx+224
b<my
b>my+156
mok=1
B
b<my+56
mok=1:ksel=7:
button(mx+4,my+4,mx+224,my+52,1)
O
b>my+56
b<my+108
mok=1:ksel=6:
button(mx+4,my+56,mx+224,my+104,1)
Q
b>my+108
b<my+160
mok=1:ksel=5:
button(mx+4,my+108,mx+224,my+156,1)
schoose("sml_back")
plot(0,mx,my)
sdelete("sml_back")
c=0:a=0:b=0
pushzoom
selectedsys>0
fade(2,1,15):
slavemap
flying=0
fade(2,0,15):
spaceguild
trackmouse
showastar(shw)
findvar
rX<1
kill,cv,rY,sst
=0:mcount=1
schoose("mmb")
plot(0,mmbx,mmby)
SunX(rX),SunY(rX)
SunX(rX)+56,SunY(rX)+56
sget("mmb")
mmbx=SunX(rX):mmby=SunY(rX)
Y sst=1:
(selectedsys=actualsys
flying=0)
(flying=1
selectedsys=flysys)
sst=3
markstar(SunX(rX),SunY(rX),sst)
shw
6,112,1
cleartext
info(t$(79)+SunName$(rX)+". ",1)
SunE(rX,1)
a=0:b=0
kill=0
schoose("shicon")
rY=2
existing(rY)>0
A
orbit(rY)=rX
flying(rY)=0
plot(8,404+b*88,76):b+=1
b>6
rY=15
cv=40
rY=1
5 p=plan(rX,6-rY):
rY>1
q=plan(rX,7-rY)
p>0
"
p<>q
schoose("st"+
plot(0,1246-cv,132)
cv+=40
cv=40
rY=1
plan(rX,6-rY)>0
I=SIi(rX,6-rY):
I>0
2
I>1
schoose("id2")
schoose("id1")
plot(0,1254-cv,104)
cv+=40
schoose("qmark")
plot(0,1188,116)
shw
front(406,72,1257,182,2)
spaceguild
6,112,1
ok,pin,rum1,rum2
sgr_pl
sgr_def
sgr_sto
sgr_pop
sgr_rep
w=players+1
existing(w)
ok=1
w=1
(15-players)+players:
existing(l)
s=
(30000)
(5)=1
(30000)
g=1
high(g)<s
h=3
/ high(h+1)=high(h):high$(h+1)=high$(h)
+ high(g)=s:high$(g)=
g(l)+" "+H$(l)
g=3
pin=
rum1=
rum2=
rum2<>rum1
mpart(19)
sg_mainloop
I$=""
sg_robot
wait(30)
6,112,2
schoose("ins2"):
plot(0,0,0):
wait(15)
schoose("ins3"):
plot(0,0,0):
wait(15)
6,112,1
sg_fr
f_yel
dspB(t$(80),592,3)
dspB(t$(81),592,4)
f_wht
inst(t$(82),592,8,1)
gmember(1)=0
a$=t$(83)
a$=t$(84)
inst(a$,592,10,2)
inst(t$(85),592,12,3)
inst(t$(86),592,15,4)
sg_front
flashnum=4
A,B,C:
pickrow
row
sg_mission:row=15
sg_member:row=15
H
sg_reputation:row=15
row=15
6,112,1
schoose("ins1"):
plot(0,0,0)
schoose("ins3"):
plot(0,0,0)
front(0,0,1279,1023,2):
wait(30)
schoose("ins2"):
plot(0,0,0):
wait(15)
schoose("ins1"):
plot(0,0,0)
sg_mainloop
PRINT "SUCK4"
lights,docktrans,dockx,docky,dockz,ufox,ufoy,inf$,inf,but,ufbx,ufby
gmerge("sg1")
lights=0:docktrans=0
Y# dockx=628:docky=180:dockz=1000
ufox=400:ufoy=600
ufbx=480:ufby=560
f_yel
6,112,1
6,113,2
a$ lights+=1:
lights>15 lights=1
schoose("guild")
plot(0,0,0)
lights<>1
e(
schoose("lght1"):
plot(8,12,908)
f*
schoose("lght2"):
plot(8,1112,944)
lights<>3
i)
schoose("lght3"):
plot(8,376,472)
j)
schoose("lght4"):
plot(8,924,280)
d=docktrans
d<30
d<20
schoose("trans1")
d>19
d<24
schoose("trans3")
d>23
schoose("trans2")
plot(8,dockx,docky-4)
d>29
z$ dockx+=1:docky-=0.2:dockz-=20
{C
dockz>10
zoom(dockx,docky,dockz,dockz,1000,1000,"trans2")
}% ufox+=4:ufoy-=2:ufbx+=6:ufby-=3
ufox>1400
ufox=-112:ufoy=900
ufbx>1400
ufbx=-112:ufby=700
schoose("ufo1"):
plot(8,ufox,ufoy)
schoose("ufo2"):
plot(8,ufbx,ufby)
docktrans+=1
A,B,but
inf=0
A>424
A<700
B>245
B<332
inf=1
A>415
A<733
B>353
B<429
inf=2
A>628
A<757
B>845
B<922
inf=3
inf
1:inf$=t$(87)
2:inf$=t$(88)
3:inf$=t$(89)
inf$=" "
but>0
inf=2
sg_stardust
but>0
inf=3
sg_theguild
f_yel
but=0
sfpB(inf$,60,40)
front(0,0,1279,1023,2)
inf=1
but>0
fade(2,0,15)
gload("ts1"):
gmerge("pt1")
sg_theguild
ex,count,inf$,oldinf$
6,112,1
gload("sg2"):
gmerge("pt1")
schoose("ins1"):
plot(0,0,0)
489,96:
sget("bakpiece")
front(0,0,1279,1023,2)
ex=0
count=17
! count+=1:
count>50 count=1
count=1
schoose("eyes"):
plot(0,346,544):
schoose("eyes2"):
plot(0,336,114)
count=5
schoose("ins1"):
plot(0,0,0)
A,B,C
C=0
inf$=""
A>193
B>324
A<406
B<576
inf$=t$(90)
A>412
B>414
A<640
B<693
inf$=t$(91)
A>1100
inf$=t$(92)
inf$<>""
inf$<>oldinf$
)
schoose("bakpiece"):
plot(0,0,0)
f_yel
sfpB(inf$,60,40)
f_wht
oldinf$=inf$
inf$=""
oldinf$<>""
)
schoose("bakpiece"):
plot(0,0,0)
oldinf$=""
flashactual=0
A>193
B>324
A<406
B<576
sg_robot
A>412
B>414
A<640
B<693
sg_claimmaster:
A>1100
ex=1
wait(8)
gload("sg1"):
gmerge("pt1")
sg_stardust
ex,count,sher,jw,talk,inf$,oldinf$
6,112,1
mpart(18)
gload("sg3"):
gmerge("pt1")
schoose("dust"):
plot(0,0,0)
489,96:
sget("bakpiece")
front(0,0,1279,1023,2)
ex=0
count=7
sher=1:talk=1
! count+=1:
count>64 count=1
count=11
schoose("lamp0"):
plot(8,1036,640)
count=13
schoose("lamp1"):
plot(8,1036,640)
schoose("screen"+
(sher)):
plot(0,814,500)
count/16=
(count/16)
sher+=1:
sher>4 sher=1
count/3=
(count/3)
m=0
talk+=1:
talk>22 talk=1
talk
1:t=1
2:t=2
3:t=3
4:t=2
5:t=1
6:t=2
7:t=1
8:t=2
9:t=3
10:t=4:m=1
11:t=3
12:t=2
13:t=1
14:t=6:m=3
15:t=3
16:t=2
17:t=1
18:t=2
19:t=3
20:t=5:m=2
21:t=3
22:t=6:m=3
schoose("talk"+
(t)):
plot(0,424,508)
schoose("mirr"+
(m)):
plot(0,444,388)
A,B,C
C=0
inf$=""
A>370
B>425
A<460
B<551
inf$=t$(93)
A>1192
B>524
A<1279
B<638
inf$=t$(94)
A>766
B>452
A<910
B<554
inf$=t$(95)
A>966
B>479
A<1081
B<578
inf$=t$(96)
inf$<>""
inf$<>oldinf$
)
schoose("bakpiece"):
plot(0,0,0)
f_yel
sfpB(inf$,60,40)
f_wht
oldinf$=inf$
inf$=""
oldinf$<>""
)
schoose("bakpiece"):
plot(0,0,0)
oldinf$=""
jw=0
A>370
B>425
A<541
B<551
sg_rumors:
jw=0
A>1192
B>524
A<1279
B<638
sg_pinboard:
IF jw=0 AND A>766 AND B>452 ANDA<910 ANDB<554 THEN PROCsheriff:PROCgload("sg3"):PROCgmerge("pt1"):PROCsdre:PROCnewbak
jw=0
A>986
B>479
A<1061
B<578
ex=1
wait(8)
mpart(19)
gload("sg1"):
gmerge("pt1")
newbak
489,96:
sget("bakpiece")
jw=1
schoose("dust"):
plot(0,0,0)
schoose("screen"+
(sher)):
plot(0,814,500)
A,B,C:
schoose("ins1"):
plot(0,0,0)
sg_pinboard
px,py,sx,sy,qual,q,r,s
qual=0
fillarray("pins",60)
px=1
Sol:
py=1
SIi(px,py)=0
q=1
plan(px,py)
1:q=5
2:q=2
3:q=1
4:q=4
5:q=1
6:q=5
8:q=10
SIn$(px,py)<>""
q+=2
s=0
r=1
SIi(px,r)>0
q+=s
:$
q>qual
qual=q:sx=px:sy=py
py,px
sg_fr
f_yel:
dspB(t$(97),592,3)
f_wht
dspB(t$(98),592,6)
players=1
dspB(t$(99),592,8)
dspB(t$(100),592,9)
SIn$(sx,sy)=""
x$=t$(105)+
(sy)
x$=SIn$(sx,sy)
dspB("is "+x$+" at "+SunName$(sx)+".",592,10)
dspB(t$(101),592,8)
dspB(t$(102),592,9)
dspB(t$(103),592,10)
dspB(ar$((pin-1)*3+1),612,13)
dspB(ar$((pin-1)*3+2),612,14)
dspB(ar$((pin-1)*3+3),612,15)
getMK
sg_rumors
l,n,p,sgn
fillarray("rum",5)
sg_fr
f_yel:
dspB(t$(104),592,3)
f_wht
dspB(ar$(
(5)),592,6)
dspB(b$((rum1-1)*2+1),592,7)
dspB(b$((rum1-1)*2+2),592,8)
dspB(ar$(
(5)),592,11)
dspB(b$((rum2-1)*2+1),592,12)
dspB(b$((rum2-1)*2+2),592,13)
getMK
sgr_pl
x,y,a$
(15):
existing(l)>0
x=1
y=1
SIi(x,y)=l
p+=1
(3)=1
a$="":
p<>1
a$="s"
j/ b$(1)=H$(l)+" owns "+
(p)+" planet"+a$+"."
b$(2)=""
sgr_rep
r,a$
(15):
existing(l)>0
r=reput(l)
(3)=1
a$="a":
r<3 a$="no"
t# b$(3)=H$(l)+" has "+a$+" good"
b$(4)="reputation."
sgr_def
x,y,def,lx,ly,a$
p=10000
(3)=1
p=100:lx=1:ly=1
x=1
y=1
SIi(x,y)<>0
~/ def=SIk%(x,y,1)+SIk%(x,y,2)+SIk%(x,y,3)
!
def<p
p=def:lx=x:ly=y
) a$=SIn$(lx,ly):
a$=""
a$="Utopia"
) b$(5)=t$(105)+a$+" at "+SunName$(lx)
b$(6)=t$(106)
sgr_sto
x,y,st,lx,ly,a$
(3)=1
(200):lx=1:ly=1
x=1
y=1
- st=SIg%(x,y,1)+SIg%(x,y,2)+SIg%(x,y,3)
st>p
p=st:lx=x:ly=y
) a$=SIn$(lx,ly):
a$=""
a$="Utopia"
) b$(7)=t$(105)+a$+" at "+SunName$(lx)
b$(8)=t$(107)
sgr_pop
x,y,ci,lx,ly,a$
(3)=1
(20):lx=1:ly=1
x=1
y=1
ci=SIc(x,y)
ci>p
p=ci:lx=x:ly=y
) a$=SIn$(lx,ly):
a$=""
a$="Utopia"
) b$(9)=t$(105)+a$+" at "+SunName$(lx)
b$(10)=t$(108)
sg_mission
fillarray("gm"+
(PMission),15)
sg_fr
f_yel:
dspB(t$(109),592,3)
f_wht
dspB(ar$(X),592,4+X)
getMK
sg_member
gmember(1)=0
sg_fr
f_yel:
dspB(t$(110),592,3)
f_wht
dspB(t$(111),592,5)
dspB(t$(112),592,6)
dspB(t$(113),592,7)
credits>=5000
dspB(t$(114),592,9)
dspB(t$(115),592,10)
dspB(t$(116),592,9)
dspB(t$(117),592,10)
frame(1071,340,1211,388,42)
askmaster(594,342,1)
accepted=0
accepted=1
credits<5000
dspB(t$(118),592,12):
getMK:
credits-=5000
sg_fr
gmember(1)=1
f_yel:
dspB(t$(119),592,3)
f_wht:
dspB(t$(120),592,5)
dspB(t$(112),592,8)
dspB(t$(113),592,10)
getMK
sg_fr
f_yel:
dspB(t$(121),592,3)
f_wht:
dspB(t$(122),592,6)
dspB(t$(123),592,7)
frame(1071,340,1211,388,42)
askmaster(594,342,2)
sg_fr
f_yel:
dspB(t$(121),592,3)
f_wht
accepted=0
dspB(t$(124),592,6)
dspB(t$(125)+ta$+" "+PName$+".",592,6)
gmember(1)=0
getMK
sg_fr
frame(574,322,1231,954,42)
inframe(582,330,1223,946,42)
sg_front
front(574,322,1231,954,2)
sg_reputation
ro,p,cst
inframe(582,330,1223,946,42)
f_yel
dspB(t$(126),592,3)
dspB(t$(127),592,7)
r=reput
a$=""
r>=3 a$="very good"
r=3 a$="good"
r<3 a$="bad"
r<=1 a$="very bad"
f_wht
dspB(t$(128)+a$+".",592,5)
ro=8
- p=punish%(1,0)+punish%(1,1)+punish%(1,2)
a$=""
punish%(1,0)=1
a$=t$(129):ro+=1
p=0
a$=t$(130):ro+=1
dspB(" "+a$,592,ro)
punish%(1,1)
ro+=1:
dspB(t$(131),592,ro)
punish%(1,2)
ro+=1:
dspB(t$(132),592,ro)
p>0
< cst=punish%(1,0)*200+punish%(1,1)*500+punish%(1,2)*300
. ro+=2:
dspB(t$(133)+
(cst)+" MC",592,ro)
credits>=cst
" ro+=1:
dspB(t$(134),592,ro)
frame(1071,340,1211,388,42)
askmaster(594,342,2)
accepted=0
a$=t$(135)
U a$=t$(136):punish%(1,0)=0:punish%(1,1)=0:punish%(1,2)=0:reput+=1:credits-=cst
ro+=1:
dspB(a$,592,ro)
getMK
sg_claimmaster
fickdich=1:REM TEST!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
PRINT "SUCK1"
mok=1
PMission=1
*
SIi(X,Y)>0
SIi(X,Y)<>1
mok=0
PMission=2
a=0:b=0:c=0
X=1
Y=1
A
SIi(X,Y)=1
a+=1: b+=SIs(X,Y)+SIc(X,Y)*2:c+=SIam(X,Y)
p=(b-c)/100
(p*t%(1))
n=b-c-s
n<1000 mok=0
PMission=3
mok=1
' Y=0
psun(1,X)>0 Y=1
Y=0
mok=0
invent%(1,X)=0
mok=0
1 u=0
pa=1
pb=1
SIi(pa,pb)=1
u+=1
pb,pa
u<30
mok=0
ENDIF
sg_fr
f_yel
mok
A p=8
dspB(t$(137),592,3)
f_wht
dspB(t$(138),592,6)
gmember(1)=0
dspB(t$(139),592,8):p+=2
chcount=5
dspB(t$(677),592,p):p+=2
punish%(1,0)+punish%(1,1)+punish%(1,2)>0
dspB(t$(140),592,p)
getMK
IF fickdich=1 THEN gmember(1)=1:punish%(1,0)=0:punish%(1,1)=0:punish%(1,2)=0:chcount=1
gmember(1)>0
punish%(1,0)+punish%(1,1)+punish%(1,2)=0
chcount<>5
fade(1,0,15):
abspann
dspB(t$(137),592,3)
f_wht
dspB(t$(141),592,6)
O p=8
gmember(1)=0
dspB(t$(142),592,8):p+=2
punish%(1,0)+punish%(1,1)+punish%(1,2)>0
dspB(t$(140),592,p)
getMK
A,B,C:
wormhole
=0:mcount=1
cleartext
schoose("mmb")
plot(0,mmbx,mmby)
wrx,wry
wrx+56,wry+56
sget("mmb")
mmbx=wrx:mmby=wry
aY sst=1:
(selectedsys=actualsys
flying=0)
(flying=1
selectedsys=flysys)
sst=3
markstar(wrx,wry,sst)
info(t$(143),1)
a=0:b=0:c=0
inst(string$,coordx,row,in)
f_wht
cds(string$,coordx,row)
j@ flash$(in)=string$:flashx(in)=coordx:flashy(in)=1051-row*40
install(string$,coordx,coordy,in)
f_wht
sfp(string$,coordx,coordy)
p; flash$(in)=string$:flashx(in)=coordx:flashy(in)=coordy
counselor(21)
diplomacy
d$,n,wahl
6,112,1
re_mh
f_yel
players=2
d$=t$(157)
d$=t$(158)
cdsB(t$(156)+d$,210,6)
f_wht
n=2
players
cdsB(
g(n)+" "+H$(n)+":",210,7+n)
verhalten(1,n)
1: d$="Friendly"
2: d$="Normal"
3: d$="Hostile"
cdsB(d$,600,7+n)
inst(t$(92),210,20,1)
flashnum=1:flashactual=0
mfront
A,B,C:
pickrow
(r>8
r<=7+players)
r=20
r<>20
wahl=r-7
G verhalten(1,wahl)+=1:
verhalten(1,wahl)>3
verhalten(1,wahl)=1
r=20
quitgame
counselor(9)
accepted
mus_fadeout
fade(2,0,15)
adjust(1)
I$=""
showdist(rdo)
sa,sb,ft,retts
selectedsys=0
retts=selectedsys
selectedsys=-1
selectedsys=0:SunX(0)=wrx:SunY(0)=wry
rdo
0,209:
1279,1023:
sget("bgnd")
24,0;209;1279;1023;
a=1
(4-a)*64
- x=SunX(selectedsys):y=SunY(selectedsys)
x+32,y+32,300*a
invent%(1,8)=0
(a+1)
x$="1"
pixel(x$,x+300*a+44,y+40,47,(4-a)*64,26,64)
pixel(x$,x-300*a+12,y+40,47,(4-a)*64,26,64)
s=selectedsys
a<>s
( sa=
((SunX(s)+32-(SunX(a)+32))^2)
( sb=
((SunY(s)+32-(SunY(a)+32))^2)
diff=
(sa^2+sb^2))
ft=
(diff/300)+1
invent%(1,8)>0
(ft/3):
ft<1
ft=1
PROCpixel(STR$(ftime),SunX(a)+56,SunY(a)+48,12,196)
selectedsys=retts
getMK
schoose("bgnd")
plot(0,0,209)
sdelete("bgnd")
mfront
front(193,222,1087,1000,2)
service
s_ex,s_ok,cr_ok,s_lord
6,112,1
re_mh
fillarray("ss1",52)
f_yel:
cdsB(ar$(1),210,6)
cdsB(ar$(9),210,20):
f_wht
n>4
inst(ar$(n),210,n+5,n-4)
cds(ar$(n),210,n+5)
flashnum=4
mfront
A,B,C:
pickrow
row
)
10: flashnum=0:
sec_info:s_ok=1
*
11: flashnum=0:
sec_PFile:s_ok=1
(
12: flashnum=0:
sec_att:s_ok=1
)
13: flashnum=0:
sec_bomb:s_ok=1
&
20: flashnum=0:s_ok=1:s_ex=1
s_ok
s_ex
rw=20
sec_info
u_ok
sec_dsp(11,5)
A,B,C:
pickrow
row
10:
svm(20):
sec_lords:
sec_give(t$(159)+
((credits(s_lord)>0)*-credits(s_lord)+
(3)-1)+" MCredits.")
11:
svm(20):
sec_lords:
sec_alleys
12:
svm(20):
sec_lords:
sec_pl
13:
svm(50):
sec_lords:
sec_in
14:
svm(100):
cr_ok
whp:X=fsys:Y=fplan:
showplanet(2):s_ex=1:u_ok=1
20: u_ok=1
u_ok
sec_att
u_ok
MI(1)>0
re_mh
cdsB(ar$(50),210,7)
cdsB("Sorry.",210,8)
getMK
sec_dsp(19,7)
A,B,C:
pickrow
row
svm(200):
sec_mi(1)
svm(200):
sec_mi(2)
svm(150):
sec_mi(3)
svm(70) :
sec_mi(4)
svm(100):
sec_mi(5)
svm(100):
sec_mi(8)
svm(50) :
sec_mi(9)
20: u_ok=1
u_ok
sec_mi(smi)
cr_ok=0
whp:MIs(1)=fsys:MIp(1)=fplan:MI(1)=smi
s_ex=1
sec_bomb
u_ok
invent%(1,6)=0
re_mh
cdsB(ar$(10),210,7)
cdsB(ar$(18),210,8)
getMK
MI(1)>0
re_mh
cdsB(ar$(50),210,7)
cdsB("Sorry.",210,8)
getMK
sec_dsp(29,2)
A,B,C:
pickrow
row
,/
10:
svm(500):
sec_mi(6):trace%(9)+=1
-0
11:
svm(1000):
sec_mi(7):trace%(8)+=1
20: u_ok=1
u_ok
sec_PFile
svm(100)
sec_lords
cr_ok
re_mh:
f_yel
cdsB(ar$(37),210,6)
f_wht
n=38
cdsB(ar$(n),240,n-30)
cdsB(ar$(43),240,14)
f_yel
cdsB(H$(s_lord),440,8)
cdsB(race$(Hl(s_lord)),440,10)
Ha(s_lord)>0
a$=title$(Ha(s_lord))
a$=
(a$)-5)
a$="None"
cdsB(a$,440,11)
a=0:b=0
SIi(X,Y)=s_lord
a+=1
b+=SIr(X,Y)
O
cdsB(
(a),440,12)
f_wht
cdsB(
g(s_lord)+" "+H$(s_lord)+" "+ar$(43+Hl(s_lord)),240,16)
a>0 b=
(b/a)
U7 c$=" him":of=48:
Hg(s_lord)<>1
c$=" her":of=52
b>8 a$=" hate"+c$
b>7 a$=" do not like"+c$
b>5 a$=" are not pleased"
b<6 a$=" accept"+c$
b<3 a$=" are content"
b=1 a$=" love"+c$
b=0 a$=" adore"+c$
cdsB(ar$(of)+a$+". Amongst the",240,17)
b=reput(s_lord)
b>=3 a$="a good"
b=3 a$="no special"
b<3 a$="a bad"
b<=1 a$="a very bad"
Hg(s_lord)=2
x$="s"
x$=""
cdsB("lords, "+x$+"he has "+a$+" reputation.",240,18)
f_yel:
cdsB(ar$(49),210,20):
f_wht
getMK
sec_pl
n!
SIi(X,Y)=s_lord
sca+=1
sca>1 a$="s."
a$="."
sec_give(t$(159)+
(sca)+" planet"+a$)
sec_in
cr_ok=0
6,112,1
re_mh
fillarray("se1",14)
f_yel:
cdsB(t$(160),210,6)
f_wht
invent%(s_lord,X)
sca+=1:
cdsB(
ar$(X),
(ar$(X))-6),210,sca+6)
sca=0
cdsB("None",210,8)
mfront
getMK
fillarray("ss1",50)
sec_alleys
acnt
cr_ok=0
6,112,1
re_mh:
f_yel
cdsB("The allies of "+
g(s_lord)+" "+H$(s_lord)+" are:",210,6)
f_wht
allied(s_lord,n)
cdsB(H$(n),210,8+acnt):acnt+=1
acnt=0
cdsB("None.",210,8)
mfront
getMK
sec_give(sec$)
cr_ok=0
6,112,1
re_mh:
f_yel
cdsB(t$(161)+
g(s_lord)+" "+H$(s_lord),210,6)
f_wht
cdsB(t$(162),210,8)
cdsB(sec$,210,9)
mfront
getMK
svm(vmon)
credits<vmon
cr_ok=0
cr_ok=1:credits-=vmon:u_ok=1
shortinfo
sec_dsp(snum,num)
6,112,1
re_mh
f_yel:
cdsB(ar$(snum),210,6)
cdsB(ar$(9),210,20):
f_wht
n=2
num+1
inst(ar$(n+snum),210,n+8,n-1)
flashnum=num:flashactual=0
mfront
A,B,C:
pickrow
row=8
row=9
row=8
t%(1)<100
t%(1)+=1:
row=9
t%(1)>0
t%(1)-=1:
row>=14
row<=18
newoff:
stdraw:A=0:B=0:C=0
row=20
ok=1
staff
A,B,C:
stdraw
ok=0
A,B,C,D
old_C=0
delay=D
D-delay>50
arm>=2
old_C=C
row=0
sdelete("scr2")
stdraw
6,112,1
re_mh
427,677:
589,769:
sget("scr2")
fillarray("sf1",25)
f_yel
cdsB(t$(163),210,6)
cdsB(t$(164),600,8)
cdsB(t$(164),600,9)
f_wht
cdsB(
(t%(1))+" %",440,8)
cdsB(
(100-t%(1))+" %",440,9)
cdsB(ar$(n),210,7+n)
cdsB("Rating",642,12)
cdsB("Cost",822,12)
n=14
f_yel
cdsB("New",952,n)
pm=0
Ps%(1,n-13)
0:a$="poor":pm=0
1:a$="average":pm=4
2:a$="good":pm=8
f_wht
cdsB(a$,650,n)
cdsB(
(pm),830,n)
f_yel
cdsB(t$(92),210,20)
f_wht
mfront
6,112,1
re_mh
6,112,2
6,112,1
schoose("scr2")
plot(0,427,677)
cdsB(
(t%(1))+" %",440,8)
cdsB(
(100-t%(1))+" %",440,9)
427,677:
589,769:
sget("screen")
6,112,2
schoose("screen")
plot(0,427,677)
newoff
gmerge("br8")
no,nok,bn,x$
bn=1
b$(bn)=ar$(bn)
no=1
6,112,1
re_mh
x$="nc"+
(no-1)
no=1
x$="nc0"
fillarray(x$,9)
schoose("export")
plot(0,280,236)
frame(208,236,272,286,42)
frame(1000,236,1069,286,42)
r=row-13
f_yel
cdsB("New "+b$(r+6),210,6)
f_wht
1: a$="poor":p=2
2: a$="average":p=4
3: a$="good":p=8
cdsB(b$(12),210,9)
cdsB(b$(13),210,10)
cdsB(b$(14),210,11)
f_yel
cdsB(a$,680,9)
cdsB(
(p*50),680,10)
cdsB(
(p),680,11)
f_wht
bn=1
cdsB(ar$(bn),222,13+bn)
nok=0
mfront
A,B,C:
A,B,C
6
C>0
B>=236
B<=286
7A
A>280
A<517
button(280,236,280+232,286,1):
takeoff
8E
A>517
A<757
button(521,236,521+232,286,1):
no<3 nok=1
9C
A>757
A<997
button(761,236,761+232,286,1):nok=1:no=3
bn=1
ar$(bn)=b$(bn)
sdelete("export")
takeoff
credits<p*50
nok=1
credits-=p*50
Ps%(1,r)=no-1
K no=3
6,112,1
re_mh
cdsB(b$(15),210,6)
cdsB("old "+b$(r+6)+"?",210,7)
n=1
credits<50
f_gre
f_yel
cdsB(b$(16+n),210,n+9)
f_wht
U na=0
mfront
pickrow
row=11
row=12 na=1:reput-=1
row=10
credits>=50 na=1:credits-=50:reput+=1
^*
row=12
SIi(a,b)=1
SIr(a,b)+=1
_B
row=10
SIi(a,b)=1
SIr(a,b)-=1:
SIr(a,b)<0 SIr(a,b)=0
rw=(row-10)*2+20
re_mh
cdsB(b$(rw),210,6)
cdsB(b$(rw+1),210,7)
getMK
A=0:B=0:C=0
IF plr<>1 ENDPROC
6,112,1
gmerge("me2")
schoose("menu")
plot(0,204,232)
f_yel
cdsB(t$(165),210,6)
mfront
A,B,C:
flashnum=11:flashactual=0
pickrow
r>7
r<21
r<>19
flashnum=0
IF r<20 THEN
r-=7
lastsaveplace=r
PROCre_mh
PROCf_yel
PROCcdsB(t$(166),560,12)
PROCf_wht
PROCsaveHD
ENDIF
gmerge("me1")
f_gre
cdsB("Month",650,6)
cdsB("Planets",850,6)
f_wht
X=1b$=" "
b$=""
B=0
("Saved.sv"+
B=A
B<>0
#A,a$
inst(a$,280,7+X,X)
cdsB(
(b-1),650,7+X)
cdsB(
(c),850,7+X)
ar$(X)=a$
f_gre
cdsB("Empty",280,7+X)
inst("",0,0,X)
ar$(X)=""
A>0
f_wht
cdsB(b$+
(X),210,7+X)
f_yel
cdsB(t$(155),210,20)
f_wht
s_info
counselor(21)
ststat
strx,stry
strx=688
stry=240
gmerge("sp1")
6,112,1
re_mh
schoose("ship1")
plot(8,strx,stry)
PROCsdelete("ship1")
f_yel
cdsB(t$(178),210,6)
cdsB(t$(179),210,10)
f_wht
stsh%(1,8)+stsh%(1,9)+stsh%(1,10)>0 a$="Damaged"
a$="OK"
cdsB(t$(180)+a$,210,8)
X=12
12:a$=t$(181)
13:a$=t$(182)
14:a$=t$(183)
15:a$=t$(184)
16:a$=t$(185)
17:a$=t$(186)
18:a$=t$(187)
f_wht
cdsB(a$,210,X)
f_yel
X<17 a$=
(stsh%(1,X-11))
X>16
stsh%(1,X-11)=1
a$="Yes"
a$="No"
cdsB(a$,588,X)
mfront
getMK
stdam
strx,stry
strx=688
stry=240
gmerge("sp1")
6,112,1
re_mh
schoose("ship1")
plot(8,strx,stry)
sdelete("ship1")
f_yel
cdsB(t$(178),210,6)
cdsB(t$(188),210,10)
f_wht
stsh%(1,8)+stsh%(1,9)+stsh%(1,10)>0 a$="Damaged"
a$="OK"
cdsB(t$(180)+a$,210,8)
X=12
12:a$=t$(189)
13:a$=t$(190)
14:a$=t$(191)
f_wht
cdsB(a$,210,X)
f_yel
cdsB(
(100-stsh%(1,X-4))+" %",568,X)
mfront
getMK
gp(gc,ga,gb)
schoose("shp"+
(gc))
plot(8,strx+ga,stry+gb)
gd(gc,ga,gb)
schoose("dmg"+
(gc))
plot(8,strx+ga,stry+gb)
stsh%(1,1)>0
gp(1,117,21)
stsh%(1,1)>1
gp(1,210,21)
stsh%(1,2)>0
gp(2,20,20)
stsh%(1,2)>1
gp(2,308,20)
stsh%(1,2)>2
gp(2,69,354)
stsh%(1,2)>3
gp(2,272,354)
stsh%(1,3)>0
gp(3,69,189)
stsh%(1,3)>1
gp(3,270,189)
stsh%(1,3)>2
gp(3,114,441)
stsh%(1,3)>3
gp(3,225,441)
stsh%(1,3)>4
gp(3,114,405)
stsh%(1,3)>5
gp(3,225,405)
stsh%(1,3)>6
gp(3,69+44,354)
stsh%(1,3)>7
gp(3,270-44,354)
stsh%(1,3)>8
gp(3,69,306)
stsh%(1,3)>9
gp(3,279,306)
stsh%(1,6)
gp(4,168,120)
stsh%(1,7)
gp(5,153,0)
stsh%(1,8)
gd(1,31,0)
stsh%(1,8)>50
gd(1,247,0)
stsh%(1,9)
gd(2,97,311)
stsh%(1,9)>50
gd(2,199,311)
s=stsh%(1,10)
s>0
gd(3,106,482)
s>10
gd(4,193,410)
s>20
gd(5,40,173)
s>30
gd(6,241,311)
s>50
gd(7,97,98)
s>80
gd(8,142,470)
PROCsdelete("dmg"+STR$(n))
IF n<6 PROCsdelete("shp"+STR$(n))
setmarkers(set)
markX=0
markY=0
mark$=""
6,112,1
set=0
re_mh
f_yel
cdsB(t$(192),210,6)
f_wht
cdsB("M"+
(X),210,7+X)
f_red
cdsB(mark$(1,X),280,7+X)
f_wht
f_yel
cdsB(t$(155),210,20)
f_wht
mfront
a,b,c:
pickrow
(r>7
r<16)
r=20
r<>20
mkn=r-7
PROCdsp(t$(193),550,11)
PROCinputname(mark$(1,mkn),688,400,1)
usemark=1
inputname(mark$(1,mkn),288,1031-r*40,1)
usemark=0
mark$(1,mkn)=pl$
pl$<>""
findvar=1
varfound=0
masteranimate
escpressed=0
mark$(1,mkn)=pl$
markX(1,mkn)=SunX(fsys)
markY(1,mkn)=SunY(fsys)
escpressed=0
findvar=0
varfound=0
T$ markX(1,mkn)=0:markY(1,mkn)=0
rw=18
set=1
listinv
fillarray("se1",14)
6,112,1
re_mh
f_yel
cdsB(t$(194),210,6)
invent%(1,X)=1
f_wht
f_gre
cdsB(
ar$(X),
(ar$(X))-6),210,X+6)
f_wht
mfront
A,B,C:
A,B,C:
C<>0
C<>1
pickrow
(r>6
r<21)
p r-=6
ab$=ar$(r)
ab$,1)
ab$=
(ab$)-6)
"p": vb$=t$(195)
"m": vb$=t$(196)
"e": vb$=t$(197)
"i": vb$=t$(198)
"w": vb$=t$(199)
fillarray("sc"+
(r),6)
6,112,1
re_mh
f_yel
cdsB(vb$+t$(200),210,6)
cdsB(t$(201)+ab$,210,7)
f_wht
invent%(1,r)=0 a$=t$(202)
a$=t$(203)
cdsB(a$,210,8)
cdsB(ar$(n),210,n+6)
f_yel
r>5
cdsB(t$(204),210,14)
f_wht
a$=""
ar$(X)
"1": a$=t$(205)
"2": a$=t$(206)
"3": a$=t$(207)
"4": a$=t$(208)
"5": a$=t$(209)
ar$(X)="0"
X=1 a$="None"
cdsB(a$,210,15+X)
cdsB(t$(210),210,14)
f_wht
mfront
getMK
listali
6,112,1
re_mh
f_yel
cdsB(t$(211),210,6)
f_wht
a$=""
allied(1,X)
a$="Trade"
allied(1,X)
a$<>""
a$+=" /No Att"
a$="No Att"
allied(1,X)
a$<>""
a$+=" /War ally"
a$="War ally"
evillord(X)=1
a$=""
a$="Hostile"
X<=players
verhalten(X,1)=1
a$=""
a$="Friendly"
verhalten(X,1)=3
a$=""
a$="Hostile"
a$="" a$="None"
existing(X)
f_wht
f_gre
cdsB(
g(X)+" "+H$(X),210,5+X)
f_yel
X<=players
allied(1,X)=0
verhalten(X,1)=3
f_red
allied(1,X)=0
evillord(X)=1
f_red
a$="None"
f_wht
existing(X)=0
f_gre
cdsB(a$,550,5+X)
f_wht
mfront
getMK
sec_lords
cr_ok=0
A,B,C:
6,112,1
re_mh
f_yel
cdsB(t$(212),210,6)
f_wht
existing(X)
f_wht
f_gre
cdsB(
g(X)+" "+H$(X),210,5+X)
f_wht
mfront
ok=0
flashnum=0
pickrow
s_lord=row-5
s_lord<2
s_lord>15
s_lord=0
existing(0)=0
existing(s_lord)
ok=1
listpln
6,112,1
re_mh
f_yel
cdsB(t$(213),210,6)
cdsB("Inf",750,6)
cdsB("Gli",850,6)
cdsB("Art",950,6)
f_wht
a=0:p=0
SIi(X,Y)=1
3
cdsB(SIn$(X,Y)+" at "+SunName$(X),210,8+a)
%
cdsB(
(SIk%(X,Y,1)),750,8+a)
%
cdsB(
(SIk%(X,Y,2)),850,8+a)
%
cdsB(
(SIk%(X,Y,3)),950,8+a)
a+=1:p=1
a>10
f_yel
cdsB(t$(214),210,20)
mfront
getMK
6,112,1
re_mh
cdsB(t$(215),210,6)
f_wht
a=0
a=0
p>0
cdsB(t$(216),210,8)
p=0
cdsB(t$(217),210,8)
f_wht
mfront
getMK
6,112,2
192,859:
1087,1000:
sget("hold")
6,112,1
schoose("hold"):
plot(0,192,859):
sdelete("hold")
gmerge("me1")
cframe
schoose("flag"+
flag(1))
plot(0,548,876)
schoose("menu")
plot(0,204,232)
f_wht
re_mh
schoose("menu")
plot(0,204,232)
pickrow
flash(1)
a,b,c
c=4
row=0:r=0
#"
n=1044
(1044-24*40)
row+=1
a>192
a<1087
&/
b>=n-40
b<n
r=row:n=(1044-24*40)
'
r<>0
(inmenu=1
c>0)
cplanet
phase,panim,number
re_mh
f_yel
cdsB(t$(218),210,6)
pphase(1)<3
gmerge("pp"+
(pphase(1)+1))
schoose("const"):
plot(8,244,600)
sdelete("const")
f_wht
number=0
psun(1,a)=0 number=a
pphase(1)=0 whichp(1)=number
number=whichp(1)
pphase(1)=3
phase=pphase(1)
pphase(1)+=1
s=selected
sel=selectedsys
pphase(1)=2
b$="_8"
b$=""
pphase(1)=1 b$=t$(219)
pphase(1)=2 b$=t$(220)
pphase(1)=3 b$=t$(221)
cdsB(t$(222)+
(pphase(1))+".",450,9)
cdsB(t$(223)+b$+".",450,10)
pphase(1)
1:a$=t$(224)
2:a$=t$(225)
3:a$=t$(226)
cdsB(a$,250,13)
pphase(1)=1
sfpB(t$(227),250,432)
inputname("Genesis",688,420,1)
cdsB(t$(228),250,18)
pphase(1)=2
cdsB(t$(229),250,15)
cdsB(t$(230),250,16)
pphase(1)=3
cdsB(t$(231),250,15)
cdsB(t$(232),250,16)
phase>1
dowp(1,number)
getMK
pphase(1)=1
escpressed=0
findvar=1
varfound=0
masteranimate
escpressed=0
psun(1,number)=fsys
f! SIn$(psun(1,number),5)=pl$
findvar=0
varfound=0
i'
plan(fsys,5)>0
counselor(5)
plan(fsys,5)=0
dowp(lord,num)
p=psun(lord,num)
SIs(p,5)=0
lord>1
SIn$(p,5)="Genesis"
SIi(p,5)=lord
SIb(p,5)=1
SIt(p,5)=0
SIr(p,5)=0
SIna(p,5)=6
SIc(p,5)=0
SIam(p,5)=2
SId(p,5)=12000
SIv(p,5)=10
SIc(p,5)=1
SIrm(p,5)=0
SIm%(p,5)=2
surf%()=0
XX=3
YY=3
R=
R=1 surf%(XX,YY)=8
R>1 surf%(XX,YY)=9
R=2
(3)=1 surf%(XX,YY)=29
R>3 surf%(XX,YY)=0
surf%(12,12)=2
surf%(11,12)=2
surf%(12,11)=2
surf%(11,11)=2
surf%(8,8)=5
surf%(9,8)=1
surf%(7,8)=1
surf%(8,9)=1
surf%(8,7)=1
surf%(4,11)=12
IF invent%(lord,14)=0 surf%(4,9)=4
codde=1:
code(p,5):codde=0
planX(p,5)=1100
planY(p,5)=500
pspeed(p,5)=10
3:SIk%(p,5,a)=15:
movewp(num)
alright,abort
actualMenu=1
gload("ts1"):
gmerge("pt1")
alright=1
abort=0
findvar=1
varfound=0
masterredo
masteranimate
findvar=0
varfound=0
escpressed
abort=1
alright=0
escpressed=0
,
ptarget(a,b)=fsys
alright=0:m=4
)
psun(a,b)=fsys
alright=0:m=5
plan(fsys,5)>0
alright=0:m=5
alright=0
counselor(m):
accepted=0
abort=1
alright
abort
alright ptarget(1,num)=fsys
arrivewp(lord,num)
ops,p,k
plan(psun(lord,num),5)=0
plan(ptarget(lord,num),5)=8
p=ptarget(lord,num)
ops=psun(lord,num)
+ SIs(p,5) =SIs(ops,5) :SIs(ops,5) =0
, SIn$(p,5) =SIn$(ops,5) :SIn$(ops,5) =""
+ SIi(p,5) =SIi(ops,5) :SIi(ops,5) =0
+ SIb(p,5) =1 :SIb(ops,5) =0
+ SIt(p,5) =SIt(ops,5) :SIt(ops,5) =0
+ SIr(p,5) =SIr(ops,5) :SIr(ops,5) =0
+ SIna(p,5) =SIna(ops,5) :SIna(ops,5) =0
+ SIc(p,5) =SIc(ops,5) :SIc(ops,5) =0
+ SIam(p,5) =SIam(ops,5) :SIam(ops,5) =0
+ SId(p,5) =SId(ops,5) :SId(ops,5) =0
+ SIv(p,5) =SIv(ops,5) :SIv(ops,5) =0
+ SIrm(p,5) =0 :SIrm(ops,5) =0
+ SIu(p,5) =SIu(ops,5) :SIu(ops,5) =0
+ SIgr(p,5) =SIgr(ops,5) :SIgr(ops,5) =0
+ SIm%(p,5) =2 :SIm%(ops,5) =0
+ SIpo%(p,5)=SIpo%(ops,5):SIpo%(ops,5)=0
+ SIl%(p,5) =SIl%(ops,5) :SIl%(ops,5) =0
/ SIk%(p,5,k)=SIk%(ops,5,k):SIk%(ops,5,k)=0
/ SIg%(p,5,k)=SIg%(ops,5,k):SIg%(ops,5,k)=0
planX(p,5)=1100
planY(p,5)=500
pspeed(p,5)=10
decode(ops,5)
code(p,5)
% psun(lord,num)=ptarget(lord,num)
ptarget(lord,num)=0
mainstat
6,112,1
re_mh
f_yel
cdsB(t$(233)+
(normalfont-1),210,6)
cdsB(t$(234),210,10)
f_wht
cdsB(t$(235),210,8)
cdsB(
(credits)+t$(236),500,8)
a=0:b=0:c=0
X=1
Y=1
@
SIi(X,Y)=1
a+=1: b+=SIs(X,Y)+SIc(X,Y)*2:c+=SIam(X,Y)
p=(b-c)/100
(p*t%(1))
n=b-c-s
cdsB(t$(237),210,12)
cdsB(t$(238),210,13)
cdsB(t$(239),210,14)
cdsB(t$(240),210,16)
cdsB(t$(241),210,17)
X=12
cdsB("MC",600,X):
cdsB(t$(242),600,17)
f_yel
cdsB(
(n),500,12)
cdsB(
(s),500,13)
cdsB(
(c),500,14)
cdsB(
(a),500,16)
cdsB(
(war%+scout%+trans%+bomb%),500,17)
flying
flysys>0
a$="star "+SunName$(flysys)+"."
a$=t$(243)
cdsB(t$(244)+a$,210,19)
f_wht
mfront
getMK
flinfo
6,112,1
re_mh
%X tfree%=trans%-(freight(0)+freight(1)+freight(2)+freight(3)+ship(1)+ship(2)+ship(3))
f_yel
cdsB(t$(245),210,6)
cdsB(t$(246),210,13)
f_wht
cdsB(t$(247),210,8)
cdsB(t$(248),210,9)
cdsB(t$(249),210,10)
cdsB(t$(250),210,11)
f_yel
cdsB(
(scout%),500,8)
cdsB(
(trans%),500,9)
cdsB(
(war%),500,10)
cdsB(
(bomb%),500,11)
f_wht
cdsB(t$(251),210,15)
cdsB(t$(252),210,16)
cdsB(t$(253),210,17)
cdsB(t$(254),210,18)
cdsB(t$(255),620,15)
cdsB(t$(256),620,16)
cdsB(t$(257),620,17)
cdsB(t$(258)+
(tfree%)+t$(259),620,9)
f_yel
cdsB(
(freight(1)),500,15)
cdsB(
(freight(2)),500,16)
cdsB(
(freight(3)),500,17)
cdsB(
(freight(0)),500,18)
cdsB(
(ship(1)),870,15)
cdsB(
(ship(2)),870,16)
cdsB(
(ship(3)),870,17)
f_wht
mfront
getMK
statistics
6,112,1
re_mh
f_yel
cdsB(t$(260),210,6)
f_wht
cdsB(t$(261),210,9)
cdsB(t$(262),210,10)
cdsB(t$(263),210,11)
cdsB(t$(264),210,12)
cdsB(t$(265),210,13)
cdsB(t$(266),210,14)
mfront
15:already(X)=0:
b=0:c=0
lord=1
Y a=0
X=1
Y=1
\1
SIi(X,Y)=lord
existing(lord)=1
a+=1
a>=b
b=a :c=lord
lord
whichlord(c,700,9)
already(c)+=1
credits(1)=credits
a=0:c=0
lord=1
credits(lord)>=a
existing(lord)=1
a=credits(lord):c=lord
lord
whichlord(c,700,10)
already(c)+=1
b=0:c=0
lord=1
l a=0
X=1
Y=1
oT
SIi(X,Y)=lord
existing(lord)=1
a+= SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3)
a>=b
b=a :c=lord
lord
whichlord(c,700,11)
already(c)+=1
c=0:b=0
lord=1
x a=0
existing(lord)
n=allied(lord,X)
a+=1
a+=1
a+=1
a>=b
a>0
b=a:c=lord
lord
whichlord(c,700,12)
already(c)+=1
a=0:c=0:b=0
lord=1
a=0
existing(lord)
invent%(lord,i)
a+=1
a>=b
b=a:c=lord
lord
whichlord(c,700,13)
already(c)+=1
lord=15
a=0
existing(lord)
= a=escout%(lord)+ewar%(lord)+ebomb%(lord)+etrans%(lord)
lord=1
a=scout%+war%+bomb%+trans%
a>=b
b=a:c=lord
lord
whichlord(c,700,14)
already(c)+=1
f_yel
cdsB(t$(267),210,16)
b=0:a=0:c=0
lord=1
already(lord)>=b
b=already(lord):c=lord
lord
whichlord(c,700,16)
f_wht
getMK
whichlord(lord,X,Y)
g(lord)+" "+H$(lord)
lord=0
b$=t$(268)
cdsB(b$,X,Y)
wait(time)
time<1
wait=1
time:
dsplarge(txt$,x%,y%)
262282,bfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
262278,,txt$,%10000,x%,y%
sfp(txt$,x%,y%)
262282,sfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
262278,,txt$,%10000,x%,y%
dsp(txt$,x%,row)
y%=1023-(row*40)
262282,sfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
262278,,txt$,%10000,x%,y%
dspr(txt$,x%,row,rubx1,ruby1,rubx2,ruby2)
y%=1023-(row*40)
262282,sfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
rubx1,ruby1:
rubx2,ruby2
262278,,txt$,%10010,x%,y%
sfpr(txt$,x%,y%,rubx1,ruby1,rubx2,ruby2)
262282,sfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
rubx1,ruby1:
rubx2,ruby2
262278,,txt$,%10010,x%,y%
dspc(txt$,row)
y%=1023-(row*40)
262282,sfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
262281,,1280
,box%
262277,,txt$,box%,,32,
(txt$)
,,box%
262280,,box%
,box%
262278,,txt$,%10000,640-(box%/2),y%
cds(txt$,x%,row)
y%=1051-(row*40)
262282,sfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
262278,,txt$,%10000,x%,y%
center(txt$,y%)
262282,bfnt%
"Font_SetPalette",,0,1,6,font_back_col,font_col
262281,,1280
,box%
262277,,txt$,box%,,32,
(txt$)
,,box%
262280,,box%
,box%
262278,,txt$,%10000,640-(box%/2),y%
dsplargeB(txt$,x%,y%)
262282,bfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",bfnt%,font_back_col,font_col,1
262278,,txt$,(%000000010000
(blend_feature*2048)),x%,y%
sfpB(txt$,x%,y%)
262282,sfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",sfnt%,font_back_col,font_col,1
262278,,txt$,(%000000010000
(blend_feature*2048)),x%,y%
dspB(txt$,x%,row)
y%=1023-(row*40)
262282,sfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",sfnt%,font_back_col,font_col,1
262278,,txt$,(%000000010000
(blend_feature*2048)),x%,y%
dsprB(txt$,x%,row,rubx1,ruby1,rubx2,ruby2)
y%=1023-(row*40)
262282,sfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",sfnt%,font_back_col,font_col,1
rubx1,ruby1:
rubx2,ruby2
262278,,txt$,(%000000010010
(blend_feature*2048)),x%,y%
sfprB(txt$,x%,y%,rubx1,ruby1,rubx2,ruby2)
262282,sfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",sfnt%,font_back_col,font_col,1
rubx1,ruby1:
rubx2,ruby2
262278,,txt$,(%000000010010
(blend_feature*2048)),x%,y%
dspcB(txt$,row)
y%=1023-(row*40)
262282,sfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",sfnt%,font_back_col,font_col,1
262281,,1280
,box%
262277,,txt$,box%,,32,
(txt$)
,,box%
262280,,box%
,box%
262278,,txt$,(%000000010000
(blend_feature*2048)),640-(box%/2),y%
cdsB(txt$,x%,row)
y%=1051-(row*40)
262282,sfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",sfnt%,font_back_col,font_col,1
262278,,txt$,(%000000010000
(blend_feature*2048)),x%,y%
centerB(txt$,y%)
262282,bfnt%
blend_feature=0
"Font_SetPalette",,0,1,6,font_back_col,font_col
"ColourTrans_SetFontColours",bfnt%,font_back_col,font_col,1
262281,,1280
,box%
262277,,txt$,box%,,32,
(txt$)
,,box%
262280,,box%
,box%
262278,,txt$,(%000000010000
(blend_feature*2048)),640-(box%/2),y%
cleartext
inframe(396,69,1261,186,42)
sa,sb,xa,ay,sx,sy,nu
flying
selectedsys=0
selectedsys=actualsys
s=selectedsys
nu=actualsys
stsh%(1,8)>50
counselor(10):
s>0
sx=SunX(s)+32:sy=SunY(s)+32
sx=wrx:sy=wry
nu>0
ax=SunX(nu)+32:ay=SunY(nu)+32
ax=wrx:ay=wry
((sx-ax)^2)
((sy-ay)^2)
diff=
(sa^2+sb^2))
ftime=
(diff/300)+1
ftime>1
invent%(1,8)>0
ftime=
(ftime/3)
ftime<1
ftime=1
counselor(1)
flying=0
accepted=0
redo:
normalfont<7
nopirates=0
nu>0
SunP(nu)
0:R=4
1:R=3
2:R=2
3:R=2
(R)=1
normalfont>5)
nopirates>5)
nu>0
SunP(nu)=0
nopirates=0
redo:
vessel
flying=1
nopirates+=1
screentype=0
flying=1
flysys=selectedsys
mpart(13)
film_flyaway
status
ofs,sz,rofs,f,m,alvil,tab
a,b,c:
6,112,2
kJ rau_c(0)=1:rau_x(0)=120:rau_y(0)=196:rau_l(0)=0:rau_d(0)=0:rau_t(0)=0
lK rau_c(1)=1:rau_x(1)=1000:rau_y(1)=172:rau_l(1)=0:rau_d(1)=1:rau_t(1)=0
s=selected
sel=selectedsys
SIi(sel,s)=0
tab=160
pD rofs=0:
plan(sel,s)=1
plan(sel,s)=3
plan(sel,s)=5
rofs=15
picture("ws"+
(plan(sel,s)))
0,140:
1279,260:
sget("back1")
frame(0,869,1279,1023,42)
inframe(8,877,1271,1015,42)
f=1:m=normalfont
m>3 f=5
m>10 f=10
m>25 f=15
m>40 f=20
decode(sel,s)
alvil=0
A=1
B=1
surf%(A,B)=2 alvil+=1
$ SIpo%(sel,s)=SIc(sel,s)*f+alvil
0,865,1279,865
SIi(sel,s)>0
flagload(flag(SIi(sel,s)))
12,660:
232,795:
sget("flback")
SIi(sel,s)=1
(scout%>=40
actualsys=selectedsys)
(SId(sel,s)/200)
up=100-d*2
45,500+up,30,d*2
93,500+up,30,d*2
141,500+up,30,d*2
SIg%(sel,s,1)>0
frame(45,500+up,75,up+500+(SIg%(sel,s,1))*2,3)
SIg%(sel,s,2)>0
frame(93,500+up,123,up+500+(SIg%(sel,s,2))*2,3)
SIg%(sel,s,3)>0
frame(141,500+up,171,up+500+(SIg%(sel,s,3))*2,3)
pixel("M",54,492+up,47,192,26,64)
pixel("F",104,492+up,47,192,26,64)
pixel("P",154,492+up,47,192,26,64)
SIn$(sel,s)=""
a$=t$(269)
a$=SIn$(sel,s)
SIn$(sel,s)=""
b$=t$(270)
b$=t$(46)+SIn$(sel,s)
plan(sel,s)=3
ofs=3
plan(sel,s)=2
ofs=6
centerB(b$,924)
D b$=
g(SIi(sel,s))+" "+H$(SIi(sel,s))+title$(Ha(SIi(sel,s)))+"."
SIi(sel,s)=1
b$=t$(34)
SIi(sel,s)=0
b$=t$(35)
f_yel
dspB(a$+t$(271)+b$,250-tab,6)
plan(sel,s)
1:b$=t$(272)
2:b$=t$(273)
3:b$=t$(274)
4:b$=t$(275)
5:b$=t$(276)
6:b$=t$(277)
7:b$=t$(278)
8:b$=t$(279)
c$="Medium ":sz=100
(SId(sel,s)/1000)<10 c$="Small ":sz=90
(SId(sel,s)/1000)>12 c$="Large ":sz=110
b$=c$+b$
SIi(sel,s)=0 b$+=", cost "+
(sz)+" MC"
c$="O "+
(SId(sel,s))
dspB("/",256-tab,7)
dspB(c$+" km ("+b$+")",250-tab,7)
f_wht
dspB(t$(280)+
(SIpo%(sel,s))+t$(281),250-tab,9)
dspB(t$(282)+
(pspeed(sel,s)*4)+t$(283),250-tab,10)
dspB(t$(284),250-tab,11)
f_yel
n=SIs(sel,s)+SIc(sel,s)*2
SIi(sel,s)=1
(n-SIam(sel,s))+"/"+
a$="?"
dspB(a$,620-tab,11)
f_wht
dspB(t$(285),250-tab,13)
f_yel
SIc(sel,s)>0 a$=
(SIc(sel,s))
a$=t$(286)
dspB(a$,570-tab,13)
f_wht
SIna(sel,s)<SIc(sel,s)*3+1 b$=t$(287)
b$=t$(288)
SIna(sel,s)=0 b$=t$(286)
dspB(t$(289),250-tab,14)
f_yel
dspB(b$,570-tab,14)
f_wht
SIi(sel,s)<>1
(scout%<20
actualsys<>selectedsys)
a$="?":b$=""
" a$=
(SIrm(sel,s)):b$=t$(296)
SIrm(sel,s)=0
7 b$="":
plan(sel,s)<>8
a$=t$(290)
a$=t$(286)
dspB(t$(291),250-tab,15)
f_yel
dspB(a$,570-tab,15)
f_wht
dspB(b$,670-tab,15)
SIb(sel,s) a$="Yes"
a$="No"
dspB(t$(292),250-tab,16)
f_yel
dspB(a$,570-tab,16)
SIi(sel,s)>1
(scout%<10
actualsys<>selectedsys) a$="?"
(SIv(sel,s))
f_wht
dspB(t$(293),250-tab,17)
f_yel
dspB(a$,570-tab,17)
f_wht
dspB(t$(294),250-tab,18)
f_yel
SIi(sel,s)>1
(scout%<10
actualsys<>selectedsys) a$="?"
(SIgr(sel,s))
dspB(a$,570-tab,18)
f_wht
(SId(sel,s)/200)
dspB("(max "+
(p)+")",670-tab,17)
dspB(t$(295),250-tab,20)
dspB(t$(255),250-tab,22)
dspB(t$(256),250-tab,23)
dspB(t$(257),250-tab,24)
f_yel
dspB(
(SIk%(sel,s,1)),570-tab,22)
dspB(
(SIk%(sel,s,2)),570-tab,23)
dspB(
(SIk%(sel,s,3)),570-tab,24)
f_wht
n=22
dspB(t$(296),670-tab,n)
dspB("(max "+
(p)+")",800-tab,22)
6,113,2
a,b,c
SIi(sel,s)>0
time_index=
flagstep(12,660)
-time_index<1
-time_index>=1
c<>0
sdelete("back1")
s=selectedsys
SIi(s,actual)<>1
selectedsys<>actualsys
cleartext
info(t$(297),1)
stsh%(1,9)>50
counselor(11):
SIi(s,actual)=0
selectedsys=actualsys
claim:
SIi(s,actual)<>1
_comm_enemy
_comm_allied(4)
slaveredo
f_wht
actual=selected
rotphase%()=0
actualmenu=2
1279,1023
sget("sbu")
6,112,2
schoose("sbu")
plot(0,0,0)
sdelete("sbu")
actualmenu=2
plan(s,X)<>0
&&
schoose("sphere"+
(plan(s,X)))
'%
plot(0,planX(s,X),planY(s,X))
*) X=actual:
findvar=0
showaplanet(0)
6,113,1
6,113,2
6,112,1
picture("mp2")
no_texture=1
inframe(15,15,381,186,42)
no_texture=0
inframe(396,69,1261,186,42)
shortinfo
plannames
s=selectedsys
fleetpos
fleetpos
var()=0
schoose("shicon")
f=1
plan(s,f)>0
i=SIi(s,f)
C@
IF i>1 AND orbit(i)=s AND flying(i)=0 AND var(i)=0 THEN
DQ
(orbit(i)=s
flying(i)=0
var(i)=0)
(i=1
actualsys=s
var(i)=0)
E-
plot(8,planX(s,f)+36,planY(s,f)-184)
var(i)=1
masterredo
f_wht
actualmenu=1
1279,1023
sget("sbu")
6,112,1
schoose("sbu")
plot(0,0,0)
sdelete("sbu")
actualmenu=1
6,113,1
6,112,2
mredo
6,113,2
p=plr:
p=0 p=1
schoose("icon"+
actualsys>0
plot(8,SunX(actualsys)-8,SunY(actualsys)-8)
plot(8,wrx-8,wry-8)
arrived
noplanet=1
lord=1
fwn=1
X=0:Y=0:SIi(0,0)=1
players>1
ab$=PName$+t$(298)
ab$=""
flysys>0
ab$+=SunName$(flysys)+"."
players=1
ab$+=t$(299)
ab$+=t$(300)
hour_off
film_arrive
window_open=0
SIi(0,0)=0
fwn=0
flying=0
actualsys=flysys
PROCcleartext
X=actualsys
X>0 SunE(X,1)=1
noplanet=0
plrarrived
noplanet=1
lord=an
fwn=1
X=0:Y=0:SIi(0,0)=an
ab$=H$(an)+t$(298)
TS(an)>0
ab$+=SunName$(TS(an))+"."
ab$+=t$(300)
mousewait
mousewait=0:
getMK
hour_off
film_arrive
window_open=0
SIi(0,0)=0
fwn=0
flying(an)=0
orbit(an)=TS(an)
PROCcleartext
X=orbit(an)
X>0 SunE(X,an)=1
noplanet=0
counselor(kind)
asknot,alvil,s,za,zb,buildings,freespace
accepted=0
sel=selectedsys
useproc=1
kind
1:k=1
3:k=1
kind>3
kind<>2
_comm_allied(k):
cns_pic
useproc=0
kind=21
c("This function is not available",1)
c("in the demo version.",2)
c("Sorry.",4)
kind=1
selectedsys>0 a$="star"
a$="space"
c(t$(301)+a$,1)
selectedsys>0
6 a$=SunName$(sel)+", we need "+
(ftime)+" month"
- a$="guild, we need "+
(ftime)+" month"
ftime>1 a$+="s."
a$+="."
c(a$,2)
SunP(actual)
0:a$="unlikely"
1:a$="possible"
2:a$="likely"
3:a$="very likely"
c(t$(302)+a$+".",3)
c(t$(303),5)
kind=2
D a=SIk%(sel,actual,1)+SIk%(sel,actual,2)*2+SIk%(sel,actual,3)*3
SIb(sel,actual)
a+=20
# b=ship(1)+ship(2)*2+ship(3)*3
b=0
4 useproc=1:
_comm_allied(2):useproc=0:
cns_pic
c(t$(304),1)
useproc=1
b>a
_comm_allied(3)
_comm_allied(2)
cns_pic
useproc=0
c("Attack "+SIn$(sel,actual),1)
c(t$(305),2)
b>a a$="good."
a>=b a$="not good."
b>a*2 a$="very good."
a>b*2 a$="extremely bad."
c(a$,3)
SIb(sel,actual)
b$=SIn$(sel,actual)+t$(306)
b$=t$(307)
c(b$,4)
c(t$(308),6)
kind=3
r=0
psun(1,a)=0
r=0
plan(sel,actual)=8
c(t$(109),1)
c(t$(310),2)
s=
(SId(sel,actual)/1000)
c$="medium ":cr=100
s<10 c$="small ":cr=90
s>12 c$="large ":cr=110
credits>=cr
stsh%(1,5)>0
c(t$(311),1)
askmaster(490,270,0)
accepted
stsh%(1,5)-=1
X=sel:Y=actual
showplanet(2)
gload("ts2")
4
smerge("graphic2.pa"+
(plan(sel,actual)))
gmerge("br1")
! freespace=0:buildings=0
decode(sel,actual)
# s=
(SId(sel,actual)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
A=za
B=za
s=surf%(A,B)
$
s=0
s=9 freespace+=1
e
s=1
s=11
s=12
s=13
s=14
s=15
s=16
s=17
s=22
s=23
buildings+=1
useproc=1
_comm_allied(1)
schoose("export")
plot(0,490,270)
%
frame(967,270,1195,317,42)
sfpB(t$(312),494,628)
useproc=0
'
c("Bionic Probe Results:",1)
0
c("Minerals: "+
(SIrm(sel,actual)),3)
*
c("Buildings: "+
(buildings),4)
+
c("Free space: "+
(freespace),5)
askmaster(490,270,0)
gmerge("br1")
6,112,2
"'
inframe(480,260,1200,588,42)
#$
front(480,320,1200,588,1)
gmerge("br1")
''
inframe(480,260,1200,588,42)
schoose("export")
plot(0,490,270)
*%
frame(967,270,1195,317,42)
,
decode(sel,actual)
/! s=
(SId(sel,actual)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
SIna(sel,actual)=0
A=za
B=za
6"
surf%(A,B)=22 alvil+=1
7,
surf%(A,B)=2 SIna(sel,actual)+=1
accepted=1
alvil>0
fillarray("Co14",5)
c(ar$(n),n)
askmaster(490,270,0)
C
accepted
gmerge("br1")
G&
inframe(480,260,1200,588,42)
schoose("export")
plot(0,490,270)
J$
frame(967,270,1195,317,42)
plan(sel,actual)
1:b$=t$(313)
2:b$=t$(314)
3:b$=t$(315)
4:b$=t$(316)
5:b$=t$(317)
6:b$=t$(318)
7:b$=t$(319)
8:b$=t$(320)
VV
SIn$(sel,actual)="" a$="this "+b$+" planet"
a$="planet "+SIn$(sel,actual)
c(t$(321)+a$+"?",1)
X5
c(" Size: "+c$+"
> Cost: "+
(cr)+" MC",2)
c(t$(322),3)
a$="":b$="":c$=""
d$=t$(323)
e$=t$(324)
f$=t$(325)
plan(sel,actual)
1:a$=d$
2:a$=f$:b$=e$
3:a$=t$(326):b$=e$
4:a$=t$(327)
5:a$=f$:b$=e$
6:a$=d$
e#
8:a$=t$(328):b$=t$(329)
g!
SIn$(sel,actual)<>""
e$=t$(330)
i!
b$=""
b$=e$
c$=e$
c(" "+a$,4)
c(" "+b$,5)
c(" "+c$,6)
o
asknot=1
q
c(t$(331),1)
c(t$(332),2)
v"
c(t$(333)+
(cr)+" MC)",4)
kind<20
kind>3
explain(kind)
asknot=0
askmaster(490,270,0)
kind=1
accepted=1
flying=1
kind<>3
kind<>1
cns_pic
gmerge("br1")
schoose("export")
plot(0,490,270)
frame(967,270,1195,317,42)
sfpB(t$(334),494,628)
explain(num)
fillarray("Co"+
(num),5)
c(ar$(n),n)
c(str$,stc)
dspB(str$,494,stc+11)
backmusic
chcount<>5
chcount=0
actualmenu=1
masterredo
slaveredo
claim
kn,zm,killanim ,dbg
s=selectedsys
SIi(s,actual)<>0
s<> actualsys
SIi(s,actual)<>1
selectedsys<>actualsys
cleartext
info(t$(297),1)
cr=0
counselor(3)
s=selectedsys
accepted=0
credits<cr
slaveredo:
psun(1,a)=0
r=0
plan(s,actual)=8
slaveredo:
claimed=1
credits-=cr
cleararea
SIn$(s,actual)=""
c(t$(335),-1)
c(t$(336),1)
fillarray("pn"+
(plan(s,actual)),30)
R=
ar$(R)<>""
inputname(ar$(R),688,440,1)
pl$<>""
kn=5
pl$=SIn$(s,actual)
kn=1
c(pl$+t$(337),kn)
firstplanet(1)=1
SIi(s,actual)=1
SIn$(s,actual)=pl$
SIr(s,actual)=0
trace%(10)+=1
arm>2.5
wait(50)
decode(s,actual)
surf%(8,8)=1
surf%(9,8)=1
IF surf%(9,9)<>2 surf%(9,9)=2:SIna(s,actual)+=1
code(s,actual)
r=1
plan(sel,actual)=8
r=0
psun(1,a)=0
psun(1,r)=s
mpart(10)
wait(30)
fade(1,0,15)
6,112,2
picture("js1")
gload("pl"+
(plan(sel,actual)))
schoose("planet"+
(plan(sel,actual)))
plot(0,200,200)
6,113,2
wait(80)
useanim=1
scribe(t$(46)+SIn$(sel,actual)+".",10,22)
killanim=0
wait(30):
scribe(t$(338),10,24)
A,B,C:
C=0
killanim=0
wait(150)
6,112,1
picture("sl1")
gload("op1")
pixelswap
6,112,2
wait(50)
scribe(t$(339),10,24)
A,B,C:
C=0
killanim=0
wait(150)
zm=1
schoose("open"+
(zm))
plot(0,540,520)
A,B,C:
C<>0
zm=6
wait(15)
dbg=1
C=0
killanim=0
wait(100)
dbg=2
cl_rep
gload("sc1")
dbg=3
4
6,112,2:
picture("pl"+
(plan(sel,actual)))
&
1279,1023:
sget("ppart")
dbg=4
(
schoose("picture"):
plot(0,0,0)
=
schoose("ppart"):
plot(0,200,-700):
sdelete("ppart")
dbg=5
%
1279,1023:
sget("back")
ships=1:hypc=11:I=1
dbg=6
E
doship(1,5,-2,98,63,"shuttle",640,512,0,0,10,1.5,1.5,0,1200)
killintro=0
dbg=7
%
moveships(1290,"back",1,0,0)
T
6,112,3-I:
0,0:
1279,1023:
sget("b"):
6,112,I:
schoose("b"):
plot(0,0,0)
dbg=8
cl_rep
cl_rep
cl_rep
useanim=0
gload("pt1")
showplanet(1):
gload("ts2"):
smerge("graphic2.pa"+
(plan(sel,actual)))
cl_rep
1279,1023:
sget("a")
6,112,1:
schoose("a"):
plot(0,0,0)
6,113,1
getMK
nonclick
6,21,9
A,B,C:
C=0
(0)=""
A,B,C:
C<>0
(0)<>""
getMKt
nonclick
6,21,9
A,B,C:
C<>0
(0)<>""
getMKw
nonclick>0
window_open=0
PROCgetMK
window_open
mousewait=1
PROCcllt
window_open=0
b_comme
ok,lord,flicker,dlord,a,b,c
battlecom=1
b_comdo
front(49,240,1222,693,1)
justtalked=0
a$=t$(340)
justtalked=1
a$=t$(341)
escribe(a$+PName$+"?")
human=1
tk$(1)=ar$(15)
tk$(2)=ar$(16)
tk$(3)=ar$(17)
tk$(4)=ar$(5)
tquest
row=1
U-
credits(lord)>=100
aat%*2>adf%*3
geb=0
stx%=1
sty%=1
Y(
SIi(stx%,sty%)=lord
geb+=1
sty%,stx%
geb>1
elast(6)
]
elast(7)
_( credits(lord)-=100:credits+=100
giveup=1
letwin=1
b_won=2
a_army(n)=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
i8
geb>0
geb<4
a_army(geb)+=bn%(stx%,sty%)
sty%
stx%
ship(n)=a_army(n)
o
elast(6)
row=2
e=18
adf%*3>=aat%*2 e=21
w/
adf%*3<aat%*2
lo%(lord)
e=19
x/
adf%*3<aat%*2
hi%(lord)
e=20
y%
e=18
e=20 evillord(lord)=1
elast(e)
row=3
e=18
adf%*3>=aat%*2 e=12
adf%*3<aat%*2
(md%(lord)
(lo%(lord)
e=13
adf%*3<aat%*2
hi%(lord)
e=22
e=18
e=22
evillord(lord)=1
elast(e)
row=4
elast(23)
tk$(1)=t$(342)
tk$(2)=ar$(3)
tk$(3)=ar$(4)
tk$(4)=ar$(5)
credits<1 tk(1)=0
tquest
row=1
evillord(lord)=1
elast(6)
esay(24)
cred=0
$
getMC(t$(343),
(credits/2))
6,113,1:
6,112,1
cred>normalfont*2
credits-=cred
elast(7)
a_army(n)=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
Z
geb>0
geb<4
a_army(geb)+=bn%(stx%,sty%):bn%(stx%,sty%)=0:bf%(stx%,sty%)=0
sty%
stx%
! eship(lord,n)=a_army(n)
giveup=1
1
hi%(lord)
elast(6)
elast(25)
row=2
adf%>aat%*3
credits(lord)<20
elast(9)
elast(11)
credits+=20
credits(lord)-=20
a_army(n)=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
Z
geb>0
geb<4
a_army(geb)+=bn%(stx%,sty%):bn%(stx%,sty%)=0:bf%(stx%,sty%)=0
sty%
stx%
ship(n)=a_army(n)
b_checkdead
.
hi%(lord)
elast(10)
elast(8)
row=3
aat%>=adf% e=12
aat%<adf% e=14
(3)=1 e=13
elast(e)
row=4
elast(23)
battlecom=0
b_aftcom
b_ecomm(reason)
ok,lord,flicker,dlord,a,b,c,s,need
battlecom=1
b_comdo
reason=2
reason=1+
reason
1:a$=ar$(2)
2:a$=ar$(16)
3:a$=ar$(17)
4:a$=ar$(
(4)+27)
dsp(a$,494,10)
front(49,240,1222,693,1)
reason=1
tk$(1)=ar$(6)
tk$(2)=ar$(25)
tk$(3)=ar$(7)
tquest
row=1
elast(14)
row=2
elast(26)
row=3
elast(27)
& credits(lord)-=100:credits+=100
giveup=1
letwin=1
b_won=2
a_army(n)=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
6
geb>0
geb<4
a_army(geb)+=bn%(stx%,sty%)
sty%
stx%
ship(n)=a_army(n)
reason=2
tk$(1)=ar$(21)
tk$(2)=ar$(19)
tk$(3)=ar$(20)
tk$(4)=ar$(18)
tquest
elast(26)
reason=3
tk$(1)=ar$(18)
tk$(2)=ar$(13)
tk$(3)=ar$(22)
tk$(4)=ar$(12)
tquest
elast(26)
reason=4
tk$(1)=ar$(32)
tk$(2)=ar$(33)
tk$(3)=ar$(34)
tk$(4)=ar$(35)
tquest
row=1
elast(36)
row=2
esay(37)
tk$(1)=ar$(38)
tk$(2)=ar$(39)
tk$(3)=ar$(40)
tk$(4)=ar$(41)
credits<1
tk(4)=0
tquest
row<>4
elast(41+
need=SIc(stkx,stky)*5
",
escribe("We want "+
(need)+" MC!")
cred=0
c=
(credits/2)
c<1
getMC("I offer",c)
6,113,1:
6,112,1
(
cred<need-
(need/4)
elast(46)
elast(44)
credits-=cred
rebelpeace=1
giveup=1
letwin=1
b_won=2
a_army(n)=0
5
elast(27+
battlecom=0
b_aftcom
b_aftcom
schoose("lba")
6,112,1
plot(0,50,240)
6,112,2
plot(0,50,240)
6,112,1
sdelete("lba")
b_comdo
50,240:
1220,694:
sget("lba")
ckind=1
N! tk$()="":tk()=1:row=0:cred=0
fillarray("tk2",46)
flicker=500
lord=eplayer
stx%,sty%,geb,aat%,adf%
aat%=0:adf%=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
geb
X
1:aat%+=bn%(stx%,sty%)
Y"
2:aat%+=bn%(stx%,sty%)*2
Z"
3:aat%+=bn%(stx%,sty%)*3
[
4:adf%+=bn%(stx%,sty%)
\"
5:adf%+=bn%(stx%,sty%)*2
]"
6:adf%+=bn%(stx%,sty%)*3
^"
21:adf%+=bn%(stx%,sty%)*4
sty%,stx%
la$="ld"+
(Hl(lord))
rebels%
la$="ld5"
gmerge(la$)
6,112,2
comframe
schoose(la$)
plot(0,74,264)
makecop
cominfo
l=lord
fontcol(&fff00fff)
_comm_enemy
ok,lord,flicker,dlord,quittalk,letexit
ckind=1
sel=selectedsys
u# attacker=1:
in case of battle
w! tk$()="":tk()=1:row=0:cred=0
fillarray("tk1",60)
flicker=500
lord=SIi(sel,actual)
gmerge("ld"+
(Hl(lord)))
lord<=players
verhalten(lord,1)=3
mpart(8)
evillord(lord)=1
evillord(lord)=0
verhalten(lord,1)=2
mpart(4)
verhalten(lord,1)=1
mpart(13)
evillord(lord)=1
allied(lord,1)=0
mpart(8)
evillord(lord)<>1
allied(lord,1)=0
mpart(4)
allied(lord,1)
mpart(13)
6,112,2
comframe
schoose("ld"+
(Hl(lord)))
plot(0,74,264)
makecop
cominfo
l=lord
front(49,240,1222,693,1)
letexit=1
allied(1,l)
allied(l,1)
escribe(t$(344)+SIn$(sel,actual)+", "+PName$+"!")
escribe(t$(340)+PName$+"...?")
quittalk=1
quittalk=0:
redo:
( tk$(1)=t$(345)+SIn$(sel,actual)+"."
tk$(2)=ar$(32)
tk$(3)=ar$(33)
tk$(4)=ar$(34)
allied(lord,1)=7
tk(3)=0
SIt(sel,actual)>=10 tk(2)=0
psun(1,a)=0
plan(sel,actual)=8
r=0
tk(1)=0
(SIu(sel,actual)
1)>0
tk(1)=0
tquest
letexit=0
quittalk=1
quittalk=0
row=1
(allied(lord,1)
(allied(1,lord)
esay(
(2)+15)
, cred=
(credits/3):
cred>200 cred=200
cred<50 cred=credits
$ tk$(1)=t$(346)+
(cred)+" MC!"
tk$(2)=ar$(57)
tk$(3)=ar$(58)
tk$(4)=ar$(59)
cred=0
tk(1)=0
tquest
row=1
credits-=cred
R=
hi%(lord)
G
R=1
allied(lord,1)=0:allied(1,lord)=0:
esay(19)
esay(18)
elast(0)
row=2
R=
hi%(lord)
G
R=1
allied(lord,1)=0:allied(1,lord)=0:
esay(19)
esay(18)
elast(0)
row>2
) allied(lord,1)=0:allied(1,lord)=0
reput-=1
trace%(2)+=1
R=
$
R=2
hi%(lord)
(
elast(20):evillord(lord)=1
elast(1)
(
elast(21):evillord(lord)=1
attack
( allied(lord,1)=0:allied(1,lord)=0
(hi%(lord)
evillord(lord)=1
cnt=0
SIi(m,n)=lord cnt+=1
ship(1)+ship(2)+ship(3)>30
(5)=1
credits(SIi(sel,actual))>=50
cnt<2
esay(2)
tk$(1)=ar$(35)
tk$(2)=ar$(25)
tk$(3)=ar$(37)
tquest
row=1
(3)=1
tk$(1)=ar$(60)
tk$(2)=ar$(37)
esay(14)
tquest
row=1
credits+=cred
credits(lord)-=cred
elast(0)
attack
elast(15)
attack
row=2
credits+=cred
credits(lord)-=cred
, SIu(sel,actual)=SIu(sel,actual)
row=3
elast(0)
attack
R=
esay(1)
esay(3)
R=3
2
((hi%(lord)
1)=0)
esay(4)
esay(1)
elast(0)
# R=4:
(hi%(lord)
#
(R)=1
evillord(lord)=1
attack
row=0
row=2
allied(lord,1)
elast(7)
trade
SIt(sel,actual)+=10
evillord(lord)=1
hi%(lord)
tk$(1)=ar$(42)
tk$(2)=ar$(43)
tk$(3)=ar$(44)
esay(8)
tquest
row=1
hi%(lord)
esay(30)
$$
(3)=1 evillord(lord)=1
esay(23)
elast(0)
elast(-2)
,
elast(6)
.
tk$(1)=ar$(25)
tk$(2)=ar$(45)
esay(5)
3
credits<cred
tk(1)=0
tquest
row=1
credits-=cred
credits(lord)+=cred
elast(-2)
trade
SIt(sel,actual)+=10
;
elast(-2)
=
row=0
row=3
tk$(1)=ar$(38)
tk$(2)=ar$(39)
tk$(3)=ar$(40)
tk$(4)=ar$(41)
allied(lord,1)
tk(1)=0
allied(lord,1)
tk(2)=0
allied(lord,1)
tk(3)=0
esay(8+
tquest
row<4
M%
evillord(lord)=1
reput<1
elast(22)
lo%(lord)
elast(24)
R
rw=row
tk$(1)=t$(347)
tk$(2)=ar$(47)
tk$(3)=ar$(48)
credits=0 tk(1)=0
esay(23)
tquest
row=1
esay(29)
\&
getMC(t$(343),
(credits/2))
row=1
row
1: I=2
2: I=3
3: I=5
d6
row=1
cred>=5
cred>=normalfont/2
I-=2
e
row=1
cred<5
I=20
f%
row=3
Ha(1)>Ha(lord) I=1
g&
row=3
(hi%(lord)
2) I=2
h
firstplanet(1)=0 I=99
lord<=players
j%
verhalten(lord,1)=1
I>1
R=1
n!
row=1
credits-=cred
esay(25)
1:n=1
2:n=2
3:n=4
uI allied(lord,1)=allied(lord,1)
n:allied(1,lord)=allied(lord,1)
trace%(11)+=1
san=1
esay(22)
elast(0)
|
ship(1)+ship(2)+ship(3)*2>SIk%(sel,actual,1)+SIk%(sel,actual,2)+SIk%(sel,actual,3)
(lo%(lord)
8=0)
esay(16)
G allied(lord,1)=allied(lord,1)
7:allied(1,lord)=allied(lord,1)
trace%(11)+=1
5
(4)=1
(hi%(lord)
evillord(lord)=1
esay(3)
elast(0)
attack
row=0
row=4
tk$(1)=ar$(49)
tk$(2)=ar$(52)
+ tk$(3)="The "+race$(Hl(lord))+t$(348)
tk$(4)=ar$(50)
esay(
(2)+27)
tquest
row=1
evillord(lord)<>1
(hi%(lord)
16)=0
elast(11)
lo%(lord)
elast(12)
esay(13)
cr=
(cred/1.5)
cr>credits cr=credits
$ tk$(1)=t$(349)+
(cr)+" MC."
tk$(2)=ar$(55)
tk$(3)=ar$(54)
!
cred>credits
tk(3)=0
tquest
row=1
&
(hi%(lord)
16)
cr<50
elast(24)
credits-=cr
credits(lord)+=cr
evillord(lord)=0
elast(25)
row=0
row=2
elast(12)
row=3
evillord(lord)=0
credits-=cred
credits(lord)+=cred
elast(25)
row=2
,
(lo%(lord)
evillord(lord)=0
G
evillord(lord)=1
allied(1,lord)=0
elast(12)
elast(36)
row
3: I=1
4: I=3
!
(lo%(lord)
1)=0
I>1
R=1
esay((
(2)-1)*7+20)
* allied(lord,1)=0:allied(1,lord)=0
evillord(lord)=1
* allied(lord,1)=0:allied(1,lord)=0
esay(30)
elast(0)
gload("ts2"):
smerge("graphic2.pa"+
(plan(selectedsys,actual)))
comframe
frame(50,240,1220,694,42)
inframe(480,260,1200,588,42)
inframe(480,604,1200,676,42)
inframe(70,260,462,676,42)
tquest
flashnum=0:flashactual=0
tk$(t)=""
tk(t)=0
tk(t)=0
f_gre
dsp(tk$(t),494,10+t*2)
f_wht
dsp(tk$(t),494,10+t*2)
a flashnum+=1:flash$(flashnum)=tk$(t):flashx(flashnum)=494:flashy(flashnum)=1023-(10+t*2)*40
row=0
askrow
tk(row)>0
tk$()=""
tk()=1
f_wht
flashnum=0:flashactual=0
esay(say)
A,B,C
edecode(say)
escribe(ar$(say))
edecode(d)
cred=0
I$=""
ar$(d),"*")
" a$=
ar$(d),
ar$(d),"*")+1,1)
a$="P"
I$=SIn$(sel,actual)
a$="N"
I$=PName$
a$="R"
I$=race$(Hl(lord))
a$="L"
I$=race$(0)
a$="T"
I$=SIn$(sst,spl)
a$="M"
- cred=credits(lord):
cred>100 cred=100
credits(lord)<50 cred=credits(lord)
cred>5 cred-=5
a$="A"
R=
(10)*20
1 cred=credits(lord):
cred>100+R cred=100+R
credits(lord)<50 cred=credits(lord)
a$="V"
, R=normalfont*3:
R>100 R=100-
(3)*10
R>credits R=credits
cred=R
a$="C"
cred=
(3)*10
a$="G"
* cred=
(5)*100:
(3)=1
cred+=cred
cred>0 I$=
(cred)+" MC"
ar$(d),"*")
b$=ar$(d)
' ar$(d)=
b$,I-1)+I$+
(b$)-I-1)
escribe(say$)
f,n,b$
cleararea
fontcol(&fff00fff)
f=1
(say$)
say$,f),494,10)
say$,f,1)<>" "
sayanim(1)
&; b$=
(27)
letexit=1
quittalk=1:f=
(say$)
f_wht
elast(say)
ld$="ld"+
(Hl(lord))
fght%
rebels%
ld$="ld5"
A,B,C
say>0
edecode(say)
escribe(ar$(say))
say> -1
A,B,C:
C=0
(0)=""
A,B,C
sayanim(2)
C<>0
(0)<>""
schoose(ld$)
plot(0,74,264)
say=-1
schoose("c")
schoose(ld$)
plot(0,74,264)
wait(3)
say<>-1
c$="ld"+
(Hl(lord))
c$="c"
fght%
rebels%
c$="ld5"
termicom(c$)
fght%
rebels%
sdelete("ld5"):
say<>-1
sdelete("ld"+
(Hl(lord)))
sdelete("ld"+
(Hl(lord))+"-"+
(g)):
sdelete("c")
comshowal
allied(lord,1)
schoose("all1"):
plot(8,80,604):g+=72
allied(lord,1)
schoose("all2"):
plot(8,80+g,604):g+=72
allied(lord,1)
schoose("all3"):
plot(8,80+g,604)
sayanim(type)
fx,fy,f,g,sca,scb,rebpro
actualmenu=1
sca=2:scb=1
sca=1:scb=2
battlecom=1
sca=1:scb=2
rebpro=0
battlecom=1
rebels%>0
rebpro=1
ckind<>2
(100)=1
san=0
fght%=0
rebpro=0
san=1
san>0
ckind<>2
m f=0
san
1:f=1
2:f=2
3:f=3
4:f=2
5:f=1
a$="ld"+
(Hl(lord))
san<6 a$+="-"+
schoose(a$)
6,112,scb
plot(0,74,264)
cominfo
comshowal
front(74,264,458,672,sca)
san+=1
san=7
san=0
comshowal
sanc+=1
A,B,C:
type<>1
C=0
wait(6)
sanc/2=
(sanc/2)
& flicker+=1:
flicker>9 flicker=1
6,112,scb
schoose("commcop"):
plot(0,364,272)
schoose("clogo"+
(flicker)):
plot(8,364,272)
364,272:
444,352:
sget("cc2")
6,112,sca
schoose("cc2")
plot(0,364,272)
sdelete("cc2")
makecop
364,272:
444,352:
sget("commcop")
termicom(sp$)
X,Y,p,q,r,s,zoom%,zx,c,t,pga,pgb
actualmenu=2
pga=1:pgb=2
pga=2:pgb=1
fght%
pga=1:pgb=2
p=76:q=268
r=454:s=668
6,112,pgb
zx=1050
zoom%=1000
-100
zx-=50
6,112,pgb
76,268,378,400
zoom(265-189*zx/1000,468-200*zoom%/1000,zx,zoom%,1000,1000,sp$)
p,q:
r,s:
sget("cop2")
6,112,pga
schoose("cop2")
plot(0,p,q)
arm>2.5
wait(2)
wait(1)
zoom%
6,112,pga
sdelete("cop2")
X=1
1:c=63:t=192
2:c=63:t=64
3:c=48:t=192
4:c=48:t=128
5:c=48:t=64
6:c=48:t=0
7:c=32:t=192
8:c=32:t=128
9:c=32:t=64
10:c=32:t=0
11:c= 0:t=0
76,468,454,468
wait(3)
askrow
A,B,C
6,21,9
wait(3)
A,B,C:
C=0
(0)=""
ok=0
A,B,C
b$=
(27)
letexit=1
$ quittalk=1:row=1:tk(1)=1:ok=1
C=4
A>520
A<1240
"
B>=540
B<570 row=1: ok=1
"
B>=462
B<488 row=2: ok=1
"
B>=382
B<410 row=3: ok=1
"
B>=300
B<326 row=4: ok=1
flash(0)
sayanim(2)
cominfo
ckind=1
fght%
rebels%
pixel(t$(350),80,300,47,192,26,64):
pixel(
g(lord)+" "+H$(lord),80,328,47,192,26,64)
pixel(t$(351)+race$(Hl(lord)),80,300,47,192,26,64)
ckind=2
pixel(t$(352),80,300,47,192,26,64)
ckind=3
pixel(t$(353),80,300,47,192,26,64)
fleet
mex=1:inc=0
sel=selectedsys
X=selectedsys:Y=actual
M ar$(9)="FLEET":ar$(10)="Own":ar$(11)="Cost":ar$(12)="Produce":ar$(13)=""
v%(0,0)=scout%
v%(0,1)=trans%
v%(0,2)=war%
v%(0,3)=bomb%
v%(0,5)=SIv(X,Y)
v%(0,6)=SIgr(X,Y)
v%(1,0)=10
v%(1,1)=15
v%(1,2)=20
v%(1,3)=25
v%(1,5)=5
v%(1,6)=6
6:v%(2,n)=0:
ar$(5)=""
t_menu("js1","fl1",7,3,t$(247),t$(248),t$(249),t$(250),"","AirDef guns",t$(254),"Mega Credits:",credits)
exit=0
t_row(7,3)
row<>0
inc>0
credits>=v%(1,row-1)
l=0
row
1:l=100
2:l=500
3:l=250
4:l=250
%
6:l=
(SId(sel,actual)/200)
%
7:l=
(SId(sel,actual)/100)
M
row<6
l=10000:
billige moeglichkeit, limit rauszulassen. unfein!
`
v%(0,row-1)+v%(2,row-1)<l
v%(2,row-1)+=1:credits-=v%(1,row-1):
t_re(row,7,3,credits)
inc<0
v%(2,row-1)>0
B v%(2,row-1)-=1:credits+=v%(1,row-1):
t_re(row,7,3,credits)
exit
scout%+=v%(2,0)
trans%+=v%(2,1)
war%+=v%(2,2)
bomb%+=v%(2,3)
SIv(sel,actual)+=v%(2,5)
SIgr(sel,actual)+=v%(2,6)
PROCt_clear(7)
gload("ts2"):
smerge("graphic2.pa"+
(plan(selectedsys,actual)))
_enemy_comm(ekn,lord,sst,spl)
ok,flicker,dlord,add,cred
ekn=1: Angriff
2: Handel
3: Allianz
decision=0
on exit
=0: Nix weiter.
=1: Angriff
=2: Handel
ekn
mpart(8)
mpart(6)
mpart(13)
ckind=1
<! tk$()="":tk()=1:row=0:cred=0
fillarray("tk1",60)
flicker=1
gmerge("ld"+
(Hl(lord)))
comframe
schoose("ld"+
(Hl(lord)))
6,112,1
plot(0,74,264)
makecop
6,112,2
n=412-412/16
-412/16
6,112,1
74,264+n
74+384,260+n+412/16
sget("tpr")
schoose("tpr")
6,112,2
plot(0,74,264+n)
wait(2)
schoose("ld"+
(Hl(lord)))
pixel(
g(lord)+" "+H$(lord),80,328,47,192,26,64)
pixel(t$(351)+race$(Hl(lord)),80,300,47,192,26,64)
l=lord
ekn=1
U1
(allied(lord,1)
(allied(lord,1)
tk$(1)=ar$(16)
tk$(2)=ar$(17)
esay(31):
tquest
tk$(1)=ar$(20)
tk$(2)=t$(354)
[) tk$(3)=race$(Hl(lord))+" bastard."
esay(
(2)+57):
tquest
]( allied(lord,1)=0:allied(1,lord)=0
reput(lord)-=1
decision=1
tk$(1)=t$(355)
tk$(2)=t$(356)
tk$(3)=ar$(3)
tk$(4)=ar$(4)
tk()=1
credits=0 tk(2)=0
esay(31)
tquest
row=2
cred=0
esay(29)
l$
getMC(t$(343),
(credits/2))
a=0
n&
cred<80
cred<credits/3 a=0
o!
cred>normalfont*2.5 a=1
cred<15 a=0
hi%(lord)
credits-=cred
elast(25)
u
elast(37)
decision=1
x* allied(lord,1)=0:allied(1,lord)=0
y
decision=1
|) allied(lord,1)=0:allied(1,lord)=0
ekn=2
tk$(1)=t$(357)
tk$(2)=ar$(6)
tk$(3)=ar$(7)
( tk$(4)=t$(358)+race$(Hl(lord))+"."
esay(32)
tquest
row=3 decision=2
row=2 decision=0
row=1
allied(lord,1)
decision=0
elast(45)
esay(29)
getMC(t$(359),10)
*
cred<=10
credits(lord)>=10 d=1
6
cred>=20
credits(lord)>cred
(3)=1
cred>=30 d=0
!
cred>=15
(4)=1
@ decision=2:credits(lord)-=cred:credits+=cred:
elast(25)
decision=0:
elast(45)
row=4
allied(lord,1)
allied(lord,1)=0:allied(1,lord)=0
R=
(3)+41
R=44
(hi%(lord)
R=42
R=42
% tk$(1)=ar$(30):tk$(2)=ar$(23)
$ tk$(1)=ar$(23):tk$(2)=ar$(6)
R<44
esay(R):
tquest
elast(R)
ekn=3
" tk$(1)=ar$(9):tk$(2)=ar$(10)
esay(33):
tquest
(3):
(allied(lord,1)
2^(d-1))=0
R=d+37
; a=1:
eship(lord,1)+eship(lord,2)+eship(lord,3)=0 a=0
(((hi%(lord)
(3)=1)
(10)=1)
a=1
# tk$(1)=ar$(3):tk$(2)=ar$(26)
esay(41):
tquest
row=1 decision=1
allied(lord,1)=7:allied(1,lord)=7
cred=0
B tk$(1)=ar$(22):tk$(2)=ar$(23):tk$(3)=ar$(24):tk$(4)=ar$(25)
esay(R)
tquest
row=2
% tk$(1)=ar$(25):tk$(2)=ar$(22)
*
(lo%(lord)
s=46
(2)+46
esay(s):
tquest
U
row=1
allied(lord,1)=allied(lord,1)
2^(d-1):allied(1,lord)=allied(lord,1)
cred>0 credits+=cred
row=4
K allied(lord,1)=allied(lord,1)
2^(d-1):allied(1,lord)=allied(lord,1)
getMC(mct$,crd)
pga,pgb
actualmenu=2
pga=1:pgb=2
pga=2:pgb=1
gmerge("br4"):
gmerge("br6")
636,492,160,44
dsp(mct$+" MC.",494,13)
schoose("export3")
plot(8,940,488)
schoose("ok")
plot(0,1078,488)
sdelete("export3")
sdelete("ok")
mex=1
cred=crd
(cred),640,13)
ok=0
A,B,C,D
old_C=0
delay=D
gm_do
D-delay>50
gm_do
arm>=2
old_C=C
A,B,C:
actualmenu=2
6,112,pga
6,113,pga
gm_do
C>0
A>1078
A<1156
B>488
B<539
ok=1:C=0:
button(1078,488,1156,539,1)
C>0
getInc(940,488)
cred+=inc:
cred<0 cred=0
mct$=t$(359)
cred>1000 cred=1000
cred>credits cred=credits
6,112,pgb
636,492,160,44
(cred),640,13)
636,492:
796,536:
sget("screen")
schoose("screen")
6,112,pga
plot(0,636,492)
equip
1279,1023:
sget("scr")
6,112,1
schoose("scr")
plot(0,0,0)
6,113,1
sdelete("scr")
v%()=0
mex=1:inc=0
T ar$(9)="Equipment":ar$(10)="Own":ar$(11)="Max":ar$(12)="Cost":ar$(13)="Produce"
7:v%(0,n-1)=stsh%(1,n):
v%(1,0)=2
v%(1,1)=4
v%(1,2)=10
v%(1,3)=100
v%(1,4)=8
v%(1,5)=1
v%(1,6)=1
v%(2,0)=40
v%(2,1)=100
v%(2,2)=30
v%(2,3)=5
v%(2,4)=50
v%(2,5)=200
v%(2,6)=300
t_menu("js1","eq1",7,4,"Shield generator","Laser gun","Missile Launcher","Crew","Bionic probe","Escape Capsule","Repair Hangar","Mega Credits:",credits)
exit=0
t_row(7,4)
I$=
(27)
exit=1
row<>0
inc>0
credits>=v%(2,row-1)
v%(0,row-1)+v%(3,row-1)<v%(1,row-1)
! B v%(3,row-1)+=1:credits-=v%(2,row-1):
t_re(row,7,4,credits)
!"
inc<0
v%(3,row-1)>0
!#B v%(3,row-1)-=1:credits+=v%(2,row-1):
t_re(row,7,4,credits)
exit
7:stsh%(1,n)+=v%(3,n-1):
t_clear(7)
transfer
sel=selectedsys
(SId(sel,actual)/200)
mex=1:inc=0
X=sel:Y=actual
!05 ar$(9)="Item":ar$(10)="Planet":ar$(11)="Freight"
ar$(12)="":ar$(13)=""
v%(1,0)=freight(1)
v%(1,1)=freight(2)
v%(1,2)=freight(3)
v%(1,3)=ship(1)
v%(1,4)=ship(2)
v%(1,5)=ship(3)
v%(1,6)=freight(0)
v%(0,0)=SIg%(X,Y,1)
v%(0,1)=SIg%(X,Y,2)
v%(0,2)=SIg%(X,Y,3)
v%(0,3)=SIk%(X,Y,1)
v%(0,4)=SIk%(X,Y,2)
v%(0,5)=SIk%(X,Y,3)
v%(0,6)=SIgr(X,Y)
!@X tfree%=trans%-(freight(0)+freight(1)+freight(2)+freight(3)+ship(1)+ship(2)+ship(3))
t_menu("ps1","td2",7,2,"Minerals","Food","Plutonium","Infantry","Gliders","Artillery","Robots","Cargo space:",tfree%)
exit=0
t_row(7,2)
row<>0
!G<
inc<0
(v%(0,row-1)<pd
(row=7
v%(0,6)<pd*2))
!HX
v%(1,row-1)>0
v%(1,row-1)-=1:v%(0,row-1)+=1:tfree%+=1:
t_re(row,7,2,tfree%)
inc>0
tfree%>0
!KY
v%(0,row-1)>0
v%(0,row-1)-=1: v%(1,row-1)+=1:tfree%-=1:
t_re(row,7,2,tfree%)
exit
X=sel:Y=actual
freight(1)=v%(1,0)
freight(2)=v%(1,1)
freight(3)=v%(1,2)
ship(1) =v%(1,3)
ship(2) =v%(1,4)
ship(3) =v%(1,5)
freight(0)=v%(1,6)
SIg%(X,Y,1)=v%(0,0)
SIg%(X,Y,2)=v%(0,1)
SIg%(X,Y,3)=v%(0,2)
SIk%(X,Y,1)=v%(0,3)
SIk%(X,Y,2)=v%(0,4)
SIk%(X,Y,3)=v%(0,5)
SIgr(X,Y) =v%(0,6)
PROCt_clear(7)
gload("ts2"):
smerge("graphic2.pa"+
(plan(selectedsys,actual)))
t_re(slc,rnum,cnum,red)
f_wht
n=1023-(slc*2+3)*40
dspr(
(v%(cnum-2,row-1)),(cnum+1)*150+40,slc*2+3,(cnum+1)*150+36,n,(cnum+1)*150+120,n+32)
dspr(
(v%(cnum-1,row-1)),(cnum+2)*150+40,slc*2+3,(cnum+2)*150+36,n,(cnum+2)*150+120,n+32)
f_yel
dspr(
(red),320,21,320,183,472,215)
t_clear(rnum)
PROCgmerge("ts1")
gload("ts1"):
gmerge("pt1")
t_menu(tpn$,tsp$,rnum,cnum,b$(1),b$(2),b$(3),b$(4),b$(5),b$(6),b$(7),dsp$,dsp)
7:ar$(n)=b$(n):
gmerge("br5")
gmerge("br4")
gmerge(tsp$)
6,112,2
picture(tpn$)
schoose("export4")
plot(0,50,50)
frame(0,50,42,96,42)
frame(289,50,1279,96,42)
sdelete("export4")
f_yel
dspB(ar$(9),140,3):
dsp(ar$(10),450,3):
dsp(ar$(11),600,3):
dsp(ar$(12),750,3):
dsp(ar$(13),900,3)
f_wht
n=1
rnum
ar$(n)<>""
schoose("tr"+
plot(0,12,1023-((n*2+4)*40-20))
dspB(ar$(n),140,n*2+3)
cnum
0
dspB(
(v%(m-1,n-1)),(m+2)*150+40,n*2+3)
schoose("export3")
plot(8,(cnum+3)*150+40,1023-((n*2+4)*40-32))
f_wht
dspB(dsp$,4,21)
f_yel
dspB(
(dsp),320,21)
6,112,1
6,113,2
picture(tpn$)
FORx=1TOrnum
n=1023-(x*2+3)*40
MOVE (cnum+1)*150+36,n:MOVE(cnum+1)*150+120,n+32:PROCsget("trb"+STR$(x))
MOVE (cnum+2)*150+36,n:MOVE(cnum+2)*150+120,n+32:PROCsget("trb"+STR$(x+rnum))
NEXTx
MOVE 320,183:MOVE 400,215:PROCsget("trb"+STR$(rnum*2+1))
6,112,2
t_row(rnum,cnum)
row=0
A,B,C,D
old_C=0
delay=D
t_row_action
D-delay>50
t_row_action
arm>=2
old_C=C
t_row_action
getex(50,50)
rnum
getI((cnum+3)*150+40,1023-((X*2+4)*40-32))
inc<>0
ar$(X)<>"" row=X:X=rnum
getExit(exa,exb)
A,B,C:
getex(exa,exb)
getex(exa,exb)
exit=0
A>=exa
B>=exb
A<=exa+236
B<=exb+52 exit=1:
button(exa,exb,exa+232,exb+48,1)
getInc(inca,incb)
A,B,C
getI(inca,incb)
getI(inca,incb)
inc=0
B>=incb
B<=incb+52
A>=inca
A<inca+64 inc=-1
A>inca+64
A<inca+128 inc=1
trade
mpart(6)
exit,tfree%,taa,tab,tac,tga
gmerge("td1")
gmerge("td2")
gmerge("br2")
exit=0
X tfree%=trans%-(freight(0)+freight(1)+freight(2)+freight(3)+ship(1)+ship(2)+ship(3))
a=SIt(sel,actual)
CASE a OF
WHEN 1:RESTORE 27391
WHEN 2:RESTORE 27400
WHEN 3:RESTORE 27409
ENDCASE
FOR X=1TO8:READ pc%(X):NEXT
FOR X=1TO8:READ pb%(X):NEXT
8:pc%(X)=prices(a,X,1):
8:pb%(X)=prices(a,X,2):
av%(1)=
(10)+10
av%(2)=
(20)+20
av%(3)=
(20)+15
av%(4)=
av%(5)=
av%(6)=
av%(7)=
av%(8)=
allied(1,SIi(sel,actual))=0
8:av%(X)=0:
SIna(sel,actual)<SIc(sel,actual)*3+1 pb%(2)+=1:pc%(2)+=2
IF invent%(SIi(sel,actual),14)=1 THEN pb%(3)=1:pc%(3)=2
6,112,2
picture("pl"+
(plan(sel,actual)))
dspB(t$(360),4,21)
dspB(t$(361),600,21)
f_yel
dspB(
(tfree%),420,21)
dspB(
(credits),800,21)
dspB("Item",140,3):
dspB("Cost",450,3):
dspB("Buy",600,3):
dspB("Stock",750,3):
dspB("Freight",1000,3)
f_wht
schoose("tr"+
plot(0,12,1023-((X*2+4)*40-20))
av%(X)=0
schoose("tr0")
plot(8,12,1023-((X*2+4)*40-20))
1:i$=t$(251)
2:i$=t$(252)
3:i$=t$(253)
4:i$=t$(255)
5:i$=t$(256)
6:i$=t$(257)
7:i$=t$(254)
8:i$=t$(248)
dspB(i$,140,X*2+3)
dspB(
(pc%(X)),490,X*2+3)
dspB(
(pb%(X)),640,X*2+3)
dspB(
(av%(X)),790,X*2+3)
X<4
s=freight(X)
X>3
X<7
s=ship(X-3)
X=7
s=freight(0)
X=8
s=trans%
dspB(
(s),1040,X*2+3)
schoose("export")
plot(8,50,50)
frame(0,50,42,96,42)
frame(1010,50,1279,96,42)
6,113,2
6,112,1
picture("pl"+
(plan(sel,actual)))
6,112,2
slc=1
n=1023-((slc*2+4)*40-20)
120,n:
1220,n:
sget("mnu1")
120,n:
120,n+72:
sget("mnu2")
1220,n:
1220,n+72:
sget("mnu3")
120,n+72:
1220,n+72:
sget("mnu4")
196:
120,1023-((slc*2+4)*40-20),1100,72
6,112,1
n=1023-(X*2+3)*40
"3)
790,n:
870,n+32:
sget("trb"+
"4-
1040,n:
1120,n+32:
sget("trb"+
(X+8))
"6(
420,183:
500,215:
sget("trb17")
"7(
800,183:
950,215:
sget("trb18")
6,112,2
a,b,c:
ok=0
a,b,c
c=4
"?;
b>1023-((X*2+4)*40-20)
b< 1023-((X*2+4)*40-92)
X<> slc
"A" n=1023-((slc*2+4)*40-20)
schoose("mnu1")
plot(0,120,n)
schoose("mnu2")
plot(0,120,n)
schoose("mnu3")
plot(0,1220,n)
schoose("mnu4")
plot(0,120,n+72)
slc=X
"K n=1023-((X*2+4)*40-20)
"L(
120,n:
1220,n:
sget("mnu1")
"M*
120,n:
120,n+72:
sget("mnu2")
"N,
1220,n:
1220,n+72:
sget("mnu3")
"O.
120,n+72:
1220,n+72:
sget("mnu4")
"P9
196:
120,1023-((X*2+4)*40-20),1100,72
wait(3)
"S
c=4
b>50
b<100
slc<>0
"XA
a>50
a<298
button(50,50,282,98,1):
buyinfo
"ZN
ok=0
a>306
a<538
button(290,50,522,98,1):
buysell(1):
buyupdate
"\N
ok=0
a>544
a<776
button(528,50,762,98,1):
buysell(2):
buyupdate
"_E
ok=0
a>784
a<1018
button(768,50,1002,98,1):exit=1:ok=1
I$=
I$="B"
I$="b"
"c6
button(290,50,522,98,1):
buysell(1):
buyupdate
a,b,c:
I$="S"
I$="s"
"g6
button(528,50,762,98,1):
buysell(2):
buyupdate
a,b,c:
"l"
X>0
sdelete("trade"+
sdelete("tr"+
sdelete("trb"+
"q
X<5
sdelete("mnu"+
sdelete("tradeback")
lordbuy(sel,actual,tga,taa,tab,tac)
lordbuy(px,py,tga,taa,tab,tac)
lord
** Lord kauft ein **
lord=SIi(px,py)
lord<>1
"|,
tga>0
SIna(px,py)<SIc(px,py)*3+1
cost=
(3)+2
credits(lord)>=cost
? b=tga:
tga*cost>credits(lord)
(credits(lord)/cost)
b>30 b=30
. SIg%(px,py,2)+=b:credits(lord)-=b*cost
taa>0
(3)=1
cost=
(2)+4
credits(lord)>=cost
? b=taa:
taa*cost>credits(lord)
(credits(lord)/cost)
b>10 b=10
. SIk%(px,py,1)+=b:credits(lord)-=b*cost
tab>0
(5)=1
cost=
(2)+6
credits(lord)>=cost
? b=tab:
tab*cost>credits(lord)
(credits(lord)/cost)
b>10 b=10
. SIk%(px,py,2)+=b:credits(lord)-=b*cost
tac>0
(7)=1
cost=
(2)+8
credits(lord)>=cost
? b=tac:
tac*cost>credits(lord)
(credits(lord)/cost)
b>10 b=10
. SIk%(px,py,3)+=b:credits(lord)-=b*cost
fillarray("in1",25)
' a$=t$(362)+SIn$(px,py)+ar$(
(25))
(3)=1
R=
1: a$+=" Interstellar"
2: a$+=" Inc."
3: a$+=" Worldwide"
4: a$+=" Starwide"
5: a$+=" Ltd."
a$+=":"
pd=
(SId(px,py)/200)
io(a$)
IF tga>0 AND SIg%(px,py,2)<pd PROCio(a$,"food",tga,RND(3)+2,4)
IF taa>0 AND SIk%(px,py,1)<pd PROCio(a$,"infantry",taa,RND(4)+2,1)
IF tab>0 AND SIk%(px,py,2)<pd PROCio(a$,"glider",tab,RND(6)+2,2)
IF tac>0 AND SIk%(px,py,3)<pd PROCio(a$,"artillery",tac,RND(6)+2,3)
io(ia$)
iox,ia,iok
shortinfo
X=px:Y=py
xx=X:yy=Y
noplanet=1
< pc%(1)=
(2)+1:pc%(2)=
(4)+2:pc%(3)=
(6)+2:pc%(4)=
(6)+2
0 av%(1)=tga:av%(2)=taa:av%(3)=tab:av%(4)=tac
X c(1)=SIg%(px,py,1):c(2)=SIk%(px,py,1):c(3)=SIk%(px,py,2):c(4)=SIk%(px,py,3):pb%()=0
(SId(px,py)/200)
gmerge("br5"):
gmerge("br4"):
gmerge("td2")
cms("",1,1)
frame(208,237,272,285,42):
frame(521,237,1069,285,42)
schoose("export4")
plot(0,280,237)
sdelete("export4")
firm=1
cms(ia$,1,1)
firm=0
cms(t$(363),2,1)
cms(t$(364),3,1)
sfp(t$(365),380,660)
sfp(t$(366),520,660)
sfp(t$(367),660,660)
sfp(t$(368),800,660)
io_upd
A,B,C,D
old_C=0
delay=D
io_act
D-delay>50
io_act
arm>=3
old_C=C
SIg%(px,py,2)+=pb%(1)
SIk%(px,py,1)+=pb%(2)
SIk%(px,py,2)+=pb%(3)
SIk%(px,py,3)+=pb%(4)
window_open=0
noplanet=0
io_upd
iox=1
schoose("export3")
plot(8,900,260+iox*80)
iox
1:ia=2
2:ia=4
3:ia=5
4:ia=6
schoose("tr"+
(ia))
plot(0,220,244+iox*80)
av%(iox)=0
schoose("tr0"):
plot(8,220,240+iox*80)
iox=1
iox
1:ia=2
2:ia=4
3:ia=5
4:ia=6
f=272+iox*80
sfpr(
(av%(iox)),380,f,380,f,500,f+40)
sfpr(
(pc%(iox)),520,f,520,f,640,f+40)
sfpr(
( c(iox)),660,f,660,f,780,f+40)
sfpr(
(pb%(iox)),800,f,800,f,880,f+40)
io_act
getex(280,237):
exit=1
iok=1
fcn=1
getI(900,260+fcn*80)
inc>0
av%(fcn)>0
credits>=pc%(fcn)
C credits-=pc%(fcn):av%(fcn)-=1:pb%(fcn)+=1:
io_upd:
shortinfo
inc<0
pb%(fcn)>0
C av%(fcn)+=1:pb%(fcn)-=1:credits+=pc%(fcn):
io_upd:
shortinfo
buyupdate
n=1023-(slc*2+3)*40
schoose("trb"+
(slc))
plot(0,790,n)
schoose("trb"+
(slc+8))
plot(0,1040,n)
dspB(
(av%(slc)),790,slc*2+3)
slc<4
s=freight(slc)
slc>3
slc<7
s=ship(slc-3)
slc=7
s=freight(0)
slc=8 s=trans%
dspB(
(s),1040,slc*2+3)
schoose("trb17")
plot(0,420,183)
schoose("trb18")
plot(0,800,183)
f_yel
dspB(
(tfree%),420,21)
dspB(
(credits),800,21)
av%(slc)=0
schoose("tr0")
schoose("tr"+
(slc))
plot(8,12,1023-((slc*2+4)*40-20))
A,B,C:
buyinfo
296,296:
983,727:
sget("screen")
6,112,1
slc=1 i$=t$(251):s=freight(1)
slc=2 i$=t$(252):s=freight(2)
slc=3 i$=t$(253):s=freight(3)
slc=4 i$=t$(255):s=ship(1)
slc=5 i$=t$(256):s=ship(2)
slc=6 i$=t$(257):s=ship(3)
slc=7 i$=t$(254):s=0
slc=8 i$=t$(248):s=0
296,296,687,431
frame(300,300,979,723,42)
inframe(308,308,971,715,42)
schoose("trade"+
(slc)):
plot(0,700,480)
f_yel
dspB(i$,332,9)
f_wht
dspB("Available:",332,10):
(av%(slc)),550,10)
dspB("Freight:",332,11):
(s),550,11)
dspB("Cost:",332,13):
(pc%(slc)),550,13)
dspB("Buy price:",332,14):
(pb%(slc)),550,14)
f_yel
dspB(t$(373),332,16)
SIt(sel,actual)
1:a$=t$(369)
2:a$=t$(370)
3:a$=t$(371)
Ps%(1,5)=0 a$=t$(372)
SIna(sel,actual)<SIc(sel,actual)*3+1
slc=2 a$="The planet needs food."
IF invent%(SIi(sel,actual),14)=1 AND slc=3 THEN a$="This is needed no more."
allied(1,SIi(sel,actual))=0
slc>=4
slc<=6 a$="Arms are not offered."
dspB(
(34)+a$+
(34),332,17)
296,296:
983,727:
sget("screen2")
6,112,2
schoose("screen2")
plot(0,296,296)
f_wht
getMK
schoose("screen")
plot(0,296,296)
A,B,C:
buysell(kind)
num,check,mex
mex=1
slc=1 i$=t$(251):s=freight(1)
slc=2 i$=t$(252):s=freight(2)
slc=3 i$=t$(253):s=freight(3)
slc=4 i$=t$(255):s=ship(1)
slc=5 i$=t$(256):s=ship(2)
slc=6 i$=t$(257):s=ship(3)
slc=7 i$=t$(254):s=freight(0)
slc=8 i$=t$(248):s=trans%
296,296:
983,727:
sget("screen")
6,112,1
296,296,687,431
frame(300,300,979,723,42)
inframe(308,308,971,715,42)
schoose("tradeback"):
plot(0,312,312)
schoose("trade"+
(slc)):
plot(0,744,472)
kind=1 a$="Buy"
a$="Sell"
f_wht
sfp(a$,804,656)
sfp("Available:",332,636):
f_yel:
(av%(slc)),550,636)
kind=1 a=pc%(slc)
a=pb%(slc)
f_wht:
dsp("Price:",332,11):
f_yel:
(a),550,11)
f_wht:
dsp("Freight:",332,14):
f_red:
(s),550,14)
f_wht
sfp(t$(361),332,404):
f_red:
(credits),550,404)
296,296:
983,727:
sget("screen2")
6,112,2
schoose("screen2")
plot(0,296,296)
f_wht
#{ ok=0
6,112,1
#~!
538,372,140,120
538,572,140,100
f_yel
(av%(slc)),550,636)
kind=1 a=pc%(slc)
a=pb%(slc)
(a),550,11)
f_red
(s),550,14)
kind=1 b=credits-num*a
b=credits+num*a
(b),550,404)
f_wht
538,372:
723,672:
sget("screen2")
6,112,2
schoose("screen2")
plot(0,538,372)
row=0
A,B,C,D
old_C=0
delay=D
buysellact
D-delay>50
buysellact
arm>=2.5
old_C=C
kind=1
credits-=num*pc%(slc)
slc=X
freight(X)+=num
slc=X+3
ship(X)+=num
slc=7
freight(0)+=num
slc=8
trans%+=num:
tfree%+=num
credits+=num*pb%(slc)
slc=X
freight(X)-=num
slc=X+3
ship(X)-=num
slc
7:freight(0)-=num
8:trans%-=num:
tfree%-=num
1:trace%(13)+=num
2:trace%(14)+=num
3:trace%(7)+=num
ok=0
schoose("screen")
plot(0,296,296)
f_wht
buysellact
A>728
A<964
B>318
B<370 ok=1
B>373
B<421
A>729
A<843
num>0
kind=1
= num-=1:av%(slc)+=1:s-=1:
slc<8 tfree%+=1
tfree%-=1
num>0
> num-=1:av%(slc)-=1:s+=1:
slc<8 tfree%-=1
tfree%+=1
A>849
A<963
kind=1
check=0
$
(tfree%>0
slc=8) check=1
,
(num+1)*pc%(slc)>credits
check=0
av%(slc)=0 check=0
check
? num+=1 :av%(slc)-=1:s+=1:
slc<8 tfree%-=1
tfree%+=1
s>0
slc<>8
tfree%>0
? num+=1:av%(slc)+=1:s-=1:
slc<8 tfree%+=1
tfree%-=1
slc
2:tga+=1
4:taa+=1
5:tab+=1
6:tac+=1
cleararea
inframe(480,260,1200,588,42)
inframe(480,604,1200,676,42)
p_shift(sdir)
ga,gb
za*56,za*56:
zb*56+56,zb*56+56:
sget("zone")
sdir=0
za*56,za*56:
za*56+52,zb*56+56:
sget("zhelp")
zb*56,za*56:
zb*56+52,zb*56+56:
sget("zhelp")
6,112,1
schoose("zone")
sdir=0
plot(0,za*56,za*56)
plot(0,za*56+56,za*56)
schoose("zhelp")
sdir=0
plot(0,zb*56+56,za*56)
plot(0,za*56,za*56)
za*56,za*56:
(zb+1)*56+56,zb*56+56:
sget("zone")
6,112,2
24,za*56;za*56;zb*56+52;zb*56+52;
schoose("zone")
n=1
sdir=0
plot(0,za*56-n*4,za*56)
sdir=1
plot(0,za*56-56+n*4,za*56)
arm>2.5
wait(3)
wait(1)
sdelete("zhelp")
sdelete("zone")
sdir=0
gx=za
gy=za
)
gx=za
shift%(gy)=surf%(za,gy)
-
gx<zb
surf%(gx,gy)=surf%(gx+1,gy)
)
gx=zb
surf%(zb,gy)=shift%(gy)
gx=zb
gy=za
)
gx=zb
shift%(gy)=surf%(zb,gy)
-
gx>za
surf%(gx,gy)=surf%(gx-1,gy)
)
gx=za
surf%(za,gy)=shift%(gy)
I$=""
spcodeblank
buildmain% 200
pass%=0
P%=buildmain%
[OPT pass%
( MOV R7,R0 ; Loopx-Anfang
( MOV R8,R0 ; Loopy-Anfang
- MOV R9,R0 ;Loop-Anfang (Save)
- MOV R10,R1 ;Loop-Ende (Save)
( ADD R9,R9,#1 ;Ende 1 hoeher
( ADD R10,R10,#1 ;Ende 1 hoeher
, MOV R1,R2 ; in R1 jetzt Smem
$!: MOV R5,#0 ; in R5 jetzt Plotten ohne Maske
MOV R0,#255 ;
$#8 ADD R0,R0,#35 ; in R0 jetzt Sprite-Operation
.schleifey
MOV R7,R9
SUB R7,R7,#1
.schleifex
MOV R6,#56
MUL R3,R7,R6
MUL R4,R8,R6
$,D ADR R2,sname% ; in R2 jetzt Speicheradr von Spritename
$-2 ADD R2,R2,#5 ; ->6. Char. in Sprite
$.= ADD R12,R7,#47 ; R12=Char, der in 6. Stelle soll
$/C STRB R12,[R2] ; Char an 6.Stelle des Namens schreiben
$0= ADD R12,R8,#47 ; R12=Char, der in 7. Stelle soll
$1C STRB R12,[R2,#1] ; Char an 7.Stelle des Namens schreiben
$34 ADR R2,sname% ; in R2 jetzt Spritename
SWI &2E ; aufrufen
ADD R7,R7,#1
CMP R7,R10
BNE schleifex
ADD R8,R8,#1
CMP R8,R10
BNE schleifey
$< MOV PC,R14 ; Ende
.spriteid
EQUS"stone0 "
ALIGN
pass%
spcode
buildup% 200
sname% 16
pass%=0
P%=buildup%
[OPT pass%
$V0 MOV R11,R3 ; Nummer des Steines
$X7 MOV R7,R0 ; Loopx-Anfang(R7=Counterx)
$Y7 MOV R8,R0 ; Loopy-Anfang(R8=Countery)
$[0 MOV R9,R0 ; Loop-Anfang (Save)
$\0 MOV R10,R1 ; Loop-Ende (Save)
$^+ ADD R9,R9,#1 ; Anf. 1 hoeher
$_+ ADD R10,R10,#1 ; Ende 1 hoeher
$a. MOV R1,R2 ; in R1 jetzt Smem
$c4 ADR R2,sname% ; in R2 jetzt Spritename
$e; MOV R5,#8 ; in R5 jetzt Plotten mit Maske
MOV R0,#255 ;
$h: ADD R0,R0,#35 ; in R0 jetzt Sprite-Operation
.schleifey
MOV R7,R9
SUB R7,R7,#1
.schleifex
MOV R6,#16
SUB R7,R7,#1
MUL R12,R7,R6
ADD R7,R7,#1
SUB R8,R8,#1
$}* ADD R12,R12,R8 ; R12=16*R7+R8
ADD R8,R8,#1
+ ADR R6,plansurf ;old=planfield%
) LDR R6,[R6] ;old=wegdamit
C LDRB R6,[R6,R12] ; In R6 jetzt Zahl bei planfield+Offset
@ CMP R6,R11 ; ist hier das entsprechende Objekt?
> BNE nachswi ; Wenn nein, Plotten ueberspringen
MOV R6,#56
MUL R3,R7,R6
MUL R4,R8,R6
SWI &2E ; aufrufen
.nachswi
ADD R7,R7,#1
CMP R7,R10
BNE schleifex
ADD R8,R8,#1
CMP R8,R10
BNE schleifey
" MOV PC,R14 ; Ende
.spriteid
EQUS"stone0 "
ALIGN
.plansurf
EQUD planfield%
ALIGN
pass%
entercode
LOCAL new$
donecode=1
fillarray("it1",27)
6,112,2
picture("ts1")
sload("intro.ph1")
0,60:
1279,1023:
sget("back")
a=0:b=0:c=0:R=0:T=0
readcodes
mouse_on
ok=0
donecode=1
X=1
6,113,2
6,112,1
schoose("back")
plot(0,0,60)
6,113,1
( a$=ar$(19)+" "+
(R)+" / "+
(T)+"."
codefadein(a$)
input=0
6,21,0
6,21,9
new$=""
A,B,C
I$=
REPEAT I$=INKEY$(0):UNTIL I$<>new$
I$>="1"
I$<="9"
pushkey(
(I$))
new$=I$
mus_quit
262274,bfnt%
262274,sfnt%
262274,mfnt%
6,229,0
"Alphabet Latin1"
262383,-1
9
A>=427
B>=671
A<=571
B<=785
pushkey(1)
9
A>=592
B>=662
A<=736
B<=767
pushkey(2)
9
A>=772
B>=647
A<=916
B<=761
pushkey(3)
9
A>=385
B>=506
A<=535
B<=629
pushkey(4)
9
A>=562
B>=482
A<=718
B<=608
pushkey(5)
9
A>=742
B>=464
A<=904
B<=593
pushkey(6)
9
A>=343
B>=317
A<=505
B<=449
pushkey(7)
9
A>=526
B>=293
A<=688
B<=425
pushkey(8)
9
A>=721
B>=269
A<=886
B<=404
pushkey(9)
input=3
codefadeout(a$)
var(1)=a
var(2)=b
var(3)=c
ok=1:X=3
X=3:ok=1
ok=0
codefadein(ar$(20))
wait(50)
codefadeout(ar$(20))
codefadein(ar$(21))
wait(50)
codefadeout(ar$(21))
f_wht
6,21,0
6,21,9
ok=0
codequit
fade(1,0,15)
codequit
6,112,2
picture("go1")
1279,1023:
sget("back")
pixelswap
6,112,1
codefadein(t$(374))
wait(400)
codefadeout(t$(374))
codefadein(t$(375))
wait(400)
codefadeout(t$(375))
wait(100)
mus_quit
fade(1,0,15)
"Alphabet Latin1"
262383,-1
codefadein(f$)
r=1
CASE r OF
WHEN 1:SYS 262291,,0,1,6,&00000000,&40404000
WHEN 2:SYS 262291,,0,1,6,&00000000,&90909000
WHEN 3:SYS 262291,,0,1,6,&00000000,&c0c0c000
WHEN 4:SYS 262291,,0,1,6,&00000000,&fdfdfd00
ENDCASE
1:font_col=&40404000
2:font_col=&90909000
3:font_col=&c0c0c000
4:font_col=&fdfdfd00
dspc(f$,25)
codefadeout(f$)
r=1
1:font_col=&c0c0c000
2:font_col=&90909000
3:font_col=&40404000
%/%
0,0,1279,56
r<4
dspc(f$,25)
pushkey(key)
key
1:pa=376:pb=650
2:pa=571:pb=626
3:pa=748:pb=605
4:pa=352:pb=479
5:pa=547:pb=455
6:pa=733:pb=431
7:pa=301:pb=281
8:pa=508:pb=251
9:pa=709:pb=218
schoose("push_"+
(key))
plot(0,pa,pb)
wait(20)
schoose("back")
plot(0,0,60)
input+=1:var(input)=key
A,B,C:
A=0:B=0
showplanet(mode)
mode=1 bebauen
mode=2 ansehen
mode=3 bomben
mode>1 sel=X:actual=Y
thru,tool,produce,pluton,anm,dd,tt,za,zb,X,Y,pcost,begin,oldtool,tcenter,sf,canim,ct,anywat,base,isthereaport,click_hold,click_hold_timer
%V' begin=1:canima=1:canimb=9:anyway=0
mode=3
%Y$
0,0:
1279,1023:
sget("bsc")
6,112,1
schoose("bsc")
plot(0,0,0)
sdelete("bsc")
6,113,1
mode=1 sel=selectedsys
gload("su1")
gmerge("sf"+
(plan(sel,actual)))
gmerge("pt1")
6,113,1
6,112,2
picture("pl"+
(plan(sel,actual)))
a=plan(sel,actual)
produce=0:pluton=0
SIna(sel,actual)=50 - TEST!
SIc(sel,actual)=14 - TEST!
decode(sel,actual)
a=6
X=1
Y=1
sf=surf%(X,Y)
sf=8
sf=24
sf=25
%v# R=
R=1
surf%(X,Y)=8
R=2
surf%(X,Y)=24
R=3
surf%(X,Y)=25
a<>6
X=1
Y=1
%~3 sf=surf%(X,Y):
sf=24
sf=25
surf%(X,Y)=8
X=0
Y=0
( planfield%?(X*16+Y)=surf%(X+1,Y+1)
a=3
a=5
a>6
gmerge("su2")
=0:pp=0
(SId(sel,actual)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
za*56-4,za*56-4,(zb-za)*56+60,(zb-za)*56+60
sname%?0=
("s"):sname%?1=
("p"):sname%?2=
("a"):sname%?3=
("r"):sname%?4=
("t"):sname%?5=
("0"):sname%?6=0:sname%?7=0:sname%?8=0:sname%?9=0:sname%?10=0:sname%?11=0:sname%?12=0
% A%=za:B%=zb:C%=Smem:
buildmain%
sname%?0=
("s"):sname%?1=
("t"):sname%?2=
("o"):sname%?3=
("n"):sname%?4=
("e"):sname%?5=0:sname%?6=0:sname%?7=0:sname%?8=0:sname%?9=0:sname%?10=0:sname%?11=0:sname%?12=0
Z=1
7 A%=za:B%=zb:C%=Smem:D%=Z:sname%?5=48+Z:
buildup%
Z=10
F A%=za:B%=zb:C%=Smem:D%=Z:sname%?5=49:sname%?6=48+Z-10:
buildup%
A A%=za:B%=zb:C%=Smem:D%=29:sname%?5=50:sname%?6=57:
buildup%
A A%=za:B%=zb:C%=Smem:D%=20:sname%?5=50:sname%?6=48:
buildup%
A A%=za:B%=zb:C%=Smem:D%=22:sname%?5=50:sname%?6=50:
buildup%
A A%=za:B%=zb:C%=Smem:D%=23:sname%?5=50:sname%?6=51:
buildup%
A A%=za:B%=zb:C%=Smem:D%=24:sname%?5=50:sname%?6=52:
buildup%
A A%=za:B%=zb:C%=Smem:D%=25:sname%?5=50:sname%?6=53:
buildup%
O a$=SIn$(sel,actual):
a$=""
a$="Unexplored planet"
a$="The planet "+a$
sfpB(a$,60,972)
mode>1
dspB("Class:",1000,3)
ws(plan(sel,actual))
dspB(A$,1000,4)
dspB("Population",1000,7)
dspB(
(SIpo%(sel,actual))+" m.",1000,8)
6,113,2
srfmus
mode=2
srfdel
mode<3
getMK
. pcost=0:sp_first=0:sp_second=0:sp_third=0
X=za
Y=za
surf%(X,Y)
1: base+=1
4: pluton+=1
3: produce+=1
17:tcenter+=1
14:sp_first=1
15:sp_second=1
16:sp_third=1
sp_first+sp_second+sp_third=3
isthereaport=1
isthereaport=0
surf%(X,Y)>10
surf%(X,Y)<14 produce+=1:pcost+=surf%(X,Y)-10
frame(980,496,1230,556,42)
frame(980,56,1230,492,42)
inframe(988,500,1222,552,42)
schoose("tri")
plot(0,988,176)
schoose("people")
plot(0,988,120)
schoose("export")
plot(0,988,66)
schoose("ctrl"+
(X+1))
plot(0,998+X*80,508)
SIna(sel,actual)<SIc(sel,actual)*3+1 b$="cta"
b$="ctb"
schoose(b$)
plot(0,1040,508)
plan(sel,actual)=3
pluton*2>=produce b$="ctb"
b$="cta"
pluton>=produce b$="ctb"
b$="cta"
IF invent%(1,14)=1 THEN b$="ctb"
schoose(b$)
plot(0,1120,508)
s=SIr(sel,actual)
s<4 b$="ctb"
s>=4
s<8 b$="ctc"
s>=8 b$="cta"
schoose(b$)
plot(0,1200,508)
schoose("spart00")
X=1
Y=0
plot(0,920+X*80,878-Y*76)
schoose("menu")
plot(8,982,563)
schoose("stone2")
plot(8,1080,879)
SIb(sel,actual)
schoose("stonexx")
plot(8,1080,574)
ok=0
tool=2
oldtool=2
1076,874,60,60
mouse_on
6,21,9
begin=0
6,112,1
inframe(984,352,1226,488,42)
inframe(984,292,1226,348,42)
inframe(984,232,1226,288,42)
sfpB("MC: "+
(credits),996,309)
SIam(sel,actual)<pcost
f_red
sfpB("Ar: "+
(SIam(sel,actual))+"/"+
(SIs(sel,actual)+SIc(sel,actual)*2),996,249)
f_yel
sfpB("Cost: "+
(price(tool)),996,365)
b$=""
tool
1:a$="Command":b$="base"
2:a$="Cultivate"
3:a$="Mining":b$=""
4:a$="Plutonium":b$="production"
5:a$="City"
6:a$="Clear":b$="ground"
7:a$="Infantry":b$="production"
8:a$="Glider":b$="production"
9:a$="Artillery":b$="production"
10:a$="Spaceport,":b$="Control"
11:a$="Spaceport,":b$="Landing"
12:a$="Power":b$="plant"
13:a$="Trading":b$="centre"
14:a$="Lunar":b$="battle base"
15:a$="Park"
sfpB(a$,996,453)
sfpB(b$,996,413)
f_wht
begin=0
front(984,232,1226,488,2)
begin=0:
6,113,2:
srfmus
click_hold=0
A,B,C,D:
6,4,1
A,B,C,D
I$=
&)#
I$="j"
I$="J"
anyway=1
(136)
p_shift(1)
(137)
p_shift(0)
f_wht
>150
anm=0
anm=1
schoose("stone29b")
&2
anm=0
schoose("stone29")
&5
X=za
Y=za
&7-
surf%(X,Y)=29
plot(8,X*56,Y*56)
D-dd>80
dd=D
&<C
tt=0
schoose("stone4b"):tt=1
schoose("stone4"):tt=0
X=za
Y=za
&>*
surf%(X,Y)=4
plot(8,X*56,Y*56)
&@;
tt=0
schoose("stone16")
schoose("stone16b")
X=za
Y=za
&B+
surf%(X,Y)=16
plot(8,X*56,Y*56)
&E)
D-ct>15
(arm>2.5
anyway=1)
ct=D
&G& canima+=1:
canima>18 canima=1
&H& canimb+=1:
canimb>18 canimb=1
&I%
schoose("stone5a"+
(canima))
X=za
&K'
X/2=
(X/2)
ra=za
ra=za+1
Y=ra
&M*
surf%(X,Y)=5
plot(8,X*56,Y*56)
&O%
schoose("stone5a"+
(canimb))
X=za
&Q'
X/2=
(X/2)
ra=za+1
ra=za
Y=ra
&S*
surf%(X,Y)=5
plot(8,X*56,Y*56)
C=0
click_hold=0
C<>0
6,4,1
&Z4
tool<>14
schoose("people"):
plot(0,988,120)
oldtool=tool
t=tool
&`r
A>920+X*80
B>878-Y*76
A<920+X*80+60
B< 878-Y*76+60
tool=X+Y*3:
916+X*80,874-Y*76,60,60
&aN
plan(sel,actual)>7
tool=3
tool=t:
916+X*80,874-Y*76,60,60
&c
oldtool<>tool
&h9
oldtool=X+Y*3
916+X*80,874-Y*76,60,60
&l4
tool=14
credits>=120
SIb(sel,actual)=0
schoose("build")
plot(0,988,120)
&q,
A>=1151
A<=1220
B>=177
B<=225
&r#
button(1151,177,1220,225,1)
givehelp
B>=506
B<=548
&w(
A>=944
A<=1057
status_food
&x.
A>=1072
A<=1138
status_plutonium
&y+
A>=1153
A<=1219
status_people
&|;
click_hold=0
A>=989
A<=1139
B>=177
B<=225
click_hold=1
click_hold_timer=D
showplanet_armybuttons
click_hold=1
D>click_hold_timer+50
showplanet_armybuttons
A>=989
A<=1223
B>=120
B<=168
button(989,120,1223,168,1)
tool=14
credits>=120
SIb(sel,actual)=0
#
button(989,121,1220,169,1)
schoose("stonexx")
&
plot(8,1000+(tool-13)*80,574)
& credits-=120:SIb(sel,actual)=1
+
schoose("people"):
plot(0,988,120)
planetlaw
A>988
A<1224
B<118
button(991,66,1222,114,1):ok=1
A>za*56
B>za*56
A<(zb+1)*56
B<(zb+1)*56
price(tool)<=credits
tool<>14
surf%(
(A/56),
(B/56))=0
surf%(
(A/56),
(B/56))=9
tool=6
XX=
(A/56):YY=
(B/56)
tool<>6
tool<6 t=tool
tool>6 t=tool+4
tool=15 t=23
0
t<>19 surf%(XX,YY)=t
surf%(XX,YY)=9
,
schoose("spart"+
(47+XX)+
(47+YY))
plot(0,XX*56,YY*56)
1:n=3
2:n=0
3:n=2
4:n=3
5:n=5
11:n=3
12:n=3
13:n=3
14:n=2
15:n=2
16:n=1
17:n=1
23:n=3
a=0
)
schoose("stone"+
(t)+"-"+
plot(8,XX*56,YY*56)
wait(10)
schoose("stone"+
plot(8,XX*56,YY*56)
credits-=price(tool)
tool=5
* SIc(sel,actual)+=1:trace%(12)+=1
C
(firstcity%(1)
1)=0
firstcity%(1)=firstcity%(1)
'
tool=2
SIna(sel,actual)+=1
tool=1
base+=1
.
surf%(XX,YY)<>6
surf%(XX,YY)<>0
suf=surf%(XX,YY)
F
suf=5
SIc(sel,actual)-=1:SIr(sel,actual)+=3:trace%(5)+=1
3
suf=22
SIr(sel,actual)+=2:trace%(6)+=1
'
suf=2
SIna(sel,actual)-=1
?
suf>=11
suf<=13 produce-=1:pcost-=surf%(XX,YY)-10
suf=3
produce-=1
suf=4 pluton-=1
surf%(XX,YY)=0
-
schoose("spart"+
(47+XX)+
(47+YY))
plot(0,XX*56,YY*56)
credits-=5
tool=4 pluton+=1
.
(tool>=7
tool<=9)
tool=3 produce+=1
(
tool>=7
tool<=9 pcost+=tool-6
re_am
SIna(sel,actual)<SIc(sel,actual)*3+1 b$="cta"
b$="ctb"
schoose(b$)
plot(0,1040,508)
plan(sel,actual)=3
pluton*2>=produce b$="ctb"
b$="cta"
pluton>=produce b$="ctb"
b$="cta"
IF invent%(1,14)=1 THEN b$="ctb"
schoose(b$)
plot(0,1120,508)
isthereaport=0
' sp_first=0:sp_second=0:sp_third=0
X=za
Y=za
surf%(X,Y)
14:sp_first=1
15:sp_second=1
16:sp_third=1
sp_first+sp_second+sp_third=3
isthereaport=0
A
(firstcity%(1)
4)=0
firstcity%(1)=firstcity%(1)
PROCsrfdel
gload("ts2"):
smerge("graphic2.pa"+
(plan(selectedsys,actual)))
l=SIl%(sel,actual)
lok=0
8+64+128 :lok=1
8+16+64+128 :lok=1
8+64+128+32 :lok=0
8+16+64+128+32:lok=0
128 :lok=1
128+16 :lok=1
128+32 :lok=1
128+16+32 :lok=1
32 :lok=1
32+16 :lok=1
8)>0
64)=0
lok=0
8)=0
64)>0
lok=0
256
lok=0
lookagain=0
lok=0
(3)=1
counselor(15)
accepted
lookagain=1
base=0
(base=1
SIna(sel,actual)=0
SIc(sel,actual)=0)
counselor(17)
accepted
lookagain=1
claimed=0
code(sel,actual)
showplanet_armybuttons
A>=989
A<=1058
B>=177
B<=225
SIam(sel,actual)>0
SIam(sel,actual)-=1
re_am
PROCbutton(989,177,1058,225,1)
A>=1070
A<=1139
B>=177
B<=225
SIam(sel,actual)<SIs(sel,actual)+SIc(sel,actual)*2
SIam(sel,actual)+=1
re_am
PROCbutton(1070,177,1139,225,1)
srfmus
mode
s=SIr(sel,actual)
s<4
mpart(13)
s>=4
s<8
mpart(20)
s>=8
mpart(21)
mpart(4)
mpart(8)
re_am
6,112,1
inframe(984,232,1226,288,42)
f_wht
SIam(sel,actual)<pcost
f_red
sfpB("Ar: "+
(SIam(sel,actual))+"/"+
(SIs(sel,actual)+SIc(sel,actual)*2),996,249)
f_wht
front(984,232,1226,288,2)
givehelp
188,220:
1083,856:
sget("sback")
6,112,1
picture("ws"+
(plan(sel,actual)))
fillarray("ti"+
(tool),10)
f_yel
cdsB(ar$(1),210,7)
f_wht
cdsB(ar$(X),230,7+X)
200,232:
1071,844:
sget("sfront")
6,112,2
frame(188,220,1083,856,42)
inframe(196,228,1075,848,42)
schoose("sfront")
plot(0,200,232)
sdelete("sfront")
getMK
schoose("sback")
plot(0,188,220)
sdelete("sback")
A,B,C:
A=0:B=0
status_food
status_frame
f_yel
cdsB(t$(376),210,7)
f_wht
cdsB(t$(377),230,10)
cdsB(t$(378),230,14)
cdsB(t$(379),230,12)
f_yel
n=SIna(sel,actual)
g=SIg%(sel,actual,2)
c=SIc(sel,actual)*3+1
cdsB(
(n),700,10)
cdsB(
(g),700,14)
cdsB(
(c),700,12)
status_counselor
status_frametwo
status_plutonium
n,g,c,h$,k$
status_frame
f_yel
cdsB(t$(380),210,7)
f_wht
cdsB(t$(381),230,10)
cdsB(t$(378),230,14)
cdsB(t$(382),230,12)
f_yel
n=pluton
plan(sel,actual)=3
n=n*2
g=SIg%(sel,actual,3)
c=produce
IF invent%(1,14)=1 THEN c=0
cdsB(
(n),720,10)
cdsB(
(g),720,14)
cdsB(
(c),720,12)
status_counselor
status_frametwo
status_counselor
h$=t$(383)
c>n
'~# k$="s are":
c-n=1
k$=" is"
' h$=
(c-n)+" more unit"+k$+t$(384)
n>c
k$="s":
n-c=1
k$=""
& h$=t$(385)+
(n-c)+" unit"+k$+"."
cdsB(t$(386),210,17)
cdsB(
(34)+h$+
(34),210,18)
f_wht
status_people
v,p$,n,tb,k,pro%,pg
tb=SItb%(sel,actual)
VDU30
n=1
k=tb
15<<(n-1)*4
var(n)=k>>(n-1)*4
PRINT var(n)
var(8)=SIr(sel,actual)
pro%=0
v=1
v>4
pro%+=var(v)
var(v)>10
var(v)=10
var(v)=10-var(v)
pro%=
(pro%/5)
pro%>SIr(sel,actual)
pg=1
pro%<SIr(sel,actual)
pg=2
pro%=SIr(sel,actual)
pg=3
1:p$=t$(387)
2:p$=t$(388)
3:p$=t$(389)
status_frame
f_yel
cdsB(t$(390),210,7)
cdsB(t$(391)+p$,210,19)
f_wht
354,550,945,550
354,625,945,625
354,475,945,475
n=2
350+(n-1)*85,400,350+(n-1)*85,700
n=1
normalfont-(10-n)>0
pixel(
(normalfont-(10-n)),342+(n-1)*85,388,42,0,21,0)
350,400,595,300
pixel(t$(392),220,700+20,42,0,21,0)
pixel(t$(393),220,550+20,42,0,21,0)
pixel(t$(394),220,400+20,42,0,21,0)
v=2
350+(v-2)*85, 400+var(v-1)*30, 350+(v-1)*85, 400+var(v)*30
350+(v-2)*85, 400+var(v-1)*30-4, 350+(v-1)*85, 400+var(v)*30-4
350+(v-2)*85, 400+var(v-1)*30+4, 350+(v-1)*85, 400+var(v)*30+4
PROCpixel(STR$(var(v-1)),350+(v-2)*75,380,63,192)
status_frametwo
status_frame
188,220:
1083,856:
sget("sback")
6,112,1
frame(188,220,1083,856,42)
inframe(196,228,1075,848,42)
status_frametwo
front(188,220,1083,856,2)
getMK
schoose("sback")
plot(0,188,220)
sdelete("sback")
A,B,C:
A=0:B=0
planetlaw
gmerge("pt2")
188,188:
1083,868:
sget("sback")
6,112,1
frame(338,270,933,776,42)
inframe(346,278,925,768,42)
f_yel
cdsB(t$(395),360,8)
f_wht
inst(t$(396),380,10,1)
inst(t$(397),380,12,2)
inst(t$(398),380,16,3)
inst(t$(92),380,18,4)
a$=t$(399)
flashnum=4
(SIu(sel,actual)
2)=0
# flashnum=5:
inst(a$,380,14,5)
f_gre
cds(a$,380,14)
f_wht
flashactual=0
front(338,270,933,776,2)
xt=0
pickrow
row
pl_justice:xt=1
pl_tcenter:xt=1
1
(SIu(sel,actual)
2)=0
pl_taxes:xt=1
pl_festival:xt=1
18:xt=1
schoose("sback")
plot(0,188,188)
sdelete("sback")
A,B,C:
A=0:B=0
gmerge("pt1")
cla,clb,clc
cla,clb,clc:
clc=0
pl_festival
right,fls
6,112,1
frame(338,270,933,776,42)
inframe(346,278,925,768,42)
f_yel
cdsB(t$(400),360,8)
f_wht
cdsB(t$(401),360,10)
cdsB(t$(402),360,11)
inst(t$(92),380,18,1)
fls=1
credits>19
(4#
inst(t$(403),380,13,2):fls=2
(6!
f_gre:
cds(t$(403),380,13)
credits>99
(9(
inst(t$(404),380,15,fls+1):fls+=1
(;!
f_gre:
cds(t$(404),380,15)
f_wht
flashnum=fls:flashactual=0
front(338,270,933,776,2)
right=0
pickrow
(C?
row=13
credits>=20
festival(1):right=1:credits-=20
(DA
row=15
credits>=100
festival(2):right=1:credits-=100
row=18 right=1
right
festival(fnu)
(J? SIr(sel,actual)-=fnu:
SIr(sel,actual)<0 SIr(sel,actual)=0
festival=1
inframe(346,278,925,768,42)
cdsB(t$(405),420,12)
cdsB(t$(406),520,13)
getMK
pl_tcenter
6,112,1
frame(338,270,933,776,42)
inframe(346,278,925,768,42)
f_yel
cdsB(t$(407),360,8)
f_wht
cds(t$(408),360,10)
cds(t$(409),360,11)
cds(t$(410),360,12)
inst(t$(411),380,14,1)
inst(t$(412),380,15,2)
inst(t$(413),380,16,3)
inst(t$(92),380,18,4)
kj=SIl%(sel,actual)
flashnum=4:flashactual=0
front(338,270,933,776,2)
pickrow
row
(i3
14:kj=kj
1:SIl%(sel,actual)=kj:
(j3
15:kj=kj
2:SIl%(sel,actual)=kj:
(k3
16:kj=kj
4:SIl%(sel,actual)=kj:
row=18
pl_justice
kj,n
6,112,1
frame(268,190,1003,868,42)
inframe(276,198,995,860,42)
f_yel
centerB(t$(414),796)
f_wht
n=1
schoose("paragraph")
({"
plot(8,304,1040-(6+n*2)*40)
(n),340,6+n*2)
inst(t$(415),392,8,1)
inst(t$(416),392,10,2)
inst(t$(417),392,12,3)
inst(t$(418),392,14,4)
inst(t$(419),392,16,5)
inst(t$(420),392,18,6)
inst(t$(92),304,20,7)
kj=SIl%(sel,actual)
flashnum=7:flashactual=0
front(268,190,1003,868,2)
pickrow
row
8 :kj=kj
8:SIl%(sel,actual)=kj:
10:kj=kj
16:SIl%(sel,actual)=kj:
12:kj=kj
32:SIl%(sel,actual)=kj:
14:kj=kj
64:SIl%(sel,actual)=kj:
16:kj=kj
128:SIl%(sel,actual)=kj:
18:kj=kj
256:SIl%(sel,actual)=kj:
row=20
ral=1
1<<(ral+2)
schoose("allow1")
schoose("allow0")
plot(8,880,1040-(6+ral*2)*40)
pl_taxes
gmerge("br14")
6,112,1
frame(338,270,933,776,42)
inframe(346,278,925,768,42)
f_yel
cdsB(t$(421),360,8)
f_wht
0 am=
((SIc(sel,actual)*2+SIs(sel,actual))/2)
dspB(t$(422)+
(am)+" MC",380,10)
dspB(t$(423),380,12)
dspB(t$(424),380,13)
schoose("export"):
plot(0,396,286)
frame(352,286,391,334,42):
frame(874,286,916,334,42)
front(338,270,933,776,2)
askmaster(396,286,0)
accepted
credits+=am:SIr(sel,actual)+=4:SIu(sel,actual)=SIu(sel,actual)
ral=1
1<<(ral-1)
schoose("allow1")
schoose("allow0")
plot(8,700,1004-(12+ral)*40)
srfdel
gload("ts1")
gmerge("pt1")
_comm_allied(cfs)
ok,lord,flicker,jd,sp,scn,quittalk,letexit
useproc=1
actualmenu=1
sp=1
sp=2
scn=3-actualmenu
tk$()="":tk()=1
ckind=2
flicker=1
jd=1
gmerge("cs"+
(cfs))
6,112,3-scn
comframe
schoose("c")
plot(0,74,264)
makecop
cominfo
useproc=1
sdelete("c")
front(49,240,1222,693,scn)
fontcol(&fff00fff)
dsp(t$(425),494,10)
front(49,240,1222,693,scn)
f_wht
X=selectedsys:Y=actual
decode(X,Y)
checkspaceport
tk$(1)=t$(426)
tk$(2)=t$(427)
tk$(4)=t$(428)
plan(selectedsys,actual)<7
invent%(1,9)=0
credits<500 tk(3)=0
tk$(3)=t$(429)
b=0
psun(1,a)=X
b=a:a=9
ptarget(1,b)<>0
invent%(1,8)=0 tk(3)=0
tk$(3)=t$(430)
selectedsys<>actualsys
spaceport=0 tk(1)=0:tk(2)=0
letexit=1
tquest
quittalk=1
quittalk=0:letexit=0:
redo:
row=3
plan(X,Y)<7
jd=0
elast(-1)
row
transfer
fleet:
row=3
plan(X,Y)<7
ghchange
movewp(b)
ghchange
credits-=500
cleararea
fontcol(&fff00fff)
dspB(t$(431),494,10)
p=plan(X,Y):q=0
1: q=6
2: q=4
3: q=2
4: q=6
5: q=4
6: q=1
plan(X,Y)=q
f_wht
getMK
f_gre
fontcol(&777777FF)
rightplanet
grosse_ausnahme=1
findvar=1
varfound=0
masteranimate
escpressed=0
selectedsys=fsys
actualmenu=2
findvar=1
varfound=0
slavemap
)90
varfound
rightplanet=1
rightplanet=0
findvar=0
varfound=0
rightplanet
grosse_ausnahme=0
bombing(sel,planet,par)
dx,dy
watcher=1
showplanet(3)
par=1
par=4
R=
(7)+1
par=1
R+=8
)J s=
(SId(sel,planet)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
dspB("Replay",1000,13)
)O"
dspB(
(R)+" hits",1000,15)
dx=
(zb-za+1)+za-1
dy=
(zb-za+1)+za-1
smash(dx,dy)
par=2
premark(V,U)
dspB(t$(432),1000,13)
dspB(t$(433),1000,14)
dspB(t$(434),1000,15)
dx=V:dy=U
smash(dx,dy)
par=3
sci=SIc(sel,planet)
)` s=
(SId(sel,planet)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
dspB(t$(435),1000,13)
dspB(t$(436),1000,14)
ra=
(zb-za+1)+za-1
rb=
(zb-za+1)+za-1
s=surf%(ra,rb)
)j#
s<>6
pollutefield(ra,rb)
c<50
wait(5)
plan(sel,planet)=2
code(sel,planet)
showplanet(3)
dspB(t$(437),1000,13)
dspB(t$(436),1000,14)
getMK
srfdel
par<>0
par<>1
par=1
par=4
)|$
par=1
(7)+9
(7)+1
)}&
cms(t$(438)+
(R)+" hits.",7,1)
dx=
(16):dy=
smash(dx,dy)
getMKw
par=2
window_open
cms(t$(439),7,1)
dx=V:dy=U
smash(dx,dy)
getMKw
code(sel,planet)
premark(pmx,pmy)
pmx*56,pmy*56:
pmx*56+56,pmy*56+56:
sget("p_ms")
pX=1
schoose("mark")
plot(8,pmx*56,pmy*56)
wait(9)
schoose("p_ms")
plot(0,pmx*56,pmy*56)
wait(9)
sdelete("p_ms")
smash(ax,ay)
radiocount,za,zb
(SId(sel,actual)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
su= surf%(ax,ay)
radiocount
ax=radioX(radiocount):ay=radioY(radiocount):radiocount-=1:surf%(ax,ay)=4:su= surf%(ax,ay)
su=4
surf%(ax,ay)=6
bombfield(ax,ay,1)
p=1
q=1
X
ax-2+p>=za
ay-2+q>=za
ax-2+p<=zb
ay-2+q<=zb
pollutefield(ax-2+p,ay-2+q)
ax=za
;
ay-2+q>=za
ay-2+q<=zb
pollutefield(zb,ay-2+q)
ax=zb
;
ay-2+q>=za
ay-2+q<=zb
pollutefield(za,ay-2+q)
su<>4
su<>16
bombfield(ax,ay,0)
su=16
bombfield(ax,ay,1)
p=1
q=1
g
ax-2+p>=za
ay-2+q>=za
ax-2+p<=zb
ay-2+q<=zb
(p<>2
q<>2)
bombfield(ax-2+p,ay-2+q,0)
ax=za
:
ay-2+q>=za
ay-2+q<=zb
bombfield(zb,ay-2+q,0)
ax=zb
:
ay-2+q>=za
ay-2+q<=zb
bombfield(za,ay-2+q,0)
radiocount=0
bombfield(fx,fy,rad)
su=surf%(fx,fy)
su=2
SIna(sel,planet)-=1
su=5
SIc(sel,planet)-=1
su=4
radiocount<15 radiocount+=1:radioX(radiocount)=fx:radioY(radiocount)=fy
su<>6
su=2
su=7
su=8
su=9
su=10
su=29
surf%(fx,fy)=10
surf%(fx,fy)=20
rad
surf%(fx,fy)=6
watcher=1
exx=fx:exy=fy
exx*56-16,exy*56-16:
exx*56+72,exy*56+72:
sget("ex_sp")
6,112,1
schoose("ex_sp")
plot(0,0,0)
schoose("dead"+
plot(8,8,8)
0,0:
88,88:
sget("sh_sp")
6,112,2
schoose("sh_sp")
plot(0,exx*56-16,exy*56-16)
wait(4)
6,112,1
schoose("ex_sp")
plot(0,0,0)
schoose("spart"+
(47+fx)+
(47+fy))
plot(0,16,16)
schoose("stone"+
(surf%(fx,fy)))
plot(8,16,16)
88,88:
sget("ex_sp")
6,112,1
schoose("ex_sp")
plot(0,0,0)
n<11
schoose("dead"+
(n)):
plot(8,8,8)
0,0:
88,88:
sget("sh_sp")
6,112,2
schoose("sh_sp")
plot(0,exx*56-16,exy*56-16)
wait(4)
sdelete("ex_sp")
sdelete("sh_sp")
pollutefield(fx,fy)
surf%(fx,fy)=2
SIna(sel,planet)-=1
surf%(fx,fy)=5
SIc(sel,planet)-=1
surf%(fx,fy)=4
radiocount<15 radiocount+=1:radioX(radiocount)=fx:radioY(radiocount)=fy
surf%(fx,fy)<>6
surf%(fx,fy)=6
watcher=1
schoose("spart"+
(47+fx)+
(47+fy))
plot(0,fx*56,fy*56)
schoose("stone6")
plot(8,fx*56,fy*56)
attack
counselor(2)
" m=ship(1):n=ship(2):o=ship(3)
m+n+o=0
accepted=0
trace%(1)+=1
partyAT=1
partyPA=SIi(sel,actual)
" ship(1)=0:ship(2)=0:ship(3)=0
b_start(m,n,o,SIk%(sel,actual,1),SIk%(sel,actual,2),SIk%(sel,actual,3),SIb(sel,actual),0,0,1,0,SIn$(sel,actual),1,Ps%(1,3)+1,Ps%(SIi(sel,actual),3)+1,1,sel,actual,partyPA)
(SId(sel,actual)/200)
b_won=1
*!# SIk%(sel,actual,W)=a_army(W)
k=SIk%(sel,actual,W)
*#4
k>d
a=k-d:SIk%(sel,actual,W)=d:ship(W)+=a
SIi(sel,actual)=1
firstplanet(1)=1
plan(sel,actual)=8
r=0
psun(1,a)=0
psun(1,r)=sel
*.#
psun(partyPA,a)=sel
psun(partyPA,r)=0
*4# SIk%(sel,actual,X)=d_army(X)
*52
SIk%(sel,actual,X)>d SIk%(sel,actual,X)=d
_sunsinit
fillarray("sf2",50)
wry= (8+
(2))*43+200
wrx= (13+
(2))*43
_sunpos
ok=1
SunName$(X)=ar$(
(50))
Y=1
*L/
SunName$(X)=SunName$(Y)
X<>Y
ok=0
X=1
SunY(X)+=(
(2)-1)*4
SunX(X)+=(
(2)-1)*4
Y=1
SIl%(X,Y)=1+2+16+128
*V
_sunpos
*`)
create the suns and their planets
ok=0
SunY(X)=
(18)*43+200
SunX(X)=
(28)*43
ok=1
*h9
SunY(Y)=SunY(X)
SunX(Y)=SunX(X)
X<>Y
ok=0
*j'
SunY(X)=wry
SunX(X)=wrx ok=0
SunY(X)>953
ok=0
Sunsize(X)=
_planinit
ljump
create planets
X=genplan
pl_num=0
genplan+=1:X=genplan
RN=
creating 1-5 planets for the specific sun
Wald, Eis etc...
RESTORE 35626
ljump=0
Z=1
W=1
ljump+=1
READ A,A,A,A,A,A
READ already(W)
& already(W)=plandat(1+ljump,W)
" R=
(6):plan(X,Y)=already(R)
/ planX(X,Y)=Y*170+Y^2*10 :
coordinates
/ planY(X,Y)=450 :
coordinates
Y/2<>
(Y/2) planY(X,Y)=550
0 pspeed(X,Y)=
(5)+5 :
rotation speed
+ R=
R>3 SIt(X,Y)=1
SIt(X,Y)=R
) SId(X,Y)=
(8)*1000+7*1000+
(9)*100
" SIrm(X,Y)=
(SId(X,Y)/40))
plan(X,Y)=3
plan(X,Y)=5 SIrm(X,Y)+=SIrm(X,Y)
plan(X,Y)
1:SIs(X,Y)=12
2:SIs(X,Y)=4
3:SIs(X,Y)=2
4:SIs(X,Y)=6
5:SIs(X,Y)=6
6:SIs(X,Y)=10
pl_num=RN
pl_act=0
pl_act+=1
Y=pl_act
(SId(X,Y)/1000)
a=2:b=15
I<10 a=3:b=14:SIs(X,Y)-=1
I>12 a=1:b=16:SIs(X,Y)+=1
pl=plan(X,Y)
(5)-1
a$=ar$((pl*10-9)+R*2)
b$=ar$((pl*10-9)+R*2+1)
cx=0
( surf$(X-1,Y-1,cx)=
a$,cx*16+1,16)
cx=0
* surf$(X-1,Y-1,cx+8)=
b$,cx*16+1,16)
Monde
SIm%(X,Y)=0
c=0
c+=1:
R>=c
b=1:
(3)=1 b=2
(6)=1 b=3
SIm%(X,Y)+=b<<d
pl_act=pl_num
pl_num=0
inputname(string$,posx,height,appear)
6,21,0
check,cursor,cstate,l
cursor=0:cstate=1
XX=posx:
XX=688
YY=height+18
gflag
XX=580
appear
frame(XX-12,height-4,XX+246,height+62,42)
no_texture=1
inframe(XX-8,height,XX+242,height+58,42)
no_texture=0
XX-4,height+4,242,50
sfp(string$,XX,YY)
A,B,C:
ok=0
(0):
A,B,C:
cursor:
I$<>""
(I$=
(127)
(8))
(string$)>0
% string$=
string$,
(string$)-1)
XX-4,height+4,242,50
sfp(string$,XX,YY)
(I$=
(13)
C=4)
(string$<>""
usemark=1)
ok=1
(31)
(127)
check=0
l=height+4
height+54
!
XX+202,l)<>0
check=1
!
XX+206,l)<>0
check=1
check=0
:
262277,0,string$,200000,200000,-1,200000
a,b,c
262280,0,c
+ +
XX+b+4,YY-4,XX+b+4,YY+28
string$+=I$
sfp(string$,XX,YY)
ok>0
((string$<>"MANY"
string$<>"")
usemark=1)
pl$=string$
mouse_on
cursor
cursor+=1:
cursor=30
cursor=1
cstate=3-cstate
262277,0,string$,200000,200000,-1,200000
a,b,c
262280,0,c
cstate=1
196:
XX+b+4,YY-4,XX+b+4,YY+28
XX+b+4,YY-4:
XX+b+4,YY+28
XX+b+4,YY-4,XX+b+4,YY+28
mainloop
plr,xyz,anotherstarted
players=1
plr=1
masteranimate
+)+
IF backtoslave=1 THEN actualmenu=2
+*#
screentype=0
calculatefly
+++
IF backtoslave=1 THEN actualmenu=1
screentype
anotherstarted=0
actualplayer>1
anotherstarted=1
plr=actualplayer
actualplayer=1
+7,
** Lord 1 normal spielen lassen **
plr=1
masteranimate
screentype
plr>1
xyz=plr+1
xyz=2
+C1
** alle weiteren Lords spielen lassen **
+E9
anotherstarted=1
plrshow:
redo:
masteranimate
screentype
xyz<=players
plr=xyz
players
Sol:
+N$
SIt(X,Y)>10 SIt(X,Y)-=10
+QC
plrswap :
aktuellen Spieler nach 1 swappen
existing(plr)
plrshow
+V7
normalfont=2
introduce:
introd_talk:
getMK
+W@
redo :
Bild dementspr. neu aufbauen
+X>
masteranimate :
den Spieler spielen lassen
screentype
+b6
** Alle durch, jetzt wieder zurueckswappen **
plr=players
plrswap
** Monat vergeht **
plr=1
+i+
IF backtoslave=1 THEN actualmenu=2
calculatefly
+k+
IF backtoslave=1 THEN actualmenu=1
screentype=0
plrshow
screentype
plrshow
** anzeigen, welcher Spieler dran ist **
246,576:
1054,684:
sget("spr1")
SYS 262291,,0,1,6,&33333300,&FFFFFF00
+x/ font_col=&FFFFFF00:font_back_col=&33333300
frame(250,580,1050,680,21)
246,576,808,108
dspc(ta$+" "+PName$+t$(440),10)
font_back_col=0
f_wht
getMK
schoose("spr1")
plot(0,246,576)
sdelete("spr1")
plrswap
*** Lord 1 und aktuellen Lord tauschen ***
H$(1),H$(plr)
PName$=H$(1)
firstplanet(1),firstplanet(plr)
credits,credits(plr)
flying(plr),flying
flysys,TS(plr)
SWAP TP(1),TP(plr)
eship(plr,1),ship(1)
eship(plr,2),ship(2)
eship(plr,3),ship(3)
efreight(plr,1),freight(1)
efreight(plr,2),freight(2)
efreight(plr,3),freight(3)
efreight(plr,0),freight(0)
flag(plr),flag(1)
existing(plr),existing(1)
MI(plr),MI(1)
MIs(plr),MIs(1)
MIp(plr),MIp(1)
firstcity%(1),firstcity%(plr)
SWAP evillord(plr),evillord(1)
M evillord(plr)=0:evillord(1)=0 :
weil durch verhalten() uebernommen
Y=1
verhalten(1,Y),verhalten(plr,Y):
X=1
verhalten(X,1),verhalten(X,plr):
pphase(plr),pphase(1)
radioX(plr),radioX(1)
radioY(plr),radioY(1)
whichp(plr),whichp(1)
etrans%(plr),trans%
ewar%(plr),war%
escout%(plr),scout%
ebomb%(plr),bomb%
hi%(plr),hi%(1)
md%(plr),md%(1)
lo%(plr),lo%(1)
gmember(plr),gmember(1)
Y=0
punish%(plr,Y),punish%(1,Y)
SWAP H$(plr),H$(1)
Hl(plr),Hl(1)
Ha(plr),Ha(1)
Hg(plr),Hg(1)
Hg(1)=1
ta$="Lord":tb$="Milord"
ta$="Lady":tb$="Milady"
t%(plr),t%(1)
reput(plr),reput
Ps%(plr,Y) ,Ps%(1,Y) :
allied(plr,Y) ,allied(1,Y) :
allied(Y,plr) ,allied(Y,1) :
invent%(plr,Y),invent%(1,Y) :
stsh%(plr,Y) ,stsh%(1,Y) :
markX(plr,Y),markX(1,Y)
markY(plr,Y),markY(1,Y)
mark$(plr,Y),mark$(1,Y)
Sol:
SunE(Y,plr) ,SunE(Y,1) :
psun(plr,Y),psun(1,Y)
ptarget(plr,Y),ptarget(1,Y)
ftime,ftime(plr)
selectedsys,selectedsys(plr)
actualsys,orbit(plr)
SIi(X,Y)
1: SIi(X,Y)=plr:b=1
plr: SIi(X,Y)=1
askmasterb
208,236:
1069,284:
sget("rett")
frame(208,237,394,285,42):
frame(877,237,1069,285,42)
askmaster(400,236,2)
schoose("rett"):
plot(0,208,236)
sdelete("rett")
wait(20)
clearnotice
recall_num=0
donotice(nsys,nplan,nmessage$)
recall_num=recall_max
players
SunE(nsys,t)
l=0
recall_num+=1
recall$(recall_num)=""
SIi(nsys,nplan)<=players
recall$(recall_num)="X"
recall$(recall_num)=" "
nsys+nplan>0
P recall$(recall_num)+=SIn$(nsys,nplan)+" at "+SunName$(nsys)+": "+nmessage$
$ recall$(recall_num)+=nmessage$
shownotice
m,n,space
6,112,1
picture("nb1")
frame(0,869,1279,1023,42)
inframe(8,877,1271,1015,42)
m=normalfont-2:
m<1 m=1
centerB(t$(441)+
(m),924)
recall_num=0
dspB(t$(442),12,6)
recall_num>10
space=1
space=2
n=1
recall_num
recall$(n),1)="X"
f_yel
dspB(
recall$(n),
(recall$(n))-1),12,5+n*space)
f_wht
6,113,1
PROCfront(0,0,1279,1023,2)
getMK
6,113,2
6,112,2
PROCredo
calculatefly
) SunE(0,1)=1:window_open=0:noplanet=0
clearnotice
credits(1)=credits
needed,pluton,mining,stations,tcenter,erttx,retty,kx,ky,nx,ny,htime,madd,acl,alvil,changed,trees,fst,radio,parks,didcalc
,$2
stsh%(n,8)>0
stsh%(n,8)-=
(stsh%(n,4)/5)
,%2
stsh%(n,9)>0
stsh%(n,9)-=
(stsh%(n,4)/5)
,&4
stsh%(n,10)>0
stsh%(n,10)-=
(stsh%(n,4)/3)
,'-
normalfont>fontsizeB
changestyle:
,)$
stsh%(n,b)<0
stsh%(n,b)=0
,*
reput(1)=reput
n=1
,/*
reput(n)<3
(20)=1
reput(n)+=1
reput=reput(1)
normalfont+=1
SYS 262291,,0,1,6,&33333300,&FFFFFF00
,7/ font_col=&FFFFFF00:font_back_col=&33333300
mousewait=0
hour_on
normalfont<3
nonclick=1
nonclick=0
normalfont=2
introduce:
introd_talk
hour_on
nonclick=1
normalfont>2
,E"
frame(250,580,1050,680,21)
,F#
246,576,808,108
dsp(t$(443),390,10)
f_wht
sX=1
,M6
Sunsize(sX)>4
Sunsize(sX)<9
Sunsize(sX)+=1
,N2
Sunsize(sX)<5
(2000)=1
Sunsize(sX)+=1
,O
Sunsize(sX)>4
sunexpand
getmouse
,W'
ptarget(a,b)<>0
arrivewp(a,b)
,X
VDU30:PRINT"ENEMY THINKS"
enemythinks
VDU30:PRINT" "
normalfont>2
fillstatus
VDU30:PRINT"ENEMY TACTICS"
X=1
Y=1
SIi(X,Y)>players
decode(X,Y)
,i
enemytactics(SIi(X,Y))
code(X,Y)
,l
VDU30:PRINT" "
getmouse
htime=0
,v c=0
SIi(X,Y)
c+=1
,y
c=0
SunP(X)=
,{
c>0
c<3
SunP(X)=
c>=3
SunP(X)=2
c=5
SunP(X)=3
Y=1
getmouse
htime+=1
SIt(X,Y)>10 SIt(X,Y)-=10
SIu(X,Y)=0
SIr(X,Y)>0
(7)=1
SIr(X,Y)-=1
plan(X,Y)<>0
SIi(X,Y)=0
(250)=1
surfchange(0)
acl=0
didcalc=0
plan(X,Y)<>0
SIn$(X,Y)<>""
SIi(X,Y)<>0
cal_plan:didcalc=1
f=1:m=normalfont
m>3 f=5
m>10 f=10
m>25 f=15
m>40 f=20
didcalc=1
SIpo%(X,Y)=SIc(X,Y)*f+alvil
IF X=INT(Sol/2) AND fst=0 THEN PROCfillstatus:fst=1
htime>1
hour=1
htime=0
mousewait=0
hour_on
hour_off
getmouse
lord=players+1
flying(lord)=1
flying(lord)=0
tactic(lord)>0 tactic(lord)+=1
orbit(lord)=TS(lord)
lord
lord=1
X=MIs(lord):Y=MIp(lord)
SIi(X,Y)=0
MI(lord)=0
MI(lord)<>0
domission
lord
getmouse
credits(1)=credits
an=1
players
b=0
Ps%(an,n)
1:b=4
2:b=8
credits(an)>=b
b=0
credits(an)-=b
payoff(an,n)
credits=credits(1)
newtitle
checkalive
screentype=0
players>1
an=2
players
flying(an)
ftime(an)-=1
ftime(an)=0
plrarrived
mousewait=1
getMKt:mousewait=0
flying
ftime-=1
ftime=0
arrived
hour=1
hour_off
nonclick=0
6,21,0
6,21,9
domission
MI(lord)<6
MI(lord)>7
spyspot
MI(lord)=6
- H$=SIn$(MIs(lord),MIp(lord)):
uppercase
cms(t$(444)+H$,7,1):window_open=1
SIi(MIs(lord),MIp(lord))=1 watcher=1:
getMK
watcher=0
bombing(MIs(lord),MIp(lord),1)
MI(lord)=7
- H$=SIn$(MIs(lord),MIp(lord)):
uppercase
playsoon(9)
cms(t$(445)+H$,7,1)
getMKw
watcher=1
bombing(MIs(lord),MIp(lord),3)
MI(lord)=0
f=1:m=normalfont
m>3 f=5
m>10 f=10
m>25 f=15
m>40 f=20
SIpo%(X,Y)=SIc(X,Y)*f+alvil
sunexpand
Sunsize(sX)>4
Sunsize(sX)<8
X=0:Y=0:noplanet=1
H$=SunName$(sX):
uppercase
fillarray("SN"+
(Sunsize(sX)-4),9)
usenova=1
cms("SUN "+H$+t$(446),1,1)
usenova=0
cms(ar$(a-2),a,1)
getMKw
Sunsize(sX)=5 plan(sX,1)=2
Sunsize(sX)=6 plan(sX,1)=3:
plan(sX,2)>0 plan(sX,2)=2
Sunsize(sX)=7 plan(sX,1)=0:SIi(sX,1)=0:
plan(sX,2)>0 plan(sX,2)=3
Sunsize(sX)=8
X=0:Y=0:noplanet=1
H$=SunName$(sX):
uppercase
fillarray("SN4",9)
-!!
cms("SUN "+H$+t$(447),1,1)
cms(ar$(a-2),a,1)
-$
getMKw
-&*
3:plan(sX,n)=0:SIi(sX,n)=0:
-("
plan(sX,n)>0 plan(sX,n)=5
-)
plan(sX,1)+plan(sX,2)+plan(sX,3)+plan(sX,4)+plan(sX,5)=0
-,6 SunX(sX)=-100:SunY(sX)=-100 :
weg mit dem Stern
--$
selectedsys=sX selectedsys=0
flysys=sX flysys=1
-/
actualsys=sX actualsys=1
players>1
k=2
players
-2,
selectedsys(k)=sX selectedsys(k)=0
-3
orbit(k)=sX orbit(k)=1
TS(k)=sX TS(k)=1
noplanet=0
cal_plan_rock
A=1
B=1
surf%(A,B)=3
c=0
-A&
A>1
surf%(A-1,B)=29 c=1
-B&
A<16
surf%(A+1,B)=29 c=1
-C&
B>1
surf%(A,B-1)=29 c=1
-D&
B<16
surf%(A,B+1)=29 c=1
-E%
A=1
surf%(16,B)=29 c=1
-F$
A=16
surf%(1,B)=29 c=1
madd+=1
-I
cal_plan
-S%
VDU30:PRINT "";X;",";Y;" "
acl=0
decode(X,Y)
(7)=1
-X- R=
R>3 SIt(X,Y)=1
SIt(X,Y)=R
-Y
pd=
(SId(X,Y)/200)
lord=SIi(X,Y)
-_O
(firstcity%(lord)
1)=1
lord<=players
(firstcity%(lord)
2)=0
-`9
firstcity:firstcity%(lord)=firstcity%(lord)
-a
-bO
(firstcity%(lord)
4)=4
lord<=players
(firstcity%(lord)
8)=0
-c>
firstspaceport:firstcity%(lord)=firstcity%(lord)
-d
-f%
SIc(X,Y)>0
normalfont>2
-g- e=1+(Ps%(lord,1)*2-2)+
(t%(lord)/20)
-hL
(40)<=e
lord<=players
scimoney:
accepted
scientists(lord)
-i6
(40)<=e
lord>players
scientists(lord)
-j
-nC
(200)=1
meteor:
IF SIi(X,Y)<=players PROCcms("",0,1)
changed=0
(90)=1
armykilled
-t,
(250)=1
surfchange(1):changed=1
-u:
(150)=1
invent%(SIi(X,Y),11)=0
epidemic(1)
-v9
(200)=1
rtx=X:rty=Y:
alienattack:X=rtx:Y=rty
-x%
SIc(X,Y)>0
normalfont>2
-y_
inventnow=SIi(X,Y)
lord<=players
inventnow=0:
scimoney:
accepted
scientists(1)
-z
-|%
SIc(X,Y)>0
normalfont>2
-}>
(50)<=e
plan(X,Y)<7
SIrm(X,Y)>0
newexplored
-~I
(150)=1
invent%(SIi(X,Y),10)=0
SIc(X,Y)>0
cityepidemic
2
SIc(X,Y)>0
plan(X,Y)<8
SIr(X,Y)>9
V
(4)=1
SIgr(X,Y)<SIc(X,Y)*3 rettx=X:retty=Y:
rebelattack:X=rettx:Y=retty
xy=0
SIi(X,Y)<=players
cms("",0,1)
l=SIl%(X,Y)
lok=0
8+64+128 :lok=1
8+16+64+128 :lok=1
8+64+128+32 :lok=0
8+16+64+128+32:lok=0
128 :lok=1
128+16 :lok=1
128+32 :lok=1
128+16+32 :lok=1
32 :lok=1
32+16 :lok=1
(
8)>0
64)=0
lok=0
(
8)=0
64)>0
lok=0
256
lok=0
lok=0
SIr(X,Y)+=1
window_open=0
xy=0
SIi(X,Y)<=players
cms("",0,1)
** Planet scannen, rechnen ***
needed=0:pluton=0:mining=0:stations=0:produce(1)=0:produce(2)=0:produce(3)=0:tcenter=0:food=0:madd=0:radio=0:alvil=0:trees=0:parks=0
s=
(SId(X,Y)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
var()=0
6
A=1
B=1
16:var(surf%(A,B))+=1:
K free=var(0):stations=var(1):food=var(2):mining=var(3):parks=var(23)
B pluton=var(4):radio=var(6):trees=var(8):produce(1)=var(11)
K produce(2)=var(12):produce(3)=var(13):tcenter=var(17):alvil=var(22)
SIna(X,Y)=food
%
parks>SIc(X,Y)/3
(2)=1
#
SIr(X,Y)>0
SIr(X,Y)-=1
radio>0
A=1
B=1
5
surf%(A,B)=6
(10)=1
surf%(A,B)=10
1
plan(X,Y)=4
mining>0
cal_plan_rock
E
(200)=1
pluton>0
SIi(X,Y)<=players
cms("",0,1)
*** Heat Change durch Kultivierung ******
3
(plan(X,Y)=2
plan(X,Y)=4)
changed=0
s=
(SId(X,Y)/1000)
d=117
s<10 d=86
s>12 d=153
$
food>=d
cs_cultivation
*** Heat Change durch Rodung ******
#
plan(X,Y)=1
changed=0
s=
(SId(X,Y)/1000)
d=40
s<10 d=30
s>12 d=51
!
trees<d
cs_clearing
xy=5
** Planet verlassen **
(
stations=0
cs_commdestroyed
** MCredits ausrechnen ******************
' v=SIc(X,Y)*2+SIs(X,Y)-SIam(X,Y)
!
v=1
t%(SIi(X,Y))<50
v=1
( v=
(v*((100-t%(SIi(X,Y)))/100))
8
SIi(X,Y)=1
credits+=v
credits(SIi(X,Y))+=v
** Produktionen ausrechnen **************
D
plan(X,Y)<>3
SIg%(X,Y,3)+=pluton
SIg%(X,Y,3)+=pluton*2
H
IF invent%(SIi(X,Y),14) THEN upd=SIg%(X,Y,3):SIg%(X,Y,3)+=9000
** Army **
9 no_pl=0:noroom=0:nomoney=0:prod=0:usep=0:canpay=0
m=SIam(X,Y)
a=1
produce(a)>0
( new=produce(a):usep=produce(a)
M
produce(a)>SIg%(X,Y,3)
new=SIg%(X,Y,3):usep=SIg%(X,Y,3):no_pl=1
W
SIk%(X,Y,a)+new>pd
usep-=(new+SIk%(X,Y,a)-pd):new=pd-SIk%(X,Y,a):noroom=1
\
new*a<=m
m-=new*a
canpay=
(m/a):m-=canpay*a:usep=canpay:new=canpay:nomoney=1
prod+=new
SIg%(X,Y,3)-=usep
SIk%(X,Y,a)+=new
+
prod>0
cms(t$(448)+
(prod),xy,0)
* a=produce(1)+produce(2)+produce(3)
b=0:
a>prod
b=a-prod
b>0
& a$="":b$="":c$="":d$="":e$=""
"
nomoney
a$="No money"
. "
noroom
b$="No space"
&
no_pl
c$="No plutonium"
%
b$<>""
a$<>""
d$=" / "
0
c$<>""
(a$<>""
b$<>"" )
e$=" / "
, x$="":y$="s":
b>1
x$="s":y$="ve"
;
(b)+" battle unit"+x$+" ha"+y$+t$(449),xy,0)
"
cms(a$+d$+b$+e$+c$,xy,0)
** Mining **
SIrm(X,Y)>0
a=mining
(
SIg%(X,Y,3)<a
a=SIg%(X,Y,3)
a+=madd
$
a>SIrm(X,Y)
a=SIrm(X,Y)
7 SIg%(X,Y,1)+=a:
SIg%(X,Y,1)>pd SIg%(X,Y,1)=pd
:
IF invent%(SIi(X,Y),14)=0 SIg%(X,Y,3)-=(a-madd)
SIg%(X,Y,3)-=(a-madd)
SIrm(X,Y)-=a
.$
.(6
IF invent%(SIi(X,Y),14) THEN SIg%(X,Y,3)=upd
.,#
** Sehen, ob zuviel Pluton.
.-)
SIg%(X,Y,3)>pd
SIg%(X,Y,3)=pd
.01
** Armyproduktion hoert auf *************
RN=0
.2>
normalfont>10
produce(1)+produce(2)+produce(3)>0
co=0
.40
produce(1)+produce(2)+produce(3)
(50)=1
co+=1
co>0
cs_repair
co>0
.90 a$="unit has":
co>1
a$="units have"
.:8
(co)+" production "+a$+" stopped.",xy,0)
.<
.?1
** Trading Center-Aktivitaeten **********
.@!
tcenter>0
cs_tcenter
.B$
** Gute Aliens auf Planet **
alvil>2
(25)=1
e=
(alvil)
.F- credits(lord)+=e:
lord=1 credits+=e
cms(t$(450),xy,0)
.H'
cms(t$(451)+
(e)+" MC.",xy,0)
.I5
SIi(X,Y)<=players
donotice(X,Y,t$(452))
.J
.L1
** Nahrungsproduktion ausrechnen ********
.M1 SIg%(X,Y,2)-=
(SIg%(X,Y,2)/6) :
verdorrt
.N3 SIg%(X,Y,2)+=SIna(X,Y) :
neu dazu
.P1
** Ob Nahrungsfelder eingehen ***********
S=0
plan(X,Y)
1:R=1:S=1
2:R=4:S=1
3:R=5
4:R=3
5:R=5
6:R=2:S=1
8:R=-5
.Z
.\"
(10-R)=1
cs_collapse
.^1
** Ob Stadt expandiert ******************
e=0:exp=0
SIc(X,Y)>0
nx=0:ny=0
SIc(X,Y)
(20)=1
exp+=1
.f
exp>0
cityexpand
.i5
** Ob Aliendorf expandiert ******************
.k
alvil>0
cs_alexpand
.m1
** Nahrungsverbrauch ********************
needed=SIc(X,Y)*3+1
needed>SIg%(X,Y,2)
cms(t$(453),xy,0)
.t5
SIi(X,Y)<=players
donotice(X,Y,t$(454))
SIr(X,Y)+=3
.w@ SIg%(X,Y,2)-=needed:needed=SIg%(X,Y,2)*-1:SIg%(X,Y,2)=0
closedown=0
SIc(X,Y)>0
.|
SIc(X,Y)*3<=needed
needed-=SIc(X,Y)*3
closedown=SIc(X,Y)
SIc(X,Y)=0
SIc(X,Y)-=
(needed/3)
closedown=
(needed/3)
needed=0
closedown>0
7 a$="cities have":
closedown=1 a$="city has"
R
closedown>0
(closedown)+" "+a$+t$(455),xy,0):
cms(t$(456),xy,0)
7
surf%(A,B)=5
surf%(A,B)=20:closedown-=1
#
closedown=0 A=16:B=16
needed>0
6
surf%(A,B)=1
surf%(A,B)=10:stations-=1
"
stations=0 A=16:B=16
donotice(X,Y,t$(460))
cms(t$(457),xy,1)
SIi(X,Y)<=players
cms(t$(458),xy,1)
b$= H$(SIi(X,Y))
1
g(SIi(X,Y))+" "+b$+t$(459),xy,1)
, SIi(X,Y)=0:
3:SIk%(X,Y,a)=0:
SIr(X,Y)=0:SIam(X,Y)=0
(
SIg%(X,Y,2)>pd SIg%(X,Y,2)=pd
SIg%(X,Y,2)-=needed
(
SIg%(X,Y,2)>pd SIg%(X,Y,2)=pd
IF xy<>7 xy+=1
xy>15 xy=0
Zufriedenheitstabelle
tb=SItb%(X,Y)
n=1
k=tb
15<<(n-1)*4
var(n)=k>>(n-1)*4
n=1
var(n)=var(n+1)
var(7)=SIr(X,Y)
var(7)>15 var(7)=15
var(7)<0 var(7)=0
SItb%(X,Y)=0
n=1
1 SItb%(X,Y)=SItb%(X,Y)
var(n)<<(n-1)*4
N
window_open
SIi(X,Y)<=players
cms("Report ends.",xy,0):
shortinfo
getMKw
G
SIam(X,Y)>SIc(X,Y)*2+SIs(X,Y)
SIam(X,Y)=SIc(X,Y)*2+SIs(X,Y)
code(X,Y)
cs_cultivation
playsoon(5)
donotice(X,Y,t$(461))
cms(t$(462),5,1)
cms(t$(463),7,1)
cms(t$(464),8,1)
cms(t$(465),9,1)
getMKw
plan(X,Y)=6
SIs(X,Y)=10
s<10 SIs(X,Y)-=1
s>12 SIs(X,Y)+=1
SIi(X,Y)<=players
cms("",0,0)
xy=0
cs_clearing
playsoon(9)
donotice(X,Y,t$(466))
cms(t$(467),5,1)
cms(t$(468),7,1)
cms(t$(469),8,1)
cms(t$(470),9,1)
getMKw
plan(X,Y)=4
SIs(X,Y)=6
s<10 SIs(X,Y)-=1
s>12 SIs(X,Y)+=1
SIi(X,Y)<=players
cms("",0,0)
xy=0
cityexpand
A=1
B=0
kx=1
ky=1
?
surf%(kx,ky)=5
nx=kx: ny=ky: B+=1:
B=A kx=16:ky=16
kx=0:ky=0:av=0
nx>0
ny>0
nx<zb
surf%(nx+1,ny)=0
surf%(nx+1,ny)=9
av=1:kx=nx+1:ky=ny
nx>za
surf%(nx-1,ny)=0
surf%(nx-1,ny)=9
av=1:kx=nx-1:ky=ny
ny<zb
surf%(nx,ny+1)=0
surf%(nx,ny+1)=9
av=1:kx=nx:ky=ny+1
ny>za
surf%(nx,ny-1)=0
surf%(nx,ny-1)=9
av=1:kx=nx:ky=ny-1
surf%(kx,ky)=5
SIc(X,Y)+=1
e=1
cms(t$(471)+".",xy,0)
SIi(X,Y)<=players
donotice(X,Y,t$(471))
changestyle
adjust(7):screentype=1
cs_alexpand
nx=0:ny=0:exp=0
alvil
(18)=1
exp+=1
exp=0
B=0
kx=1
ky=1
@
surf%(kx,ky)=22
nx=kx: ny=ky: B+=1:
B=A kx=16:ky=16
kx=0:ky=0:av=0
nx>0
ny>0
/$G
nx<zb
s=surf%(nx+1,ny):
s=0
av=1:kx=nx+1:ky=ny
/%H
nx>za
s=surf%(nx-1,ny):
s=0
av=1:kx=nx-1:ky=ny
/&G
ny<zb
s=surf%(nx,ny+1):
s=0
av=1:kx=nx:ky=ny+1
/'H
ny>za
s=surf%(nx,ny-1):
s=0
av=1:kx=nx:ky=ny-1
surf%(kx,ky)=22
cs_commdestroyed
playsoon(9)
cms(t$(472),xy,1)
SIi(X,Y)<=players
cms(t$(458),xy,1)
b$= H$(SIi(X,Y))
/6,
g(SIi(X,Y))+" "+b$+t$(459),xy,1)
/8' SIi(X,Y)=0:
3:SIk%(X,Y,a)=0:
SIr(X,Y)=0:SIam(X,Y)=0
cs_repair
SIi(X,Y)=1
players=1
shortinfo
B$="":C$=" needs"
co>1 B$="s":C$=" need"
(co)+t$(473)+B$+C$+t$(474),xy,0)
cms(t$(475)+
(co*5)+t$(476),xy,0)
accepted=0
SIi(X,Y)<=players
askmasterb
credits(SIi(X,Y))-=co*5:co=0
accepted
lord=SIi(X,Y)
lord<=players
players=1
/IV
credits>co*5
credits-=co*5:co=0
co-=
(credits/5):credits-=
(credits/5)*5
/Kt
credits(lord)>co*5
credits(lord)-=co*5:co=0
co-=
(credits(lord)/5):credits(lord)-=
(credits(lord)/5)*5
cox=co
cox>0
R=
/U?
surf%(A,B)=10+R
surf%(A,B)=20:cox-=1:RN+=1:A=1:B=1
cox=0
cs_tcenter
R=0:S=0:T=0
/^1 A=SIg%(X,Y,1):
A>50*tcenter
A=50*tcenter
/_3 B=SIg%(X,Y,2):
B>100*tcenter
B=100*tcenter
/`1 C=SIg%(X,Y,3):
C>50*tcenter
C=50*tcenter
A>1
(SIl%(X,Y)
1)>0
B>5
(SIl%(X,Y)
2)>0
(B-4)
C>1
(SIl%(X,Y)
4)>0
SIg%(X,Y,1)-=R:c+=R*2
/f3 SIg%(X,Y,2)-=S:c+=
(S/2):
(S/2)<1
S>0 c+=1
SIg%(X,Y,3)-=T:c+=T*2
cms(t$(477),xy,0)
cms("Mi: "+
(R)+" / Fd: "+
(S)+" / Pl: "+
(T)+" => "+
(c)+" MC",xy,0)
SIi(X,Y)<=players
T>0
punish%(SIi(X,Y),0)=1
SIi(X,Y)=1
trace%(13)+=R
trace%(14)+=S
trace%(7)+=T
/p1 credits(SIi(X,Y))+=c:
SIi(X,Y)=1 credits+=c
cs_collapse
invent%(SIi(X,Y),11)>0
(R*2)
x=1
surf%(A,B)=2
RN>0
n=A-1
m=B-1
K
n>0
m>0
n<17
m<17
surf%(n,m)=29
S=1
x=0:n=A+1:m=B+1
x=1
surf%(A,B)=10:RN-=1:c=1
6 SIna(X,Y)-=1:
SIna(X,Y)<0
SIna(X,Y)=0:RN=0
RN=0 A=16:B=16
c>0
cms(t$(478),xy,0)
getmouse
mx,my,mb
mx,my,mb
mousewait=0:
PROCcllt
GCOL 0 TINT 0
PROCif_slave(200,228,1079,851,42)
PROCif_slave(416,865,1078,983,42)
PROCif_slave(202,865,397,983,42)
introduce
mpart(12)
fillarray("sw1",15)
0,0:
1279,1023:
sget("scrn")
schoose("scrn")
6,112,1
plot(0,0,0)
sdelete("scrn")
gmerge("ct2")
frame(0,209,1279,1023,42)
inframe(8,217,1271,1015,42)
schoose("export")
plot(0,12,221)
sdelete("export")
6,112,2
pixelswap
introd_talk
irow,sl
sl=1
b$(sl)=ar$(sl)
Hg(1)<>1
b$(13)=ar$(15)
irow+=1
wait(30)
irow=14
payoff(splr,off)
noplanet=1:X=0:Y=0
cms("",0,1)
cms(t$(479),1,1)
g(splr)+" "+H$(splr)+",",3,1)
cms(t$(480),4,1)
(6)=1
cms(t$(481),5,1)
Ps%(splr,off)=0
getMKw
noplanet=0
rebelattack
rebelx,rebely,hum,nt
( SIr(X,Y)-=3:
SIr(X,Y)<0 SIr(X,Y)=0
H$=SIn$(X,Y):
uppercase
playsoon(8)
cms(t$(482)+H$,5,1)
cms(t$(483)+SIn$(X,Y)+" has sent",7,1)
cms(t$(484),8,1)
cms(t$(485)+
g(SIi(X,Y))+" "+H$(SIi(X,Y))+".",9,1)
SIi(X,Y)=1
trace%(3)+=1
getMKw:
SIi(X,Y)<=players
getMK
rebelx=X
rebely=Y
SIi(X,Y)<=players hum=1
hum=0
(10*SIc(X,Y))
SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3)>z*3
z+=z
rebelpeace=0
b_start(z,0,0,SIk%(X,Y,1),SIk%(X,Y,2),SIk%(X,Y,3),SIb(X,Y),0,1,2,0,SIn$(X,Y),4,2,2,hum,X,Y,1)
hum
redo:mousewait=0
X=rebelx
Y=rebely
window_open=0
cms(t$(486)+SIn$(rebelx,rebely),5,1)
b_won=1
(15):
SunE(rebelx,R)>0
R<>SIi(rebelx,rebely)
existing(R)>0
SIi(rebelx,rebely)=R
existing(R)=1
R<>1 a$=
g(R)+" "+H$(R)
a$="YOU"
donotice(X,Y,t$(487))
cms(t$(488),7,1)
cms(t$(489),8,1)
cms(t$(490)+a$+t$(491),9,1)
nt=
(SId(X,Y)/200)
! SIk%(X,Y,2)=0:SIk%(X,Y,3)=0
= SIk%(X,Y,1)=a_army(1):
SIk%(X,Y,1)>nt
SIk%(X,Y,1)=nt
SIr(X,Y)=0
nt=
(SId(X,Y)/200)
SIk%(X,Y,n)=d_army(n)
SIk%(X,Y,n)>nt SIk%(X,Y,n)=nt
donotice(X,Y,t$(492))
cms(t$(493),7,1)
cms(t$(494)+
g(SIi(rebelx,rebely))+" "+H$(SIi(rebelx,rebely))+"'s hand.",8,1)
(2)=1
rebelpeace=0
cms(t$(495),10,0)
invent%(1,12)=0
cms(t$(496),11,0)
cms(t$(497),12,0)
0 5
SIg%(X,Y,n)>1
SIg%(X,Y,n)=
(SIg%(X,Y,n))
SIr(X,Y)+=1
cms(t$(498),11,0)
cms(t$(499),12,0)
getMKw
firstcity
gn$,rettX,rettY,n
fillarray("ct1",10)
rettX=X:rettY=Y
X=0:Y=0
noplanet=1
H$=H$(lord):
uppercase
playsoon(5)
cms(H$+t$(500),1,1)
n=1
cms(ar$(n),2+n,1)
noplanet=0
X=rettX:Y=rettY
gmerge("ct1")
6,112,1
frame(0,209,1279,1023,42)
inframe(8,217,1271,1015,42)
schoose("export")
plot(0,12,221)
sdelete("export")
getMK
front(0,209,1279,1023,2)
getMK
window_open=0
firstspaceport
hour_off
mousewait
mousewait=0:
getMK
mpart(10)
0,0:
1279,204:
sget("fsp1")
6,112,1
schoose("fsp1"):
plot(0,0,0)
frame(0,209,1279,1023,42)
inframe(8,217,1271,1015,42)
0,209:
1279,218:
sget("frame1")
0,221:
9,1023:
sget("frame2")
0,1014:
1279,1023:
sget("frame3")
1268,222:
1279,1023:
sget("frame4")
f_wht
showharbour(plan(X,Y),SIn$(X,Y)+" has built a space harbour!")
window_open=0
showharbour(hnum,hstr$)
firstframes
6,112,1
smerge("graphic2.hf"+
(hnum))
MOVE 0,0:MOVE1279,1023:PROCsget("shb1")
SYS6,112,2:PROCschoose("shb1"):PROCplot(0,0,0):PROCsdelete("shb1")
SYS6,112,1
picture("sh"+
(hnum))
1279,1023:
sget("picture")
6,112,2
1279,1023:
sget("shb1")
6,112,1:
schoose("shb1"):
plot(0,0,0):
sdelete("shb1")
24,8+4;217+4;1271-4;1015-4;
hnum
0c2
smerge("graphic2.hs1"):
active_harbour6
0d2
smerge("graphic2.hs1"):
active_harbour1
0e2
smerge("graphic2.hs1"):
active_harbour2
0f2
smerge("graphic2.hs2"):
active_harbour3
0g2
smerge("graphic2.hs3"):
active_harbour4
0h2
smerge("graphic2.hs1"):
active_harbour5
0i2
smerge("graphic2.hs4"):
active_harbour8
I=2
0m-
6,112,1:
1279,1023:
sget("cop")
0n-
6,112,2:
schoose("cop"):
plot(0,0,0)
6,113,2
0q-
6,112,2:
1279,1023:
sget("cop")
0r-
6,112,1:
schoose("cop"):
plot(0,0,0)
6,113,1
gload("TS1")
gmerge("PT1")
ah_one
I$=""
A,B,C:
ah_two
schoose("picture")
plot(0,0,0)
ah_three(ppos)
dspB(hstr$,40,19)
schoose("picture2")
plot(8,0,ppos)
firstframes <2
24,0;205;1279;1023;
schoose("frame1"):
plot(0,0,209)
schoose("frame2"):
plot(0,0,221)
schoose("frame3"):
plot(0,0,1014)
schoose("frame4"):
plot(0,1268,222)
24,8+4;217+4;1271-4;1015-4;
firstframes+=1
swapscreen
twait=15
-tcount<twait
-tcount>=twait
A,B,C
active_harbour8
tcount,twait,goy,gstep,roy,rstep,gwait,rwait
tcount=
goy=500:gstep=1
roy=470:rstep=1
gwait%=0:rwait%=0
ah_one
tcount=
ah_two
gwait%=0
goy+=4
goy>600
gstep+=1
.
gstep>15
gstep=1:goy=500:gwait%=20
schoose("l"+
(gstep)):
plot(8,900,goy)
gwait%-=1
rwait%=0
roy+=4
roy>540
rstep+=1
.
rstep>15
rstep=1:roy=470:rwait%=50
schoose("l"+
(rstep)):
plot(8,420,roy)
rwait%-=1
ah_three(480)
I$<>""
C<>0
active_harbour5
tcount,addx,climb,fcount,fc,arrivex,arrivecount,arrivey,leavex,leavey,leavecount,lander,landed,twait
tcount=
# addx=0:climb=420:fcount=1:fc=0
* arrivex=200:arrivecount=0:arrivey=500
' leavex=532:leavey=400:leavecount=0
lander=800:landed=0
ah_one
tcount=
climb>496
climb<568
fc+=1:
fc>1
( fcount+=1:
fcount>5
fcount=5
fc=0
climb>568
= fcount+=1:
fcount>11
climb=384:addx=0:fcount=1:fc=0
addx+=12
ah_two
schoose("f"+
(fcount))
plot(8,1004+addx,climb+64)
arrivex<540
arrivex<520
arrivex+=4
arrivex+=2
schoose("s0")
plot(8,arrivex+124,arrivey+64)
arrivecount+=1
arrivecount>8
arrivecount=8
schoose("s"+
(arrivecount))
plot(8,arrivex+124,arrivey+64)
arrivecount=8
arrivey-=2
arrivey<400
arrivex=-160:arrivey=500:arrivecount=0
leavecount=0
schoose("p8")
plot(8,leavex+140,leavey+64)
' leavey+=1:
leavey<548 leavey+=1
leavey<500 leavey+=2
leavey>560
leavecount+=1
schoose("p"+
(8-leavecount))
plot(8,leavex+140,leavey+64)
2 leavecount+=1:
leavecount>8
leavecount=8
leavecount=8
leavex-=4
leavex<-208
leavex=532:leavey=400:leavecount=0
% climb+=1:
climb>400
climb+=3
ah_three(440)
I$<>""
C<>0
landed=1
active_harbour4
tcount,twait,gox,goy,rix,riy
tcount=
gox=660
rix=300
ah_one
tcount=
ah_two
. gox-=4:goy-=0:
gox<-80
gox=1300:goy=0
schoose("s1"):
plot(8,gox,712+goy)
rix+=4:
rix>1300
rix=0
schoose("g1"):
plot(8,rix,600)
ah_three(560)
I$<>""
C<>0
active_harbour3
tcount,addx,climb,fcount,fc,arrivex,arrivecount,arrivey,leavex,leavey,leavecount,twait,gox,goy
tcount=
# addx=0:climb=420:fcount=1:fc=0
gox=660
ah_one
tcount=
climb>480
( fcount+=1:
fcount>10
fcount=10
1 4
climb>700
climb=412:addx=0:fcount=1:fc=0
% addx+=4:
climb>500
addx+=12
ah_two
- gox-=4:goy-=0:
gox<-80
gox=660:goy=0
schoose("s"):
plot(8,gox,712+goy)
schoose("c"+
(fcount))
plot(8,900+addx,climb+300)
ah_three(680)
% climb+=2:
climb>460
climb+=2
I$<>""
C<>0
active_harbour2
tcount,addx,climb,fcount,fc,arrivex,arrivecount,arrivey,leavex,leavey,leavecount,lander,landed,twait
tcount=
# addx=0:climb=420:fcount=1:fc=0
* arrivex=200:arrivecount=0:arrivey=500
' leavex=532:leavey=400:leavecount=0
lander=800:landed=0
ah_one
tcount=
climb>496
climb<568
fc+=1:
fc>1
1"( fcount+=1:
fcount>5
fcount=5
fc=0
climb>568
1'D fcount+=1:
fcount>11
climb=384:addx=
(40)-40:fcount=1:fc=0
addx-=4
ah_two
schoose("f"+
(fcount))
1,
plot(8,592+addx,climb+64)
arrivex<540
1..
arrivex<520
arrivex+=4
arrivex+=2
schoose("s0")
10"
plot(8,arrivex,arrivey+64)
arrivecount+=1
13&
arrivecount>8
arrivecount=8
14#
schoose("s"+
(arrivecount))
15"
plot(8,arrivex,arrivey+64)
16#
arrivecount=8
arrivey-=2
17<
arrivey<400
arrivex=-48:arrivey=500:arrivecount=0
leavecount=0
schoose("p8")
1;
plot(8,leavex,leavey+64)
1<' leavey+=1:
leavey<548 leavey+=1
leavey<500 leavey+=2
1>#
leavey>560
leavecount+=1
1@$
schoose("p"+
(8-leavecount))
1A
plot(8,leavex,leavey+64)
1B2 leavecount+=1:
leavecount>8
leavecount=8
1C!
leavecount=8
leavex-=4
1D8
leavex<-48
leavex=532:leavey=400:leavecount=0
ah_three(440)
1G% climb+=1:
climb>400
climb+=3
I$<>""
C<>0
landed=1
active_harbour1
tcount,addx,climb,fcount,fc,arrivex,arrivecount,arrivey,leavex,leavey,leavecount,lander,landed,twait
tcount=
1N# addx=0:climb=420:fcount=1:fc=0
1O* arrivex=200:arrivecount=0:arrivey=500
1P' leavex=532:leavey=400:leavecount=0
lander=800:landed=0
ah_one
tcount=
climb>496
climb<568
fc+=1:
fc>1
1W( fcount+=1:
fcount>5
fcount=5
fc=0
climb>568
1\D fcount+=1:
fcount>11
climb=384:addx=
(40)-40:fcount=1:fc=0
addx-=4
ah_two
schoose("f"+
(fcount))
1a
plot(8,692+addx,climb+64)
arrivex<540
1c.
arrivex<520
arrivex+=4
arrivex+=2
schoose("s0")
1e"
plot(8,arrivex,arrivey+64)
arrivecount+=1
1h&
arrivecount>8
arrivecount=8
1i#
schoose("s"+
(arrivecount))
1j"
plot(8,arrivex,arrivey+64)
1k#
arrivecount=8
arrivey-=2
1l<
arrivey<400
arrivex=-48:arrivey=500:arrivecount=0
leavecount=0
schoose("p8")
1p
plot(8,leavex,leavey+64)
1q' leavey+=1:
leavey<548 leavey+=1
leavey<500 leavey+=2
1s#
leavey>560
leavecount+=1
1u$
schoose("p"+
(8-leavecount))
1v
plot(8,leavex,leavey+64)
1w2 leavecount+=1:
leavecount>8
leavecount=8
1x!
leavecount=8
leavex-=4
1y8
leavex<-48
leavex=532:leavey=400:leavecount=0
ah_three(460)
1|% climb+=1:
climb>400
climb+=3
I$<>""
C<>0
landed=1
active_harbour6
tcount,addx,climb,fcount,fc,arrivex,arrivecount,arrivey,leavex,leavey,leavecount,lander,landed,twait
tcount=
# addx=0:climb=420:fcount=1:fc=0
* arrivex=200:arrivecount=0:arrivey=500
' leavex=532:leavey=400:leavecount=0
lander=800:landed=0
ah_one
tcount=
climb>496
climb<568
fc+=1:
fc>1
( fcount+=1:
fcount>5
fcount=5
fc=0
climb>568
D fcount+=1:
fcount>11
climb=384:addx=
(40)-40:fcount=1:fc=0
addx-=4
ah_two
schoose("f"+
(fcount))
plot(8,692+addx,climb+64)
arrivex<540
arrivex<520
arrivex+=4
arrivex+=2
schoose("s0")
plot(8,arrivex,arrivey+64)
arrivecount+=1
arrivecount>8
arrivecount=8
schoose("s"+
(arrivecount))
plot(8,arrivex,arrivey+64)
arrivecount=8
arrivey-=2
arrivey<400
arrivex=-48:arrivey=500:arrivecount=0
leavecount=0
schoose("p8")
plot(8,leavex,leavey+64)
' leavey+=1:
leavey<548 leavey+=1
leavey<500 leavey+=2
leavey>560
leavecount+=1
schoose("p"+
(8-leavecount))
plot(8,leavex,leavey+64)
2 leavecount+=1:
leavecount>8
leavecount=8
leavecount=8
leavex-=4
leavex<-48
leavex=532:leavey=400:leavecount=0
ah_three(464)
% climb+=1:
climb>400
climb+=3
I$<>""
C<>0
landed=1
alienattack
ck,nd
normalfont<10
H$=SIn$(X,Y):
uppercase
playsoon(8)
donotice(X,Y,t$(501))
cms(t$(502)+H$,5,1)
cms(t$(503),7,1)
cms("storm "+SIn$(X,Y)+t$(504),8,1)
SIi(X,Y)<=players
getMK:hum=1
getMKw:hum=0
(normalfont*3/2):
m>70 m=70
b_start(
(m/2)),0,
(m),SIk%(X,Y,1),SIk%(X,Y,2),SIk%(X,Y,3),SIb(X,Y),1,0,2,0,SIn$(X,Y),4,2,2,hum,X,Y,1)
hum
window_open=0
X=rtx:Y=rty
cms("Aliens at "+SIn$(rtx,rty),5,1)
b_won=1
cms(t$(505),7,1)
cms(t$(506),8,1)
cms(t$(507),9,1)
3:SIg%(rtx,rty,n)=0:SIk%(rtx,rty,n)=0:
2 SIg%(rtx,rty,2)=2:
2 Food Units als Reserve
rX=1
rY=1
s=surf%(rX,rY)
9
s=2
(2)=1
surf%(rX,rY)=10:SIna(rtx,rty)-=1
8
s=5
(2)=1
surf%(rX,rY)=20:SIc(rtx,rty)-=1
g(SIi(rtx,rty))+" "+H$(SIi(rtx,rty))+t$(508),7,1)
cms(t$(509),8,1)
nd=
(SId(X,Y)/200)
SIk%(X,Y,n)=d_army(n)
SIk%(X,Y,n)>nd
SIk%(X,Y,n)=nd
getMKw
enemyattack
eax,eay,savlord,le,lf,pl,pt,pr,rfutt,plralley
X=xx:Y=yy
SIr(X,Y)+=1
SIi(X,Y)<=players
players>1
plr=SIi(X,Y):savlord=plr
plralley=plr
plrswap
plralley=1
enemyplayerattack
players>1
plr=savlord
plrswap
pr=1
players
allied(pr,SIi(X,Y))
eax=0:eay=0
b=0
SIi(x,y)=pr
/ a=SIk%(x,y,1)+SIk%(x,y,2)+SIk%(x,y,3)
!
a>b
b=a:eax=x:eay=y
b>1
6,112,1
gmerge("br4")
gmerge("br5")
gmerge("td2")
fillarray("wa1",6)
noplanet=1
rX=X:rY=Y
X=0:Y=0
l=SIi(rX,rY)
)
Hg(l)=1
le=1:lf=3
le=2:lf=6
cms("",1,1)
6,112,1
5
schoose("flag"+
(flag(pr))):
plot(0,548,876)
2!)
g(l)+" "+H$(l)+t$(510),1,1)
cms(ar$(le),3,1)
2#' c=
(4)*2:
c>credits c=credits
c<1 c=1
cb()=0
2&/
cms(ar$(lf)+" "+SIn$(eax,eay)+".",4,1)
2'(
cms(ar$(4)+" "+
(c)+" MC.",5,1)
cms(ar$(5),7,1)
2*,
(SIk%(eax,eay,n)),330,12+n*2)
cds("0",440,12+n*2)
schoose("export3")
plot(8,600,556-80*n)
schoose("tr"+
(3+n))
plot(0,220,548-80*n)
SIk%(eax,eay,n)=0
schoose("tr0")
plot(8,220,548-80*n)
24
schoose("export4")
plot(0,800,400)
noplanet=0
mfront
exit=0
2<
A,B,C:
2?
getInc(600,556-80*n)
2@B
inc=1
SIk%(eax,eay,n)>0 cb(n)+=1:SIk%(eax,eay,n)-=1
2A8
inc=-1
cb(n)>0 cb(n)-=1:SIk%(eax,eay,n)+=1
6,112,1
2D%
214,287,372,244
2F.
(SIk%(eax,eay,n)),330,12+n*2)
2G$
(cb(n)),440,12+n*2)
2H
schoose("tr"+
(3+n))
2I
plot(0,220,548-80*n)
2J
SIk%(eax,eay,n)=0
schoose("tr0")
2L!
plot(8,220,548-80*n)
2O#
front(214,287,586,521,2)
wait(10)
getExit(800,400)
exit
X=rX:Y=rY
SIi(0,0)=0
sdelete("export3")
sdelete("export4")
2X%
sdelete("tr"+
(n)):
noplanet=0
cb(1)+cb(2)+cb(3)>3
credits-=c
2\'
3:SIk%(X,Y,n)+=cb(n):
trace%(15)+=1
2^
2_/
(2)=1 allied(l,pr)=0:allied(pr,l)=0
2`
2g% R=4:
(hi%(SIi(X,Y))
2h(
(R)=1
evillord(SIi(X,Y))=lord
window_open=0
b_start(eship(lord,1),eship(lord,2),eship(lord,3),SIk%(X,Y,1),SIk%(X,Y,2),SIk%(X,Y,3),SIb(X,Y),0,0,1,0,SIn$(X,Y),2,2,2,0,X,Y,lord)
pl=0
pt=1
players
SunE(X,pt)
pl=1
mpart(8)
gmerge("bt1")
6,112,1
2v!
frame(0,209,1279,1023,42)
2w#
inframe(8,217,1271,1015,42)
schoose("export")
plot(0,12,221)
sdelete("export")
2{/
dspB(t$(105)+SIn$(xx,yy)+t$(511),23,19)
2|
front(0,209,1279,1023,2)
getMK
cms("",0,1)
cms(SIn$(xx,yy)+t$(512),5,1)
# b$= H$(lord)+title$(Ha(lord))
cms(t$(513)+b$+".",6,1)
(SId(xx,yy)/200)
b_won=1
cms(H$(lord)+t$(514),7,1)
g(SIi(xx,yy))+" "+H$(SIi(xx,yy))+".",8,1)
donotice(xx,yy,H$(lord)+t$(515)+H$(SIi(xx,yy))+t$(516))
/ SIk%(xx,yy,W)=a_army(W):eship(lord,W)=0
k=SIk%(xx,yy,W)
5
k>d
a=k-d:SIk%(xx,yy,W)=d:eship(lord,W)=a
plan(xx,yy)=8
r=0
psun(lord,a)=0
psun(lord,r)=xx
*
psun(SIi(xx,yy),a)=xx
rfutt=a
1 ptarget(lord,r)=ptarget(SIi(xx,yy),rfutt)
# ptarget(SIi(xx,yy),rfutt)=0
psun(SIi(xx,yy),r)=0
SIi(xx,yy)=lord
g(SIi(xx,yy))+" "+H$(SIi(xx,yy))+t$(517),7,1)
cms(H$(lord)+t$(518),8,1)
donotice(xx,yy,H$(lord)+t$(519)+H$(SIi(xx,yy))+t$(516))
SIk%(xx,yy,W)=d_army(W)
)
SIk%(xx,yy,W)>d SIk%(xx,yy,W)=d
getMKw
PROCcllt
window_open=0
spyspot
spotted=0
a=MIs(lord):b=MIp(lord)
X=a:Y=b
(10):
invent%(SIi(a,b),12)=1
R+=Ps%(lord,4)*2
H$=SIn$(a,b):
uppercase
R<4
playsoon(9)
SIi(a,b)<=players
mousewait
mousewait=0:
getMK
gmerge("ct3")
6,112,1
frame(0,209,1279,1023,42)
inframe(8,217,1271,1015,42)
schoose("export")
plot(0,12,221)
sdelete("export")
f_wht
dspB(t$(520)+SIn$(a,b),40,19)
0,209:
1279,1023:
sget("spr")
6,112,2
schoose("spr")
plot(0,0,209)
sdelete("spr")
getMK
a=MIs(lord):b=MIp(lord)
cms(t$(521)+H$,5,1)
cms(t$(522),7,1)
cms(t$(523)+SIn$(a,b)+".",8,1)
donotice(a,b,t$(533))
R<>1
invent%(SIi(a,b),13)=0
cms(t$(524),9,1)
cms(t$(525),9,1)
SIi(a,b)=1
cms(t$(526),10,1)
askmasterb
window_open=0
accepted=1
cms(t$(527),5,1)
cms(t$(528),5,1)
cms(t$(529),6,1)
4
cms(t$(530)+
g(lord)+" "+H$(lord)+".",8,1)
=
cms(H$(lord)+" owns "+
(credits(lord))+t$(531),9,1)
c=0
m=1
n=1
!
SIi(m,n)=lord
c+=1
c<>1 B$="s"
B$=""
6
cms("and rules "+
(c)+" planet"+B$+".",10,1)
? f=etrans%(lord)+ewar%(lord)+ebomb%(lord)+escout%(lord)
)
cms(H$(lord)+t$(532)+
(f),11,1)
cms("ships.",12,1)
evillord(SIi(a,b))=lord
getMKw
spotted=1
H$=SIn$(a,b):
uppercase
decode(a,b)
playsoon(9)
MI(lord)<>2
cms(t$(534)+H$,5,1)
donotice(a,b,t$(535))
VDU30:PRINT MI(lord)
MI(lord)
attempt(1):SIr(a,b)+=1
epidemic(2)
attempt(4):SIr(a,b)+=2
attempt(
(3)+10):SIr(a,b)+=1
attempt(16):SIr(a,b)+=1
attempt(17):SIr(a,b)+=2
attempt(3):SIr(a,b)+=1
code(MIs(lord),MIp(lord))
spotted=0
window_open=0
attempt(atm)
x=0:y=0:c=0
surf%(V,U)=atm
c=1
U
SIi(MIs(lord),MIp(lord))=1
watcher=1:
cms(t$(536),9,1):
getMK
watcher=0
bombing(a,b,2)
V=16:U=16
watcher=0
getMKw
playsoon(8)
rx,ry
rx=X:ry=Y
H$=SIn$(X,Y):
uppercase
cms(t$(537)+H$,5,1)
x=0:y=0:c=0
surf%(V,U)=4
cms(t$(538),8,1)
3%'
cms(t$(539)+SIn$(X,Y)+".",9,1)
SIi(X,Y)<=players
watcher=1:
getMK
3(
watcher=0
3*
3+% c=1:
bombing(X,Y,2):V=16:U=16
3-
X=rx:Y=ry
watcher=0
getMKw
window_open=0
watcher=0
meteor
playsoon(8)
rx,ry,t,l
rx=X:ry=Y
H$=SIn$(X,Y):
uppercase
donotice(X,Y,t$(540))
usemeteor=1
cms(t$(541)+H$,1,1)
usemeteor=0
invent%(SIi(X,Y),14)=0
3A%
cms(t$(542)+SIn$(X,Y)+",",3,1)
cms(t$(543),4,1)
cms(t$(544),5,1)
x=0:y=0:c=0
V=RND(zb-za+1)+za-1
U=RND(zb-za+1)+za-1
SIi(X,Y)<=players
cms(t$(536),7,0)
watcher=1:
getMK
watcher=0
c=1:
bombing(X,Y,4)
X=rx:Y=ry
watcher=0
getMKw
window_open=0
watcher=0
3S1
cms("The Radar Extension System made",3,1)
3T6
cms("an early destroying of the dangerous",4,1)
3U%
cms("fragments possible.",5,1)
getMKw
normalfont<3
window_open=0
PROCexoframe(552,880,732,980)
PROCif_slave(200,228,1079,851,42)
PROCif_slave(416,865,1078,983,42)
PROCif_slave(202,865,397,983,42)
cms(message$,row,pri)
normalfont<3
fwn=0:
players
SunE(X,t)
l=0
soonplay=0:
row>15
getMK:window_open=0:row=11
row=0
(window_open=0
pri=1)
combuild
fx=0
f_wht
fontcol(fxc)
row=1
sprow
firm
f_grn
SIi(X,Y)<=players
pri=1
cdsB(message$,210,row+5):xy+=1
f_wht
noplanet=0
readcodes
("graphic."+rcd$)
(50):T=
#A,b$
#A,b$
n=1
m=1
#A,a,b,c
n=R
m=T
n=50:m=2
sprow
usenova=1
normalfont>2
comnova
usemeteor=1
normalfont>2
commeteor
SIi(X,Y)>players
f_red
SIi(X,Y)<=players
f_yel
SIi(X,Y)=0
f_ora
comnova
gmerge("me4")
schoose("menu")
plot(0,204,232)
sdelete("menu")
commeteor
gmerge("me5")
schoose("menu")
plot(0,204,232)
sdelete("menu")
combuild
hour=1
hour_off
mousewait
getMKt:mousewait=0
A,B,C:I$=
I$=""
mustclear=1
mustclear=0:
soonplay
mpart(soonplay):soonplay=0
(row=1
row=0
window_open=0)
SIi(X,Y)>players
f_red
(row=1
row=0
window_open=0)
SIi(X,Y)<=players
f_yel
window_open=1
406,854)<>42
6,112,2
192,859:
1087,1000:
sget("hold")
6,112,1
schoose("hold"):
plot(0,192,859)
sdelete("hold")
cframe
mfront
SIi(X,Y)<>0
schoose("flag"+
flag((SIi(X,Y))))
schoose("flag16")
plot(0,548,876)
noplanet=0
plan(X,Y)<>0
usemeteor=0
gmerge("pl"+
(plan(X,Y)))
6,112,1
schoose("planet"+
(plan(X,Y)))
plot(0,204,232)
sdelete("planet"+
(plan(X,Y)))
cy=843
243
6,112,1
204,cy-8:
1075,cy
sget("trs")
6,112,2
)
schoose("trs"):
plot(0,204,cy-8)
5
cy>243
196:
204,cy-12,1075,cy-12
sdelete("trs")
if_slave(200,228,1079,851,42)
usemeteor=0
< b$=
g(SIi(X,Y))+" "+H$(SIi(X,Y))+title$(Ha(SIi(X,Y)))
SIi(X,Y)=0 b$=t$(545)
noplanet=0
cdsB(t$(105)+SIn$(X,Y)+", System "+SunName$(X),210,6):
cdsB(b$,210,7)
cframe
frame(192,220,1087,859,42)
schoose("header")
plot(0,308,867):
plot(0,756,867)
PROCschoose("header1")
PROCplot(8,364,863)
PROCschoose("header2")
PROCplot(8,756,863)
if_slave(200,228,1079,851,42)
exoframe(552,880,732,980)
slt(numba)
IF numba=1 PRINT"LORD ";lord;" BUILDS"
IF numba=0 PRINT" "
enemytactics(lord)
tactexit,action,oc,hunger,possfree,dirt,am
lord=0
slt(1)
" am=
((SIc(X,Y)*2+SIs(X,Y))/2)
SIr(X,Y)=0
SIr(X,Y)=4:credits(lord)+=am
SIna(X,Y)<SIc(X,Y)*3+1
normalfont>2 hunger=1
credits(lord)<30
hunger=0
slt(0):
SIi(m,n)=lord
l+=1
l>2
(l-1)<>1
credits<200
hunger=0
slt(0):
tactic(lord)>=7
(plan(X,Y)<>8
hunger=0)
slt(0):
PRINT"Lord has a plan. Saves money."
hx=0
hy=0
15:planfield%?(hx+hy*16)=surf%(hx+1,hy+1):
hy,hx
p=plan(X,Y)
invent%(lord,9)=1
(((p=2
p=3
p=5)
(10)=1)
(p=4
(20)=1))
credits(lord)>500
q=0
2: q=5
3: q=2
4: q=6
5: q=4
plan(X,Y)=q
credits(lord)-=500
r stations=0:mining=0:pluton=0:produce(1)=0:produce(2)=0:produce(3)=0:tcenter=0:free=0:possfree=0:food=0:dirt=0
(SId(X,Y)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
sa=0:sb=0:sc=0
spaceport=0
var()=0
A=za
B=za
zb:var(planfield%?((A-1)+(B-1)*16))+=1:
A free=var(0)+var(9):stations=var(1):food=var(2):mining=var(3)
J pluton=var(4):possfree=var(8):dirt=var(10)+var(20):produce(1)=var(11)
@ produce(2)=var(12):produce(3)=var(13):sa=var(14):sb=var(15)
sc=var(16):tcenter=var(17)
action=0
actions:
1=Cities 2=Army 3=Spaceport 4=Mining
5=TCenter 6=LunarBase 7=Food 8=Clear
9=AirDef 10=Station 11=GuardRobots 12=ClearDirt
13=Plutonium
sa+sb+sc=3
spaceport=1
cl=credits(lord)
* PRIORITY LIST * (last=first executed)
SIc(X,Y)*3+5<food action=7
possfree+free>6
SIc(X,Y)<40 action=1
SIgr(X,Y)<=SIc(X,Y)*2
action=11
SIrm(X,Y)>150
cl>40
mining<3
normalfont>5 action=4
(3)=1 action=9
SIna(X,Y)>60
cl>=100
tcenter=0 action=5
SIg%(X,Y,1)>40
cl>=100
tcenter=0 action=5
dirt>20
normalfont>30
action=12
cl>120
normalfont>10
plan(X,Y)<>8 action=6
SIc(X,Y)<4 action=1
SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3)<120
normalfont>10 action=2
spaceport=0 action=3
produce(1)+produce(2)+produce(3)<2
SIc(X,Y)>2
action=2
produce(1)+produce(2)+produce(3)>SIc(X,Y)
action=1
SIc(X,Y)=0
action=1
produce(1)+produce(2)+produce(3)=0
action=2
plan(X,Y)=8
SIc(X,Y)<5
action=1
pluton<produce(1)+produce(2)+produce(3)+mining
action=13
stations<2 action=10
free<=7
(free<=10
normalfont>50)
action=8
SIc(X,Y)*3+1>SIna(X,Y)
hunger=1: action=7
SIna(X,Y)<1
hunger=1
hunger=1: action=7
VDU30:PRINTSIn$(X,Y);": ";action;" "
lord=jt
"BUILD-TACT:",action
action=0
slt(0):tactexit=1
oc=credits(lord)
action
eta10
eta11
eta12
eta13
normalfont>2
credits(lord)<30
free<5
(5)=1
tactexit=1
4_3 SIam(X,Y)=produce(1)+produce(2)*2+produce(3)*3
SIam(X,Y)>=SIc(X,Y)*2+SIs(X,Y)
SIam(X,Y)=
((SIc(X,Y)*2+SIs(X,Y))*3/4)
(hi%(lord)
16)>0
SIl%(X,Y)=32
(md%(lord)
16)>0
SIl%(X,Y)=128+16
(lo%(lord)
16)>0
SIl%(X,Y)=8+16+64+128
SIl%(X,Y)=SIl%(X,Y)
(lo%(lord)
16)=0
SIl%(X,Y)=SIl%(X,Y)
hx=0
hy=0
15:surf%(hx+1,hy+1)=planfield%?(hx+hy*16):
hy,hx
slt(0)
free>0
4q* credits(lord)-=100:
pl_stone(1,17,5)
SIb(X,Y)=0
credits(lord)-=120:SIb(X,Y)=1
action=2
4z* N=4:
plan(X,Y)=2
plan(X,Y)=3
Z=1
4|'
credits(lord)>=42
free>=N+1
pl_stone(1,5,5)
pl_stone(N,2,2)
1 credits(lord)-=45:SIna(X,Y)+=N:SIc(X,Y)+=1
hunger=1
free<5
free>0
n=0
hunger=1
free+possfree<5
n=2
A=za
B=za
' s= planfield%?((A-1)+(B-1)*16)
c
s=5
n>0
n-=1:planfield%?((A-1)+(B-1)*16)=2:credits(lord)-=8:SIc(X,Y)-=1:SIna(X,Y)+=1
n=0
A=zb:B=zb
(5)+5
R>free
(10):
R<=free
pl_stone(R,2,2)
SIna(X,Y)+=R
credits(lord)-=R*3
% ab=20:
(hi%(lord)
16)
ab=22
ac=20:
SIrm(X,Y)=0
ac=3
(zb+1-za)+za-1
(zb+1-za)+za-1
% s=planfield%?((A-1)+(B-1)*16)
p
s=10
s=8
s=29
s=20
s=ab
s=ac
planfield%?((A-1)+(B-1)*16)=0:credits(lord)-=5:A=zb:B=zb:ok=1
eta12
(zb+1-za)+za-1
(zb+1-za)+za-1
% s=planfield%?((A-1)+(B-1)*16)
U
s=10
s=20
planfield%?((A-1)+(B-1)*16)=0:credits(lord)-=5:A=zb:B=zb:ok=1
(SId(X,Y)/200)
SIv(X,Y)<p
R*5>credits(lord)
(credits(lord)/5)
R+SIv(X,Y)>p
R=p-SIv(X,Y)
$ credits(lord)-=R*5:SIv(X,Y)+=R
Z=1
free>1
credits(lord)>=R*10+25
pl_stone(1,10+R,10+
( credits(lord)-=R*10:produce(R)+=1
IF invent%(lord,14)=0 THEN
pl_stone(1,4,8)
credits(lord)-=25
ENDIF
eta13
tobuild,crd
IF invent%(lord,14) THEN ENDPROC
; tobuild=produce(1)+produce(2)+produce(3)+mining-pluton
$ crd=credits(lord):
crd<0 crd=0
tobuild>
(crd/25)+3
tobuild=
(crd/25)+1
VDU30:PRINT"BUILDING ";tobuild;" PLUTONIUM UNITS"
PRINT"AT "+SIn$(X,Y)
Z=1
tobuild
pl_stone(1,4,8)
credits(lord)-=25
Z=1
free>1
credits(lord)>=40
pl_stone(1,3,3)
credits(lord)-=15
IF invent%(lord,14)=0 THEN
pl_stone(1,4,8)
credits(lord)-=25
ENDIF
free>=3
credits(lord)>=45
pl_stone(1,14,1)
pl_stone(1,15,14)
pl_stone(1,16,15)
credits(lord)-=45
eta10
' credits(lord)-=20:
pl_stone(1,1,1)
eta11
$ SIgr(X,Y)+=R:credits(lord)-=R*6
givestation(A,B)
station%
decode(A,B)
surf%(m,n)=1 station%=1
(SId(A,B)/1000)
za=2:zb=15
s<10 za=3:zb=14
s>12 za=1:zb=16
SIna(A,B)=0
kA=za
kB=za
surf%(kA,kB)=2 SIna(A,B)+=1
station%=0
a=
(zb+1-za)+za-1
b=
(zb+1-za)+za-1
s=surf%(a,b)
:
s=0
s=9
s=6
s=10
s=20
surf%(a,b)=1:c=1
c=0
a=
(zb+1-za)+za-1
b=
(zb+1-za)+za-1
s=surf%(a,b)
5!(
s=0
s=9
s=6
s=10
s=20
5"$ surf%(a,b)=5:c=1:SIc(A,B)+=1
5$
5% c=0
a=
(zb+1-za)+za-1
b=
(zb+1-za)+za-1
s=surf%(a,b)
5*(
s=0
s=9
s=6
s=10
s=20
5+. I=
(3):surf%(a,b)=I+10:c=1:SIam(A,B)=I
5-
5. c=0
a=
(zb+1-za)+za-1
b=
(zb+1-za)+za-1
s=surf%(a,b)
53(
s=0
s=9
s=6
s=10
s=20
surf%(a,b)=4:c=1
56
57-
plan(A,B)=2
plan(A,B)=3
n=2
58*
IF SIna(A,B)>0 AND SIc(A,B)<3 THEN
ok=0
5<
R=
R=1 a=za+1:b=za+1
R=2 a=zb-4:b=zb-4
R=3 a=za+1:b=zb-4
R=4 a=zb-4:b=za+1
x=a
y= b
s=surf%(x,y)
5EE
s=6
s=10
s=20 surf%(x,y)=2:ok+=1:SIna(A,B)+=1
ok>3
ENDIF
ok=0
a=
(zb+1-za)+za-1
b=
(zb+1-za)+za-1
s=surf%(a,b)
5RD
s=0
s=10
s=20
surf%(a,b)=2:ok+=1:SIna(A,B)+=1
ok>3
(30)=1
code(A,B)
checkspaceport
sa,sb,sc
spaceport=0
s= surf%(A,B)
s=14 sa=1
s=15 sb=1
s=16 sc=1
5b
sa+sb+sc=3
spaceport=1
audience(lord,xx,yy)
X=xx:Y=yy
PROCcms(FNg(lord)+" "+H$(lord)+t$(546)+SIn$(xx,yy),5,1)
PROCcms(t$(547),6,1)
PROCgetMK
mousewait
getMK:mousewait=0
window_open=0
film_shiplands(H$(lord),SIn$(xx,yy),plan(xx,yy),H$(SIi(xx,yy)))
lordreturn
lcc,lok
lcc=players+1
existing(lcc)
lok=1
lok=0
5~ ok=0
Y=1
SIi(X,Y)=0
plan(X,Y)>0 ok=1
debug=1
existing(lord)=1
firstplanet(lord)=0
( credits(lord)=
(300)+normalfont*50
tactic(lord)=9
orbit(lord)=
(Sol)
flying(lord)=0
$ eship(lord,a)=
(normalfont/2)
efreight(lord,a)=0
X=0:Y=0:SunE(0,1)=1
noplanet=1
playsoon(8)
H$=H$(lord):
uppercase
cms(H$+t$(548),1,1)
cms(t$(549),3,1)
g(lord)+" "+H$(lord)+t$(550),4,1)
cms(t$(551),6,1)
window_open
mousewait=1
window_open=0
noplanet=0
lorddies
f$,e$
old$=H$(lord)
Hg(lord)=1
f$="Lord":e$="his"
f$="Lady":e$="her"
fillarray("ld"+
(Hl(lord)),15)
# H$(lord)=
ar$(R),
(ar$(R))-2)
ar$(R),1)="m"
Hg(lord)=1
Hg(lord)=2
ok=1
H$(lord)=old$ ok=0
H$(Y)=H$(lord)
Y<>lord
ok=0
' credits(lord)+=200:
kleine Spende
evillord(lord)=0
15:allied(lord,Y)=0:allied(Y,lord)=0:
X=0:Y=0
noplanet=1
H$=old$:
uppercase
playsoon(9)
cms(H$+t$(552),1,1)
cms(t$(553)+f$,3,1)
cms(old$+t$(554),4,1)
cms(t$(555)+e$,6,1)
cms(t$(556)+
g(lord)+" "+H$(lord)+".",7,1)
window_open
mousewait=1
window_open=0
noplanet=0
lordbwp
dowp(lord,whichp(lord))
" X=psun(lord,whichp(lord)):Y=5
decode(X,Y)
plan(X,Y)=8
enemytactics(lord)
plan(X,Y)=0
codde=3:
code(X,Y):codde=0
lorddwp
psun(lord,a)=0
ok=0
f>0
plan(a,5)=0
ok=1:c=0
b=1
d=1
/
psun(b,d)=a
ptarget(b,d)=a
ok=0
psun(lord,f)=a
psun(lord,f)>0
credits(lord)-=1000
pphase(lord)=1
whichp(lord)=f
enemythinks
quality,s_offs,btm,earn,mostk,k
debug=0
lord=players+1
existing(lord)=0
(400)=1
lordreturn
existing(lord)=1
(1000)=1
normalfont>50
lorddies
lord=jt
"MC",credits(lord)
lord=jt
flying(lord)=1
"FLYING."
flying(lord)=0
existing(lord)>0
et_main
flying(lord)=1
TS(lord)=0
VDU30:PRINT:PRINT"FLY TO NOWHERE! "
PRINT"LORD= ";lord
PRINT"DEBUG= ";debug
G=GET
lord
et_main
evillord(lord)=0
(40)=1
evillord(lord)=
(15):
evillord(lord)<>lord
existing(evillord(lord))>0
evillord(lord)>0
(40)=1
evillord(lord)=0
** Buendnisse knuepfen, brechen, Terror **
flying=0
X=0:Y=0
hi%(lord)
md%(lord)
lo%(lord)
R=10
a=0
ha=1
#
allied(lord,ha)>0
a+=1
a>2
R=20
(R)=1
et_alliances
m=0
*** Wissenschaft ***
normalfont<25
t%(lord)=0
tactic(lord)<>6
t%(lord)=30
6%(
hi%(lord)
t%(lord)-=10
6&(
hi%(lord)
t%(lord)+=10
6'(
lo%(lord)
t%(lord)-=10
6(
*** Terror ***
6-W
evillord(lord)<>0
(20)=1
MI(lord)=0
normalfont>15
credits(lord)>=70
et_terror
** Flotte **
63<
credits(lord)>10
tactic(lord)<>6
normalfont>8
R=
66N
(3)=1
credits(lord)>=10
escout%(lord)+=1:credits(lord)-=10
68F
credits(lord)>=15
etrans%(lord)+=1:credits(lord)-=15
6:A
credits(lord)>=20 ewar%(lord)+=1:credits(lord)-=20
6;P
credits(lord)>=25
Hl(lord)<>2 ebomb%(lord)+=1:credits(lord)-=25
6>(
jt=lord
"TRANS:",etrans%(lord)
*** Neue Offiziere ***
c=0
6C!
normalfont>20
(2)=1
a=1 b=3
a=2 b=1
a=3 b=4
6Hg
credits(lord)>800
Ps%(lord,b)<2
Ps%(lord,b)=2:credits(lord)-=800:c=1:
jt=lord
"NEWOFF"
6Ig
credits(lord)>400
Ps%(lord,b)<1
Ps%(lord,b)=1:credits(lord)-=400:c=1:
jt=lord
"NEWOFF"
c=1
** War Planet bauen **
pphase(lord)>0
pphase(lord)<3
((pphase(lord)=2
credits(lord)>=1500)
(pphase(lord)=1
credits(lord)>=1000))
pphase(lord)+=1:credits(lord)-=1000
6R"
pphase(lord)=3
lordbwp
6TU
credits(lord)>=1000
invent%(lord,7)=1
pphase(lord)=0
(5)=1
lorddwp
** WP bewegen **
w=0
6Z/
psun(lord,f)>0
pphase(lord)=0
et_movewar
** Taktik... **
earn=0:mostk=0
firstplanet(lord)
SIi(a,b)=lord
6e. earn+=SIs(a,b)+SIc(a,b)*2-SIam(a,b)
6f0 k=SIk%(a,b,1)+SIk%(a,b,2)+SIk%(a,b,3)
6gB
(SId(a,b)/200)*3
tactic(lord)=0
tactic(lord)=1
k>mostk
mostk=k
6ju
SIi(a,b)<>0
(tactic(lord)=0
tactic(lord)=1)
normalfont>9
(5)=1
(allied(SIi(a,b),lord)
4)=0
6k1 k=SIk%(a,b,1)+SIk%(a,b,2)+SIk%(a,b,3)
6l@
mostk/3>=k
tactic(lord)=1:lordvar(lord)=a
b<<8
** Neue Taktik? **
6u"
tactic(lord)=0
(3)=1
et_newtact
** Taktik ausfuehren **
6{(
lord=jt
"TACTIC:",tactic(lord)
tactic(lord)=0
tactic(lord)=6
t%(lord)=0
tactic(lord)<>6
normalfont>25
t%(lord)=30
'
hi%(lord)
t%(lord)-=10
'
hi%(lord)
t%(lord)+=10
'
lo%(lord)
t%(lord)-=10
tactic(lord)=6
credits(lord)>190
tactic(lord)=7
^ wenn genug Geld gespart,naechster Schritt
tactic(lord)=7
tactic(lord)=1
e_tact1
(tactic(lord)=8
tactic(lord)=2)
flying(lord)=0
e_tact2
tactic(lord)=9
flying(lord)=0
e_tact3
IF tactic(lord)=10 AND TS(lord)=0 THEN PRINT"DEBUG: ";debug: PRINT"TS(lord)=0!!":SYS6,20:END
tactic(lord)=3
flying(lord)=0
e_tact4
tactic(lord)=10
flying(lord)=0
e_tact5
tactic(lord)=5
flying(lord)=0
e_tact6
tactic(lord)=20
e_tact7
tactic(lord)=21
flying(lord)=0
e_tact8
tactic(lord)=22
e_tact9
tactic(lord)=22
flying(lord)=0
e_tact10
tactic(lord)=23
flying(lord)=0
e_tact11
tactic(lord)=0
e_tact12
et_alliances
al,orb,ha
ha=1
orb=orbit(lord)
SIi(orb,ha)>0
SIi(orb,ha)<>lord
SIi(orb,ha)>players
(16)=1
allied(lord,SIi(orb,ha))=0
allied(SIi(orb,ha),lord)=0
evillord(lord)<>SIi(orb,ha)
reput(lord)>0
= allied(lord,SIi(orb,ha))=7:allied(SIi(orb,ha),lord)=7
SIi(orb,ha)=1
(10)=1
allied(lord,1)<>7
allied(1,lord)<>7
evillord(lord)<>1
reput>0
al=1
audience(lord,orb,ha)
#
_enemy_comm(3,lord,orb,ha)
>
decision=1 xx=orb:yy=ha:X=xx:Y=yy:
enemyplayerattack
al=0
R=50:
md%(lord)
R=20
lo%(lord)
R=10
a=1
(R)=1
allied(lord,a)<>0
a<>lord
( allied(lord,a)=0:allied(a,lord)=0
et_newtact
debug=3
hi%(lord)
R<4 t=1
R=4 t=3
R>4 t=2
md%(lord)
R=
1:t=1
2:t=2
3:t=3
lo%(lord)
R=
R<5 t=2
R>=5 t=3
R=8 t=1
normalfont<12
t=2 t=0
normalfont<40
t=1
(3)<>1
IF normalfont>40 AND normalfont<110 AND RND(3)=1 t=2
normalfont>110
(3)=1 t=1
credits(lord)>2000 t=2
t=3
tactic(lord)=20
n=0
t=2
earn>=9
credits(lord)>=130
C
(credits(lord)>60
(credits(lord)>30
normalfont>30))
- tactic(lord)=6:TS(lord)=0:TP(lord)=0
n=1
n=1
tactic(lord)=20
t=1
tactic(lord)=1:TS(lord)=0:TP(lord)=0
Y=1
~
SIi(X,Y)<>lord
SIi(X,Y)<>0
SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3)=0
eship(lord,1)+eship(lord,2)+eship(lord,3)>0
< tactic(lord)=4:TS(lord)=X:TP(lord)=Y:flying(lord)=1
X=Sol
Y=5
firstplanet(lord)=0
tactic(lord)=9
IF normalfont<7 THEN
IF RND(4)>1 THEN tactic(lord)=0 ELSE tactic(lord)=6
ENDIF
tactic(lord)=6
ok=0
X=1
Y=1
+
plan(X,Y)<>0
SIi(X,Y)=0
ok=1
ok=0
tactic(lord)=1
et_terror
MIs(lord)=0:MIp(lord)=0
Y=1
SIi(X,Y)=evillord(lord)
MIs(lord)=X:MIp(lord)=Y:X=Sol:Y=5
MIs(lord)<>0
debug=2
m=4:a=70
c=credits(lord)
c>=1500
normalfont>50
invent%(lord,6)=1
m=7:a=1000
c>200 m=2:a=200
c>150 m=3:a=150
c>100 m=5:a=100
credits(lord)>=a credits(lord)-=a:MI(lord)=m:
jt=lord
"TERR."
evillord(lord)=0
et_movewar
psun(lord,f)>0
pphase(lord)=0
invent%(lord,8)=1
(10)=1
plan(a,5)=0
ok=1:c=0
b=1
c=1
7 C
(psun(b,c)=a
ptarget(b,c)=a)
b<>lord
c<>f
ok=0
7#'
ptarget(lord,f)=a:a=Sol
7$
e_tact1
debug=4
Sucht eigenen Planeten mit den meisten Armeen
quality=0:xx=0:yy=0:a=0
Y=1
72a
SIi(X,Y)=lord
a= SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3):
a>quality
quality=a:xx=X:yy=Y
73
TS(lord)=xx:TP(lord)=yy
TS(lord)<>orbit(lord)
77$
invent%(lord,8)=0
(2)=1
flying(lord)=1
7:6 tactic(lord)+=1:orbit(lord)=TS(lord):TS(lord)=0
tactic(lord)+=1
tactic(lord)=1
X=TS(lord):Y=TP(lord)
7A/
SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3)<4
7BF tactic(lord)=0:
kiene eigenen Armeen, also auch keine Attacke
flying(lord)=0
e_tact2
debug=5
Armeen von Planet auf Schiff laden
SIi(TS(lord),TP(lord))=lord
loadarmies
stnum=0
stnum(lord)
7OQ
(2)=1
stnum>1)
(5)=1
stnum=1) tactic(lord)-=1
tactic(lord)+=1
tactic(lord)-=1
e_tact3
debug=6
sucht sich den besten leeren Planeten raus
7Z ok=0
7]#
plan(X,Y)>0
SIi(X,Y)=0
a=1
7`-
X=TS(b)
Y=TP(b)
lord<>b
ok=1
7d
ok=1
quality=0
X= 1
Y=1
7k&
plan(X,Y)<>0
SIi(X,Y)=0
p= plan(X,Y)
p=1 a=4
p=2 a=2
p=3 a=1
p=4 a=3
p=5 a=2
p=6 a=4
7s!
a>quality
(7)<>1
ok=1
7v1
X=TS(b)
Y=TP(b)
lord<>b
ok=0
7x>
quality=a:TS(lord)=X:TP(lord)=Y
quality=0
7~"
plan(TS(lord),TP(lord))<>0
TS(lord)=0
*Error TS()=0
TS(lord)<>orbit(lord)
invent%(lord,8)=0
(2)=1
flying(lord)=1
, tactic(lord)+=1:orbit(lord)=TS(lord)
tactic(lord)=10
tactic(lord)=3
e_tact4
debug=7
-
sucht sich einen Feind-Planeten aus
l=lordvar(lord)
1 TS(lord)=l
255:TP(lord)=(l
65280)>>8
lordvar(lord)=0
4 s=SIi(TS(lord),TP(lord)):
s<>lord
s<>0
tactic(lord)+=1
C
TS(lord)<>orbit(lord)
flying(lord)=1
tactic(lord)=5
a=0
6 strongdef=0:weakdef=10000:nodef=0:mostcities=0
strx=0:stry=0
wdfx=0:wdfy=0
ndfx=0:ndfy=0
mctx=0:mcty=0
5 e=eship(lord,1)+eship(lord,2)+eship(lord,3)*2
ok=0
Y=1
M
SIi(X,Y)<>lord
SIi(X,Y)<>0
(j=2
evillord(lord)=SIi(X,Y))
3 d=SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3)*2
i=SIi(X,Y)
d*3<e*2
ok=1
M
(hi%(lord)
(allied(lord,i)=2
allied(lord,i)=4)
ok=0
V
(md%(lord)
(allied(lord,i)=2
allied(lord,i)=4)
(2)=1
ok=0
A
d<weakdef
(2)=1
weakdef=d :wdfx=X:wdfy=Y
A
d>strongdef
(2)=1
strongdef=d :strx=X:stry=Y
E
d=0
nodef=1: :ndfx=X:ndfy=Y
# c=SIc(X,Y)*2+SIs(X,Y)
A
c>mostcities
(2)=1
mostcities=c:mctx=X:mcty=Y
"
j=1
wdfx+wdfy>0
!
wdfx+strx+mctx=0
ok=0
ok=1
4
IF wdfx+wdfy=0 PRINT"NO PLANET CHOSEN!!!"
: TS(lord)=wdfx:TP(lord)=wdfy:
PRINT"WEAKEST",lord
.
nodef
TS(lord)=ndfx:TP(lord)=ndfy
]
(3)=1
wdfx=0)
mctx+mcty>0
TS(lord)=mctx:TP(lord)=mcty:
PRINT"CITIES",lord
p
(3)=1
wdfx=0
(wdfx+strx=0))
strx+stry>0
TS(lord)=strx:TP(lord)=stry:
PRINT"STRONGEST",lord
tactic(lord)+=1
B
TS(lord)<>orbit(lord)
flying(lord)=1
tactic(lord)=5
%
PRINT"FOUND NO ENEMY",lord
2
(5)<>1 tactic(lord)=1
tactic(lord)=0
e_tact5
ka,kb,kok
debug=8
xx=TS(lord):yy=TP(lord)
SIi(xx,yy)<>0
#
PRINT"He came too late!"
SIi(xx,yy)=lord
SIr(xx,yy)=0
givestation(xx,yy)
firstplanet(lord)=1
credits(lord)-=190
SIn$(xx,yy)=""
,
fillarray("pn"+
(plan(xx,yy)),30)
R=
ar$(R)<>""
SIn$(xx,yy)=ar$(R)
kok=0
ka=1
kb=1
A
SIn$(ka,kb)=SIn$(xx,yy)
(ka<>xx
kb<>yy)
kok=1
2
SIn$(ka,kb)=SIn$(xx,yy)+" 2"
kok=2
%
kok=1
SIn$(xx,yy)+=" 2"
%
kok=2
SIn$(xx,yy)+=" 3"
d=
(SId(xx,yy)/200)
% SIk%(xx,yy,R)=eship(lord,R)
eship(lord,R)=0
I
SIk%(xx,yy,R)>d eship(lord,R)=SIk%(xx,yy,R)-d:SIk%(xx,yy,R)=d
"
normalfont>2
npmessage
tactic(lord)=0
X=xx:Y=yy
decode(X,Y)
enemytactics(lord)
code(X,Y)
, tactic(lord)=0:TS(lord)=0:TP(lord)=0
e_tact6
debug=9
xx=TS(lord):yy=TP(lord)
SIi(xx,yy)=lord
1
PRINT"ERROR: ATTACKER=ATTACKED!":G=GET
(
SIi(xx,yy)=0
plan(xx,yy)=0
&
PRINT"Oops! No enemy here!"
8
8!`
SIk%(xx,yy,1)+SIk%(xx,yy,2)+SIk%(xx,yy,3)>eship(lord,1)+eship(lord,2)+eship(lord,3)
8#$
PRINT"ENEMY TOO STRONG!"
tactic(lord)=1
r=1
plan(xx,yy)=8
r=0
8,!
psun(lord,r)=0
b_won=1
friendly=0
enemyattack
friendly=0
b_won=1
SIi(xx,yy)=lord
868
SIv(xx,yy)<ebomb%(lord)*2
Hl(lord)<>2
ob=ebomb%(lord)
88& j=0:
SIv(xx,yy)<4
btm=2+
(3)+j
ebm=1
enemybomb
SIv(xx,yy)>0
8=@
ebomb%(lord)*3<ob
ebomb%(lord)<btm
ebm=btm
friendly=0
8F
8G, tactic(lord)=0:TS(lord)=0:TP(lord)=0
e_tact7
debug=20
8M8
Sucht eigenen Planeten mit den meisten Guetern
quality=0:xx=0:yy=0:a=0
Y=1
8Qc
SIi(X,Y)=lord
a=SIg%(X,Y,1)+SIg%(X,Y,2)+SIg%(X,Y,3):
a>quality
quality=a:xx=X:yy=Y
quality>3
8U TS(lord)=xx:TP(lord)=yy
8V"
TS(lord)<>orbit(lord)
flying(lord)=1
tactic(lord)+=1
8[
tactic(lord)=0
8]'
keine Ware auf den Planeten.
8^
e_tact8
debug=21
8e,
Gueter von Planet auf Schiff laden
8f'
SIi(TS(lord),TP(lord))=lord
loadgoods
stnum=0
stnum(lord)
8jK
(2)=1
stnum>1)
(stnum=1) tactic(lord)+=1
tactic(lord)-=1
8k
tactic(lord)-=1
8m
e_tact9
c=0
8t.
SIi(a,b)<>0
SIi(a,b)<>lord
c=0
tactic(lord)=0
e_tact10
debug=22
8{.
sucht sich einen Freund-Planeten aus
8|
a=0
Y=1
9
plan(X,Y)<>0
SIi(X,Y)<>lord
SIi(X,Y)<>0
s=SIi(X,Y)
%
allied(lord,s)
8
evillord(lord)<>s
evillord(s)<>lord
@
evillord(lord)=s
evillord(s)=lord
(40)=1
a=1
(10)>1
0
TS(lord)=X:TP(lord)=Y:X=Sol:Y=5
!
TS(lord)<>orbit(lord)
'
invent%(lord,8)=0
(2)=1
flying(lord)=1
D tactic(lord)+=1:orbit(lord)=TS(lord):TS(lord)=0:TP(lord)=0
tactic(lord)+=1
e_tact11
debug=23
X= TS(lord)
Y= TP(lord)
SIt(X,Y)
1: a=4:b=1:c=3:n=20
2: a=3:b=1:c=2:n=10
3: a=3:b=1:c=1:n=30
xx=X:yy=Y
i=SIi(X,Y)
@
i=1
redo:
audience(lord,X,Y):
_enemy_comm(2,lord,X,Y)
&
(i>1)
(i=1
decision>0)
<
i<>1
(allied(lord,i)
1) =0
credits(lord)-=n
e=efreight(lord,1)
f=efreight(lord,2)
g=efreight(lord,3)
. credits(lord)+=e*a:efreight(lord,1)=0
. credits(lord)+=f*b:efreight(lord,2)=0
. credits(lord)+=g*c:efreight(lord,3)=0
tactic(lord)=0
X=xx:Y=yy
-
lordbuy(X,Y,f,
(6)-1,
(5)-1,
(4)-1)
tactic(lord)=22
e_tact12
debug=24
>
Schiff zu eigenem Planeten mit besten Armeen fliegen
quality=0:xx=0:yy=0:a=0
Y=1
c
SIi(X,Y)=lord
a=SIk%(X,Y,1)+SIk%(X,Y,2)+SIk%(X,Y,3):
a>quality
quality=a:xx=X:yy=Y
TS(lord)=xx:TP(lord)=yy
+
TS(lord)<>orbit(lord)
xx+yy>0
flying(lord)=1
sl=1
1:font_col=&40404000
2:font_col=&90909000
3:font_col=&c0c0c000
4:font_col=&fdfdfd00
CASE sl OF
WHEN 1:SYS 262291,,0,1,6,&00000000,&40404000
WHEN 2:SYS 262291,,0,1,6,&00000000,&90909000
WHEN 3:SYS 262291,,0,1,6,&00000000,&c0c0c000
WHEN 4:SYS 262291,,0,1,6,&00000000,&fdfdfd00
ENDCASE
dsp(b$(irow),40,irow+1)
wait(4)
start_the_lords
sl,irow
introduce
nonclick=1
sl=1
b$(sl)=ar$(sl)
Hg(1)<>1
b$(13)=ar$(15)
** Planeten aussuchen **
noraces=0
lord=players+1
irow+=1
quality=0
X= 1
Y=1
&
plan(X,Y)<>0
SIi(X,Y)=0
p= plan(X,Y)
p=1 a=4
p=2 a=2
p=3 a=1
p=4 a=3
p=5 a=2
p=6 a=5
!
a>quality
(7)<>1
ok=1
1
X=TS(b)
Y=TP(b)
lord<>b
ok=0
>
quality=a:TS(lord)=X:TP(lord)=Y
quality=0
plan(TS(lord),TP(lord))<>0
** besiedeln+bebauen **
xx=TS(lord):yy=TP(lord)
SIi(xx,yy)=lord
SIr(xx,yy)=0
givestation(xx,yy)
firstplanet(lord)=1
credits(lord)-=190
fillarray("pn"+
(plan(xx,yy)),30)
R=
ar$(R)<>""
SIn$(xx,yy)=ar$(R)
(SId(xx,yy)/200)
X=xx:Y=yy
decode(X,Y)
enemytactics(lord)
code(X,Y)
TS(lord)=0:TP(lord)=0
lord
players>1
noraces=1
irow+=1
wait(20)
irow=14
6,21,9
6,21,0
nonclick=0
getMK
normalfont=2
npmessage
X=xx:Y=yy
noplanet=1
cms("",0,1)
cms(t$(557),1,1)
g(SIi(X,Y))+" "+H$(SIi(X,Y))+t$(558),3,1)
cms(t$(559)+SIn$(xx,yy)+".",4,1)
schoose("sphere"+
(plan(xx,yy)))
window_open
plot(0,570,430)
getMK
window_open=0
noplanet=0
lord=1
pphase(lord)=3
X=0:Y=0
noplanet=1
cms("",0,1)
cms(t$(560),1,1)
9V.
g(lord)+" "+H$(lord)+t$(561),3,1)
cms(t$(562),4,1)
9X$
gmerge("pp"+
(pphase(lord)))
9Y(
window_open
schoose("const")
plot(8,570,430)
getMKw
sdelete("const")
9]8 pphase(lord)=0 :plan(psun(lord,whichp(lord)),5)=8
noplanet=0
lord
loadarmies
load
9fv load=etrans%(lord)-(eship(lord,1)+eship(lord,2)+eship(lord,3)+efreight(lord,1)+efreight(lord,2)+efreight(lord,3))
load=0
R=3
load>0
9j' a=
(SIk%(TS(lord),TP(lord),R)/3)
a>load
a=load
eship(lord,R)+=a:load-=a
9m# SIk%(TS(lord),TP(lord),R)-=a
ts=TS(lord)
tp=TP(lord)
loadgoods
load
9wv load=etrans%(lord)-(eship(lord,1)+eship(lord,2)+eship(lord,3)+efreight(lord,1)+efreight(lord,2)+efreight(lord,3))
load=0
R=1
load>0
9{' a=
(SIg%(TS(lord),TP(lord),R)/2)
a>load
a=load
9}" efreight(lord,R)+=a:load-=a
9~# SIg%(TS(lord),TP(lord),R)-=a
ts=TS(lord)
tp=TP(lord)
stnum(lord)
stnum=0
SIi(X,Y)=lord
stnum+=1
enemyplayerattack
rfutt
X=xx:Y=yy
audience(lord,X,Y)
_enemy_comm(1,lord,xx,yy)
X=xx:Y=yy
decision=0
b_won=0
friendly=1
fontcol(&0000ff00)
cms(t$(563),5,1)
cms(t$(564)+
g(lord),7,1)
! b$=H$(lord)+title$(Ha(lord))
cms(b$+".",8,1)
getMK
window_open=0
actual=yy
sel=xx
attacklord=lord
b_start(eship(lord,1),eship(lord,2),eship(lord,3),SIk%(xx,yy,1),SIk%(xx,yy,2),SIk%(xx,yy,3),SIb(xx,yy),0,0,2,0,SIn$(xx,yy),2,2,2,1,xx,yy,lord)
3:eship(lord,X)=0:
(SId(sel,actual)/200)
b_won=1
SIi(sel,actual)=lord
3 SIk%(sel,actual,W)=a_army(W):eship(lord,W)=0
k=SIk%(sel,actual,W)
k>d
a=k-d:SIk%(sel,actual,W)=d:eship(lord,W)=a
plan(sel,actual)=8
r=0
psun(lord,a)=0
psun(lord,r)=sel
!
psun(1,a)=sel
rfutt=a
' ptarget(lord,r)=ptarget(1,rfutt)
psun(1,rfutt)=0
ptarget(1,rfutt)=0
# SIk%(sel,actual,X)=d_army(X)
SIk%(sel,actual,X)>d SIk%(sel,actual,X)=d
X=sel
Y=actual
xx=X:yy=Y
window_open=0
newtitle
ab,ac,length
lord=1
a=0
X=1
Y=1
SIi(X,Y)=lord
a+=1
ab=2+
(Sol/20)
ac=
(a/ab)
ac<8
lord<=players
ac>Ha(1)
ac>ttl
playsoon(5)
X=0:Y=0
fillarray("t"+
(ac),5)
noplanet=1
H$=H$(lord):
uppercase
cms(t$(565)+H$,1,1)
cms(t$(566),3,1)
;
(34)+ta$+" "+PName$+" "+title$(ac)+
(34),5,1)
cms(ar$(a),6+a,1)
getMK
gmerge("me6")
schoose("menu")
plot(0,204,232)
sdelete("menu")
!
fillarray("sgc"+
(ac),6)
-
cms("MESSAGE FROM SPACE GUILD ",1,1)
length=0
cms(ar$(a),2+a,1)
!
ar$(a)<>""
length+=1
f
punish%(1,0)+punish%(1,1)+punish%(1,2)>0
cms(t$(567),length+4,1):
cms(t$(568),length+5,1)
getMKw
ttl=ac
Ha(lord)=ac
lord
noplanet=0
checkalive
plrd
ar$(a)=""
plrd=0
lord=1
X=1
Y=1
: =
SIi(X,Y)=lord
firstplanet(lord)=0
ar$(lord)="x"
SIi(X,Y)=1
plrd=1
lord
plrd=0
players=1
firstplanet(1)=0
ok=0
a=1
ar$(a)="x"
ok+=1
ar$(a)=""
existing(a)<>0
firstplanet(a)=1
(players>1
a>players)
'
credits(a)>=150
a>players
tactic(a)=9
flying(a)=0
firstplanet(a)=0
playsoon(9)
X=0:Y=0
noplanet=1
H$=H$(a):
uppercase
cms(H$+t$(569),1,1)
:"*
g(a)+" "+H$(a)+t$(570),3,1)
cms(t$(571),4,1)
:$%
donotice(0,0,H$(a)+t$(572))
noplanet=0
getMK
window_open=0
existing(a)=0
orbit(a)=0
:+
players=1
:2>
IF ar$(1)="" AND firstplanet(1)<>0 THEN PROCplayerdead
:3#
IF ok=1 AND ar$(1)="x" THEN
PROCgamedone
ENDIF
firstplanet=0
ok=0
a=1
players
ar$(a)="x"
ok+=1
:;
ok=0
allplayersdead
ok=1
a=1
players
:A%
ar$(a)="x"
playerwon(a)
fillstatus
players>1
firstplanet(1)=0
hour_off
normalfont<7
:O7
normalfont<5
counselor(12)
counselor(13)
hour_on
mousewait
getMKt:mousewait=0
mousewait=1
masterredo
fr,pa,pb,ho,riots,rpl$
rettx=X:retty=Y
X=0:Y=0
ar$(1)="Diplomacy"
ar$(2)="Army"
ar$(3)="Science"
ar$(4)="Population"
200,300:
1080,920:
sget("abc")
6,112,1
schoose("abc"):
plot(0,200,300)
sdelete("abc")
fr=0
:d.
frame(200,300+fr*128,500,420+fr*128,42)
:e/
frame(508,300+fr*128,1080,420+fr*128,42)
:f0
inframe(208,308+fr*128,492,412+fr*128,42)
:g1
inframe(516,308+fr*128,1072,412+fr*128,42)
:h%
sfpB(ar$(4-fr),228,352+fr*128)
fillarray("mst",61)
frame(200,820,1080,920,42)
inframe(208,828,1072,912,42)
sfpB("STATUS REPORT, MONTH "+
(normalfont-1),356,860)
X=rettx:Y=retty
X=0:Y=0
a=0:b=0
existing(n)
allied(1,n)
a+=1
evillord(n)=1
b+=1
a$=" ally":
a<>1 a$+="s"
:x' b$=" enemy":
b<>1 b$=" enemies"
a=0 c$="no"
b=0 d$="no"
fms(" We have "+c$+a$+" and "+d$,4,1)
a*2<b*3
a$=ar$(4)
a$=ar$(3)
fms(b$+". "+a$,5,1)
a=1:h=0:u=0
pa=1
pb=1
SIi(pa,pb)=1
u+=1
3 c=SIk%(pa,pb,1)+SIk%(pa,pb,2)+SIk%(pa,pb,3)
c<normalfont
h+=SIr(pa,pb)
1
SIr(pa,pb)>8
riots=1:rpl$=SIn$(pa,pb)
pb,pa
u>1 b$="s"
b$=""
Ps%(1,5)
fms(ar$(8-2*a),7,1)
fms(ar$(7)+b$+".",8,1)
fms(ar$(22),7,1)
fms(ar$(23),8,1)
invent%(1,n)
a+=1
b=10
t%(1)<5
b=12
a=14
b=14
b=10
1:b=10
2:b=24
3:b=26
fms(ar$(b),10,1)
fms(ar$(b+1),11,1)
u>0
(h/u)
ho=0
b<2 ho=30
b>=2 ho=40
b>5 ho=50
b>7 ho=16
(5)-1:
b>7 R=
(3)-1
riots
fms(ar$(60),13,1)
fms(" "+rpl$+"!",14,1)
fms(ar$(ho+R*2),13,1)
fms(ar$(ho+R*2+1),14,1)
ar$(ho+R*2+1)=""
fms(" a "+PName$+" monument!",14,1)
front(200,300,1080,920,2)
window_open=0
mustclear=1
fms(f$,fl,fn)
stline$(fl)<>f$
f_yel
f_wht
stline$(fl)=f$
sfpB(f$,500,932-fl*43)
playerwon(player)
mus_load("ST2")
gload("en1")
mus_play(0,13)
fade(2,0,15)
6,112,1
6,113,1
fadeinstars
exfade(t$(679))
exfade(t$(680))
exfade(t$(681))
exfade(t$(682))
exfade("Emperor "+H$(player)+".")
6,112,2
picture("ST"+
(2)))
flagload(flag(player))
524,456:
756,608:
sget("flback")
gmerge("wd1")
schoose("well"):
plot(8,40,484)
schoose("done"):
plot(8,772,484)
A,B,C:I$=
C=0
I$=""
6,113,2
time_index=
flagstep(524,456)
-time_index<1
-time_index>=1
A,B,C
I$=
C>0
I$<>""
fade(2,0,15)
wait(50)
againornot
allplayersdead
adjust(3)
pixel(p$,x,y,pcl1,ptnt1,pcl2,ptnt2)
l,fuck,fnum,pia,pib
H$=p$
uppercase
p$=H$
l=1
pia=x+(l-1)*16+4
pia,y
p$,l,1)
FOR pix=0TO1
pix=1
IF pix=0 GCOL 0 TINT 0
fuck=1
IF pix>0 THEN
4
fuck=1
pcl1
ptnt1
pcl2
ptnt2
ENDIF
pia=x+(l-1)*16
IF pix=0 THEN pia+=4
pia,y
2
fuck=1
p$,l,1)
p$,l,1))+128)
fuck
NEXT pix
uppercase
H$,m,1))>96
H$,m,1))<123
H$,m,1)=
H$,m,1))-32)
markstar(sx,sy,c)
schoose("mk"+
plot(8,sx,sy)
newexplored
SIi(X,Y)<=players
playsoon(10)
(2)=1
fillarray("an1",20)
donotice(X,Y,t$(575))
cms(t$(573),5,1)
cms(t$(574),7,1)
a$=""
(2)+1
a$+=ar$(
(20))
(4)=1
a$+="-"
;
;!$
a$,1)="-"
(a$)-1)
H$=
a$,1):
uppercase
a$,1)=H$
(34)+a$+
(34),8,1)
fillarray("an2",20)
c$=ar$(
(20))
fillarray("an6",10)
d$=ar$(
(10))
;)8
cms("This is a "+c$+" "+d$+" creature that",10,1)
fillarray("an3",10)
c$=ar$(
(10))
fillarray("an7",5)
;-7
cms("lives "+c$+" and eats "+ar$(
(5))+".",11,1)
(5)*5
;//
cms(t$(576)+SIn$(X,Y)+" therefore",13,1)
;0.
cms("gets "+
(R)+" Mega Credits.",14,1)
;14 credits(SIi(X,Y))+=R:
SIi(X,Y)=1
credits+=R
getMKw
fillarray("an8",20)
cms(t$(577),5,1)
donotice(X,Y,t$(578))
cms(t$(579),7,1)
a$=""
(2)+1
a$+=ar$(
(20))
(4)=1
a$+="-"
;<
;=$
a$,1)="-"
(a$)-1)
H$=
a$,1):
uppercase
a$,1)=H$
(34)+a$+
(34),8,1)
fillarray("an5",10)
c$=ar$(
(10))
fillarray("an6",10)
d$=ar$(
(10))
;E2
cms("This is a "+c$+" plant with "+d$,10,1)
fillarray("an4",10)
;G7
cms("flowers. It lives in "+ar$(
(10))+".",11,1)
(4)*5
;I/
cms(t$(576)+SIn$(X,Y)+" therefore",13,1)
;J.
cms("gets "+
(R)+" Mega Credits.",14,1)
;K4 credits(SIi(X,Y))+=R:
SIi(X,Y)=1
credits+=R
getMKw
fillarray(a$,n)
animshow=0 A=
("Data."+a$)
A=0
("Data2."+a$)
ar$(b)=""
b$=
eorvalue)
;X+
b$<>
(13)
b$<>
(10)
ar$(b)+=b$
(13)
scientists(lord)
;_ ok=0
invent%(lord,a)=0 ok=1
ok=0
newexplored:
la,ab$,vb$
fillarray("se1",14)
;g R=14
;h ok=0
la=
invent%(lord,la)=0
ab$=ar$(la)
b$=
ab$,1)
c=
ab$,3,1))
d=
ab$,4,1))
e=
ab$,5,1))
ab$=
(ab$)-6)
ok=0
;s&
invent%(lord,c)=1
c=0 ok+=1
;t&
invent%(lord,d)=1
d=0 ok+=1
;u&
invent%(lord,e)=1
e=0 ok+=1
ok=3 ok=1
ok=0
"p": vb$="Physical"
"m": vb$="Mechanical"
"e": vb$="Electronical"
"i": vb$="Medical"
"w": vb$="Weapon"
la<=5
fillarray("sc"+
(la),13)
c(a)=
(ar$(a+6))
fillarray("se1",14)
& c$(1)=
ar$(c(1)),
(ar$(c(1)))-6)
c(a)>0 c$(a)=
ar$(c(a)),
(ar$(c(a)))-6)
c$(a)=""
SIi(X,Y)<=players
lord=SIi(X,Y)
playsoon(5)
fillarray("sc"+
(la),6)
fx=1:fxc=&fff00fff
noplanet=1
window_open=0
cms("",0,1)
window_open
gmerge("me7")
schoose("menu")
plot(0,208,232)
sdelete("menu")
cms(t$(580)+ab$,1,0)
SIi(X,Y)<=players
donotice(X,Y,t$(580)+ab$)
cms("("+vb$+" Research)",2,0)
fx=0
cms(ar$(n),n,0)
la<=5
cms(t$(581),8,0)
fx=1:fxc=&fff00fff
cms(c$(n),9+n,0)
fx=0
R=
(10)*10
cms(t$(576)+SIn$(X,Y)+" earns",8,0)
cms("therefore "+
(R)+" Mega Credits.",9,0)
5 credits(SIi(X,Y))+=R:
SIi(X,Y)=1
credits+=R
getMKw
invent%(lord,la)=1
noplanet=0
invent%(lord,la)=1
! credits(SIi(X,Y))+=
(10)*10
scimoney
lord=SIi(X,Y)
credits(1)=credits
(credits(lord))/50)*10
R<20 R=20
credits(lord)<R
cms(t$(582),5,1)
cms(t$(583)+SIn$(X,Y)+" demand",7,1)
(R)+t$(584),8,1)
cms(t$(585),9,1)
cms(t$(586),10,1)
askmasterb
accepted=1
credits(lord)-=R
credits=credits(1)
PROCcllt
window_open=0
askmaster(ax,ay,ld)
accepted=0
ld=1
gmerge("br1")
gmerge("br14")
schoose("export")
plot(0,ax,ay)
sdelete("export")
6,21,9
ok=0
A,B,C:
C<>0
B>ay
B<ay+40
A>ax+12
A<ax+254
button(ax,ay,ax+240,ay+48,1):accepted=1:ok=1
B>ay
B<ay+40
A>ax+258
A<ax+482
button(ax+248,ay,ax+468,ay+48,1):accepted=0:ok=1
epidemic(fact)
normalfont<10
fact<>2
H$=SIn$(X,Y)
fact=1 SIr(X,Y)+=2
SIr(X,Y)+=1
uppercase
playsoon(9)
fact=1
cms(t$(587)+H$,5,1):
donotice(X,Y,t$(589))
fact=2
cms(t$(588)+H$,5,1):
donotice(X,Y,t$(590))
cms(t$(591),7,1)
cms(t$(592),8,1)
% RN=
(15):
SIna(X,Y)<15
. SIna(X,Y)-=RN:
SIna(X,Y)<0
SIna(X,Y)=0
surf%(A,B)=2
RN>0
surf%(A,B)=10:RN-=1
RN=0 A=16:B=16
getMKw
cityepidemic
normalfont<10
closedown=
closedown>SIc(X,Y) closedown=SIc(X,Y)
SIc(X,Y)-=closedown
H$=SIn$(X,Y)
uppercase
playsoon(8)
cms(t$(593)+H$,5,1):
donotice(X,Y,t$(594))
( a$=t$(595):
closedown=1 a$=t$(596)
(closedown)+" "+a$+t$(597),7,1)
cms(t$(598)+a$+t$(599),8,1)
cms(t$(600),9,1)
surf%(A,B)=5
surf%(A,B)=20:closedown-=1
closedown=0
A=16:B=16
IF closedown>0 THEN PRINT"'ERROR':NOT ENOUGH CLOSED DOWN"'"MISSING: ";closedown
getMKw
armykilled
window_open=0
fx=0:fxc=0
(10):S=
(10):T=
R>SIk%(X,Y,1)
R=SIk%(X,Y,1)
S>SIk%(X,Y,2)
S=SIk%(X,Y,2)
T>SIk%(X,Y,3)
T=SIk%(X,Y,3)
R+S+T=0
noplanet=0:
SIi(X,Y)<=players
cms("",0,0)
cms(t$(601),5,0)
cms(t$(602)+SIn$(X,Y)+t$(603),7,0)
cms(t$(604),8,0)
SIi(X,Y)<=players
donotice(X,Y,t$(605))
SIk%(X,Y,1)-=R
SIk%(X,Y,2)-=S
SIk%(X,Y,3)-=T
IF SIi(X,Y)<=players mousewait=1
getMKw
window_open=0
noplanet=0
surfchange(see)
gc,blan
window_open=0
plan(X,Y)>6
H$=SIn$(X,Y):
uppercase
ws(plan(X,Y)):C$=A$
a=plan(X,Y)
R=1
1: b=2
2: b=6
3: b=5
4: b=2
5: b=4
6: b=1
1: b=2
2: b=3
3: b=5
4: b=5
5: b=3
6: b=4
blan=b
ws(blan):B$=A$
gc=plan(X,Y)
see
donotice(X,Y,t$(606))
cms(t$(607)+H$,5,1)
cms(t$(608),7,1)
cms(t$(609),8,1)
<I"
cms(C$+" into "+B$+".",9,1)
getMKw
plan(X,Y)=blan
blan
1:SIs(X,Y)=12
2:SIs(X,Y)=4
3:SIs(X,Y)=2
4:SIs(X,Y)=6
5:SIs(X,Y)=6
6:SIs(X,Y)=10
(SId(X,Y)/1000)
I<10 SIs(X,Y)-=1
I>12 SIs(X,Y)+=1
window_open=0
ws(k)
1:A$="forest"
2:A$="desert"
3:A$="volcano"
4:A$="rock"
5:A$="ice"
6:A$="terra-class"
7:A$="gas"
8:A$="techic"
frame(x1,y1,x2,y2,col)
fcol,ftint
x1,y1)=42
(x1,y1)=0
x2,y2)=42
(x2,y2)=0
x2-1,y2)=42
(x2-1,y2)=192
fcol=spotcol%(col)
ftint=spottint%(col)
col
x1,y1,x2-x1,y2-y1
col
x1,y1,x1,y2
x1,y2,x2,y2
col
x1,y1,x2,y1
x2,y1,x2,y2
col
x1,y1
x2,y2
fcol
ftint
x1,y2
col
x1+4<x2
x1+4,y2
x1+8<x2
x1+8,y2
y2-4>y1
x1,y2-4
y2-8>y1
x1,y2-8
button(x1,y1,x2,y2,wtt)
flg1,flg2
(x1,y1+8)<>192 flg1=
(x1,y1+8)
(x2,y1+8)<>192 flg2=
(x2,y1+8)
bp(0,192,1)
wtt
wait(8)
bp(192,0,0)
bp(a,b,push)
x1,y2,x2,y2
flg1>0
b=0
flg1
x1,y1,x1,y2
x1,y1,x2,y1
flg2>0
b=0
flg2
x2,y1,x2,y2
push=1
x1+8,y1+8,(x2-x1)-16,(y2-y1)-16
x1+12,y1+4
spotcol%(42)
spottint%(42)
x2,y1
x2-4>x1
x2-4,y1
x2-8>x1
x2-8,y1
y1+4<y2
x2,y1+4
y1+8<y2
x2,y1+8
x1+12,y1+4,(x2-x1)-16,(y2-y1)-16
x1+8,y1+8
spotcol%(42)
spottint%(42)
x1,y2
x1+4<x2
x1+4,y2
x1+8<x2
x1+8,y2
y2-4>y1
x1,y2-4
y2-8>y1
x1,y2-8
x1+4,y1+4,x2-4,y1+4
x1,y1
x2,y2
inframe(x1,y1,x2,y2,col)
if_slave(x1,y1,x2,y2,col)
usepattern>0
no_texture=0
24,x1+4;y1+4;x2-4;y2-4;
schoose("pattern")
plotx=1
((x2-x1)/344)+1
ploty=1
((y2-y1)/344)+1
plot(0,x1+(plotx-1)*344,y1+(ploty-1)*344)
if_slave(x1,y1,x2,y2,col)
fcol,ftint
fcol=spotcol%(col)
ftint=spottint%(col)
x1+4,y1+4,x2-x1-8,y2-y1-8
col
x1,y1,x1,y2
x1,y2,x2,y2
col
x1,y1,x2,y1
x2,y1,x2,y2
col
x1,y1
x2,y2
fcol
ftint
x2,y1
col
x2-4>x1
x2-4,y1
x2-8>x1
x2-8,y1
y1+4<y2
x2,y1+4
y1+8<y2
x2,y1+8
exoframe(ex1,ey1,ex2,ey2)
frame(ex1-16,ey1-16,ex2+16,ey2+16,42)
inframe(ex1-8,ey1-8,ex2+8,ey2+8,42)
b_start(a,b,c,d,e,f,station%,aliens%,rebels%,human,mines,moonof$,reason,generalAT,generalDF,hbat,stkx,stky,eplayer)
L a_army(1)=a:a_army(2)=b:a_army(3)=c:d_army(1)=d:d_army(2)=e:d_army(3)=f
ice,giveup,letwin,lord,justtalked
a+b+c=0
human=2
a+b+c=0 b_won=2:
d+e+f=0 d=1:d_army(1)=1 :
b_won=1:ENDPROC
b_ready
hbat
window_open=0
fght%=1
b_ground
pos%=0
cre%=1
b_paint
_DoMouse(2)
b_place
mus_fadeout
mus_quit
cre%=0
b_esetup
pos%=1
human=3-human
b_esetup
human=3-human
mus_fadeout
mus_quit
music>0
rmload(n)
*channelvoice 1 1
*channelvoice 2 1
b_correct
b_paint
player=human
b_rplay
b_checkdakeyz
b_maytalk
giveup=0
player=3-player
b_enemy
b_newround
b_won
b_actual
b_end
_DoMouse(1)
b_stare
fght%
hbat
gload("ts1")
gmerge("pt1")
mouse_on
fght%=0
0,0,1279,1023
b_maytalk
aat%,adf%
aliens%
lord=eplayer
rebels%
(40)=1
b_ecomm(4)
(40)=1
=.A
human=2
(hi%(lord)
(hi%(lord)
16)
b_ecomm(2)
=/'
human=1
credits(lord)>=100
x%=1
y%=1
g=bf%(x%,y%)
1:aat%+=bn%(x%,y%)
=5!
2:aat%+=bn%(x%,y%)*2
=6!
3:aat%+=bn%(x%,y%)*3
4:adf%+=bn%(x%,y%)
=8!
5:adf%+=bn%(x%,y%)*2
=9!
6:adf%+=bn%(x%,y%)*3
=:!
21:adf%+=bn%(x%,y%)*4
y%,x%
aat%*2>adf%*3
g=0
x%=1
y%=1
=A#
SIi(x%,y%)=lord
g+=1
y%,x%
g=1
b_ecomm(1)
=F
b_init
bf%(16,11),gr%(16,11),bs%(16,11),bn%(16,11),bd%(16,11)
ba$(25),stx(4),sty(4),pl%(4)
a_army(3),d_army(3),a_corr%(3),d_corr%(3)
b_gpr
c>500 pr=25
c<=500 pr=20
c<200 pr=15
c<100 pr=10
c<60 pr=8
c<30 pr=5
m=normalfont
m>=100 cn=12
m<100 cn=10
m<50 cn=8
m<20 cn=5
b_ready
grw,cok,sup
=e$ bf%()=0:gr%()=0:bs%()=0:bn%()=0
=fI I=1:a=0:b=0:killed=0:b_won=0:cre%=0:b_speed=0:xtr%=0:chn%=1:player=1
=g" ssh%=0:move%=0:pos%=0:fght%=1
hbat=0
b_calc:
mpart(16)
=k* acat%=(a_army(1)+a_army(2)+a_army(3))
=l* acdf%=(d_army(1)+d_army(2)+d_army(3))
human=1
=o-
credits(SIi(stkx,stky))>=3
(3)=1
lord=SIi(stkx,stky)
=q+ c=credits(lord):R=0:cn=0:pr=0:
b_gpr
S=
(R)+3:
S>R S=R
=t(
S*pr<=credits(lord)+6
(30)=1
=u" credits(lord)-=S*pr:mines=S
gmember(lord)=1
=x- d_army(1)+=5:d_army(2)+=5:d_army(3)+=5
actualmenu=1
I=1:
6,112,1
6,113,2
I=1:
6,112,2
6,113,1
actualmenu=2
picture("ms1")
6,113,2
6,112,1
picture("ms1")
6,113,1
wait(30)
300,440:
979,723:
sget("scr2")
frame(300,440,979,723,42)
human=2
inframe(308,448,971,715,42)
sfpB(t$(610),324,660)
i=
(acat%/10)*10:
i<5 i=5
sfpB(
(i)+t$(611),324,620)
sfpB(
(acdf%)+t$(612),324,540)
sfpB(t$(613),324,500)
getMK
m=normalfont
m>100 s=11
m<100 s=9
m<50 s=6
m<30 s=4
a$=H$(n)
(allied(n,plralley)
4)>0
existing(n)>0
sup1=0:sup2=0:sup3=0
1
(hi%(n)
16)=0
evillord(n)<>plralley
SIi(a,b)=n
?
SIk%(a,b,1)>s*2
(s-1):sup1+=d:SIk%(a,b,1)-=d
?
SIk%(a,b,2)>s*3
(s-1):sup2+=d:SIk%(a,b,2)-=d
?
SIk%(a,b,3)>s*4
(s-1):sup3+=d:SIk%(a,b,3)-=d
(3)>1
a=Sol:b=5
$
inframe(308,448,971,715,42)
sup1+sup2+sup3>0
sfpB(t$(614),324,660)
>
sfpB(
g(n)+" "+a$+t$(615)+
(sup1+sup2+sup3),324,620)
sfpB(t$(616),324,580)
acdf%+=sup1+sup2+sup3
8 d_army(1)+=sup1:d_army(2)+=sup2:d_army(3)+=sup3
,
sfpB(t$(617)+
g(n)+" "+a$,324,660)
sfpB(t$(618),324,620)
getMK
gmember(1)
inframe(308,448,971,715,42)
sfpB(t$(619),324,660)
sfpB(t$(620),324,620)
getMK
. d_army(1)+=5:d_army(2)+=5:d_army(3)+=10
* acat%=(a_army(1)+a_army(2)+a_army(3))
* acdf%=(d_army(1)+d_army(2)+d_army(3))
arm=2
b_speed=1
station%
acdf%+=24
acat%>200 size_AT=12
acat%<=200size_AT=8
acat%<=90 size_AT=5
acat%<=30 size_AT=3
acdf%>200 size_DF=12
acdf%<=200size_DF=8
acdf%<=90 size_DF=5
acdf%<=30 size_DF=3
credits>4
(3)=1
human=2
$ c=credits:R=0:cn=0:pr=0:
b_gpr
6,112,2
inframe(308,448,971,715,42)
sfp(t$(621),324,660)
(R)+t$(622),324,620)
(pr)+t$(623),324,580)
cn=R
ch=0
gmerge("br3")
schoose("export2")
plot(0,724,460)
sdelete("export2")
sfp("Buy:",324,500)
f_yel
572,500,60,30
(ch),572,500)
front(308,448,971,715,1)
A,B,C:
A,B,C
C>0
A>724
A<960
B>460
B<568
B<504
cok=1
A>832
*
ch<cn
ch*pr<=credits
ch+=1
ch>0 ch-=1
572,500,60,30
(ch),572,500)
A,B,C:
f_wht
ch>0
credits-=ch*pr:mines=ch
credits<0
credits=0
inframe(308,448,971,715,42)
sfpB(t$(624),324,660)
install(t$(625),324,580,1)
install(t$(626),324,540,2)
* flashnum=2:flashactual=0:flashstate=0
grw=0
b_getrow
j=grw
j=1
inframe(308,448,971,715,42)
sfpB(t$(627),324,660)
> !
install(t$(628),324,580,1)
install(t$(629),324,540,2)
flashnum=2:flashactual=0
grw=0
b_getrow
grw=2
human=1 s=size_AT
s=size_DF
ch=s
gmerge("br3")
inframe(308,448,971,715,42)
schoose("export2")
plot(0,724,460)
sdelete("export2")
sfp(t$(630)+
(s),324,660)
sfp(t$(631),324,580)
sfp("(Min: 2 Max: 20)",324,500)
f_yel
572,580,60,30
(ch),572,580)
A,B,C:
cok=0
A,B,C
> +
C>0
A>724
A<960
B>460
B<568
B<504
cok=1
A>832
ch<20 ch+=1
ch>2 ch-=1
>*!
572,580,60,30
(ch),572,580)
A,B,C:
>-
>/(
human=1 size_AT=ch
size_DF=ch
f_wht
>2"
inframe(308,448,971,715,42)
sfpB(t$(627),324,660)
>4!
install(t$(632),324,580,1)
>5!
install(t$(633),324,540,2)
flashnum=2:flashactual=0
grw=0
b_getrow
grw=1 pos%=0
pos%=1
fght%=0
schoose("scr2")
plot(0,300,440)
sdelete("scr2")
j=1
gload("gf4")
gmerge("pt1")
>D'
aliens%
gmerge("al"+
(2)))
>E
rebels%
gmerge("rf1")
>F c=0
a=SIm%(stkx,stky)
1:a=(a
3 )
2:a=(a
12 ) >>2
3:a=(a
48 ) >>4
4:a=(a
192) >>6
>O# bf%(0,n)=a:
bf%(0,n)>0 c+=1
>P
c>1
gmerge("gf"+
(bf%(0,R)))
bf%(0,R)=2 ice=1
>T1 bf%(0,1)=0:bf%(0,2)=0:bf%(0,3)=0:bf%(0,4)=0
fght%
a=a_army(n)
a_army(n)=a
size_AT
>[U
size_AT>0
a_army(n)+=1:a_corr%(n)=size_AT-(a
size_AT)
a_corr%(n)=0
a=d_army(n)
d_army(n)=a
size_DF
>^U
size_DF>0
d_army(n)+=1:d_corr%(n)=size_DF-(a
size_DF)
d_corr%(n)=0
>_
flashnum=0:flashactual=0
b_getrow
bbok%
bbok%=0
A,B,C:
grw=0
flash(1)
A,B,C
C>0
A>330
A<979
>o%
B<=616
B>=576 grw=1:bbok%=1
>p%
B<=576
B>=536 grw=2:bbok%=1
bbok%
b_paint
ofs%,sta%,stb%
6,112,2
>{%
schoose("part"+
(X-1)+
(Y-1))
plot(0,X*80-80,Y*80-80)
>}g
gr%(X,Y)>0
(human=2
(human=1
gr%(X,Y)<>19))
schoose(
(gr%(X,Y))):
plot(8,X*80-80,Y*80-80)
>~
bf%(X,Y)<>0
schoose(
(bf%(X,Y)))
plot(8,X*80-80,Y*80-80)
frame(0,884,1279,1023,42)
cre%=0
inframe(20,896,332,1003,42)
sfpB("The battle",32,966)
sfpB("of "+moonof$,32,927)
inframe(348,900,440,996,42)
inframe(462,896,880,1000,42)
schoose("hmenu1")
plot(0,900,952)
schoose("hmenu5")
plot(0,900,896)
schoose("hmenu2")
plot(0,1100,952)
schoose("hmenu4")
plot(0,1100,896)
human=1
sta%=8:stb%=16
sta%=1:stb%=8
schoose("shade")
X=sta%
stb%
plot(8,X*80-80,Y*80-80)
human=1
ofs%=0
ofs%=3
inframe(n*192+12,908,n*192+104,1000,42)
inframe(n*192+117,921,n*192+186,966,42)
schoose("part00")
plot(0,(n-1)*192+20,916)
schoose(
(n+ofs%))
plot(8,(n-1)*192+20,916)
inframe(820,908,1260,1000,42)
schoose("part00")
plot(0,3*192+20,916)
human=1
schoose("25")
schoose("19")
plot(8,3*192+20,916)
human=2 a=d_army(1):b=d_army(2):c=d_army(3)
human=1 a=a_army(1):b=a_army(2):c=a_army(3)
ssh%=1
b_show(4,2,a):
b_show(10,2,b):
b_show(16,2,c)
human=1
b_show(22,2,3)
b_show(22,2,mines)
ssh%=0
0,0:
1279,1023:
sget("screen")
schoose("screen")
6,112,1
plot(0,0,0)
b_ground
FOR a=1TO20:gr%(RND(16),RND(11))=-1:NEXT
FOR a=1TO10:gr%(RND(16),RND(11))=-2:NEXT
FOR a=1TO10:gr%(RND(16),RND(11))=-3:NEXT
FOR a=1TO20:gr%(RND(16),RND(11))=-4:NEXT
FOR a=1TO20:gr%(RND(16),RND(11))=-5:NEXT
****** station *********
station%=1
bf%(14,5)=21:bn%(14,5)=6
bf%(14,6)=21:bn%(14,6)=6
bf%(14,7)=21:bn%(14,7)=6
bf%(15,6)=20:bn%(15,6)=10
bf%(13,6)=21:bn%(13,6)=6
A=1
(10):gr%(
(16),
(11))=
(2)+29:
b_info
ba$(0)="Ground"
ba$(1)="Infantry"
ba$(2)="Gliders"
ba$(3)="Artillery"
ba$(20)="Base, Control"
ba$(21)="Base, Gun"
ba$(25)="Rescue Beam"
ba$(19)="Mine"
ba$(X+3)=ba$(X)
eb=bf%(a,b)
342,896:
896,1014:
sget("screen")
schoose("screen")
6,112,2
plot(0,342,896)
eb<4
f_grn
f_blu
inframe(348,900,440,996,42)
inframe(462,896,880,1000,42)
sfpB(ba$(eb),480,966)
f_wht
eb>0
schoose("part00")
plot(0,356,912)
plot(0,356,908)
schoose(
(eb))
plot(8,356,908)
15,0)
gr%(a,b)>0
gr%(a,b)<>19
(eb=1
eb=4)
schoose("cover"):
plot(8,480,904)
(eb>0
eb<4
human=1)
(((eb>3
eb<7)
(eb=20
eb=21))
human=2)
schoose("sbr")
bn%(a,b):
plot(0,460+X*20,932):
342,896:
896,1014:
sget("screen")
6,112,1
schoose("screen")
plot(0,342,896)
b_fire
fx,fy,fired,retta,rettb,range,x1,y1,x2,y2,notshoot,rx1,ry1,rx2,ry2,pok
((eb<1
eb>3)
player=1)
((eb<4
eb>6)
eb<>21
player=2)
bs%(a,b)=3
retta=a:rettb=b
eb=1
eb=4
range=3
eb=2
eb=5
range=4
eb=3
eb=6
range=7
(eb=3
eb=6)
xtr%=1
range=16
eb=21
range=16
x1=a-range
y1=b-range
player=1
eb=3 x1=a
x2=x1+range*2
y2=y1+range*2
player=1
eb=3 x2=x1+range
player=2
eb=6 x2=a
x1<1
x1=1
y1<1
y1=1
x2>16
x2=16
y2>11
y2=11
pok=0
sx = x1
sy = y1
ab=bf%(sx,sy)
?"d
(((ab<1
ab>3)
player=1)
((ab<4
ab>6)
ab<>21
ab<>20
player=2))
ab<>0
pok=1
pok=0
bs%(a,b)=bs%(a,b)
w=5:
arm>=3 w=8
b_ps(
(eb),a,b)
wait(w)
?-!
ice
b_box
wait(w)
x1=a*80-40-range*80
y1=b*80-40-range*80
player=1
eb=3 x1=a*80-40
x2=x1+range*80*2
y2=y1+range*80*2
player=1
eb=3 x2=x1+range*80
player=2
eb=6 x2=a*80-40
x1<0
x1=0
y1<0
y1=0
x2>1271
x2=1271
y2>876
y2=876
?=& rx1=x1:ry1=y1:rx2=x2-x1:ry2=y2-y1
rx1,ry1,rx2,ry2
oa=1:ob=1
oa,ob
oa+80,ob+80
sget("hspr")
a,b,c
((a+80)/80)
((b+80)/80)
?H
(a<>oa
b<>ob)
b<12
schoose("hspr")
?J!
plot(0,oa*80-80,ob*80-80)
a*80-80,b*80-80
a*80,b*80
sget("hspr")
oa=a:ob=b
?O
ice
b_box
b_info
I$=
?T,
I$="i"
I$="I"
b_but(1):
b_stat:c=0
?U,
I$="f"
I$="F"
b_but(2):
b_spsl:c=0
?Vn
I$="t"
I$="T"
b_but(3):
0,0,1271,1023:
b_talk:c=0:
rx1,ry1,rx2,ry2:
giveup
b_checkdead:
?WR
I$="q"
I$="Q"
b_but(4):
querybattle:
accepted
giveup=1:
b_checkdead:
?X,
c=4
(a<>retta
b<>rettb)
b_shoot
?Y2
c=4
a=retta
b=rettb notshoot=1:fired=1
rx1,ry1,rx2,ry2
b_won
fired
a=retta:b=rettb
oa=a:ob=b
sdelete("hspr")
b_ps(
(bf%(a,b)),a,b)
a*80-80,b*80-80:
a*80,b*80
sget("hspr")
a*80-60,b*80-60
notshoot=0 bs%(a,b)=bs%(a,b)
b_info
A,B,C:
0,0,1271,1023
b_shoot
hit,power,offset,ra,rb,rn$,w,alienhit
bf%(a,b)=0
rett=bf%(a,b)
player=human
?q0
human=1
(rett=1
rett=2
rett=3)
?rD
human=2
(rett=4
rett=5
rett=6
rett=20
rett=21)
bf%(retta,rettb)>3
offset=16
offset=0
b_ps(
(bf%(a,b)),a,b)
b_ps(
(bf%(retta,rettb)),retta,rettb)
retta*80-80-offset,rettb*80-80
retta*80+16-offset,rettb*80
sget("shspr")
********* auf Screen2 feuernde Kanone erstellen *********
?}B
bf%(retta,rettb)<>21 rn$=
(bf%(retta,rettb)+12)
rn$="24"
ra=retta:rb=rettb
6,112,2
schoose("shspr"):
hspr
plot(0,ra*80-80-offset,rb*80-80)
schoose("part"+
(ra-1)+
(rb-1)):
plot(0,ra*80-80,rb*80-80)
g=gr%(ra,rb)
g>0
(human=2
(human=1
g<>19))
schoose(
(gr%(ra,rb))):
plot(8,ra*80-80,rb*80-80)
ra>1
schoose("part"+
(ra-2)+
(rb-1)):
plot(0,(ra-1)*80-80,rb*80-80)
g=gr%(ra-1,rb)
g>0
(human=2
(human=1
g<>19))
schoose(
(gr%(ra-1,rb))):
plot(8,(ra-1)*80-80,rb*80-80)
bf%(ra-1,rb)>0
schoose(
(bf%(ra-1,rb))):
plot(8,(ra-1)*80-80,rb*80-80)
ra<16
schoose("part"+
(ra)+
(rb-1)):
plot(0,(ra+1)*80-80,rb*80-80)
g=gr%(ra+1,rb)
g>0
(human=2
(human=1
g<>19))
schoose(
(gr%(ra+1,rb))):
plot(8,(ra+1)*80-80,rb*80-80)
bf%(ra+1,rb)>0
schoose(
(bf%(ra+1,rb))):
plot(8,(ra+1)*80-80,rb*80-80)
schoose(rn$):
plot(8,ra*80-80-offset,rb*80-80)
ra*80-80-offset,rb*80-80
ra*80+16-offset,rb*80-4
sget("over")
6,112,1
**********
arm>3 wt=2
wt=1
bn%(retta,rettb)
f=bf%(retta,rettb)
f=3
f=21 w=8:
b_sound(3)
w=5:
b_sound(1)
bn%(retta,rettb)>8
b_speed=1 w=1
schoose("over")
plot(0,ra*80-80-offset,rb*80-80)
wait(w+wt)
schoose("shspr")
plot(0,ra*80-80-offset,rb*80-80)
bn%(retta,rettb)>8
b_speed=1
wait(1+wt)
wait(5)
hit=0:alienhit=0
r=bf%(retta,rettb)
r=1
r=4 power=1
r=2
r=5 power=2
r=3
r=6 power=3
r=21 power=4
human<>player
power+=1
rebels%=1
human<>player
power=1
gr%(a,b)>0
gr%(a,b)<19
(bf%(a,b)=1
bf%(a,b)=4)
power-=3
player=1
power+=generalAT-2
power+=generalDF-2
power>4 power=4
power<0 power=0
aliens%=1
human<>player
gr%(a,b)>0
gr%(a,b)<19
(bf%(a,b)=1
bf%(a,b)=4)
power=1:alienhit=0
alienhit=1
sh=1
bn%(retta,rettb)
(6-power)=1
alienhit=1
b_speed=1
bn%(a,b)-=1
b_kill(a,b):
b_info
hit=1
bn%(a,b)=0
sh=bn%(retta,rettb)
b_speed=1
hit=1
bn%(a,b)+=1:
b_kill(a,b):
b_info
hit=0
b_ps(
(bf%(a,b)),a,b)
hit>0
gr%(a,b)=22
rett=21
SIb(stkx,stky)=0
gr%(14,5)=19:
b_kill(14,5)
gr%(14,7)=19:
b_kill(14,7)
gr%(14,6)=19:
b_kill(14,6)
gr%(13,6)=19:
b_kill(13,6)
fired=1
sdelete("shspr")
b_box
al=a*80:bl=b*80
al-80+4,bl-80,al-80+4,bl-80+16
al-80+4,bl-80,al-80+20,bl-80
al-80+4,bl-8 ,al-80+20,bl-8
al-80+4,bl-24,al-80+4,bl-8
al-8,bl-80,al-8,bl-80+16
al-8,bl-80,al-24,bl-80
al-8,bl-8,al-24,bl-8
al-8,bl-8,al-8,bl-24
b_kill(kx,ky)
bf%(kx,ky)=0
gr%(kx,ky)<>19
1279,1023:
sget("screen")
schoose("screen")
plot(0,0,0)
swapscreen
b_sound(2)
kx*80-160,ky*80-160
kx*80+80,ky*80+80
sget("over")
schoose("over")
plot(0,kx*80-160,ky*80-160)
schoose("xp"+
plot(8,kx*80-80,ky*80-80)
swapscreen
wait(1):
arm>=3
wait(2)
schoose("over")
plot(0,kx*80-160,ky*80-160)
swapscreen
6,112,1
gr%(kx,ky)=19
rett=2
rett=5
rett=2 a$="26"
a$="27"
b_ps(a$,kx,ky)
wait(5)
rett<>20
rett<>21 gr%(kx,ky)=rett+6
gr%(kx,ky)=rett+2
bf%(kx,ky)=0
bs%(kx,ky)=0
schoose("part"+
(kx-1)+
(ky-1))
plot(0,kx*80-80,ky*80-80)
human=2
(human=1
gr%(kx,ky)<>19)
schoose(
(gr%(kx,ky)))
plot(8,kx*80-80,ky*80-80)
b_checkdead
bn%(kx,ky)-=1
bn%(kx,ky)=0
rett=2
rett=5
"
rett=2 a$="26"
a$="27"
b_ps(a$,kx,ky)
wait(5)
rett<>20
rett<>21 gr%(kx,ky)=rett+6
gr%(kx,ky)=rett+2
bf%(kx,ky)=0
bs%(kx,ky)=0
schoose("part"+
(kx-1)+
(ky-1))
plot(0,kx*80-80,ky*80-80)
human=2
(human=1
gr%(kx,ky)<>19)
schoose(
(gr%(kx,ky)))
plot(8,kx*80-80,ky*80-80)
b_checkdead
@ !
b_ps(
(bf%(kx,ky)),kx,ky)
b_newround
b_loadship
wait(20)
schoose("beam"+
plot(8,x*80-80,y*80-80)
wait(5)
b_ps("beam3",x,y)
b_ps("beam"+
(n),x,y)
wait(5)
b_ps("25",x,y)
wait(20)
eb=rett
eb=1
eb=4
ld=1
eb=2
eb=5
ld=2
eb=3
eb=6
ld=3
human=1 ship(ld)+=rettn
bf%(x,y)=0
b_enemy
ex,ey,fb,retta,rettb,cx1,cy1,cx2,cy2,fired,rng,rettf,retts,rettn,killed,dir,moved,s_end,move,mv0,efnd,cna,cnb,killbase
x,y,c:
@B7
x>=900
x<1072
y>=952
y<1004
b_but(1):
b_stat
@C6
x>=900
x<1072
y>=896
y<944
b_but(2):
b_spsl
I$="i"
I$="I"
b_but(1):
b_stat
I$="f"
I$="F"
b_but(2):
b_spsl
cna=1:cnb=1
na=1
nb=1
eb=bf%(na,nb)
eb>0
bs%(na,nb)=0
eb<4 cna=0
@O'
((eb>3
eb<7)
eb=21) cnb=0
(cna=1
player=1)
(cnb=1
player=2)
eb=bf%(a,b)
@YY
((player=2
((eb>3
eb<7)
eb=21))
(player=1
eb>0
eb<4))
bs%(a,b)=0
move%+=1
bs%(a,b)=3
b_info
enfd=1
rtta=a:rttb=b:rett=eb
@_#
player=2
eb<>21
eb-=3
eb<3
s_end=0:killed=0
ok=0
@c6
a<16
bf%(a+1,b)=0
gr%(a+1,b)<>25 ok=1
@d6
a>1
bf%(a-1,b)=0
gr%(a-1,b)<>25 ok=1
@e6
b<11
bf%(a,b+1)=0
gr%(a,b+1)<>25 ok=1
@f6
b>1
bf%(a,b-1)=0
gr%(a,b-1)<>25 ok=1
@h)
player=1 ta=4:tb=5:tc=6:td=21
@i)
player=2 ta=1:tb=2:tc=3:td=99
@j$
eb=1
steps=3
steps=4
mv0=0
@m%
player=1
dir=1
dir=2
mup=0:mdn=0
y1=0:y2=0
@p-
(dir=1
a<16)
(dir=2
a>1)
ok=0
@r9
dir=1
bf%(a+1,b)>0
gr%(a+1,b)=25 ok=1
@s9
dir=2
bf%(a-1,b)>0
gr%(a-1,b)=25 ok=1
player=2
eb=2
@u+
dir=1
gr%(a+1,b)=19 ok=1
@v+
dir=2
gr%(a-1,b)=19 ok=1
b>1
y1=bf%(a,b-1)
@{"
gr%(a,b-1)=25 y1=1
@|4
gr%(a,b-1)=19
player=2
eb=2 y1=1
y1=1
b<11
y2=bf%(a,b+1)
"
gr%(a,b+1)=25 y2=1
4
gr%(a,b+1)=19
player=2
eb=2 y2=1
y2=1
y2>0
y1>0
s_end=1
#
y2=0
y1>0
mup=1
#
y2>0
y1=0
mdn=1
y2=0
y1=0
) R=
R=1 mdn=1
mup=1
s_end=0
move=1
A
**** wenn jemand hinter ihm: nicht bewegen ********
E
**** Bei Bildschirmende: Ist jmd. auf seiner Spalte? **
yy=1
dir=1
1
a>1
f=bf%(a-1,yy)
f=bf%(a,yy)
2
a<16
f=bf%(a+1,yy)
f=bf%(a,yy)
%
a=1
a=16 f=bf%(a,yy)
/
f=ta
f=tb
f=tc
f=td move=0
A
*** ist VOR oder HINTER dem Spieler noch jemand? **
move
dir=1
a>1
c=0
xx=a
yy=1
f=bf%(xx,yy)
0
f=ta
f=tb
f=tc
f=td c=1
"
c=1 dir=1
dir=2
a<16
c=0
xx=a
yy=1
f=bf%(xx,yy)
0
f=ta
f=tb
f=tc
f=td c=1
"
c=1 dir=2
dir=1
B
** WENN jemand direkt hinter ihm: oben od. unten? **
move=0
yy=1
dir=1
3
a<16
f=bf%(a-1,yy)
f=bf%(a,yy)
2
a>1
f=bf%(a+1,yy)
f=bf%(a,yy)
+
f=ta
f=tb
f=tc
f=td
yy>b
mup=0
b<11
8
bf%(a,b+1)=0
gr%(a,b+1)<>25
mup=1
1
player=2
gr%(a,b+1)=19 mup=0
yy<b
mdn=0
b>1
8
bf%(a,b-1)=0
gr%(a,b-1)<>25
mdn=1
1
player=2
gr%(a,b-1)=19 mdn=0
#
mup=1
mdn=1 move=1
'
*** Stand auf Schrott ***
B
gr%(a,b)>0
(2)=1
(eb=1
eb=4)
move=0:s_end=1
B
******** letzte Sicherheitsabfrage *****************
move
K
dir=1
a<16
bf%(a+1,b)>0
mup=0
mdn=0 s_end=1:move=0
K
dir=2
a>1
bf%(a-1,b)>0
mup=0
mdn=0 s_end=1:move=0
:
dir=1
a=16
mup=0
mdn=0 s_end=1:move=0
:
dir=2
a=1
mup=0
mdn=0 s_end=1:move=0
,
b=11
mup>0
s_end=0:move=0
+
b=1
mdn>0
s_end=0:move=0
M
move
mdn
(bf%(a,b-1)>0
bf%(a,b-1)=25)
s_end=0:move=0
M
move
mup
(bf%(a,b+1)>0
bf%(a,b+1)=25)
s_end=0:move=0
move
mv0=1
2
killed=0
(eb=2
eb=5)
b_sound(4)
7
killed=0
(eb=1
eb=4)
b_sound(
(3)+4)
C
dir=1
mup=0
mdn=0
b_go(a,b,a+1,b):steps-=1:a+=1
C
dir=2
mup=0
mdn=0
b_go(a,b,a-1,b):steps-=1:a-=1
;
mup=1
mdn=0
b_go(a,b,a,b+1):steps-=1:b+=1
1
mdn
b_go(a,b,a,b-1):steps-=1:b-=1
killed
s_end=1
s_end=1
#
steps=0
s_end
mv0=0
killbase=0
0
bf%(15,6)=20
bn%(15,6)>0
human=2
aat%=0:adf%=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
geb
$
1:aat%+=bn%(stx%,sty%)
&
2:aat%+=bn%(stx%,sty%)*2
&
3:aat%+=bn%(stx%,sty%)*3
$
4:adf%+=bn%(stx%,sty%)
&
5:adf%+=bn%(stx%,sty%)*2
&
6:adf%+=bn%(stx%,sty%)*3
&
21:adf%+=bn%(stx%,sty%)*4
sty%,stx%
%
aat%*1.7<adf%
killbase=1
- eb=bf%(a,b):
player=2
eb<>21 eb-=3
killed=0
eb=1 rng=3
eb=2 rng=4
eb=3 rng=7
eb=3
xtr%=1 rng=16
eb=21 rng=16
" cx1=a-rng:
cx1<1
cx1=1
!
player=1
eb=3
cx1=a
# cx2=a+rng:
cx2>16
cx2=16
!
player=2
eb=3
cx2=a
" cy1=b-rng:
cy1<1
cy1=1
# cy2=b+rng:
cy2>11
cy2=11
stp=1
D
player=2
R=cx1:cx1=cx2:cx2=R:R=cy1:cy1=cy2:cy2=R:stp=-1
fired=0
=
killbase=1
cx1<=15
cx2>=15
cy1<=6
cy2>=6
" retta=a:rettb=b:a=15:b=6
b_shoot:fired=1
a=retta:b=rettb
S
human=2
(bf%(14,5)=21
bf%(14,6)=21
bf%(14,7)=21
bf%(13,6)=21)
ex=cx1
cx2
ey=cy1
cy2
fb=bf%(ex,ey)
fb=21
A"' retta=a:rettb=b:a=ex:b=ey
b_shoot:fired=1
a=retta:b=rettb
A&$
fired
ex=cx2:ey=cy2
fired=0
ex=cx1
cx2
A-
ey=cy1
cy2
fb=bf%(ex,ey)
A/R
((player=1
((fb>3
fb<7)
fb=21))
(player=2
fb>0
fb<4))
A0' retta=a:rettb=b:a=ex:b=ey
b_shoot:fired=1
a=retta:b=rettb
A4$
fired
ex=cx2:ey=cy2
A;&
fired
bs%(a,b)=bs%(a,b)
A<
a=rtta:b=rttb
enfd=0
b_won
a=16:b=11
enfd
b_won
b_hitmine
ht=1
ht>1
wait(5)
b_sound(8)
b_go(mx1,my1,mx2,my2)
rettf=bf%(mx1,my1)
retts=bs%(mx1,my1)
rettn=bn%(mx1,my1)
bf%(mx1,my1)=0
bs%(mx1,my1)=0
bn%(mx1,my1)=0
b_glide(
(rettf),mx1,my1,mx2,my2)
mx1=mx2:my1=my2
gr%(mx1,my1)=19
(eb=2
eb=5)
b_hitmine:
b_kill(mx1,my1):killed=1
gr%(mx1,my1)=19
aliens%=1
b_hitmine:
b_kill(mx1,my1):killed=1
killed=0
bf%(mx1,my1)=rettf
bs%(mx1,my1)=retts
bn%(mx1,my1)=rettn
b_ps(sn$,spa,spb)
spa*80-80,spb*80-80
spa*80,spb*80
sget("over")
6,112,2
schoose("over")
plot(0,spa*80-80,spb*80-80)
"0"
g=gr%(spa,spb)
schoose("part"+
(spa-1)+
(spb-1)):
plot(0,spa*80-80,spb*80-80)
g>0
(g<>19
(g=19
human=2))
schoose(
(gr%(spa,spb))):
plot(8,spa*80-80,spb*80-80)
schoose(sn$):
plot(8,spa*80-80,spb*80-80)
spa*80-80,spb*80-80
spa*80,spb*80
sget("over")
6,112,1
schoose("over")
plot(0,spa*80-80,spb*80-80)
b_newround
newa,newb,na,nb
newa=1:newb=1
na=1
nb=1
eb=bf%(na,nb)
eb>0
bs%(na,nb)=0
eb<4 newa=0
(
((eb>3
eb<7)
eb=21) newb=0
newa
newb
bs%()=0
b_checkdead
b_won>0
ok1,ok2,cr1,cr2,cr3
eb=bf%(X,Y)
eb>0
eb<4
ok1=1
(eb>3
eb<7)
(eb=21) ok2=1
ok1=1
ok2=1
cr1=0:cr2=0
eb=bf%(X,Y)
eb=3 cr1=1
eb=6 cr2=1
3
eb=1
eb=2
eb=4
eb=5
eb=21
cr3=1
cr1=1
cr2=1
cr3=0
xtr%=0
cr1=0:cr2=0
cr1=1
eb=bf%(X,Y)
0
eb<>0
eb<>3
eb<>6
eb<>20
cr1=0
cr1=1
xtr%=1
giveup
human=1
ok1=0
ok2=0
VDU30:PRINT cr1,cr2,cr3
ok1=1
ok2=1
ok2=0 b_won=1
ok1=0 b_won=2
b_place
oa,ob,select%,pok%
human=1
pl%(1)=a_army(1)
pl%(2)=a_army(2)
pl%(3)=a_army(3)
pl%(4)=3
pl%(1)=d_army(1)
pl%(2)=d_army(2)
pl%(3)=d_army(3)
pl%(4)=mines
" select%=1:
human=2 select%=4
b_cinfo
oa=1:ob=1
oa,ob
oa+80,ob+80
sget("hspr")
a,b,c
@
a>=(n-1)*192+20
b>=916
a<=(n-1)*192+100
b<=996
*
human=1 select%=n
select%=n+3
b_cinfo
-
a>=596
b>=916
a<=676
b<=996
*
human=1 select%=25
select%=19
b_cinfo
((a+80)/80)
((b+80)/80)
(a<>oa
b<>ob)
b<12
schoose("hspr")
plot(0,oa*80-80,ob*80-80)
a*80-80,b*80-80
a*80,b*80
sget("hspr")
oa=a:ob=b
196:pok%=1
(human=1
a>7)
(human=2
a<9)
196:pok%=0
b<12
bf%(a,b)>0
196:pok%=0
b_box
c>0
b<12
pok%=1
select%<19
human=1
n=pl%(select%)
n=pl%(select%-3)
bf%(a,b)=0
gr%(a,b)<1
n>0
'
human=1 s=size_AT
s=size_DF
select%<19
$ bf%(a,b)=select%:bn%(a,b)=s
b_red(select%)
b_ps(
(select%),a,b)
sdelete("hspr")
2
a*80-80,b*80-80:
a*80,b*80:
sget("hspr")
b_box
a,b,c:
c>0
b<12
pok%=1
select%>=19
bf%(a,b)=0
gr%(a,b)<1
pl%(4)>0
gr%(a,b)=select%
pl%(4)-=1
b_show(22,2,pl%(4))
&
schoose("part"+
(a-1)+
(b-1))
plot(0,a*80-80,b*80-80)
schoose(
(select%))
plot(8,a*80-80,b*80-80)
sdelete("hspr")
2
a*80-80,b*80-80:
a*80,b*80:
sget("hspr")
b_box
a,b,c:
c>0
b<12
((human=1
a<9)
(human=2
a>8))
bf%(a,b)>0
bf%(a,b)<20
bf%(a,b)<19
b_add(bf%(a,b))
bf%(a,b)=0:bn%(a,b)=0
L
gr%(a,b)>0
schoose("part"+
(a-1)+
(b-1)):
plot(0,a*80-80,b*80-80)
?
schoose("part"+
(a-1)+
(b-1)):
plot(8,a*80-80,b*80-80)
sdelete("hspr")
2
a*80-80,b*80-80:
a*80,b*80:
sget("hspr")
b_box
A,B,C:
pl%(1)+pl%(2)+pl%(3)+pl%(4)=0
wait(10)
b_btext
b_show(wx,wy,wn)
ssh%=0
6,112,2
wx=wx*32
wy=1023-((wy+1)*32)+4
wx-4,wy,56,32
sfpB(
(wn),wx,wy)
wx-4,wy:
wx+56,wy+32
ssh%=0
sget("screen")
6,112,1
schoose("screen")
plot(0,wx-4,wy)
b_spsl
b_speed=0
schoose("hmenu3")
b_speed=1
schoose("hmenu5")
b_speed=0
plot(0,900,896)
A,B,C:
b_cinfo
6,112,2
schoose("part00")
plot(0,828,918)
schoose(
(select%))
plot(8,828,918)
select%
1: a$="Infantry"
2: a$="Gliders"
3: a$="Artillery"
4: a$="Infantry"
5: a$="Gliders"
6: a$="Artillery"
19: a$="AntiGrav Mine"
25: a$="Rescue Beam"
928,920-4,320,72+4
f_yel
sfpB(a$,928,964)
f_wht
select%=n x=a_army(n)
select%=n x=d_army(n-3)
human=1 size=size_AT
size=size_DF
select%<19 a$="(max "+
(size)+"/group)"
a$="NO REMOVE"
sfpB(a$,928,924)
826,914:
1270,1023:
sget("screen")
6,112,1
schoose("screen")
plot(0,826,914)
a,b,c:
b_red(red%)
human=1 x=0
pl%(red%-x)-=1
Bb+
b_show(4+(red%-x-1)*6,2,pl%(red%-x))
b_add(add%)
human=1 x=0
pl%(add%-x)+=1
Bh+
b_show(4+(add%-x-1)*6,2,pl%(add%-x))
b_rplay
r_ok%,cna,cnb
cna=1:cnb=1
na=1
nb=1
eb=bf%(na,nb)
eb>0
bs%(na,nb)=0
eb<4 cna=0
Bu'
((eb>3
eb<7)
eb=21) cnb=0
(cna=1
human=1)
(cnb=1
human=2)
(16):b=
eb=bf%(a,b)
B~=
(player=1
eb<4)
(player=2
(eb>3
eb<7
eb=21))
bs%(a,b)=0
r_ok%=1:move%+=1
b_info
<
eb<>3
eb<>6
eb<>21
a*80-40,b*80-40:
b_walk
giveup=0
bf%(a,b)<>0
b_fire
r_ok%>0
giveup>0
b_but(but)
but
button(900,952,1068,1000,1)
button(900,896,1068,944,1)
button(1100,952,1268,1000,1)
button(1100,896,1268,944,1)
b_paintarr
a*80-160,b*80-160:
a*80+80,b*80+80:
sget("underarrow")
schoose("ma1"):
plot(8,a*80-60,(b+1)*80-60)
schoose("ma4"):
plot(8,(a+1)*80-60,b*80-60)
schoose("ma3"):
plot(8,(a-1)*80-60,b*80-60)
schoose("ma2"):
plot(8,a*80-60,(b-1)*80-60)
b_checkdakeyz
I$="i"
I$="I"
b_but(1):
b_stat
I$="f"
I$="F"
b_but(2):
b_spsl
I$="t"
I$="T"
b_but(3):
b_talk:
giveup
b_checkdead
I$="q"
I$="Q"
b_but(4):
querybattle:
accepted
giveup=1:
b_checkdead
b_walk
m1,m2,m3,m4,rett,rettn,st,killed,steps
eb=2
eb=5 st=4
st=3
steps=0
m1=0:m2=0:m3=0:m4=0
b<11
bf%(a,b+1)=0:m1=1
b>1
bf%(a,b-1)=0:m2=1
a>1
bf%(a-1,b)=0:m3=1
a<16
bf%(a+1,b)=0:m4=1
m1+m2+m3+m4=0
b_paintarr
x,y,c
I$=
I$="i"
I$="I"
b_but(1):
b_stat:c=0
I$="f"
I$="F"
b_but(2):
b_spsl
I$="t"
I$="T"
b_but(3):
b_talk:c=0:
giveup
b_checkdead:
I$="q"
I$="Q"
b_but(4):
querybattle:
accepted
giveup=1:
b_checkdead:
IF I$="x" ORI$="X" PROCb_ecomm(1):REM TEST!!!!!!!
c>0
x>900
x<1072
y>=952
y<1004
b_but(1):
b_stat:c=0
x>900
x<1072
y>=896
y<948
b_but(2):
b_spsl:c=0
x>1100
x<1272
y>=952
y<1004
b_but(3):
b_talk:c=0:
giveup
b_checkdead:
x>1100
x<1272
y>=896
y<948
b_but(4):
querybattle:
accepted
giveup=1:
b_checkdead:
c>0
b_won=0
x=
((x+80)/80)
y=
((y+80)/80)
ok=0
x=a
y=b+1
m1=1
ok=1
x=a
y=b-1
m2=1
ok=1
x=a+1
y=b
m4=1
ok=1
x=a-1
y=b
m3=1
ok=1
steps+=1
!
IF b<11 PROCb_gr(a,b+1)
!
IF a<16 PROCb_gr(a+1,b)
!
IF b>1 PROCb_gr(a,b-1)
!
IF a>1 PROCb_gr(a-1,b)
schoose("underarrow")
"
plot(0,a*80-160,b*80-160)
sdelete("underarrow")
!
eb=2
eb=5
b_sound(4)
&
eb=1
eb=4
b_sound(
(3)+4)
$ rett=bf%(a,b):rettn=bn%(a,b)
( bf%(a,b)=0:bs%(a,b)=0:bn%(a,b)=0
b_glide(
(eb),a,b,x,y)
F
gr%(x,y)=19
(eb=2
eb=5)
b_hitmine:
b_kill(x,y):killed=1
*
gr%(x,y)=25
b_loadship:killed=1
a=x:b=y
/
killed=0 bf%(a,b)=rett:bn%(a,b)=rettn
killed=0
steps<st
m1=0:m2=0:m3=0:m4=0
%
b<11
bf%(a,b+1)=0:m1=1
%
b>1
bf%(a,b-1)=0:m2=1
%
a>1
bf%(a-1,b)=0:m3=1
%
a<16
bf%(a+1,b)=0:m4=1
b_paintarr
(x=a
y=b)
schoose("ma5")
!
plot(8,a*80-60,b*80-60)
wait(10)
b_ps(
(eb),a,b)
steps=st
"
IF b<11 PROCb_gr(a,b+1)
"
IF a<16 PROCb_gr(a+1,b)
"
IF a>1 PROCb_gr(a-1,b)
"
IF b>1 PROCb_gr(a,b-1)
schoose("underarrow")
#
plot(0,a*80-160,b*80-160)
sdelete("underarrow")
x,y,c:
killed
steps=st
killed=0
bs%(a,b)=3
b_checkdead
b_esetup
pa,lim,l,g
human=1 size=size_DF
size=size_AT
human=2
a_army(3)>0
pa=a_army(3)
pa>=4
; bf%(7,1)=3:bn%(7,1)=size:bf%(7,11)=3:bn%(7,11)=size
bf%(1,5)=3:bn%(1,5)=size
pa-3
:
(7):ry=
(11):
bf%(rx,ry)=0
gr%(rx,ry)<1
% bf%(rx,ry)=3:bn%(rx,ry)=size
a_army(3)=0
pa<4
- a_army(3)-=1:bf%(1,5)=3:bn%(1,5)=size
;
a_army(3)>0 bf%(7,2)=3:bn%(7,2)=size:a_army(3)-=1
=
a_army(3)>0 bf%(7,10)=3:bn%(7,10)=size:a_army(3)-=1
(3)>1
(3)=1
lim=1
lim=0
(3)=1
g=5
X=g
C%'
(Y=5
Y=6)
lim=1 l=1
C&,
bf%(X,Y)=0
gr%(X,Y)<>25
l=0
sok=0
C(E
a_army(1)>0
a_army(1)-=1:bf%(X,Y)=1:bn%(X,Y)=size:sok=1
C)M
sok=0
a_army(2)>0
a_army(2)-=1:bf%(X,Y)=2:bn%(X,Y)=size:sok=1
C*G
sok=0
a_army(3)>0
a_army(3)-=1:bf%(X,Y)=3:bn%(X,Y)=size
C+4
a_army(1)+a_army(2)+a_army(3)=0 X=1:Y=11
a_army(y)>0
a_army(y)
C3;
(7):ry=
(11):
bf%(rx,ry)=0
gr%(rx,ry)<1
C4& bf%(rx,ry)=y:bn%(rx,ry)=size
C6
C:6
(6):ry=
(11):
bf%(rx,ry)=0:gr%(rx,ry)=25
d_army(3)>0
pa=d_army(3)
pa>=4
C@; bf%(9,1)=6:bn%(9,1)=size:bf%(9,11)=6:bn%(9,11)=size
CA" bf%(16,5)=6:bn%(16,5)=size
pa-3
CC<
(8)+8:ry=
(11):
bf%(rx,ry)=0
gr%(rx,ry)<1
CD% bf%(rx,ry)=6:bn%(rx,ry)=size
d_army(3)=0
pa<4
CI/ d_army(3)-=1:bf%(16,5)=6:bn%(16,5)=size
CJ;
d_army(3)>0 bf%(9,2)=6:bn%(9,2)=size:d_army(3)-=1
CK=
d_army(3)>0 bf%(9,10)=6:bn%(9,10)=size:d_army(3)-=1
(3)>1
(3)=1
lim=1
lim=0
(3)=1
g=9
g=10
X=g
Y=11
CS'
(Y=5
Y=6)
lim=1 l=1
CT,
bf%(X,Y)=0
gr%(X,Y)<>25
l=0
sok=0
CVE
d_army(1)>0
d_army(1)-=1:bf%(X,Y)=4:bn%(X,Y)=size:sok=1
CWM
sok=0
d_army(2)>0
d_army(2)-=1:bf%(X,Y)=5:bn%(X,Y)=size:sok=1
CXG
sok=0
d_army(3)>0
d_army(3)-=1:bf%(X,Y)=6:bn%(X,Y)=size
CY4
d_army(1)+d_army(2)+d_army(3)=0 X=16:Y=1
d_army(y)>0
d_army(y)
Ca=
(8)+8:ry=
(11):
bf%(rx,ry)=0
gr%(rx,ry)<1
Cb( bf%(rx,ry)=y+3:bn%(rx,ry)=size
Cd
X=1
Y=1
Ci?
(gr%(X,Y)=30
gr%(X,Y)=31)
bf%(X,Y)>0
gr%(X,Y)=0
Ck
mines>0
mines
CnH
(3)+9:ry=
(11):
bf%(rx,ry)=0
gr%(rx,ry)=0:gr%(rx,ry)=19
b_stat
I$=""
gn,stx%,sty%,geb,aat%,adf%,tsa,tsb,lat%,ldf%
Cw aat%=0:adf%=0:lat%=0:ldf%=0
stx%=1
sty%=1
geb=bf%(stx%,sty%)
geb
C|
1:aat%+=bn%(stx%,sty%)
C}"
2:aat%+=bn%(stx%,sty%)*2
C~"
3:aat%+=bn%(stx%,sty%)*3
4:adf%+=bn%(stx%,sty%)
"
5:adf%+=bn%(stx%,sty%)*2
"
6:adf%+=bn%(stx%,sty%)*3
"
21:adf%+=bn%(stx%,sty%)*4
geb>0
geb<4 lat%+=bn%(stx%,sty%)
(geb>3
geb<7)
geb=21 ldf%+=bn%(stx%,sty%)
sty%,stx%
aat%<1
aat%=1
adf%<1
adf%=1
aat%>adf%
tsa=
((aat%/adf%)*100)/100:tsb=1
tsa=1:tsb=
((adf%/aat%)*100)/100
(tsa))>8
tsa=
(tsa)
(tsb))>8
tsb=
(tsb)
300,300:
979,724:
sget("screen")
frame(300,300,979,724,42)
inframe(308,308,971,624,42)
inframe(308,636,971,716,42)
f_yel
sfpB("The battle of "+moonof$+", Status",336,664)
human=2
f_wht
f_yel
sfpB("Attakers",336,572)
human=1
f_wht
f_yel
sfpB("Defenders",676,572)
f_wht
gn=0
sfpB("Active:",336+gn*340,522)
sfpB("Killed:",336+gn*340,482)
sfpB(
(lat%),500,522)
sfpB(
(acat%-lat%),500,482)
sfpB(
(ldf%),840,522)
sfpB(
(acdf%-ldf%),840,482)
sfpB("Move "+
(move%),336,422)
human=2
tsa,tsb
sfpB("Our chances are "+
(tsa)+" : "+
(tsb),336,362)
getMK
schoose("screen")
plot(0,300,300)
sdelete("screen")
A,B,C:
querybattle
300,300:
979,724:
sget("screen")
frame(300,300,979,724,42)
inframe(308,308,971,716,42)
frame(318,342,392,390,42)
frame(876,342,960,390,42)
sfpB("SURRENDER?",480,600)
0,0,1271,1023
askmaster(400,340,2)
schoose("screen")
plot(0,300,300)
sdelete("screen")
A,B,C:
b_talk
retta,rettb,retts,rettac
aliens%
retts=s:rettac=actual
retta=a:rettb=b
rebels%
lord=eplayer
b_ecomm(4)
b_comme
a=retta:b=rettb
s=retts:actual=rettac
b_sound(sound)
music=0
sd$=
(sound)
*stereo 1 -15
*stereo 2 15
chn%=1
chn%=2
chn%=1
5,com$(15)+
(chn%)+" Battle"+sd$
vol=-15
m=&2000:
sound=4 m=&1000
sound>4 m%=&1C00
sound=3 m=&500
sound=8 m=&2500:vol=-6
chn%,vol,m,300
b_correct
eb=bf%(X,Y)
eb=n
a_corr%(n)>0
1 bn%(X,Y)=size_AT-a_corr%(n):a_corr%(n)=0
!
eb=n+3
d_corr%(n)>0
1 bn%(X,Y)=size_DF-d_corr%(n):d_corr%(n)=0
b_btext
fillarray("bt1",5)
300,440:
979,723:
sget("screen")
frame(300,440,979,723,42)
inframe(308,448,971,715,42)
sfpB(ar$(n),324,700-n*40)
getMK
schoose("screen")
plot(0,300,440)
b_end
wait(40)
stx%,sty%,lat%,ldf%,geb
stx%=1
sty%=1
geb=bf%(stx%,sty%)
geb>0
geb<4 lat%+=bn%(stx%,sty%)
(geb>3
geb<7)
geb=21 ldf%+=bn%(stx%,sty%)
sty%,stx%
music>0
5,com$(3)+"Battle"+
b_report
b_report
300,440:
979,723:
sget("screen")
mus_load("ST3")
reason=1
b_won=1
mpart(5)
ar$(1)=t$(634)
+ ar$(2)=t$(635)+
(acat%-lat%)+t$(636)
% ar$(3)=t$(637)+
(lat%)+t$(638)
! ar$(4)=t$(639)+moonof$+"."
mpart(9)
ar$(1)=t$(640)
& ar$(2)=t$(641)+
(acat%)+t$(642)
ar$(3)=t$(643)+moonof$
ar$(4)=t$(644)
letwin
ar$(2)=t$(645)
ar$(3)=t$(646)
ar$(4)=t$(647)
b_won=1
mpart(9)
D & ar$(1)=t$(648)+
(acdf%)+t$(649)
ar$(2)=t$(650)
ar$(3)=t$(651)
ar$(4)=moonof$+"."
D$g
aliens%=0
rebels%=0
donotice(stkx,stky,H$(eplayer)+" has taken over "+PName$+"'s planet")
mpart(5)
ar$(1)=t$(652)
D(! ar$(2)=t$(653)+moonof$+"."
D)4 ar$(3)=t$(654)+
(acdf%-ldf%)+t$(655)+
(acdf%)
ar$(4)=t$(656)
D+\
aliens%=0
rebels%=0
donotice(stkx,stky,H$(eplayer)+t$(657)+PName$+"'s planet")
frame(300,440,979,723,42)
inframe(308,448,971,715,42)
sfpB(t$(658),324,660)
D2"
sfpB(ar$(n-1),324,700-n*40)
hour_off
getMK
aliens%>0
b_won=2
D7"
inframe(308,448,971,715,42)
ar$(1)=t$(659)
ar$(2)=""
ar$(3)=t$(660)
ar$(4)=t$(661)
ar$(5)=t$(662)
D>!
sfpB(ar$(n),324,700-n*40)
D?
getMK
inventnow=SIi(stkx,stky)
schoose("screen")
plot(0,300,440)
b_actual
a_army(n)=0:d_army(n)=0
eb=bf%(X,Y)
DN+
eb>0
eb<4
a_army(eb)+=bn%(X,Y)
DO-
eb>3
eb<7
d_army(eb-3)+=bn%(X,Y)
DP
b_stare
6,112,2
picture("lb1")
pixelswap
6,112,1
wait(30)
frame(300,440,979,723,42)
inframe(308,448,971,715,42)
sfpB(t$(663)+moonof$,324,660)
sfpB(t$(664),324,620)
wait(150)
6,112,2
picture("lb1")
pixelswap
6,112,1
b_calc
b_calc
hour_on
bs,ra,rb,phase,round,which,more
station%
bs=12
bs=0
Dl& ra=a_army(1)+a_army(2)+a_army(3)
Dm& rd=d_army(1)+d_army(2)+d_army(3)
Dn0
ra>rd
more=ra-rd:round=ra-more:which=1
Do1
rd>=ra
more=rd-ra:round=rd-more:which=2
phase=1
round
Dq8
a_army(1)+a_army(2)+a_army(3)>0
bc_act(1)
Dr8
d_army(1)+d_army(2)+d_army(3)+bs>0
bc_act(2)
phase
phase=1
more
which
Dw:
a_army(1)+a_army(2)+a_army(3)>0
bc_act(1)
Dy:
d_army(1)+d_army(2)+d_army(3)+bs>0
bc_act(2)
phase
D|1
a_army(1)+a_army(2)+a_army(3)=0
b_won=2
D}4
d_army(1)+d_army(2)+d_army(3)+bs=0
b_won=1
b_won
' lat%=a_army(1)+a_army(2)+a_army(3)
' ldf%=d_army(1)+d_army(2)+d_army(3)
hbat
b_report
hour_off
bc_act(acting)
base,i,g,a,prop,power,alienhit
Welche Einheit?
acting
1:base=0:i=a_army(1):g=a_army(2):a=a_army(3)
2:base=bs:i=d_army(1):g=d_army(2):a=d_army(3)
prop=i+g+a+base
prop>1
(prop)
an=0
R<=i
an=1
R<=i+g
an=0
an=2
R<=i+g+a
an=0
an=3
R>i+g+a
an=4
Minen?
an=2
acting=1
mines>0
(20)=1
a_army(2)-=1:an=0
Nicht in Feuerreichweite?
an=1
(4)=1
an=0
an=2
(5)=1
an=0
an=3
(7)=1
an=0
Feuerkraft
an>0
power=an
rebels%=1
acting=1
power=1
acting=1
power+=generalAT-2
power+=generalDF-2
power>4 power=4
power<0 power=0
aliens%=1
acting=1
alienhit=1
alienhit=0
(6-power)=1
alienhit=1
bc_kill
bc_kill
kbase,ki,kg,ka,kan,kprop
acting
1:kbase=bs:ki=d_army(1):kg=d_army(2):ka=d_army(3)
2:kbase=0:ki=a_army(1):kg=a_army(2):ka=a_army(3)
ki+kg+ka+kbase=0
kprop=ki+kg+ka+kbase
kprop>1
(kprop)
kan=0
R<=ki
kan=1
R<=ki+kg
kan=0
kan=2
R<=ki+kg+ka
kan=0
kan=3
R>ki+kg+ka
kan=4
acting=1
kan
1:d_army(1)-=1
2:d_army(2)-=1
3:d_army(3)-=1
4:bs-=1
kan
1:a_army(1)-=1
2:a_army(2)-=1
3:a_army(3)-=1
cbutton(cx)
button(397,15,609,60,1)
button(618,15,826,60,1)
button(832,15,1040,60,1)
button(1048,15,1260,60,1)
fadeinit
CodeA% 800
CodeB% 800
CodeC% 800
CodeD% 800
Farben% 255
vdu% 16
ZeilenA = 256
ZeilenB = 200
vdu%!0=149
vdu%!4=-1
49,vdu%,vdu%+8
ScraddrA%=vdu%!8
ScraddrB%=vdu%!8+81920
_MakeCodeA
_MakeCodeB
_MakeCodeC
_MakeCodeD
_MakeColortab
fade(scr%,zei%,lev%)
arm=2
X% = 0
lev%
zei%=0
scr%=1
CodeA%
scr%=2
CodeC%
zei%=1
scr%=1
CodeB%
scr%=2
CodeD%
arm>=6
wait(3)
6,21,9
_MakeCodeA
pass% = 0
P%=CodeA%
[OPT pass%
ADR R12,stack
STMIA R12,{R0-R11,R13,R14}
ADR R12,Daten
LDMIA R12,{R1,R2}
MOV R11,#255
MOV R0,#ZeilenA*10
asmpart
[OPT pass%
;*** Daten ***
.Daten
EQUD Farben%
EQUD ScraddrA%
.stack
< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
_MakeCodeB
pass% = 0
P%=CodeB%
[OPT pass%
ADR R12,stack
STMIA R12,{R0-R11,R13,R14}
ADR R12,Daten
LDMIA R12,{R1,R2}
MOV R11,#255
MOV R0,#2000
ADD R0,R0,#40
asmpart
[OPT pass%
;*** Daten ***
.Daten
EQUD Farben%
EQUD ScraddrA%
.stack
E%< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
E&< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
_MakeCodeC
pass% = 0
P%=CodeC%
[OPT pass%
ADR R12,stack
STMIA R12,{R0-R11,R13,R14}
ADR R12,Daten
LDMIA R12,{R1,R2}
MOV R11,#255
MOV R0,#ZeilenA*10
asmpart
[OPT pass%
;*** Daten ***
.Daten
EQUD Farben%
EQUD ScraddrB%
.stack
E=< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
E>< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
_MakeCodeD
pass% = 0
P%=CodeD%
[OPT pass%
ADR R12,stack
STMIA R12,{R0-R11,R13,R14}
ADR R12,Daten
LDMIA R12,{R1,R2}
MOV R11,#255
MOV R0,#2000
ADD R0,R0,#40
asmpart
[OPT pass%
;*** Daten ***
.Daten
EQUD Farben%
EQUD ScraddrB%
.stack
EV< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
EW< EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0:EQUD 0
asmpart
[OPT pass%
E` .Loop
LDMIA R2,{R3-R10}
R12,R3,#255
R13,R11,R3,LSR#8
R14,R11,R3,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R3,[R1,R3,LSR#24]
R R3,R12,R3,LSL#24:
R R3,R3,R13,LSL#8:
R R3,R3,R14,LSL#16
R12,R4,#255
R13,R11,R4,LSR#8
R14,R11,R4,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R4,[R1,R4,LSR#24]
R R4,R12,R4,LSL#24:
R R4,R4,R13,LSL#8:
R R4,R4,R14,LSL#16
R12,R5,#255
R13,R11,R5,LSR#8
R14,R11,R5,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R5,[R1,R5,LSR#24]
R R5,R12,R5,LSL#24:
R R5,R5,R13,LSL#8:
R R5,R5,R14,LSL#16
R12,R6,#255
R13,R11,R6,LSR#8
R14,R11,R6,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R6,[R1,R6,LSR#24]
R R6,R12,R6,LSL#24:
R R6,R6,R13,LSL#8:
R R6,R6,R14,LSL#16
R12,R7,#255
R13,R11,R7,LSR#8
R14,R11,R7,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R7,[R1,R7,LSR#24]
R R7,R12,R7,LSL#24:
R R7,R7,R13,LSL#8:
R R7,R7,R14,LSL#16
R12,R8,#255
R13,R11,R8,LSR#8
R14,R11,R8,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R8,[R1,R8,LSR#24]
R R8,R12,R8,LSL#24:
R R8,R8,R13,LSL#8:
R R8,R8,R14,LSL#16
R12,R9,#255
R13,R11,R9,LSR#8
R14,R11,R9,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R9,[R1,R9,LSR#24]
R R9,R12,R9,LSL#24:
R R9,R9,R13,LSL#8:
R R9,R9,R14,LSL#16
R12,R10,#255
R13,R11,R10,LSR#8
R14,R11,R10,LSR#16
LDRB R12,[R1,R12]
LDRB R13,[R1,R13]
LDRB R14,[R1,R14]
LDRB R10,[R1,R10,LSR#24]
R R10,R12,R10,LSL#24:
R R10,R10,R13,LSL#8:
R R10,R10,R14,LSL#16
STMIA R2!,{R3-R10}
SUBS R0,R0,#1
BNE Loop
ADR R12,stack
LDMIA R12,{R0-R11,R13,R15}
_MakeColortab
RESTORE 54847
FOR X% = 0 TO 255
READ wert%
Farben%?X% = wert%
NEXT
"Load <Planets$Dir>.data2.cb1 "+
~Farben%
hour_on
hour=1
hour_time=
_DoMouse(4)
hour_off
hour=0
hour_time=0
_DoMouse(1)
mouse_on
_DoMouse(1)
_DoMouse(mouse)
C ?osword%=0:osword%?1=1:osword%!2=&08081104:osword%!6=pointdat%
A%=0
&100:pointdat%?A%=0:
Y%=0
16:A$=mo$(mouse-1,Y%+1):
X%=0
B D%=
A$,X%+1,1):?(pointdat%+(X%>>2)+(Y%*4))+=D%<<((X%
3)<<1)
7,21,osword%
_InitMice
osword% &10,pointdat% &100
mo$(3,18),m_c(3,1)
m_c(1,0)=128
m_c(2,0)=196
m_c(3,0)=255
n,m_c(n,0),m_c(n,0),48
fillarray("pt"+
(a),17)
17:mo$(a-1,n)=ar$(n):
-----------
next pv=609
-----------
initlib(memory%)
memory% > 0
Smem memory%
!Smem = memory%
Smem!4 = 0
Smem!8 = 0
Smem!12 = 16
memory% <= 0
Smem = 0
spname$ = ""
) var1 = 0:var2 = 0:var3 = 0:var4 = 0
mus_load(title$)
5,com$(6)
music=0
5,com$(5)+
(34)+"Music."+title$+
SYS 5,com$(4)+STR$(64)
5,com$(7)
backmusic
play
normalfont<2
play=17:
(4)=1 play=1
oldp
(3)=1 play=17
2: play=4
6: play=13
8: play=2
9: play=17
10: play=13
(5)=1 play=3
mpart(play)
playsoon(mpart)
ma,mb,ok
ma=1
players
mb=1
SunE(mb,ma)
ok=1
mb,ma
normalfont<2
ok=0
soonplay=mpart
soonplay=0
mpart(mpart)
vcnt
mpart
1:p=&0
2:p=&A
3:p=&F
4:p=&13
5:p=&17
6:p=&23 :
7:p=&27
8:p=&2A
9:p=&2B
10:p=&2C
11:p=&2E
12:p=&34
13:p=&36
14:p=&3C
15:p=&42
16:p=&48
17:p=&4D
18:p=&51
19:p=&52
20:p=&55
21:p=&58
mpart<>oldp
arm<3
st=8
st=2
vcnt=64
FE!
SYS 5,com$(4)+STR$(vcnt)
mus_setvolume(vcnt)
FG
vcnt
mus_play(p,p+10)
vcnt=32
FM!
SYS 5,com$(4)+STR$(vcnt)
mus_setvolume(vcnt)
FO
vcnt
oldp=mpart
mus_play(start,end)
music
5,com$(8)+
(start)+" "+
(end)
mus_fadeout
music=0
vcnt
vcnt=64
mus_setvolume(vcnt)
F_
SYS 5,com$(4)+STR$(vcnt)
vcnt
mus_quit
music=0
5,com$(9)
5,com$(10)
5,com$(11)
5,com$(12)
mus_setvolume(volval)
Fm$ volval=
(max_volume/100*volval)
5,com$(4)+
(volval)
adjust(cause)
lastchoice=0
mus_load("ST2")
mus_play(0,13)
cause
1: a$="MISSION FAILED"
Fx#
7: a$="END OF DEMO VERSION"
2: a$="YOU HAVE DIED."
Fz'
3: a$="ALL HUMANS HAVE FAILED."
6,112,1:
6,112,2:
6,112,1:
6,113,1
6,112,2:
picture("en1")
fillarray("ov",4)
f_yel
dspcB(a$,5)
f_wht
n=1
dspcB(ar$(n),7+n*2)
6,113,2
getMK
againornot
againornot
6,112,1
picture("en1")
centerB("Leave the game",1024-11*40)
centerB("Try a new game",1024-13*40)
PROCcenter("Reload the last game",1024-15*40)
mouse_on
SYS6,113,1
pixelswap
A,B,C:
A,B,C
C>0
A>325
A<958
IF B>422 AND B<491 THEN lastchoice=3
B>492
B<561
lastchoice=2
B>561
B<641
lastchoice=1
lastchoice
lastchoice=1
mus_quit
fade(2,0,15)
262274,bfnt%
262274,sfnt%
262274,mfnt%
SYS6,20
"ALPHABET LATIN1"
262383,-1
lastchoice=2
mus_fadeout
fade(2,0,15)
6,112,1
screentype=1
ass_swap
len%=1024*8
swapspeed=255
arm<3 swapspeed=80
code len%
pass=8
P%=code
L%=code+len%
[OPT pass
.pixelswap
STMFD R13!,{R14}
ADR R4,swaptable
MOV R5,#swapspeed
.main_loop
MOV R2,#63
.y_loop
MOV R3,#79
.x_loop
ADD R6,R2,R3,LSL#6
LDRB R7,[R4,R6]
CMP R7,R5
BNE skip
ADR R8,offsets
LDR R0,scr1
LDR R1,scr2
ADD R7,R3,R2,LSL#6
ADD R7,R7,R2,LSL#8
ADD R0,R0,R7
ADD R1,R1,R7
arm>7
[OPT pass
MOV R7,#8192
.waitsome
SUB R7,R7,#1
CMP R7,#0
BNE waitsome
loop=1
[OPT pass
LDMIA R8!,{R9-R12}
LDRB R7,[R0,R9]
LDRB R14,[R1,R9]
STRB R7,[R1,R9]
STRB R14,[R0,R9]
LDRB R7,[R0,R10]
LDRB R14,[R1,R10]
STRB R7,[R1,R10]
STRB R14,[R0,R10]
LDRB R7,[R0,R11]
LDRB R14,[R1,R11]
STRB R7,[R1,R11]
STRB R14,[R0,R11]
LDRB R7,[R0,R12]
LDRB R14,[R1,R12]
STRB R7,[R1,R12]
STRB R14,[R0,R12]
[OPT pass
.skip
SUBS R3,R3,#1
BPL x_loop
SUBS R2,R2,#1
BPL y_loop
SUBS R5,R5,#1
BNE main_loop
LDMFD R13!,{PC}
G .scr1
EQUD 0
.scr2
EQUD 0
.offsets
array(64)
.swaptable
array(64*80+4)
.swapit
STMFD R13!,{R14}
LDR R4,bank
RSB R4,R4,#3
STR R4,bank
MOV R0,#112
MOV R1,R4
SWI &6
MOV R0,#113
RSB R1,R4,#3
SWI &6
ADR R0,vduA
ADR R1,psscreen
SWI &31
LDMFD R13!,{PC}
G% .bank
EQUD 1
G' .vduA
EQUD 148
EQUD -1
.psscreen
EQUD 0
i%=0
j%=0
G0* offsets!(4*i%+16*j%)=80*i%+320*64*j%
array(b%)
P%+=b%
pswapinit
i=0
64*80
swaptable?i=
(swapspeed)
swapit
!scr1=!psscreen
swapit
!scr2=!psscreen
fl_init
fl_ass
fl_doanim
flagload(flag)
fa,fb,fx
GL+ fx=
("<Planets$Dir>.Data2.fg"+
(flag))
fb=47
fa=27
flagspr?(fa*48+fb)=
flagstep(flsx,flsy)
6,113,2
6,112,1
schoose("flback"):
plot(0,144,698)
plot(0,144,698)
flaggy
144,698:
364,829:
sget("flg1")
6,112,2
schoose("flg1")
plot(0,flsx,flsy)
fl_doanim
k=359/255
i%=0
a=i%*k
Ge+ x%=20*
(a*5)+15*
(a*2)+10*
(a*3)
Gf) y%=20*
(a*3)+10*
(a)+10*
(a*2)
!(motion+i%*8)=
(x%/16)
!(motion+i%*8+4)=
(y%/16)
fl_ass
code% 1000,motion 256*8,flagspr 28*48
i%=0
P%=code%
[OPT i%
.flaggy LDR r10,screen
MOV r2,#&AA
ADR r5,abc
LDR r5,[r5]
ADR r12,fls
LDR r12,[r12]
LDR r4,count
ADD r4,r4,#1
r4,r4,#&FF
STR r4,count
MOV r7,#50
G|/ MOV r9,#28 ;17
.fl_loopx MOV r6,#40
G~/ MOV r8,#48 ;24
1 .fl_loopy ADD r11,r4,r8,LSL #1 ;1
. ADD r11,r11,r9,LSL #2 ;2
r11,r11,#&FF
# MOV r11,r11,LSL #3
LDR r0,[r5,r11]
ADD r11,r11,#4
LDR r1,[r5,r11]
LDR r2,[r12]
ADD r12,r12,#1
ADD r0,r0,r6
ADD r1,r1,r7
$ ADD r0,r0,r1,LSL #8
$ ADD r0,r0,r1,LSL #6
STRB r2,[r10,r0]
ADD r0,r0,#1
STRB r2,[r10,r0]
ADD r0,r0,#320
STRB r2,[r10,r0]
SUB r0,r0,#1
STRB r2,[r10,r0]
/ ADD r6,r6,#1 ;Steps ;10
SUBS r8,r8,#1
BNE fl_loopy
/ ADD r7,r7,#1 ;Steps ;10
SUBS r9,r9,#1
BNE fl_loopx
MOV r15,r14
.count EQUD 0
.screen EQUD 148
EQUD -1
.fls EQUD flagspr
.abc EQUD motion
ENDIF
49,screen,screen
abspann
mus_load("ST2")
gload("en1")
mus_play(14,18)
swapscreen
6,113,1
swapscreen
schoose("hall")
$ inc=50:dl=10:coul=3:letwait%=50
arm>2.5
inc=25:dl=5:coul=6:letwait%=100
X=999
X=1000
open=0
add=inc
cou=0
stad=0
schoose("door1"):
plot(0,0,0)
schoose("hall"):
plot(0,0,0)
zoom(640-((160-136+open)*X/1000)*4,512-((128-114)*X/1000)*4,X,X,1000,1000,"door1")
zoom(640-((160-158-open)*X/1000)*4,512-((128-114)*X/1000)*4,X,X,1000,1000,"door2")
zoom(640-((160)*X/1000)*4,512-((128)*X/1000)*4,X,X,1000,1000,"hall")
pixelswap
letwait%=0
X+=
(add)
add+=add/30
letwait%>0
letwait%-=1
X>1500
cou+=1:
cou=coul
cou=1:stad+=4
X>1500
open+=1
X>1500
schoose("stars"):
plot(0,-284+stad,0)
X<9600
zoom(640-((160-136+open)*X/1000)*4,512-((128-114)*X/1000)*4,X,X,1000,1000,"door1")
zoom(640-((160-158-open)*X/1000)*4,512-((128-114)*X/1000)*4,X,X,1000,1000,"door2")
zoom(640-((160)*X/1000)*4,512-((128)*X/1000)*4,X,X,1000,1000,"hall")
stad>=68
schoose("Welcome"):
plot(8,300,480)
swapscreen
stad>=180 :
fade((3-I),0,15)
mus_fadeout
*DSym FlushOutput
*DSym Vol 64
mus_play(0,13)
6,112,2:
6,112,1:
6,113,1
fin%=0:fa=1:flen=2
fadeinstars
exfade(t$(665))
exfade(t$(666))
exfade(t$(667))
exfade(t$(668))
exfade(t$(669))
wait(100)
exfade(t$(670))
6,112,2
picture("ey2")
fillarray("jdg",40)
trace%(16)=0
SIi(A,B)=1
trace%(16)+=1
pixelswap
6,112,1
cfadein(t$(671),2)
wait(50)
ct=0
n=1
trace%(n)>0
ct+=1:
cfadein("You have "+ar$((n-1)*2+1)+" "+
(trace%(n))+" "+ar$((n-1)*2+2),3+ct*2):
wait(50)
wait(50)
cfadein(t$(672),24)
6,112,2
picture("ey2")
getMK
pixelswap
6,112,1
cfadein(t$(673),2)
wait(50)
ct=0
n=10
trace%(n)>0
ct+=1:
cfadein("You have "+ar$((n-1)*2+1)+" "+
(trace%(n))+" "+ar$((n-1)*2+2),3+ct*2):
wait(50)
cfadein(t$(674),3+(ct+1)*2)
wait(50)
cfadein(t$(672),24)
getMK
fade(1,0,15)
6,112,2:
6,112,1:
6,113,1
fin%=0:fa=1:flen=2
fadeinstars
exfade(t$(675))
exfade(t$(676))
wait(100)
gload("en2")
fade(1,0,15)
6,112,2:
6,112,1:
6,113,1
fillarray("fw",9)
swapscreen
schoose("scape")
fc=0:fw=0:nx=1:act=0
f_yel
arm>2.5
mus_play(5,13):t=12280
mus_play(3,13):t=15100
plot(0,0,X)
nx>1
fw<10
dspcB(ar$(fw),12)
/ fc+=1:
(nx=1
fc=15)
(nx=2
fc=20)
fc=0
H!!
nx=1
nx=2:fw+=1
nx=1
X-=4
X=-1100
act=1
H%
act>0
act<10
stsfly
tm=
-tm>20
swapscreen
X<-1908
wait(200)
plot(0,0,X+4)
schoose("theend"):
plot(8,400,400)
swapscreen
fade((3-I),0,15)
f_wht
6,112,2:
6,112,1:
6,113,1
wait(20)
cfadein("...for now.",12)
mus_fadeout
wait(50)
fade(1,0,15)
wait(50)
mus_quit
makingof
"Alphabet Latin1"
262383,-1
stsfly
schoose("sts"+
(act)):
plot(0,800,800):act+=1:
schoose("scape")
exfade(t$)
lfadein(t$,500)
wait(250)
lfadeout(t$,500)
wait(100)
lfadein(f$,fy)
RESTORE 8830
READ col
HR2
SYS 262291,,0,1,6,&00000000,fadetable(X-1)
HS font_col=fadetable(X-1)
center(f$,fy)
wait(3)
lfadeout(f$,fy)
RESTORE 8830
FOR X=1TO17
READ col:ar$(X)=STR$(col)
NEXT X
X=17
H_2
SYS 262291,,0,1,6,&00000000,fadetable(X-1)
font_col=fadetable(X-1)
center(f$,fy)
wait(3)
0,485,1279,66
f_wht
Hh%
cfadein(f$,fy)
RESTORE 8830
READ col
Hm2
SYS 262291,,0,1,6,&00000000,fadetable(X-1)
font_col=fadetable(X-1)
dspc(f$,fy)
wait(3)
doship(nu,a1,a2,a3,a4,a$,a6,a7,a8,a9,a10,a11,a12,a13,a14)
sh_addx(nu)=a1:sh_addy(nu)=a2:sh_slen(nu)=a3:sh_shgt(nu)=a4:sh_name$(nu)=a$:sh_px(nu)=a6:sh_py(nu)=a7:sh_vx(nu)=a8:sh_vy(nu)=a9:sh_delay%(nu)=a10
Hw= sh_ai(nu)=a11:sh_iadd(nu)=a12:sh_X(nu)=a13:sh_xl(nu)=a14
moveships(limit,f$,pot,rand,hjumps)
ma,mb,mc:
I$=""
mc=0
inc=1
incadd=0.1
X+=inc
schoose(f$)
plot(8,0,0)
k=1
ships
sh_delay%(k)=0
schoose(sh_name$(k))
% p=sh_slen(k)*2:q=sh_shgt(k)*2
< a$=sh_name$(k):
rand=1
(15)=1
a$,2,1)=
m
zoom(sh_px(k)+sh_vx(k)-p*sh_X(k)/1000,sh_py(k)+sh_vy(k)-q*sh_X(k)/1000,sh_X(k),sh_X(k),1000,1000,a$)
sh_X(k)<sh_xl(k)
sh_ai(k)=4
H sh_vx(k)+=sh_addx(k)/4*sh_ai(k):sh_vy(k)+=sh_addy(k)/4*sh_ai(k)
%
pot
sh_ai(k)+=sh_iadd(k)
# sh_iadd(k)+=sh_iadd(k)/100
sh_X(k)+=sh_ai(k)
sh_delay%(k)-=1
hypc<10
hyp>0
hypw=0
hypc+=1
,
hypc<6
hypa+=hypa
hypa-=hypa/2
! hypy+=1:
hypy>5
hypy=1
hypx=hypa*100
T
zoom(640-120*hypx/1000,512-120*hypx/1000,hypx,hypx,1000,1000,"hyp"+
(hypy))
hypw-=1
hjumps>1
hjumpb%>0
4 hjumpb%-=1:
hjumpb%=0
hypc=0:hypw=0:hyp=1
hjumpc%>0
4 hjumpc%-=1:
hjumpc%=0
hypc=0:hypw=0:hyp=1
arm>3
wait(4)
inc+=incadd
incadd+=incadd/100
swapscreen
A I$=
ma,mb,mc:
mc>0
I$<>""
X=limit+1:killintro=1
X>limit
film_shiplands(lordname$,planetname$,plantyp,ownername$)
nc,killit,tme,plusx,plusy,loadappr
hour_off
6,21,0
6,21,9
6,112,1
loadappr=plantyp
plantyp
1:loadappr=1
2:loadappr=1
3:loadappr=3
4:loadappr=1
5:loadappr=1
6:loadappr=1
8:loadappr=8
plantyp=3
plusx=150:plusy=0
gload("ap"+
(loadappr))
picture("sh"+
(plantyp))
f_wht
dspB(lordname$+t$(546)+planetname$+" "+t$(547)+" "+ownername$+".",40,19)
8+8,217+8 :
1271-8,1015-8:
sget("harbour")
frame(0,209,1279,1023,42)
no_texture=1
inframe(0+8,209+8,1279-8,1023-8,42)
no_texture=0
schoose("harbour"):
plot(0,8+8,217+8)
nc=100
tme=
6,112,1
schoose("harbour"):
plot(0,8+8,217+8)
zoom(640-400*(nc/100)+plusx,700-70*(nc/100)+nc+plusy,nc,nc,100,100,"approach")
0,209:
1279,1023:
sget("copy")
6,112,2
schoose("copy"):
plot(0,0,209)
-tme<10
-tme>=10
I$=
A,B,C
I$<>""
C<>0
killit=1:nc=40
killit=0
6,112,1
gload("lp1")
picture("lp1")
dspB(lordname$+t$(546)+planetname$+" "+t$(547)+" "+ownername$+".",40,19)
8+8,217+8 :
1271-8,1015-8:
sget("backg")
frame(0,209,1279,1023,42)
no_texture=1
inframe(0+8,209+8,1279-8,1023-8,42)
no_texture=0
schoose("backg"):
plot(0,8+8,217+8):
PROCplot(0,0,60)
sdelete("backg")
0,209:
1279,1023:
sget("copy")
6,112,2
schoose("copy"):
plot(0,0,209)
24,0+12;209+12+4;1279-12;1023-12;
nc=2
tme=
schoose("land"+
(nc))
plot(0,520,425+64)
wait(10)
-tme<9
-tme>=9
I$=
A,B,C
I$<>""
C<>0
killit=1:nc=40
wait(30)
gload("pt1")
gmerge("ts1")
film_flyaway
x,t%,af,fin
6,21,0
6,21,9
n=1
var(n)=
(10)+5
6,112,1
gload("pt1")
picture("js1")
1279,1023:
sget("stars")
6,112,2
1279,1023:
sget("scr")
6,112,1
schoose("scr"):
plot(0,0,0):
sdelete("scr")
frame(0,209,1279,1023,42)
inframe(0+8,209+8,1279-8,1023-8,42)
24,0+12;209+12+4;1279-12;1023-12;
smerge(sgr$+"fl5")
PROCsmerge(sgr$+"fl6")
0,160
schoose("stars"):
plot(0,0,0)
x=1000
IF arm>3 THEN t%=5:af=8:hypw=54-8 ELSE t%=2:af=8:x=600:hypw=42-8
t%=5:af=8:hypw=54-8
zoom(640-640*x/1000,512-512*x/1000,x,x,1000,1000,"fleet")
jk=1
schoose(
(jk)+"-5")
1:ja=376:jb=788
2:ja=36:jb=652
3:ja=392:jb=626
4:ja=188:jb=468
5:ja=910:jb=620
6:ja=480:jb=198
7:ja=1148:jb=514
8:ja=1044:jb=888
9:ja=768:jb=692
10:ja=1028:jb=594
11:ja=228:jb=298
12:ja=1164:jb=156
jb+=32
plot(0,ja,jb)
0,200:
1279,1023:
sget("scr")
6,112,2:
schoose("scr"):
plot(0,0,200)
6,112,1
sdelete("scr")
gmerge("hp1")
24,0+12;209+12+4;1279-12;1023-12;
0,160
I:= hyp=1:hypa=1:hypc=1:hypy=0:hypx=0:hjumpb%=80:hjumpc%=150
vok=0
IA$
schoose("stars"):
plot(0,0,0)
IBG
x>30
zoom(640-640*x/1000,512-512*x/1000,x,x,1000,1000,"fleet")
vok=1
jk=1
II%
var(jk)>1
var(jk)-=1:vok=0
var(jk)<6
IN2
var(jk)>1
schoose(
(jk)+"-"+
(var(jk)))
schoose(
(jk)+"-5")
1:ja=376:jb=788
2:ja=36:jb=652
3:ja=392:jb=626
4:ja=188:jb=468
5:ja=910:jb=620
6:ja=480:jb=198
7:ja=1148:jb=514
8:ja=1044:jb=888
9:ja=768:jb=692
10:ja=1028:jb=594
11:ja=228:jb=298
12:ja=1164:jb=156
jb+=32
Ij!
var(jk)>1
plot(0,ja,jb)
hypc=10
hypc=11
hypc<10
hypw=0
hypc+=1
Ix,
hypc<6
hypa+=hypa
hypa-=hypa/2
Iy! hypy+=1:
hypy>5
hypy=1
hypx=hypa*100
I{^
hypx>30
zoom(640-120*hypx/1000,512-120*hypx/1000,hypx,hypx,1000,1000,"hyp"+
(hypy))
hypw-=1
wait(1)
x-1<af
wait(6)
swapscreen
vok
x-=af
wait(6)
I$=
a,b,c
I$<>""
c>0
fin=1
af+=1
(x<af
hypc>=11)
fin=1
fin=1
6,112,3-I:
0,0:
1279,1023:
sget("b"):
6,112,I:
schoose("b"):
plot(0,0,0)
0,0:
gload("ts1")
gmerge("pt1")
film_arrive
x,t%,af,fin,max,drow
6,21,0
6,21,9
6,112,1
sload(sgr$+"fl6")
gmerge("pt1")
schoose("stars"):
plot(0,0,0)
! drow=6:
players>1
drow=23
dspB(ab$,40,drow)
1279,1023:
sget("stars")
6,112,2
1279,1023:
sget("scr")
6,112,1
schoose("scr"):
plot(0,0,0):
sdelete("scr")
frame(0,209,1279,1023,42)
inframe(0+8,209+8,1279-8,1023-8,42)
sdelete("pattern")
24,0+12;209+12+4;1279-12;1023-12;
smerge(sgr$+"fl4")
0,160
schoose("stars"):
plot(0,0,0)
x=1:max=1000:hypw=0
arm>3
t%=75:af=16
t%=2:af=16:max=599
0,200:
1279,1023:
sget("scr")
6,112,2:
schoose("scr"):
plot(0,0,200)
6,112,1
sdelete("scr")
gmerge("hp1")
24,0+12;209+12+4;1279-12;1023-12;
0,160
= hyp=1:hypa=1:hypc=1:hypy=0:hypx=0:hjumpb%=80:hjumpc%=150
schoose("stars"):
plot(0,0,0)
zoom(640-640*x/1000,512-512*x/1000,x,x,1000,1000,"fleet")
hypc<10
hypw=0
hypc+=1
,
hypc<6
hypa+=hypa
hypa-=hypa/2
! hypy+=1:
hypy>5
hypy=1
hypx=hypa*100
T
zoom(640-120*hypx/1000,512-120*hypx/1000,hypx,hypx,1000,1000,"hyp"+
(hypy))
wait(5)
hypw-=1
wait(1)
x<af
wait(3)
swapscreen
t%>0
t%-=1
x<=max x+=af
I$=
a,b,c
I$<>""
c>0
fin=1
(x>max
t%=0)
fin=1
fin=1
6,112,3-I:
0,0:
1279,1023:
sget("b"):
6,112,I:
schoose("b"):
plot(0,0,0)
0,0:
gload("ts1")
gmerge("pt1")
init_tristars
Sts_max=20:
ts_x(ts_max),ts_y(ts_max),nts_x(ts_max),nts_y(ts_max),ats_x(ts_max)
ts_wx=800:ts_wy=600
!sts_max=100:shiftx=0:shifty=0
n=1
ts_max
ts_x(n)=ts_wx/2
ts_y(n)=ts_wy/2
nts_x(n)=(
(21)-11)/10
nts_y(n)=(
(21)-11)/10
ats_x(n)=
(ts_max)*4
tristars
n=1
ts_max
ats_x(n)=0
ts_x(n)+=nts_x(n)
ts_y(n)+=nts_y(n)
nts_x(n)+=nts_x(n)/40
nts_y(n)+=nts_y(n)/40
ts_x(n)>ts_wx+sts_max
ts_x(n)<0-sts_max
ts_y(n)>ts_wy+sts_max
ts_y(n)<0-sts_max
ts_x(n)=ts_wx/2
ts_y(n)=ts_wy/2
nts_x(n)=(
(21)-11)/10
nts_y(n)=(
(21)-11)/10
6 ts_r=
((ts_x(n)-ts_wx/2)^2+(ts_y(n)-ts_wy/2)^2)
d=0:
ts_r>150
c=63:t=128
ts_r<480
c=63:t=0
ts_r<270
c=42:t=128
ts_r<190
c=42:t=0
ts_r<110
c=21:t=128
ts_r<70
c=0:t=192
ts_r<40
c=0:t=0
kx=ts_x(n)+shiftx
ky=ts_y(n)+shifty
kx>0+4
ky>0+4
kx<ts_wx-4
ky<ts_wy-4
t+c>0
kx+gx,ky+gy
D
d=1
kx+4+gx,ky+4+gy:
kx+4+gx,ky+gy:
kx+gx,ky+4+gy
ats_x(n)-=1
clearmemory
normalfont=0
markX()=0:markY()=0
mark$()=""
* flashnum=0:flashstate=0:flashactual=0
recall$()=""
3:high$(X)="Barkeeper":high(X)=X*10657
xy=0
fx=0:fxc=0
watcher=0
claimed=0
actualMenu=1
spaceport=0
firstplanet()=0
findvar=0
varfound=0
window_open=0
noplanet=0
whichlord=0
nomoney=0
spotted=0
aliens=0
nonclick=0
xx%=0:yy%=0
trans%=50
scout%=0
war%=3
bomb%=0
ckind=0
useproc=0
J+ cr=0
inc=0
firm=0
decision=0
connum=0
gflag=0
fwn=0
PMission=1
PDifficult=1
codde=0
ftime=0
hour=0
flysys=0
mappic=6
usenova=0
attacklord=0
reput=3
players=1
usepattern=1
hour_time=0
nopirates=0
oldp=-1
chold=0
mousewait=0
pl_num=0
pl_act=0
old_c=0
JF jt=0
san=0
sanc=0
lastsaveplace=0
fght%=0
festival=0
mustclear=0
soonplay=0
atlord=0
old_C=0
inventnow=0
hyp=0:hypc=0
ta$="Lord":tb$="Milord"
rcd$="fl2"
battlecom=0
backtoslave=0
quittalk=0:letexit=0
lookagain=0
rebelpeace=0
donecode=0
inmenu=0
usemeteor=0
recall_num=0
usemark=0
chcount=0
actualplayer=1
useanim=0
escpressed=0
screentype=0
noraces=0
no_texture=0
track_x=640
track_y=512
track_lock=0
stsh%()=0
t%()=0
credits()=0
orbit()=0
tactic()=0
flying()=0
TS()=0
TP()=0
eship()=0
efreight()=0
flag()=0
existing()=0
gmember()=0
firstcity%()=0
MI()=0
MIs()=0
MIp()=0
evillord()=0
whichp()=0
pphase()=0
psun()=0
ptarget()=0
invent%()=0
etrans%()=0
ewar%()=0
escout%()=0
ebomb%()=0
hi%()=0
md%()=0
lo%()=0
v%()=0
@ rau_c()=0:rau_x()=0:rau_y()=0:rau_l()=0:rau_d()=0:rau_t()=0
b$()=""
Ps%()=0
Pm()=0
veh()=0
reput()=0
ftime()=0
selectedsys()=0
trace%()=0
lordvar()=0
punish%()=0
rotphase%()=0
verhalten()=0
pl$=""
PName$=""
ttl=0
ship()=0
freight()=0
c()=0:c$()=""
shift%()=0
ship()=0
freight()=0
verhalten()=2
radioX()=0:radioY()=0
surf%()=0
price(1)=20
price(2)=3
price(3)=15
price(4)=25
price(5)=30
price(6)=5
price(7)=10
price(8)=20
price(9)=30
price(10)=15
price(11)=10
price(12)=20
price(13)=100
price(14)=120
price(15)=10
prices()=0
plandat()=0
("<Planets$Dir>.font.fontdat")
z=1
x=1
#A,prices(z,x,1)
y=1
#A,prices(z,y,2)
("<Planets$Dir>.font.plandat")
y=1
x=1
#A,plandat(y,x)
partyAT=0
partyPA=0
flying=0
accepted=0
icon=0
icond=1
credits=300
row=0
won=0
attacker=0
rebels=0
" sgr$="<Planets$Dir>.StartGr."
radiocount=0
H$()=""
Hl()=0
Ha()=0
Hg()=0
selected=0
actual=2
selectedsys=0
allied()=0
15:Hl(X)=
H$(1)=PName$
fillarray("ld"+
(Hl(X)),15)
R=
! H$(X)=
ar$(R),
(ar$(R))-2)
ar$(R),1)="m"
Hg(X)=1
Hg(X)=2
ok=1
#
H$(Y)=H$(X)
Y<>X
ok=0
reput(X)=3
(4)=1
evillord(X)=
(15):
evillord(X)<>X
tactic(X)=0
etrans%(X)=50
Hl(X)=1
hi%(X)=132
md%(X)=369
lo%(X)=10
Hl(X)=2
hi%(X)=394
md%(X)=4
lo%(X)=113
Hl(X)=3
hi%(X)=241
md%(X)=12
lo%(X)=258
Hl(X)=4
hi%(X)=289
md%(X)=90
lo%(X)=132
Hl(X)=0
md%(X)=511
X=1
existing(X)=1
stsh%(X,2)=1
stsh%(X,4)=5
t%(X)=30
hi%(X)
t%(X)-=10
hi%(X)
t%(X)+=10
lo%(X)
t%(X)-=10
mmbx=0
mmby=0
SIs()=0
SIn$()=""
SIi()=0
SIb()=0
SIt()=0
SIk%()=0
SIr()=0
SIg%()=0
SIna()=0
SIc()=0
SIam()=0
SId()=0
SIv()=0
SIrm()=0
SIu()=0
SIgr()=0
SIm%()=0
SIpo%()=0
SIl%()=0
SItb%()=0
SunX()=0
SunY()=0
SunE()=0
SunP()=0
sunsel()=0
Sunsize()=0
SunName$()=""
plan()=0
planX()=0
planY()=0
pspeed()=0
ps()=0
animate()=0
surf$()=""
plan(X,5)=0
planX(X,5)=1100
planY(X,5)=500
pspeed(X,5)=10
patch_terrapicture
patch_a
KA( patch_a=
("<Planets$Dir>.FILM.a01")
patch_a
6,112,2
sload("<Planets$Dir>.pictures.pl6")
schoose("screendump")
plot(0,0,0)
sdelete("screendump")
"COMPRESS <Planets$Dir>.pictures.PL6"
6,112,1
KL( patch_a=
("<Planets$Dir>.FILM.a01")
#patch_a,"P"
#patch_a