Frame 1
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
percentloadedbox = _root.percentLoaded;
Instance of Symbol 56 MovieClip "disclaimer" in Frame 1
onClipEvent (enterFrame) {
y = _y;
if (y < -150) {
y = 600;
}
y = y - 2;
_y = y;
}
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Instance of Symbol 67 MovieClip in Frame 3
onClipEvent (enterFrame) {
y = _y;
y = y - 1;
_y = y;
}
Frame 5
function load() {
sys_strength = new Array();
sys_strength[0] = myLSO.data.sys_strength0;
sys_strength[1] = myLSO.data.sys_strength1;
sys_strength[2] = myLSO.data.sys_strength2;
sys_strength[3] = myLSO.data.sys_strength3;
sys_strength[4] = myLSO.data.sys_strength4;
sys_strength[5] = myLSO.data.sys_strength5;
sys_strength[6] = myLSO.data.sys_strength6;
sys_strength[7] = myLSO.data.sys_strength7;
sys_strength[8] = myLSO.data.sys_strength8;
sys_strength[9] = myLSO.data.sys_strength9;
sys_strength[10] = myLSO.data.sys_strength10;
sys_strength[11] = myLSO.data.sys_strength11;
sys_strength[12] = myLSO.data.sys_strength12;
sys_strength[13] = myLSO.data.sys_strength13;
sys_strength[14] = myLSO.data.sys_strength14;
sys_strength[15] = myLSO.data.sys_strength15;
sys_strength[16] = myLSO.data.sys_strength16;
sys_strength[17] = myLSO.data.sys_strength17;
sys_strength[18] = myLSO.data.sys_strength18;
sys_strength[19] = myLSO.data.sys_strength19;
sys_strength[20] = myLSO.data.sys_strength20;
sys_strength[21] = myLSO.data.sys_strength21;
sys_strength[22] = myLSO.data.sys_strength22;
sys_strength[23] = myLSO.data.sys_strength23;
sys_strength[24] = myLSO.data.sys_strength24;
sys_strength[25] = myLSO.data.sys_strength25;
sys_strength[26] = myLSO.data.sys_strength26;
sys_strength[27] = myLSO.data.sys_strength27;
sys_strength[28] = myLSO.data.sys_strength28;
sys_strength[29] = myLSO.data.sys_strength29;
sys_strength[30] = myLSO.data.sys_strength30;
sys_strength[31] = myLSO.data.sys_strength31;
sys_strength[32] = myLSO.data.sys_strength32;
sys_strength[33] = myLSO.data.sys_strength33;
sys_strength[34] = myLSO.data.sys_strength34;
sys_strength[35] = myLSO.data.sys_strength35;
sys_strength[36] = myLSO.data.sys_strength36;
sys_strength[37] = myLSO.data.sys_strength37;
sys_strength[38] = myLSO.data.sys_strength38;
sys_strength[39] = myLSO.data.sys_strength39;
tot_energy = myLSO.data.tot_energy;
tot_hull = myLSO.data.tot_hull;
tot_shields = myLSO.data.tot_shields;
tot_phaser = myLSO.data.tot_phaser;
tot_torp = myLSO.data.tot_torp;
tot_speed = myLSO.data.tot_speed;
tot_nettorps = myLSO.data.tot_nettorps;
deftype = myLSO.data.deftype;
prestige = myLSO.data.prestige;
}
function save() {
myLSO.data.sys_strength0 = sys_strength[0];
myLSO.data.sys_strength1 = sys_strength[1];
myLSO.data.sys_strength2 = sys_strength[2];
myLSO.data.sys_strength3 = sys_strength[3];
myLSO.data.sys_strength4 = sys_strength[4];
myLSO.data.sys_strength5 = sys_strength[5];
myLSO.data.sys_strength6 = sys_strength[6];
myLSO.data.sys_strength7 = sys_strength[7];
myLSO.data.sys_strength8 = sys_strength[8];
myLSO.data.sys_strength9 = sys_strength[9];
myLSO.data.sys_strength10 = sys_strength[10];
myLSO.data.sys_strength11 = sys_strength[11];
myLSO.data.sys_strength12 = sys_strength[12];
myLSO.data.sys_strength13 = sys_strength[13];
myLSO.data.sys_strength14 = sys_strength[14];
myLSO.data.sys_strength15 = sys_strength[15];
myLSO.data.sys_strength16 = sys_strength[16];
myLSO.data.sys_strength17 = sys_strength[17];
myLSO.data.sys_strength18 = sys_strength[18];
myLSO.data.sys_strength19 = sys_strength[19];
myLSO.data.sys_strength20 = sys_strength[20];
myLSO.data.sys_strength21 = sys_strength[21];
myLSO.data.sys_strength22 = sys_strength[22];
myLSO.data.sys_strength23 = sys_strength[23];
myLSO.data.sys_strength24 = sys_strength[24];
myLSO.data.sys_strength25 = sys_strength[25];
myLSO.data.sys_strength26 = sys_strength[26];
myLSO.data.sys_strength27 = sys_strength[27];
myLSO.data.sys_strength28 = sys_strength[28];
myLSO.data.sys_strength29 = sys_strength[29];
myLSO.data.sys_strength30 = sys_strength[30];
myLSO.data.sys_strength31 = sys_strength[31];
myLSO.data.sys_strength32 = sys_strength[32];
myLSO.data.sys_strength33 = sys_strength[33];
myLSO.data.sys_strength34 = sys_strength[34];
myLSO.data.sys_strength35 = sys_strength[35];
myLSO.data.sys_strength36 = sys_strength[36];
myLSO.data.sys_strength37 = sys_strength[37];
myLSO.data.sys_strength38 = sys_strength[38];
myLSO.data.sys_strength39 = sys_strength[39];
myLSO.data.tot_energy = tot_energy;
myLSO.data.tot_hull = tot_hull;
myLSO.data.tot_shields = tot_shields;
myLSO.data.tot_phaser = tot_phaser;
myLSO.data.tot_torp = tot_torp;
myLSO.data.tot_speed = tot_speed;
myLSO.data.tot_nettorps = tot_nettorps;
myLSO.data.deftype = deftype;
myLSO.data.prestige = prestige;
}
function hit() {
if (shields > 0) {
shieldstrength = shieldstrength - hitstrength;
shields = shieldstrength;
if (shields < 1) {
shields = 0;
setProperty("shieldup", _x , -300);
setProperty("shieldup", _y , 100);
comm = "SHIELDS HAVE FAILED!";
}
}
if (shields <= 0) {
hull = hull - hitstrength;
}
}
function dead() {
removeallships();
gotoAndPlay (10);
}
function createnewenemy() {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
if (sys_strength[sectornum] >= 0) {
shiprandom = 3;
}
if (sys_strength[sectornum] > 2000) {
shiprandom = 5;
}
if (sys_strength[sectornum] > 3000) {
shiprandom = 6;
}
if (sys_strength[sectornum] > 4000) {
shiprandom = 8;
}
shipassign = random(shiprandom);
if (shipassign == 0) {
ship1type = 38;
}
if (shipassign == 1) {
ship1type = 2;
}
if (shipassign == 2) {
ship1type = 38;
}
if (shipassign == 3) {
ship1type = 47;
}
if (shipassign == 4) {
ship1type = 20;
}
if (shipassign == 5) {
ship1type = 11;
}
if (shipassign == 6) {
ship1type = 29;
}
if (shipassign == 7) {
ship1type = 56;
}
if (shipassign == 8) {
ship1type = 56;
}
duplicateMovieClip ("ship1", "eship" add _root.shotname, _root.shotname);
Set(("eship" add _root.shotname) add ":shiptype", ship1type);
Set(("eship" add _root.shotname) add ":myenergy", 30);
Set(("eship" add _root.shotname) add ":target", _root.shotname);
i = 0;
while (i < 10) {
if (shipslot[i] == "") {
shipslot[i] = "eship" add _root.shotname;
break;
}
i++;
}
if (sys_strength[sectornum] <= 0) {
shipx = 0;
shipy = 0;
shipx = shipx + random(5000);
if (random(1) == 0) {
shipy = -5000 - random(500);
} else {
shipy = 5000 + random(500);
}
shipx = shipx - random(5000);
} else {
shipx = random(2);
if (shipx == 0) {
shipx = bajor._x;
shipy = bajor._y;
}
if (shipx == 1) {
shipx = bajor2._x;
shipy = bajor2._y;
}
if (shipx == 2) {
shipx = bajor3._x;
shipy = bajor3._y;
}
}
setProperty("eship" add _root.shotname, _rotation , rotation);
setProperty("eship" add _root.shotname, _x , shipx);
setProperty("eship" add _root.shotname, _y , shipy);
_root.shotname = _root.shotname + 1;
if (_root.shotname >= 1001) {
_root.shotname = 1;
}
duplicateMovieClip ("eblip", "enemyblip" add _root.shotname, _root.shotname);
target = _root.shotname - 1;
Set(("enemyblip" add _root.shotname) add ":target", target);
}
function createfriendly() {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("friendly", "fship" add _root.shotname, _root.shotname);
i = 0;
while (i < 10) {
if (fshipslot[i] == "") {
fshipslot[i] = "fship" add _root.shotname;
break;
}
i++;
}
shipx = 0;
shipx = 0;
shipx = shipx + random(3000);
shipy = shipy + random(3000);
shipx = shipx - random(3000);
shipy = shipy - random(3000);
setProperty("fship" add _root.shotname, _rotation , rotation);
setProperty("fship" add _root.shotname, _x , shipx);
setProperty("fship" add _root.shotname, _y , shipy);
Set(("fship" add _root.shotname) add ":target", 1);
Set(("fship" add _root.shotname) add ":my_destination", 0);
my_blip = _root.shotname + 1;
Set(("fship" add _root.shotname) add ":my_blip", my_blip);
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1001) {
_root.shotname = 1;
}
duplicateMovieClip ("fblip", "friendlyblip" add _root.shotname, _root.shotname);
target = _root.shotname - 1;
Set(("friendlyblip" add _root.shotname) add ":target", target);
}
function deliver() {
cargobay[0] = "";
cargobay[1] = "";
cargobay[2] = "EMPTY";
comm = "YOUR CARGO HAS BEEN TRANSPORTED TO THE SURFACE...";
cargo = "EMPTY";
prestige = (prestige + 200) + (sys_strength[sectornum] / 10);
}
function removeallships() {
i = 0;
while (i < 1001) {
removeMovieClip("shot" add i);
removeMovieClip("eship" add i);
removeMovieClip("friendlyblip" add i);
removeMovieClip("enemyblip" add i);
removeMovieClip("fship" add i);
i++;
}
i = 0;
while (i < 11) {
shipslot[i] = "";
i++;
}
i = 0;
while (i < 11) {
fshipslot[i] = "";
i++;
}
}
function checksystem() {
if (sys_strength[sectornum] < 0) {
sys_strength[sectornum] = 0;
soundbeep = new Sound(this);
soundbeep.attachSound("cheers");
soundbeep.start(0, 0);
prestige = prestige + 5000;
comm = "THIS SYSTEM HAS BEEN LIBERATED! THE FEDERATION CITIZENS REJOICE!";
}
i = 0;
alldead = 1;
while (i < 40) {
if (sys_strength[i] > 0) {
alldead = 0;
}
i++;
}
if (alldead == 1) {
comm = "INCOMING MESSAGE FROM STARFLEET COMMAND...";
gotoAndPlay (7);
tot_energy = 99999 /* 0x01869F */;
energy = tot_energy;
tot_hull = 9999;
hull = tot_hull;
tot_shields = 9999;
shields = 0;
tot_phaser = 300;
tot_torp = 20;
tot_speed = -10;
tot_nettorps = 999;
torpedoes = tot_nettorps;
deftype = 308;
prestige = 99999999 /* 0x5F5E0FF */;
sys_strength[23] = 20000;
hailbox = ("Congradulations, USS " + shipname) + ". The Dominion fleet is in ruin and you have saved the Federation. You have been given a new starship and unlimited prestige. There is a huge Dominion fleet cornered in the Blender System. Have fun blasting them.";
deftype = 308;
}
}
load();
ship1type = 0;
torpedoes = tot_nettorps;
energy = tot_energy;
shields = 0;
shieldstrength = tot_shields;
hull = tot_hull;
torpsaway = 0;
speed = 0;
phaseraway = 0;
ephaseraway = 0;
shotname = 1;
scale = 20;
information = "";
hailbox = "";
Set("spacedock:type", 1);
Set("station:type", 1);
mission = 0;
missionstep = 0;
fshipslot = new Array();
shipslot = new Array();
cargobay = new Array();
cargobay[1] = "";
cargobay[0] = "";
cargobay[2] = "EMPTY";
cargo = "EMPTY";
sys_strength[40] = 0;
sectornum = 40;
currentsystem = "BAJORA";
i = 0;
while (i < 10) {
shipslot[i] = "";
i++;
}
i = 0;
while (i < 10) {
fshipslot[i] = "";
i++;
}
createfriendly();
createfriendly();
createfriendly();
createfriendly();
createfriendly();
createfriendly();
createnewenemy();
setProperty("station", _x , 300);
setProperty("station", _y , 300);
setProperty("spacedock", _x , 0);
setProperty("spacedock", _y , 0);
setProperty("bajor", _x , 2000);
setProperty("bajor", _y , -500);
setProperty("bajor", _xscale , 100);
setProperty("bajor", _yscale , 100);
Set("bajor:name", "BAJOR");
Set("bajor:population", "70,000,000");
Set("bajor:affiliation", "FEDERATION");
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -3100);
setProperty("bajor2", _y , 1000);
Set("bajor2:name", "BIAKISH");
Set("bajor2:population", "5,455,000");
Set("bajor2:affiliation", "FEDERATION");
Set("bajor2:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -800);
setProperty("bajor3", _y , 2500);
Set("bajor3:name", "NEW DELPI");
Set("bajor3:population", "54,500,000");
Set("bajor3:affiliation", "FEDERATION");
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , 1000);
setProperty("star", _x , 9999);
setProperty("torp", _x , 9999);
setProperty("etorp", _x , 9999);
setProperty("etorp2", _x , 9999);
setProperty("ephas", _x , 9999);
setProperty("man", _x , 9999);
setProperty("ship1", _x , 9999);
setProperty("friendly", _x , 9999);
Instance of Symbol 80 MovieClip "star" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 84 MovieClip "torp" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 88 MovieClip "etorp" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 92 MovieClip "etorp2" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 95 MovieClip "ephas" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 98 MovieClip "torp2" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 2);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 2)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 100 MovieClip in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * (_root.speed / 4);
y = (Math.cos(rotation * (Math.PI/180)) * (_root.speed / 4)) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (locx < 0) {
_x = 550;
_y = random(400);
}
if (locx > 550) {
_x = 0;
_y = random(400);
}
if (locy < 0) {
_x = random(550);
_y = 400;
}
if (locy > 400) {
_x = random(550);
_y = 0;
}
}
}
Instance of Symbol 107 MovieClip "station" in Frame 5
onClipEvent (enterFrame) {
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(10) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
if ((((_x > 0) and (_x < 550)) and (_y > 0)) and (_y < 400)) {
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
soundbeep.start(0, 0);
}
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
if (((((_x > 100) and (_x < 500)) and (_y > 50)) and (_y < 400)) and (_root.speed > -10)) {
if (this.hitTest("../defiant")) {
if (_root.information == "") {
_root.information = "FEDERATION STARBASE\r\rTYPE: STARBASE\rAFFILIATION: FEDERATION";
}
} else {
_root.information = "";
}
}
}
Instance of Symbol 110 MovieClip "spacedock" in Frame 5
onClipEvent (enterFrame) {
if (((((_x > 150) and (_x < 450)) and (_y > 100)) and (_y < 300)) and (_root.speed > -10)) {
if (this.hitTest("../defiant")) {
if (_root.information == "") {
_root.information = "DRYDOCK THETA\r\rTYPE: CONSTRUCTION YARD\rAFFILIATION: FEDERATION";
}
} else {
_root.information = "";
}
}
}
Instance of Symbol 121 MovieClip "bajor" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (((((_x < 500) and (_x > 0)) and (_y < 400)) and (_y > 0)) and (_root.speed > -10)) {
if (this.hitTest("../defiant")) {
if (_root.information == "") {
_root.information = ((((((name + newline) + newline) + "POPULATION: ") + population) + newline) + "AFFILIATION: ") + affiliation;
}
} else {
_root.information = "";
}
}
}
}
Instance of Symbol 124 MovieClip "sun" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 121 MovieClip "bajor2" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (((((_x < 500) and (_x > 0)) and (_y < 400)) and (_y > 0)) and (_root.speed > -10)) {
if (this.hitTest("../defiant")) {
if (_root.information == "") {
_root.information = ((((((name + newline) + newline) + "POPULATION: ") + population) + newline) + "AFFILIATION: ") + affiliation;
}
} else {
_root.information = "";
}
}
}
}
Instance of Symbol 121 MovieClip "bajor3" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
if (((((_x < 500) and (_x > 0)) and (_y < 400)) and (_y > 0)) and (_root.speed > -10)) {
if (this.hitTest("../defiant")) {
if (_root.information == "") {
_root.information = ((((((name + newline) + newline) + "POPULATION: ") + population) + newline) + "AFFILIATION: ") + affiliation;
}
} else {
_root.information = "";
}
}
}
}
Instance of Symbol 150 MovieClip "friendly" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 152 MovieClip "fblip" in Frame 5
onClipEvent (enterFrame) {
if ((scale != 0) and (target > 0)) {
x = getProperty("../defiant", _x);
y = getProperty("../defiant", _y);
me_x = getProperty("../fship" add target, _x);
me_y = getProperty("../fship" add target, _y);
Set(("../fship" add target) add ":target", target);
if (y > me_y) {
ydist = y - ((y - me_y) / _root.scale);
_y = ydist;
}
if (y < me_y) {
ydist = y + ((me_y - y) / _root.scale);
_y = ydist;
}
if (x > me_x) {
xdist = x - ((x - me_x) / _root.scale);
_x = xdist;
}
if (x < me_x) {
xdist = x + ((me_x - x) / _root.scale);
_x = xdist;
}
}
if (scale == 0) {
_x = -10;
}
}
Instance of Symbol 47 MovieClip [defiant] "defiant" in Frame 5
onClipEvent (enterFrame) {
if (_root.energy < _root.tot_energy) {
_root.energy = _root.energy + random(5);
}
if (_root.energy > _root.tot_energy) {
_root.energy = _root.tot_energy;
}
if (Math.abs(_root.speed) > 10) {
_root.energy = _root.energy - random(10);
}
if ((_root.shields > 0) and (random(5) == 1)) {
_root.energy = _root.energy - 1;
}
if (_root.torpsaway > 0) {
_root.torpsaway = _root.torpsaway - 1;
}
if (_root.shields < 0) {
_root.shields = 0;
}
if (_root.shieldstrength < _root.tot_shields) {
if (random(15) == 1) {
_root.shieldstrength = _root.shieldstrength + 1;
}
if (_root.shields != 0) {
_root.shields = _root.shieldstrength;
}
}
if (_root.speed >= _root.tot_speed) {
if (Key.isDown(38)) {
if (_root.speed > _root.tot_speed) {
_root.speed = _root.speed - 1;
}
_root.speedmenu = Math.abs(_root.speed);
}
if (Key.isDown(40)) {
_root.speed = _root.speed + 1;
if (_root.speed > 0) {
_root.speed = 0;
}
_root.speedmenu = Math.abs(_root.speed);
}
}
if (Key.isDown(37)) {
if (_root.energy > 50) {
angle = getProperty("../defiant", _rotation);
changeangle = 10 - (Math.abs(_root.speed) * 2);
if (changeangle < 1) {
changeangle = 1;
}
angle = angle - changeangle;
setProperty("../defiant", _rotation , angle);
if (_root.shields > 0) {
setProperty("../shieldup", _rotation , angle);
}
}
}
if (Key.isDown(39)) {
if (_root.energy > 50) {
changeangle = 10 - (Math.abs(_root.speed) * 2);
if (changeangle < 1) {
changeangle = 1;
}
angle = angle + changeangle;
setProperty("../defiant", _rotation , angle);
if (_root.shields > 0) {
setProperty("../shieldup", _rotation , angle);
}
}
}
if (_root.energy < 40) {
_root.comm = "WARNING: POWER FAILURE...ALL SYSTEMS OFFLINE!";
setProperty("../shieldup", _x , -50);
setProperty("../shieldup", _y , 100);
if (_root.speed < -10) {
setProperty("../defiant", _yscale , 100);
}
_root.speed = 0;
_root.speedmenu = Math.abs(_root.speed);
_root.shields = 0;
}
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
locx = getProperty("../station", _x);
locy = getProperty("../station", _y);
locx = locx + x;
locy = locy + y;
setProperty("../station", _x , locx);
setProperty("../station", _y , locy);
locx = getProperty("../spacedock", _x);
locy = getProperty("../spacedock", _y);
locx = locx + x;
locy = locy + y;
setProperty("../spacedock", _x , locx);
setProperty("../spacedock", _y , locy);
}
Instance of Symbol 204 MovieClip "ship1" in Frame 5
onClipEvent (enterFrame) {
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 254 MovieClip "man" in Frame 5
onClipEvent (enterFrame) {
spin = _rotation;
spin = spin + 2;
_rotation = spin;
rotation = getProperty("../defiant", _rotation);
x = Math.sin(rotation * (Math.PI/180)) * _root.speed;
y = (Math.cos(rotation * (Math.PI/180)) * _root.speed) * -1;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
}
}
Instance of Symbol 284 MovieClip "stationblip" in Frame 5
onClipEvent (enterFrame) {
x = getProperty("../defiant", _x);
y = getProperty("../defiant", _y);
me_x = getProperty("../station", _x);
me_y = getProperty("../station", _y);
if (y > me_y) {
ydist = y - ((y - me_y) / _root.scale);
_y = ydist;
}
if (y < me_y) {
ydist = y + ((me_y - y) / _root.scale);
_y = ydist;
}
if (x > me_x) {
xdist = x - ((x - me_x) / _root.scale);
_x = xdist;
}
if (x < me_x) {
xdist = x + ((me_x - x) / _root.scale);
_x = xdist;
}
}
Instance of Symbol 12 MovieClip [eblip] "eblip" in Frame 5
onClipEvent (enterFrame) {
if ((scale != 0) and (target > 0)) {
x = getProperty("../defiant", _x);
y = getProperty("../defiant", _y);
me_x = getProperty("../eship" add target, _x);
me_y = getProperty("../eship" add target, _y);
Set(("../fship" add target) add ":target", target);
if (y > me_y) {
ydist = y - ((y - me_y) / _root.scale);
_y = ydist;
}
if (y < me_y) {
ydist = y + ((me_y - y) / _root.scale);
_y = ydist;
}
if (x > me_x) {
xdist = x - ((x - me_x) / _root.scale);
_x = xdist;
}
if (x < me_x) {
xdist = x + ((me_x - x) / _root.scale);
_x = xdist;
}
}
if (scale == 0) {
_x = -10;
}
}
Instance of Symbol 286 MovieClip "planetblip" in Frame 5
onClipEvent (enterFrame) {
x = getProperty("../defiant", _x);
y = getProperty("../defiant", _y);
me_x = getProperty(target, _x);
me_y = getProperty(target, _y);
if (y > me_y) {
ydist = y - ((y - me_y) / _root.scale);
_y = ydist;
}
if (y < me_y) {
ydist = y + ((me_y - y) / _root.scale);
_y = ydist;
}
if (x > me_x) {
xdist = x - ((x - me_x) / _root.scale);
_x = xdist;
}
if (x < me_x) {
xdist = x + ((me_x - x) / _root.scale);
_x = xdist;
}
}
Instance of Symbol 288 MovieClip in Frame 5
onClipEvent (enterFrame) {
x = getProperty("../defiant", _x);
y = getProperty("../defiant", _y);
me_x = getProperty("../sun", _x);
me_y = getProperty("../sun", _y);
if (y > me_y) {
ydist = y - ((y - me_y) / _root.scale);
_y = ydist;
}
if (y < me_y) {
ydist = y + ((me_y - y) / _root.scale);
_y = ydist;
}
if (x > me_x) {
xdist = x - ((x - me_x) / _root.scale);
_x = xdist;
}
if (x < me_x) {
xdist = x + ((me_x - x) / _root.scale);
_x = xdist;
}
}
Frame 6
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Symbol 47 MovieClip [defiant] Frame 1
gotoAndPlay(_root.deftype);
Symbol 47 MovieClip [defiant] Frame 3
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 35
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 37
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 69
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 71
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 103
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 105
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 137
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 139
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 171
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 173
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 205
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 207
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 239
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 241
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 273
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 275
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 307
_root.dead();
stop();
Symbol 47 MovieClip [defiant] Frame 309
if (_root.hull <= 0) {
gotoAndPlay(_root.deftype + 2);
} else {
gotoAndPlay(_root.deftype);
}
Symbol 47 MovieClip [defiant] Frame 341
_root.dead();
stop();
Symbol 63 Button
on (release) {
gotoAndPlay (5);
}
Symbol 68 Button
on (release) {
myLSO = SharedObject.getLocal("flashtrek");
if (myLSO.data.shipname == undefined) {
gotoAndStop (4);
} else {
shipname = myLSO.data.shipname;
gotoAndPlay (5);
}
}
Symbol 71 Button
on (release) {
myLSO = SharedObject.getLocal("flashtrek");
gotoAndStop (4);
}
Symbol 76 Button
on (release) {
myLSO.data.shipname = shipname;
myLSO.data.sys_strength39 = 2400;
myLSO.data.sys_strength24 = 4000;
myLSO.data.sys_strength31 = 1500;
myLSO.data.sys_strength28 = 4500;
myLSO.data.sys_strength16 = 2200;
myLSO.data.sys_strength27 = 5000;
myLSO.data.sys_strength13 = 4700;
myLSO.data.sys_strength32 = 4850;
myLSO.data.sys_strength38 = 5000;
myLSO.data.sys_strength33 = 4200;
myLSO.data.sys_strength34 = 4000;
myLSO.data.sys_strength35 = 3700;
myLSO.data.sys_strength37 = 3000;
myLSO.data.sys_strength36 = 3000;
myLSO.data.sys_strength12 = 2700;
myLSO.data.sys_strength25 = 5000;
myLSO.data.sys_strength26 = 1570;
myLSO.data.sys_strength11 = 3500;
myLSO.data.sys_strength30 = 3500;
myLSO.data.sys_strength29 = 3500;
myLSO.data.sys_strength22 = 2700;
myLSO.data.sys_strength21 = 2700;
myLSO.data.sys_strength17 = 1050;
myLSO.data.sys_strength20 = 4300;
myLSO.data.sys_strength23 = 4500;
myLSO.data.sys_strength19 = 4300;
myLSO.data.sys_strength18 = 4300;
myLSO.data.sys_strength8 = 4000;
myLSO.data.sys_strength10 = 3700;
myLSO.data.sys_strength7 = 2800;
myLSO.data.sys_strength6 = 3400;
myLSO.data.sys_strength5 = 4100;
myLSO.data.sys_strength9 = 4100;
myLSO.data.sys_strength15 = 3100;
myLSO.data.sys_strength4 = 3100;
myLSO.data.sys_strength3 = 2400;
myLSO.data.sys_strength2 = 3400;
myLSO.data.sys_strength1 = 4300;
myLSO.data.sys_strength0 = 5000;
myLSO.data.tot_energy = 3000;
myLSO.data.tot_hull = 50;
myLSO.data.tot_shields = 25;
myLSO.data.tot_phaser = -20;
myLSO.data.tot_torp = 0;
myLSO.data.tot_speed = -4;
myLSO.data.tot_nettorps = 5;
myLSO.data.deftype = 274;
myLSO.data.prestige = 0;
myLSO.data.flush();
gotoAndPlay (5);
}
Symbol 80 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
_x = (Number(my_x) + Number(xmov));
_y = (Number(my_y) + Number(ymov));
remove = 0;
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
if (this.hitTest(slot) and (_root.shipslot[i] != "")) {
Set(slot add ":energydraw", 20);
Set(slot add ":my_target", "defiant");
remove = 1;
}
i++;
}
if (this.hitTest("../man" add slot)) {
remove = 1;
setProperty("../man", _x , -9999);
choice = random(5);
if (choice == 0) {
_root.comm = "I THINK HE'S DEAD, CAPTAIN...";
}
if (choice == 1) {
_root.comm = "NICE SHOOTING, TEX!";
}
if (choice == 2) {
_root.comm = "CAPTAIN, WE REALLY SHOULDN'T USE REDSHIRTS FOR TARGET PRACTICE.";
}
if (choice == 3) {
_root.comm = "I NEVER LIKED HIM MUCH ANYWAY...";
}
if (choice == 4) {
_root.comm = "VENTING FRUSTRATION, CAPTAIN?";
}
if (choice == 5) {
_root.comm = "WE'RE LOYAL, SIR...YOU REALLY DON'T HAVE TO MAKE AN EXAMPLE.";
}
}
}
if (remove == 1) {
removeMovieClip("");
}
Symbol 80 MovieClip Frame 2
gotoAndPlay (1);
Symbol 84 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
_x = (Number(my_x) + Number(xmov));
_y = (Number(my_y) + Number(ymov));
remove = 0;
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
if (this.hitTest(slot) and (_root.shipslot[i] != "")) {
Set(slot add ":energydraw", 20);
remove = 1;
}
i++;
}
if (this.hitTest("../man" add slot)) {
remove = 1;
setProperty("../man", _x , -9999);
_root.comm = "CAPTAIN, SHOULD WE REALLY WASTE TORPEDOES ON SOMEONE WHO'S ALREADY DEAD?";
}
}
if (remove == 1) {
gotoAndPlay (3);
}
Symbol 84 MovieClip Frame 2
gotoAndPlay (1);
Symbol 84 MovieClip Frame 5
removeMovieClip("");
Symbol 88 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
if (this.hitTest("../defiant")) {
_root.hitstrength = 10;
_root.hit();
gotoAndPlay (3);
}
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
if (this.hitTest("../" add _root.fshipslot[i])) {
Set(("../" add _root.fshipslot[i]) add ":hit", 30);
gotoAndPlay (3);
break;
}
}
i++;
}
}
rotation = getProperty("../defiant", _rotation);
x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1;
y = Math.cos(rotation * (Math.PI/180)) * 20;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
locx = Number(my_x) + Number(xmov);
locy = Number(my_y) + Number(ymov);
_x = locx;
_y = locy;
}
Symbol 88 MovieClip Frame 2
gotoAndPlay (1);
Symbol 88 MovieClip Frame 5
removeMovieClip("");
Symbol 92 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
if (this.hitTest("../defiant")) {
_root.hitstrength = 10;
_root.hit();
gotoAndPlay (3);
}
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
if (this.hitTest("../" add _root.fshipslot[i])) {
Set(("../" add _root.fshipslot[i]) add ":hit", 30);
gotoAndPlay (3);
break;
}
}
i++;
}
}
rotation = getProperty("../defiant", _rotation);
x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1;
y = Math.cos(rotation * (Math.PI/180)) * 20;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
locx = Number(my_x) + Number(xmov);
locy = Number(my_y) + Number(ymov);
_x = locx;
_y = locy;
}
Symbol 92 MovieClip Frame 2
gotoAndPlay (1);
Symbol 92 MovieClip Frame 5
removeMovieClip("");
Symbol 95 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else if (this.hitTest("../defiant")) {
_root.hitstrength = 5;
_root.hit();
removeMovieClip("");
}
rotation = getProperty("../defiant", _rotation);
x = (Math.sin(rotation * (Math.PI/180)) * 20) * -1;
y = Math.cos(rotation * (Math.PI/180)) * 20;
if (!_root.move.hitTest(_x + x, _y + y, true)) {
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
locx = Number(my_x) + Number(xmov);
locy = Number(my_y) + Number(ymov);
_x = locx;
_y = locy;
}
Symbol 95 MovieClip Frame 2
gotoAndPlay (1);
Symbol 98 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or (Number(my_x) < Number(0))) {
removeMovieClip("");
} else {
_x = (Number(my_x) + Number(xmov));
_y = (Number(my_y) + Number(ymov));
remove = 0;
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
if (this.hitTest(slot) and (_root.shipslot[i] != "")) {
Set(slot add ":energydraw", 25);
remove = 1;
}
i++;
}
if (this.hitTest("../defiant")) {
_root.hitstrength = 10;
_root.hit();
remove = 1;
}
}
if (remove == 1) {
gotoAndPlay (3);
}
Symbol 98 MovieClip Frame 2
gotoAndPlay (1);
Symbol 98 MovieClip Frame 5
removeMovieClip("");
Symbol 107 MovieClip Frame 1
if (type == 1) {
gotoAndPlay (3);
}
if (type == 2) {
gotoAndPlay (24);
}
Symbol 107 MovieClip Frame 2
gotoAndPlay (1);
Symbol 107 MovieClip Frame 23
if (type == 0) {
gotoAndPlay (1);
}
if (type == 1) {
gotoAndPlay (3);
}
if (type == 2) {
gotoAndPlay (24);
}
Symbol 107 MovieClip Frame 28
if (type == 0) {
gotoAndPlay (1);
}
if (type == 1) {
gotoAndPlay (3);
}
if (type == 2) {
gotoAndPlay (24);
}
Symbol 110 MovieClip Frame 1
if (type == 1) {
gotoAndPlay (3);
}
Symbol 110 MovieClip Frame 2
if (type == 0) {
gotoAndPlay (1);
}
if (type == 1) {
gotoAndPlay (3);
}
Symbol 110 MovieClip Frame 4
if (type == 0) {
gotoAndPlay (1);
}
if (type == 1) {
gotoAndPlay (3);
}
Symbol 121 MovieClip Frame 1
gotoAndPlay(planetimage * 2);
Symbol 121 MovieClip Frame 3
gotoAndPlay(planetimage * 2);
Symbol 121 MovieClip Frame 5
gotoAndPlay(planetimage * 2);
Symbol 121 MovieClip Frame 7
gotoAndPlay(planetimage * 2);
Symbol 121 MovieClip Frame 9
gotoAndPlay(planetimage * 2);
Symbol 121 MovieClip Frame 11
gotoAndPlay(planetimage * 2);
Symbol 121 MovieClip Frame 13
gotoAndPlay(planetimage * 2);
Symbol 150 MovieClip Frame 1
if (target > 0) {
gotoAndPlay((random(14) + 1) * 2);
damage = 0;
} else {
stop();
}
Symbol 150 MovieClip Frame 2
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
Symbol 150 MovieClip Frame 3
gotoAndPlay (2);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 4
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
if ((((_x < 0) and (_y < 0)) and (_x > 550)) and (_x > 400)) {
Set(("../" add slot) add ":energydraw", 25);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 5
gotoAndPlay (4);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 6
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
Symbol 150 MovieClip Frame 7
gotoAndPlay (6);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FERENGI SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 8
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 9
gotoAndPlay (8);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 10
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
Symbol 150 MovieClip Frame 11
gotoAndPlay (10);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 12
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 13
gotoAndPlay (12);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 14
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 15
gotoAndPlay (14);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 16
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 17
gotoAndPlay (16);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 18
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 1;
y = (Math.cos(rotation * (Math.PI/180)) * 1) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
Symbol 150 MovieClip Frame 19
gotoAndPlay (18);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -100) {
_root.comm = "A FEDERATION SHUTTLECRAFT HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 20
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
Symbol 150 MovieClip Frame 21
gotoAndPlay (20);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -20) {
_root.comm = "A FEDERATION RUNABOUT HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 150 MovieClip Frame 23
gotoAndPlay (18);
Symbol 150 MovieClip Frame 25
gotoAndPlay (18);
Symbol 150 MovieClip Frame 27
gotoAndPlay (20);
Symbol 150 MovieClip Frame 28
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 29
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
if ((((_x > 0) and (_x < 550)) and (_y > 0)) and (_y < 400)) {
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
soundbeep.start(0, 0);
}
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 30
if (my_destination == 0) {
dest = random(3);
if (dest == 0) {
my_destination = "../bajor";
}
if (dest == 1) {
my_destination = "../bajor2";
}
if (dest == 2) {
my_destination = "../bajor3";
}
}
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * 3;
y = (Math.cos(rotation * (Math.PI/180)) * 3) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
x = getProperty(my_destination, _x);
y = getProperty(my_destination, _y);
z = x - _x;
r = y - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (y > _y) {
_rotation = (90 - _rotation);
} else if (y < _y) {
_rotation = (180 - (_rotation - 90));
}
if (this.hitTest(my_destination)) {
my_destination = 0;
}
i = 0;
while (i < 10) {
slot = "../" add _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
if (x < 1) {
x = 9999;
}
if ((Math.abs(_x - x) < 250) and (Math.abs(_y - y) < 200)) {
z = x - _x;
r = y - _y;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > _y) {
rotation = 90 - rotation;
} else if (y < _y) {
rotation = 180 - (rotation - 90);
}
if (random(20) == 1) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../torp2", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
rotation = rotation + random(20);
rotation = rotation - random(20);
if ((((_x > 0) and (_x < 550)) and (_y > 0)) and (_y < 400)) {
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
soundbeep.start(0, 0);
}
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , _x);
setProperty("../shot" add _root.shotname, _y , _y);
}
}
i++;
}
Symbol 150 MovieClip Frame 31
gotoAndPlay (28);
if (hit > 0) {
damage = damage - hit;
hit = 0;
}
if (damage < -50) {
_root.comm = "A FEDERATION SHIP HAS BEEN DESTROYED";
removeMovieClip("../friendlyblip" add my_blip);
removeMovieClip("");
}
Symbol 183 MovieClip Frame 1
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 4
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 38
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 72
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 106
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 140
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 174
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 208
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 242
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 276
gotoAndPlay(_root.deftype);
Symbol 183 MovieClip Frame 310
gotoAndPlay(_root.deftype);
Symbol 186 MovieClip Frame 1
if (_root.phaseraway > 0) {
myx = getProperty("../defiant", _x);
myy = getProperty("../defiant", _y);
_x = myx;
_y = myy;
x = getProperty(target, _x);
y = getProperty(target, _y);
_xscale = ((x - 270) + random(5));
_yscale = ((y - 200) + random(5));
_root.phaseraway = _root.phaseraway - 1;
if (_root.phaseraway < 1) {
_x = -999;
_root.phaseraway = 0;
}
}
Symbol 186 MovieClip Frame 2
gotoAndPlay (1);
Symbol 189 MovieClip Frame 1
if (_root.ephaseraway > 0) {
_x = (myx + random(5));
_y = (myy + random(5));
x = getProperty(target, _x);
y = getProperty(target, _y);
_xscale = (x - 270);
_yscale = (y - 200);
_root.ephaseraway = _root.ephaseraway - 1;
if (_root.ephaseraway < 1) {
_x = -999;
_root.ephaseraway = 0;
}
}
Symbol 189 MovieClip Frame 2
gotoAndPlay (1);
Symbol 204 MovieClip Frame 1
stop();
my_target = "";
ticker = random(6);
if (_root.fshipslot[ticker] != "") {
my_target = _root.fshipslot[ticker];
}
if ((_root.fshipslot[ticker] == "") or (my_target == "")) {
ticker = random(2);
if (ticker == 0) {
my_target = "bajor";
}
if (ticker == 1) {
my_target = "bajor2";
}
if (ticker == 2) {
my_target = "bajor3";
}
}
if (my_target == "") {
my_target = "defiant";
}
if ((_root.energy > 3000) and (random(3) == 1)) {
my_target = "defiant";
}
if (shiptype == 2) {
myenergy = 100;
gotoAndPlay (2);
}
if (shiptype == 38) {
myenergy = 50;
gotoAndPlay (38);
}
if (shiptype == 47) {
myenergy = 100;
gotoAndPlay (47);
}
if (shiptype == 20) {
myenergy = 500;
gotoAndPlay (20);
}
if (shiptype == 11) {
myenergy = 1000;
gotoAndPlay (11);
}
if (shiptype == 29) {
myenergy = 1000;
gotoAndPlay (29);
}
if (shiptype == 56) {
myenergy = 1500;
gotoAndPlay (56);
}
Symbol 204 MovieClip Frame 2
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 8;
} else {
my_speed = 7;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 11);
energydraw = 0;
}
if ((((random(20) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(5) == 1)) {
if (random(5) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 30);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) {
if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) {
_root.ephaseraway = 8;
_root.hitstrength = 15;
_root.hit();
Set("../eline:target", this);
Set("../eline:myx", defx);
Set("../eline:myy", defy);
Set("../eline:x", _x);
Set("../eline:y", _y);
soundbeep = new Sound(this);
soundbeep.attachSound("def-phas");
soundbeep.start(0, 0);
}
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if ((random(1000) == 1) and (_root.energy > 5000)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 3
if (myenergy < 1) {
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Symbol 204 MovieClip Frame 10
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("../eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
_root.prestige = _root.prestige + 125;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 250;
}
_root.checksystem();
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 204 MovieClip Frame 11
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 3;
} else {
my_speed = 4;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 13);
energydraw = 0;
}
if ((((random(10) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(5) == 1)) {
if (random(5) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 30);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
if (((random(20) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) {
if ((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) {
_root.ephaseraway = 8;
_root.hitstrength = 15;
_root.hit();
Set("../eline:target", this);
Set("../eline:myx", defx);
Set("../eline:myy", defy);
Set("../eline:x", _x);
Set("../eline:y", _y);
soundbeep = new Sound(this);
soundbeep.attachSound("def-phas");
soundbeep.start(0, 0);
}
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if ((random(1000) == 1) and (_root.energy > 5000)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 12
if (myenergy < 1) {
gotoAndPlay (13);
} else {
gotoAndPlay (11);
}
Symbol 204 MovieClip Frame 19
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("../eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.prestige = _root.prestige + 500;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 799;
}
_root.checksystem();
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 204 MovieClip Frame 20
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 3;
} else {
my_speed = 5;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 7);
energydraw = 0;
}
if ((((random(10) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../etorp2", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(5) == 1)) {
if (random(5) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 30);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if ((random(1000) == 1) and (_root.energy > 5000)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 21
if (myenergy < 1) {
gotoAndPlay (22);
} else {
gotoAndPlay (20);
}
Symbol 204 MovieClip Frame 28
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("../eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
_root.prestige = _root.prestige + 800;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 650;
}
_root.checksystem();
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 204 MovieClip Frame 29
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 4;
} else {
my_speed = 5;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 15);
energydraw = 0;
}
if ((((random(10) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../etorp2", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(5) == 1)) {
if (random(5) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 30);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
if (((random(20) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) {
if ((Math.abs(defx - _x) < 250) and (Math.abs(defy - _y) < 250)) {
_root.ephaseraway = 8;
_root.hitstrength = 15;
_root.hit();
Set("../eline:target", this);
Set("../eline:myx", defx);
Set("../eline:myy", defy);
Set("../eline:x", _x);
Set("../eline:y", _y);
soundbeep = new Sound(this);
soundbeep.attachSound("def-phas");
soundbeep.start(0, 0);
}
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if ((random(1000) == 1) and (_root.energy > 5000)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 30
if (myenergy < 1) {
gotoAndPlay (31);
} else {
gotoAndPlay (29);
}
Symbol 204 MovieClip Frame 37
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.prestige = _root.prestige + 1050;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 800;
}
_root.checksystem();
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 204 MovieClip Frame 38
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 8;
} else {
my_speed = 7;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 9);
energydraw = 0;
}
if ((((random(20) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../etorp2", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(3) == 1)) {
if (random(2) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 30);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
if (((random(40) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) {
if ((Math.abs(defx - _x) < 150) and (Math.abs(defy - _y) < 150)) {
_root.ephaseraway = 8;
_root.hitstrength = 15;
_root.hit();
Set("../eline:target", this);
Set("../eline:myx", defx);
Set("../eline:myy", defy);
Set("../eline:x", _x);
Set("../eline:y", _y);
soundbeep = new Sound(this);
soundbeep.attachSound("def-phas");
soundbeep.start(0, 0);
}
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 39
if (myenergy < 1) {
gotoAndPlay (40);
} else {
gotoAndPlay (38);
}
Symbol 204 MovieClip Frame 46
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.prestige = _root.prestige + 75;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 76;
}
_root.checksystem();
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 204 MovieClip Frame 47
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 6;
} else {
my_speed = 5;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 5);
energydraw = 0;
}
if ((((random(15) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../ephas", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("ephas");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(3) == 1)) {
if (random(2) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 10);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 48
if (myenergy < 1) {
gotoAndPlay (49);
} else {
gotoAndPlay (47);
}
Symbol 204 MovieClip Frame 55
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.prestige = _root.prestige + 70;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 70;
}
_root.checksystem();
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 204 MovieClip Frame 56
defx = getProperty("../" add my_target, _x);
defy = getProperty("../" add my_target, _y);
if ((defx > 0) or (defx < 0)) {
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 250)) {
my_speed = 3;
} else {
my_speed = 2;
}
if ((Math.abs(_x - defx) < 100) and (Math.abs(_y - defy) < 100)) {
my_speed = 0;
}
rotation = _rotation + 90;
x = Math.sin(rotation * (Math.PI/180)) * my_speed;
y = (Math.cos(rotation * (Math.PI/180)) * my_speed) * -1;
locx = _x;
locy = _y;
locx = locx + x;
locy = locy + y;
_x = locx;
_y = locy;
z = defx - _x;
r = defy - _y;
_root.a = z;
_root.b = r;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
_rotation = g;
if (defy > _y) {
_rotation = (90 - _rotation);
} else if (defy < _y) {
_rotation = (180 - (_rotation - 90));
}
if ((Math.abs(_x - defx) < 275) and (Math.abs(_y - defy) < 200)) {
shootx = _x;
shooty = _y;
if (energydraw > 0) {
myenergy = myenergy - energydraw;
Set("_root.hitpointsclip:hitpoints", myenergy);
Set("../scanbox:target", 3);
energydraw = 0;
}
if ((((random(10) == 1) and (my_target != "bajor")) and (my_target != "bajor2")) and (my_target != "bajor3")) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("../etorp", "shot" add _root.shotname, _root.shotname);
rotation = _rotation + 90;
rotation = rotation + random(30);
rotation = rotation - random(30);
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
if ((((_x < 0) or (_y < 0)) or (_x > 550)) or (_x > 400)) {
soundbeep.setVolume(25);
} else {
soundbeep.setVolume(100);
}
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
if (((((my_target != "bajor") and (my_target != "bajor2")) and (my_target != "bajor3")) and (my_target != "defiant")) and (random(5) == 1)) {
if (random(5) == 1) {
_root.comm = "A FEDERATION STARSHIP IS SENDING OUT A DISTRESS SIGNAL...";
}
Set(("../" add my_target) add ":hit", 30);
}
Set(("../shot" add _root.shotname) add ":ymov", phasy);
Set(("../shot" add _root.shotname) add ":xmov", phasx);
setProperty("../shot" add _root.shotname, _rotation , rotation);
setProperty("../shot" add _root.shotname, _x , shootx);
setProperty("../shot" add _root.shotname, _y , shooty);
}
if (((random(10) == 1) and (_root.ephaseraway == 0)) and (my_target == "defiant")) {
if ((Math.abs(defx - _x) < 250) and (Math.abs(defy - _y) < 250)) {
_root.ephaseraway = 8;
_root.hitstrength = 15;
_root.hit();
Set("../eline:target", this);
Set("../eline:myx", defx);
Set("../eline:myy", defy);
Set("../eline:x", _x);
Set("../eline:y", _y);
soundbeep = new Sound(this);
soundbeep.attachSound("def-phas");
soundbeep.start(0, 0);
}
}
}
} else {
i = random(2);
if (i == 0) {
my_target = "bajor";
}
if (i == 1) {
my_target = "bajor2";
}
if (i == 2) {
my_target = "bajor3";
}
}
defx = getProperty("../defiant", _x);
defy = getProperty("../defiant", _y);
if (((Math.abs(defx - _x) < 200) and (Math.abs(defy - _y) < 200)) and (random(500) == 1)) {
my_target = "defiant";
}
if ((random(1000) == 1) and (_root.energy > 5000)) {
my_target = "defiant";
}
if (random(2000) == 1) {
my_target = "bajor";
}
if (random(2000) == 1) {
my_target = "bajor2";
}
if (random(2000) == 1) {
my_target = "bajor3";
}
if ((random(500) == 1) and (((my_target == "bajor") or (my_target == "bajor2")) or (my_target == "bajor3"))) {
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
my_target = _root.fshipslot[i];
}
i++;
}
}
Symbol 204 MovieClip Frame 57
if (myenergy < 1) {
gotoAndPlay (58);
} else {
gotoAndPlay (56);
}
Symbol 204 MovieClip Frame 64
i = 0;
while (i < 10) {
if (_root.shipslot[i] == ("eship" add target)) {
_root.shipslot[i] = "";
}
i++;
}
Set("_root.hitpointsclip:hitpoints", "");
Set("../scanbox:target", 1);
_root.prestige = _root.prestige + 1000;
if (_root.sys_strength[_root.sectornum] > 0) {
_root.sys_strength[_root.sectornum] = _root.sys_strength[_root.sectornum] - 1000;
}
_root.checksystem();
_root.createnewenemy();
target = target + 1;
removeMovieClip("../enemyblip" add target);
removeMovieClip("");
stop();
Symbol 206 Button
on (release) {
comm = "";
hailbox = "";
gotoAndStop (9);
}
Symbol 208 Button
on (release) {
comm = "";
if (tot_energy == 5000) {
if (_root.speed >= -10) {
gunx = getProperty("defiant", _x);
guny = getProperty("defiant", _y);
if (energy > 200) {
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("star", "shot" add _root.shotname, _root.shotname);
rotation = getProperty("defiant", _rotation);
energy = energy - 100;
soundbeep = new Sound(this);
soundbeep.attachSound("def-pulse");
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * (10 + (_root.speed * -1));
phasy = (Math.cos(rotation * (Math.PI/180)) * (10 + (_root.speed * -1))) * -1;
Set(("shot" add _root.shotname) add ":ymov", phasy);
Set(("shot" add _root.shotname) add ":xmov", phasx);
setProperty("shot" add _root.shotname, _rotation , rotation);
setProperty("shot" add _root.shotname, _x , gunx);
setProperty("shot" add _root.shotname, _y , guny);
} else {
comm = "INSUFFICIENT ENERGY TO FIRE PULSE PHASERS...";
}
}
} else {
if (((energy > 350) and (_root.phaseraway == 0)) and (speed >= -10)) {
i = 0;
while (i < 10) {
if (_root.shipslot[i] != "") {
slot = _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
defx = getProperty("defiant", _x);
defy = getProperty("defiant", _y);
if ((((Math.abs(defx - x) < (150 + tot_phaser)) and (Math.abs(defy - y) < (150 + tot_phaser))) and (x > 1)) and (_root.phaseraway == 0)) {
_root.phaseraway = 8;
Set(slot add ":energydraw", 10 + (_root.tot_phaser / 10));
Set(slot add ":my_target", "defiant");
energy = energy - 100;
slot = "../" add slot;
Set("line:target", slot);
Set("line:x", x);
Set("line:y", y);
soundbeep = new Sound(this);
soundbeep.attachSound("def-phas");
soundbeep.start(0, 0);
}
}
i++;
}
}
if (energy < 350) {
comm = "INSUFFICIENT ENERGY TO FIRE PHASERS...";
}
if (speed < -10) {
comm = "CANNOT FIRE PHASERS AT WARP SPEED...";
}
}
}
Symbol 210 Button
on (release) {
comm = "";
if (_root.speed != -30) {
if (_root.speed == _root.tot_speed) {
_root.speed = -30;
information = "";
soundbeep = new Sound(this);
soundbeep.attachSound("warp");
soundbeep.start(0, 0);
Set("_root.hitpointsclip:hitpoints", "");
Set("scanbox:target", 1);
speedmenu = "WARP";
setProperty("defiant", _yscale , 250);
setProperty("shieldup", _x , -500);
setProperty("shieldup", _y , 100);
_root.shields = 0;
} else {
comm = "MUST BE AT MAXIMUM IMPULSE TO ENGAGE WARP...";
}
}
}
Symbol 212 Button
on (release) {
comm = "";
if (_root.speed == -30) {
_root.speed = _root.tot_speed;
soundbeep = new Sound(this);
soundbeep.attachSound("dropwarp");
soundbeep.start(0, 0);
speedmenu = Math.abs(_root.speed);
setProperty("defiant", _yscale , 100);
}
}
Symbol 213 Button
on (release) {
comm = "";
if (speedmenu > 0) {
comm = "UNABLE TO TRANSPORT WHILE MOVING...";
} else {
soundbeep = new Sound(this);
soundbeep.attachSound("beam");
soundbeep.start(0, 0);
if (cargobay[2] != cargo) {
cargo = cargobay[2];
hailbox = "Transport complete. Good luck.";
comm = "CARGO TRANSPORTED FROM THE SURFACE..";
}
if (hailbox == "Looking to get rid of some cargo? We could take it off your hands for you.") {
comm = "YOU TRANSPORT YOUR CARGO OVER TO THE OTHER STARSHIP...";
cargo = "EMPTY";
cargobay[0] == "";
cargobay[1] == "";
cargobay[2] == "EMPTY";
hailbox = "Transport complete. We'll make sure this gets to where it needs to go.";
}
if ((bajor.hitTest(defiant) and (cargo != "EMPTY")) and (bajor:name == cargobay[0])) {
deliver();
}
if ((bajor2.hitTest(defiant) and (cargo != "EMPTY")) and (bajor2:name == cargobay[0])) {
deliver();
}
if ((bajor3.hitTest(defiant) and (cargo != "EMPTY")) and (bajor3:name == cargobay[0])) {
deliver();
}
if (comm == "") {
x = getProperty("man", _x);
defx = getProperty("defiant", _x) - 30;
defy = (getProperty("defiant", _y) - random(20)) + random(20);
if (x != -20) {
comm = "CAPTAIN HAVEN'T WE KILLED ENOUGH CREWMEN TODAY?";
}
if (x < 0) {
comm = "YOUR CREWMAN HAS BEEN BEAMED INTO SPACE...";
setProperty("man", _x , defx);
setProperty("man", _y , defy);
}
}
}
}
Symbol 215 Button
on (release) {
defx = getProperty("defiant", _x);
defy = getProperty("defiant", _y);
target_x = getProperty("station", _x);
target_y = getProperty("station", _y);
cancel = 1;
if ((((Math.abs(defx - target_x) < 100) and (Math.abs(defy - target_y) < 100)) and (_root.speed == 0)) and (prestige > 100)) {
comm = "DOCKED AT STATION...";
save();
if (torpedoes < _root.tot_nettorps) {
prestige = prestige - (_root.tot_nettorps - torpedoes);
torpedoes = _root.tot_nettorps;
comm = comm + "TORPEDOES RESTOCKED...";
}
if (energy < _root.tot_energy) {
energy = _root.tot_energy;
prestige = prestige - (_root.tot_energy - energy);
comm = comm + "ENERGY BATTERIES RECHARGED...";
}
if (hull < _root.tot_hull) {
prestige = prestige - (_root.tot_hull - hull);
hull = _root.tot_hull;
comm = comm + "HULL REPAIRED...";
}
if (shieldstrength < 100) {
shieldstrength = _root.tot_shields;
comm = comm + "SHIELDS RECHARGED.";
}
cancel = 0;
}
target_x = getProperty("spacedock", _x);
target_y = getProperty("spacedock", _y);
if (((Math.abs(defx - target_x) < 100) and (Math.abs(defy - target_y) < 100)) and (_root.speed == 0)) {
comm = "DOCKED AT SPACEDOCK...";
gotoAndPlay (8);
cancel = 0;
}
if (prestige < 100) {
comm = "THE STATION WONDERS WHY THEY SHOULD WASTE THEIR RESOURCES ON YOU.";
cancel = 0;
}
if (prestige < 0) {
comm = "THE DOCKMASTER TELLS YOU NOT TO COME BACK UNTIL YOU'VE EARNED IT.";
cancel = 0;
}
if (cancel == 1) {
comm = "NOT CLOSE ENOUGH TO STATION TO DOCK...";
if (_root.speed < 0) {
comm = comm + "MOVING TO FAST TO DOCK...";
}
}
}
Symbol 217 Button
on (release) {
if (((_root.shields == 0) and (_root.shieldstrength > 0)) and (_root.speed >= -10)) {
if (energy > 50) {
comm = "RAISING SHIELDS!";
_root.shields = _root.shieldstrength;
sx = getProperty("defiant", _x);
sy = getProperty("defiant", _y);
angle = getProperty("defiant", _rotation);
setProperty("shieldup", _rotation , angle);
setProperty("shieldup", _x , sx);
setProperty("shieldup", _y , sy);
} else {
comm = "THE SHIELDS ARE INOPERATIVE";
}
} else if (_root.shields > 0) {
comm = "LOWERING SHIELDS!";
setProperty("shieldup", _x , -500);
setProperty("shieldup", _y , 100);
_root.shields = 0;
}
}
Symbol 219 Button
on (release) {
if (hailbox == "") {
defx = getProperty("defiant", _x);
defy = getProperty("defiant", _y);
i = 0;
while (i < 10) {
if (_root.fshipslot[i] != "") {
x = getProperty(_root.fshipslot[i], _x);
y = getProperty(_root.fshipslot[i], _y);
slot = _root.fshipslot[i];
if ((Math.abs(defx - x) < 200) and (Math.abs(defy - y) < 200)) {
comm = "HAILING FREQUENCIES OPEN...";
gotoAndPlay (7);
response = random(7);
if ((response == 0) or (response == 7)) {
hailbox = "Hello.";
}
if (response == 1) {
hailbox = ("Greetings, USS " + shipname) + ". We're a little busy.";
}
if (response == 2) {
hailbox = ("We don't have time to talk, USS " + shipname) + ". Look out for the Dominion!";
}
if (response == 4) {
hailbox = ("We can't help you, USS " + shipname) + ". We'd just as soon avoid the Dominion if we can. You'd best be avoiding them, too.";
}
if (response == 5) {
hailbox = ("Greetings, USS " + shipname) + ". The Dominion ships have worn us down. We can be of no use to you.";
}
if (response == 6) {
hailbox = "Look at our ship. It's in shambles. I don't know what use we could possibly be to you.";
}
if ((random(2) == 0) and (cargo != "EMPTY")) {
hailbox = "Looking to get rid of some cargo? We could take it off your hands for you.";
}
}
}
i++;
}
if ((Math.abs(defiant._x - station._x) < 200) and (Math.abs(defiant._y - station._y) < 200)) {
comm = "HAILING FREQUENCIES OPEN...";
gotoAndPlay (7);
hailbox = ("USS " + shipname) + " you are cleared. If you are in need of repairs, feel free to dock.";
}
if ((Math.abs(defiant._x - spacedock._x) < 150) and (Math.abs(defiant._y - spacedock._y) < 150)) {
comm = "HAILING FREQUENCIES OPEN...";
gotoAndPlay (7);
hailbox = "Welcome to Spacedock Theta. Are you interested in acquiring a new starship? Feel free to dock and see our inventory.";
}
sentinal = 0;
if ((defiant.hitTest(bajor) or defiant.hitTest(bajor2)) or defiant.hitTest(bajor3)) {
planet = random(53) + 1;
if (planet == 1) {
planetname = "BAJOR";
sectorname = "BAJORA";
}
if (planet == 2) {
planetname = "NEW DELPI";
sectorname = "BAJORA";
}
if (planet == 3) {
planetname = "BIAKISH";
sectorname = "BAJORA";
}
if (planet == 4) {
planetname = "COD";
sectorname = "REGULA";
}
if (planet == 5) {
planetname = "LEXICON";
sectorname = "REGULA";
}
if (planet == 6) {
planetname = "EARTH";
sectorname = "SOL";
}
if (planet == 7) {
planetname = "JUPITER";
sectorname = "SOL";
}
if (planet == 8) {
planetname = "MARS";
sectorname = "SOL";
}
if (planet == 9) {
planetname = "FRANSISCO";
sectorname = "OCULA";
}
if (planet == 10) {
planetname = "PETA";
sectorname = "OCULA";
}
if (planet == 11) {
planetname = "BEEF";
sectorname = "OCULA";
}
if (planet == 12) {
planetname = "QUONOS";
sectorname = "EASIA";
}
if (planet == 13) {
planetname = "KLINGI";
sectorname = "EASIA";
}
if (planet == 14) {
planetname = "SETI";
sectorname = "EASIA";
}
if (planet == 15) {
planetname = "MOCHA PRIME";
sectorname = "COFFEE";
}
if (planet == 16) {
planetname = "VANILLA";
sectorname = "COFFEE";
}
if (planet == 17) {
planetname = "FROTH";
sectorname = "COFFEE";
}
if (planet == 18) {
planetname = "ROMULUS";
sectorname = "FOLKQUA";
}
if (planet == 19) {
planetname = "REMUS";
sectorname = "FOLKQUA";
}
if (planet == 20) {
planetname = "TEDDY";
sectorname = "FOLKQUA";
}
if (planet == 21) {
planetname = "BIATCH";
sectorname = "UNIVERSA";
}
if (planet == 22) {
planetname = "OZARKA";
sectorname = "UNIVERSA";
}
if (planet == 23) {
planetname = "BOTTLENECK";
sectorname = "UNIVERSA";
}
if (planet == 24) {
planetname = "BALL";
sectorname = "HITCHA";
}
if (planet == 25) {
planetname = "BOUNCY";
sectorname = "HITCHA";
}
if (planet == 26) {
planetname = "FUZZY";
sectorname = "HITCHA";
}
if (planet == 27) {
planetname = "BROKEN";
sectorname = "HART";
}
if (planet == 28) {
planetname = "CRASHLAND";
sectorname = "LOANER";
}
if (planet == 29) {
planetname = "DENALI";
sectorname = "STARBUCKS";
}
if (planet == 30) {
planetname = "TUCSON";
sectorname = "JUMA";
}
if (planet == 31) {
planetname = "YRUMUVIN";
sectorname = "YURI";
}
if (planet == 32) {
planetname = "CHANDLER";
sectorname = "WINN";
}
if (planet == 33) {
planetname = "SEDONA";
sectorname = "QUAN";
}
if (planet == 34) {
planetname = "NEW BELT";
sectorname = "ORION";
}
if (planet == 35) {
planetname = "VULCAN";
sectorname = "VULCA";
}
if (planet == 36) {
planetname = "NEW JEEP";
sectorname = "SIRIUS";
}
if (planet == 37) {
planetname = "WRANGLER";
sectorname = "BRAKSTINE";
}
if (planet == 38) {
planetname = "STUDIOS";
sectorname = "RENAULT";
}
if (planet == 39) {
planetname = "PHOEBE";
sectorname = "CHISTA";
}
if (planet == 40) {
planetname = "OPTIMUS PRIME";
sectorname = "OPTIMUS";
}
if (planet == 41) {
planetname = "WATERWORLD";
sectorname = "WAX";
}
if (planet == 42) {
planetname = "DISNEY";
sectorname = "FANTASTICA";
}
if (planet == 43) {
planetname = "CHERRY";
sectorname = "BLENDER";
}
if (planet == 44) {
planetname = "CENTRAL PERK";
sectorname = "GENESIS";
}
if (planet == 45) {
planetname = "XIANG";
sectorname = "KENDITE";
}
if (planet == 46) {
planetname = "GIZMO";
sectorname = "GURU";
}
if (planet == 47) {
planetname = "BROKEN";
sectorname = "HART";
}
if (planet == 48) {
planetname = "NEMESIS";
sectorname = "BENZITE";
}
if (planet == 49) {
planetname = "ALPHA";
sectorname = "BETA";
}
if (planet == 50) {
planetname = "ARIZONA";
sectorname = "NEW AMERA";
}
if (planet == 51) {
planetname = "ALF";
sectorname = "ALPHIA";
}
if (planet == 52) {
planetname = "NEW EARTH";
sectorname = "POLARIS";
}
if (planet == 53) {
planetname = "THORA";
sectorname = "LORAN";
}
if (defiant.hitTest(bajor)) {
thisplanet = bajor:name;
}
if (defiant.hitTest(bajor2)) {
thisplanet = bajor2:name;
}
if (defiant.hitTest(bajor3)) {
thisplanet = bajor3:name;
}
sentinal = 1;
}
if (sentinal == 1) {
comm = "HAILING FREQUENCIES OPEN...";
gotoAndPlay (7);
if (cargobay[2] == "EMPTY") {
cargotype = random(18);
if (cargotype == 0) {
cargobay[2] = "Medical Supplies";
}
if (cargotype == 1) {
cargobay[2] = "Food Rations";
}
if (cargotype == 2) {
cargobay[2] = "Xiang Brand Vodka";
}
if (cargotype == 3) {
cargobay[2] = "Replicators";
}
if (cargotype == 4) {
cargobay[2] = "Energy Converters";
}
if (cargotype == 5) {
cargobay[2] = "Power Cells";
}
if (cargotype == 6) {
cargobay[2] = "Romulan Ale";
}
if (cargotype == 7) {
cargobay[2] = "Clothing";
}
if (cargotype == 8) {
cargobay[2] = "Water Tanks";
}
if (cargotype == 9) {
cargobay[2] = "Toilet Paper";
}
if (cargotype == 10) {
cargobay[2] = "Solar Panels";
}
if (cargotype == 11) {
cargobay[2] = "Computers";
}
if (cargotype == 12) {
cargobay[2] = "Beer";
}
if (cargotype == 13) {
cargobay[2] = "Historical Documents";
}
if (cargotype == 14) {
cargobay[2] = "Luxury Food";
}
if (cargotype == 15) {
cargobay[2] = "Luxury Goods";
}
if (cargotype == 16) {
cargobay[2] = "Swingsets";
}
if (cargotype == 17) {
cargobay[2] = "Tombstones";
}
hailbox = (((((((((" Welcome to " + thisplanet) + ", USS ") + shipname) + ". ") + planetname) + " in the ") + sectorname) + " sector needs a shipment of ") + cargobay[2]) + ". If you're willing, beam up the cargo now.";
cargobay[0] = planetname;
cargobay[1] = sectorname;
} else if (cargo != "EMPTY") {
hailbox = ("Welcome to " + thisplanet) + ". If you ever find room in your cargo bay we might have need for your services.";
}
}
soundbeep = new Sound(this);
soundbeep.attachSound("commopen");
soundbeep.start(0, 0);
if (hailbox == "") {
comm = "NO RESPONSE.";
}
}
}
Symbol 231 Button
on (release) {
comm = "";
if ((((_root.speed >= -10) and (torpedoes > 0)) and (energy > 100)) and (torpsaway == 0)) {
i = 0;
while (i < 10) {
slot = _root.shipslot[i];
x = getProperty(slot, _x);
y = getProperty(slot, _y);
defx = getProperty("defiant", _x);
defy = getProperty("defiant", _y);
if ((((Math.abs(defx - x) < 300) and (Math.abs(defy - y) < 300)) and (x > 1)) and (torpsaway == 0)) {
z = x - defx;
r = y - defy;
e = z / r;
k = Math.atan(e);
g = (k * 180) / Math.PI;
rotation = g;
if (y > defy) {
rotation = 90 - rotation;
} else if (y < defy) {
rotation = 180 - (rotation - 90);
}
_root.shotname = Number(_root.shotname) + 1;
if (Number(_root.shotname) >= 1000) {
_root.shotname = 1;
}
duplicateMovieClip ("torp", "shot" add _root.shotname, _root.shotname);
rotation = rotation + 90;
soundbeep = new Sound(this);
soundbeep.attachSound("def-torp");
soundbeep.start(0, 0);
phasx = Math.sin(rotation * (Math.PI/180)) * 5;
phasy = Math.cos(rotation * (Math.PI/180)) * -5;
Set(slot add ":my_target", "defiant");
torpsaway = 20 - _root.tot_torp;
torpedoes = torpedoes - 1;
energy = energy - 50;
Set(("shot" add _root.shotname) add ":ymov", phasy);
Set(("shot" add _root.shotname) add ":xmov", phasx);
setProperty("shot" add _root.shotname, _rotation , rotation);
setProperty("shot" add _root.shotname, _x , defx);
setProperty("shot" add _root.shotname, _y , defy);
}
i++;
}
}
if (energy < 50) {
comm = "INSUFFICIENT ENERGY TO FIRE TORPEDOES...";
}
if (torpedoes == 0) {
comm = "TORPEDO INVENTORY HAS BEEN EXHAUSTED...";
}
}
Symbol 245 Button
on (release) {
if (scale == 0) {
scale = 20;
} else if (scale != 0) {
scale = 0;
}
}
Symbol 248 Button
on (release) {
comm = "";
if (scale != 0) {
scale = scale - 5;
if (scale < 5) {
scale = 5;
}
}
}
Symbol 249 Button
on (release) {
comm = "";
if (scale != 0) {
scale = scale + 5;
if (scale > 40) {
scale = 40;
}
}
}
Symbol 254 MovieClip Frame 1
my_x = _x;
my_y = _y;
if ((((Number(my_y) > Number(400)) or (Number(my_y) < Number(0))) or (Number(my_x) > Number(550))) or ((Number(my_x) < Number(0)) and (my_x != -20))) {
_x = -9999;
} else if (my_x > 0) {
my_x = my_x - random(2);
my_y = my_y - random(2);
_x = my_x;
_y = my_y;
}
Symbol 254 MovieClip Frame 2
gotoAndPlay (1);
Symbol 262 Button
on (release) {
if (cargo == "EMPTY") {
comm = "ECHO...ECHO...ECHO...HMM, NO CARGO IN HERE.";
} else {
comm = ((((("THIS CARGO OF " + cargobay[2]) + " IS BOUND FOR ") + cargobay[0]) + " IN THE ") + cargobay[1]) + " SECTOR.";
}
}
Symbol 279 MovieClip Frame 1
if (target > 0) {
gotoAndPlay(target);
}
Symbol 279 MovieClip Frame 2
gotoAndPlay (1);
Symbol 279 MovieClip Frame 4
gotoAndPlay(target);
Symbol 279 MovieClip Frame 6
gotoAndPlay(target);
Symbol 279 MovieClip Frame 8
gotoAndPlay(target);
Symbol 279 MovieClip Frame 10
gotoAndPlay(target);
Symbol 279 MovieClip Frame 12
gotoAndPlay(target);
Symbol 279 MovieClip Frame 14
gotoAndPlay(target);
Symbol 279 MovieClip Frame 16
gotoAndPlay(target);
Symbol 290 Button
on (release) {
hailbox = "";
comm = "COMMUNICATIONS CHANNEL CLOSED...";
if (cargo == "EMPTY") {
cargobay[0] = "";
cargobay[1] = "";
cargobay[2] = "EMPTY";
}
gotoAndPlay (6);
}
Symbol 299 Button
on (release) {
spacedockcomm = "SELECT STARSHIP:";
hailbox = "";
gotoAndPlay (6);
}
Symbol 303 Button
on (release) {
if (_root.prestige >= 5000) {
_root.deftype = 240;
_root.tot_speed = -10;
_root.tot_phaser = 0;
_root.tot_torp = 0;
_root.tot_shields = 100;
_root.tot_hull = 100;
_root.tot_energy = 5000;
_root.tot_nettorps = 0;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO A VALIANT CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 306 Button
on (release) {
if (_root.prestige >= 10000) {
_root.deftype = 2;
_root.tot_speed = -7;
_root.tot_phaser = 0;
_root.tot_torp = 0;
_root.tot_shields = 100;
_root.tot_hull = 100;
_root.tot_energy = 5000;
_root.tot_nettorps = 25;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO A DEFIANT CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 309 Button
on (release) {
if (_root.prestige >= 40000) {
_root.deftype = 70;
_root.tot_speed = -5;
_root.tot_phaser = 0;
_root.tot_torp = 17;
_root.tot_shields = 200;
_root.tot_hull = 200;
_root.tot_energy = 7000;
_root.tot_nettorps = 100;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO A STEAMRUNNER CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 312 Button
on (release) {
if (_root.prestige >= 80000) {
_root.deftype = 36;
_root.tot_speed = -8;
_root.tot_phaser = 75;
_root.tot_torp = 5;
_root.tot_shields = 500;
_root.tot_hull = 500;
_root.tot_energy = 7000;
_root.tot_nettorps = 40;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO AN INTREPID CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 315 Button
on (release) {
if (_root.prestige >= 100000) {
_root.deftype = 104;
_root.tot_speed = -7;
_root.tot_phaser = 50;
_root.tot_torp = 16;
_root.tot_shields = 500;
_root.tot_hull = 500;
_root.tot_energy = 6000;
_root.tot_nettorps = 100;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO AN AKIRA CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 318 Button
on (release) {
if (_root.prestige >= 200000) {
_root.deftype = 172;
_root.tot_speed = -6;
_root.tot_phaser = 75;
_root.tot_torp = 5;
_root.tot_shields = 750;
_root.tot_hull = 750;
_root.tot_energy = 8000;
_root.tot_nettorps = 100;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO A PROMETHEUS CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 321 Button
on (release) {
if (_root.prestige >= 500000) {
_root.deftype = 206;
_root.tot_speed = -5;
_root.tot_phaser = 100;
_root.tot_torp = 15;
_root.tot_shields = 1000;
_root.tot_hull = 1000;
_root.tot_energy = 10000;
_root.tot_nettorps = 150;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO A SOVEREIGN CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 324 Button
on (release) {
if (_root.prestige >= 20000) {
_root.deftype = 138;
_root.tot_speed = -8;
_root.tot_phaser = 5;
_root.tot_torp = 10;
_root.tot_shields = 200;
_root.tot_hull = 200;
_root.tot_energy = 7000;
_root.tot_nettorps = 50;
_root.torpedoes = _root.tot_nettorps;
_root.energy = _root.tot_energy;
_root.shieldstrength = _root.tot_shields;
spacedockcomm = "YOU HAVE JUST TRANSFERRED TO A NOVA CLASS";
_root.hull = _root.tot_hull;
} else {
spacedockcomm = "SELECT STARSHIP: YOU DO NOT HAVE ENOUGH PRESTIGE...";
}
}
Symbol 329 Button
on (release) {
if (((((currentsystem == "COFFEE") or (currentsystem == "OCULA")) or (currentsystem == "REGULA")) or (currentsystem == "EASIA")) or (currentsystem == "EXCAL")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "BAJORA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[40];
sectornum = 40;
_root.createnewenemy();
_root.createnewenemy();
_root.createfriendly();
_root.createfriendly();
_root.createfriendly();
_root.createfriendly();
_root.createfriendly();
Set("station:type", 1);
Set("spacedock:type", 1);
setProperty("station", _x , 300);
setProperty("station", _y , -4700);
setProperty("spacedock", _x , 0);
setProperty("spacedock", _y , -5000);
setProperty("bajor", _x , 2000);
setProperty("bajor", _y , -5500);
setProperty("bajor", _xscale , 100);
setProperty("bajor", _yscale , 100);
Set("bajor:name", "BAJOR");
Set("bajor:population", "70,000,000");
Set("bajor:affiliation", "FEDERATION");
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -3100);
setProperty("bajor2", _y , -4000);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "BIAKISH");
Set("bajor2:population", "5,455,000");
Set("bajor2:affiliation", "FEDERATION");
Set("bajor2:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -800);
setProperty("bajor3", _y , -2500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "NEW DELPI");
Set("bajor3:population", "54,500,000");
Set("bajor3:affiliation", "FEDERATION");
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
}
}
on (rollOver) {
if (sys_strength[40] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("BAJORA: Bajor, New Delpi, Biakish\r" + govt) + " Government: ") + sys_strength[40];
}
on (rollOut) {
mapcomm = "";
}
Symbol 331 Button
on (release) {
if ((((currentsystem == "OCULA") or (currentsystem == "POLARIS")) or (currentsystem == "RENAULT")) or (currentsystem == "LOANER")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "BETA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[38];
sectornum = 38;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 2000);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 20);
setProperty("bajor", _yscale , 20);
Set("bajor:name", "ALPHA");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -6000);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "GAMMA");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 1400);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "ZETA");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[38] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("BETA: Alpha, Gamma, Zeta\r" + govt) + " Government: ") + sys_strength[38];
}
on (rollOut) {
mapcomm = "";
}
Symbol 333 Button
on (release) {
if ((((currentsystem == "VULCA") or (currentsystem == "RENAULT")) or (currentsystem == "EASIA")) or (currentsystem == "OCULA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "SOL";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[27];
sectornum = 27;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 0);
setProperty("bajor", _y , -5000);
setProperty("bajor", _xscale , 100);
setProperty("bajor", _yscale , 100);
Set("bajor:name", "EARTH");
Set("bajor:population", "4,000,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 4);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "MARS");
Set("bajor2:population", "897,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -4300);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "JUPITER");
Set("bajor3:population", "845,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[27] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("SOL: Earth, Mars, Jupiter\r" + govt) + " Government: ") + sys_strength[27];
}
on (rollOut) {
mapcomm = "";
}
Symbol 335 Button
on (release) {
if (((currentsystem == "REGULA") or (currentsystem == "ORION")) or (currentsystem == "QUAN")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "DI";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[15];
sectornum = 15;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 500);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "LA");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -5500);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "FA");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "SO");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[15] > 0) {
badguys = 1;
}
if (sys_strength[15] > 1000) {
badguys = 2;
}
if (sys_strength[15] > 2000) {
badguys = 3;
}
if (sys_strength[15] > 3000) {
badguys = 4;
}
if (sys_strength[15] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[15] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("DI: La, Fa, So\r" + govt) + " Government: ") + sys_strength[15];
}
on (rollOut) {
mapcomm = "";
}
Symbol 337 Button
on (release) {
if ((currentsystem == "YURI") or (currentsystem == "VULCA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "LORAN";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[11];
sectornum = 11;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 1500);
setProperty("bajor", _y , -3500);
setProperty("bajor", _xscale , 30);
setProperty("bajor", _yscale , 30);
Set("bajor:name", "THORA");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 800);
setProperty("bajor2", _y , -4200);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "BORSTINE");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 2);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 900);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 20);
setProperty("bajor3", _yscale , 20);
Set("bajor3:name", "YACK");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[11] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("LORAN: Thora, Borstine, Yack\r" + govt) + " Government: ") + sys_strength[11];
}
on (rollOut) {
mapcomm = "";
}
Symbol 339 Button
on (release) {
if ((((currentsystem == "GENESIS") or (currentsystem == "CHISTA")) or (currentsystem == "KENDITE")) or (currentsystem == "BLENDER")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "ALPHIA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[22];
sectornum = 22;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -800);
setProperty("bajor", _y , -6000);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "ALF");
Set("bajor:population", "80,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 200);
setProperty("bajor2", _y , -4000);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "BEAR");
Set("bajor2:population", "478,7,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3000);
setProperty("bajor3", _xscale , 10);
setProperty("bajor3", _yscale , 10);
Set("bajor3:name", "FUZZED");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[22] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("ALPHIA: Alf, Bear, Fuzzed\r" + govt) + " Government: ") + sys_strength[22];
}
on (rollOut) {
mapcomm = "";
}
Symbol 341 Button
on (release) {
if ((currentsystem == "FOLKQUA") or (currentsystem == "HITCHA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "UNIVERSA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[1];
sectornum = 1;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "BIATCH");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "OZARKA");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "BOTTLENECK");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[1] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("UNIVERSA: Biatch, Ozarka, Bottleneck\r" + govt) + " Government: ") + sys_strength[1];
}
on (rollOut) {
mapcomm = "";
}
Symbol 343 Button
on (release) {
if (((((currentsystem == "ORION") or (currentsystem == "TEMP")) or (currentsystem == "NEW AMERA")) or (currentsystem == "FANTASTICA")) or (currentsystem == "OPTIMUS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "WAX";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[8];
sectornum = 8;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -1000);
setProperty("bajor", _y , -5200);
setProperty("bajor", _xscale , 30);
setProperty("bajor", _yscale , 30);
Set("bajor:name", "WATERWORLD");
Set("bajor:population", "57,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 3000);
setProperty("bajor2", _y , -5400);
setProperty("bajor2", _xscale , 80);
setProperty("bajor2", _yscale , 80);
Set("bajor2:name", "DELL");
Set("bajor2:population", "455,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 500);
setProperty("bajor3", _y , -6000);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "RECALL");
Set("bajor3:population", "90,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[8] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("WAX: Waterworld, Dell, Recall\r" + govt) + " Government: ") + sys_strength[8];
}
on (rollOut) {
mapcomm = "";
}
Symbol 345 Button
on (release) {
if ((currentsystem == "LOANER") or (currentsystem == "JUMA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "YURI";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[12];
sectornum = 12;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "YRUMUVIN");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "BADPLACETOLANDIA");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "WOLF 359");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[12] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("YURI: Yrumuvin, Badplacetolandia, Wolf 359\r" + govt) + " Government: ") + sys_strength[12];
}
on (rollOut) {
mapcomm = "";
}
Symbol 347 Button
on (release) {
if (((((currentsystem == "NEW AMERA") or (currentsystem == "COFFEE")) or (currentsystem == "KENDITE")) or (currentsystem == "GURU")) or (currentsystem == "FINLANDIA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "STARBUCKS";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[17];
sectornum = 17;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -200);
setProperty("bajor", _y , -5050);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "AURORA");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "FARGO");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -5500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "DENALI");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[17] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("STARBUCKS: Aurora, Fargo, Denali\r" + govt) + " Government: ") + sys_strength[17];
}
on (rollOut) {
mapcomm = "";
}
Symbol 349 Button
on (release) {
if ((((currentsystem == "SIRIUS") or (currentsystem == "SOL")) or (currentsystem == "BRAKSTINE")) or (currentsystem == "BETA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "RENAULT";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[36];
sectornum = 36;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -700);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "UNIVERSAL");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -4300);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "STUDIOS");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 10);
setProperty("bajor3", _yscale , 10);
Set("bajor3:name", "FLORIDA");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[36] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("RENAULT: Universal, Studios, Florida\r" + govt) + " Government: ") + sys_strength[36];
}
on (rollOut) {
mapcomm = "";
}
Symbol 351 Button
on (release) {
if ((((currentsystem == "SOL") or (currentsystem == "BENZITE")) or (currentsystem == "LORAN")) or (currentsystem == "EASIA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "VULCA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[25];
sectornum = 25;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 0);
setProperty("bajor", _y , -5000);
setProperty("bajor", _xscale , 100);
setProperty("bajor", _yscale , 100);
Set("bajor:name", "VULCAN");
Set("bajor:population", "4,000,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "NEW VULCAN");
Set("bajor2:population", "897,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -4300);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "VULCAN 2");
Set("bajor3:population", "845,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[25] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("VULCA: Vulcan, New Vulcan, Vulcan 3\r" + govt) + " Government: ") + sys_strength[25];
}
on (rollOut) {
mapcomm = "";
}
Symbol 353 Button
on (release) {
if ((((currentsystem == "BAJORA") or (currentsystem == "JUMA")) or (currentsystem == "SOL")) or (currentsystem == "VULCA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "EASIA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[24];
sectornum = 24;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -4300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "QUONOS");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 5);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "KLINGI");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 1000);
setProperty("bajor3", _y , -6500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "SETI");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[24] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("REGULA: Quonos, Klingi, Seti\r" + govt) + " Government: ") + sys_strength[24];
}
on (rollOut) {
mapcomm = "";
}
Symbol 355 Button
on (release) {
if ((currentsystem == "WINN") or (currentsystem == "UNIVERSA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "HITCHA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[2];
sectornum = 2;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -700);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "BALL");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -4300);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "BOUNCY");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 10);
setProperty("bajor3", _yscale , 10);
Set("bajor3:name", "FUZZY");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[2] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("HITCHA: Ball, Bouncy, Fuzzy\r" + govt) + " Government: ") + sys_strength[2];
}
on (rollOut) {
mapcomm = "";
}
Symbol 357 Button
on (release) {
if (currentsystem == "WAX") {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "FANTASTICA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[7];
sectornum = 7;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -200);
setProperty("bajor", _y , -5050);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "DISNEY");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 4);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "ROAD");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -5500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "ORLANDO");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[7] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("FANTASTICA: Disney, Road, Orlando\r" + govt) + " Government: ") + sys_strength[7];
}
on (rollOut) {
mapcomm = "";
}
Symbol 359 Button
on (release) {
if (((currentsystem == "WINN") or (currentsystem == "DI")) or (currentsystem == "PRIMUS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "QUAN";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[4];
sectornum = 4;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 0);
setProperty("bajor", _y , -5000);
setProperty("bajor", _xscale , 100);
setProperty("bajor", _yscale , 100);
Set("bajor:name", "IXAN");
Set("bajor:population", "4,000,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "SEDONA");
Set("bajor2:population", "897,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -4300);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "PLEASANTVILLE");
Set("bajor3:population", "845,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[4] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("QUAN: Ixan, Sedona, Pleasantville\r" + govt) + " Government: ") + sys_strength[4];
}
on (rollOut) {
mapcomm = "";
}
Symbol 361 Button
on (release) {
if ((currentsystem == "PRIMUS") or (currentsystem == "WAX")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "OPTIMUS";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[6];
sectornum = 6;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -800);
setProperty("bajor", _y , -6000);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "NEW ZEALAND");
Set("bajor:population", "80,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 5);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 200);
setProperty("bajor2", _y , -4000);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "OPTIMUS PRIME");
Set("bajor2:population", "478,7,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3000);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "FOUND");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[6] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("OPTIMUS: New Zealand, Optimus Prime, Found\r" + govt) + " Government: ") + sys_strength[6];
}
on (rollOut) {
mapcomm = "";
}
Symbol 363 Button
on (release) {
if ((((currentsystem == "OCULA") or (currentsystem == "EXCAL")) or (currentsystem == "LOANER")) or (currentsystem == "BETA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "POLARIS";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[32];
sectornum = 32;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 1500);
setProperty("bajor", _y , -3500);
setProperty("bajor", _xscale , 30);
setProperty("bajor", _yscale , 30);
Set("bajor:name", "HUBBLE");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 800);
setProperty("bajor2", _y , -4200);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "NASA");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 2);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 900);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 20);
setProperty("bajor3", _yscale , 20);
Set("bajor3:name", "NEW EARTH");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[32] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("POLARIS: Hubble, Nasa, New Earth\r" + govt) + " Government: ") + sys_strength[32];
}
on (rollOut) {
mapcomm = "";
}
Symbol 365 Button
on (release) {
if ((currentsystem == "RENAULT") or (currentsystem == "SIRIUS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "BRAKSTINE";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[37];
sectornum = 37;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "CHEROKEE");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 4);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "WRANGLER");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 2);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "LIBERTY");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[35] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("BRAKSTINE: Cherokee, Wrangler, Liberty\r" + govt) + " Government: ") + sys_strength[37];
}
on (rollOut) {
mapcomm = "";
}
Symbol 367 Button
on (release) {
if ((((currentsystem == "STARBUCKS") or (currentsystem == "WAX")) or (currentsystem == "FINLANDIA")) or (currentsystem == "TEMP")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "NEW AMERA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[18];
sectornum = 18;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 2000);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "York");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -6000);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "Arizona");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 1400);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "Charleston");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[18] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("NEW AMERA: York, Arizona, Charleston\r" + govt) + " Government: ") + sys_strength[18];
}
on (rollOut) {
mapcomm = "";
}
Symbol 369 Button
on (release) {
if ((((currentsystem == "BAJORA") or (currentsystem == "GENESIS")) or (currentsystem == "CHISTA")) or (currentsystem == "POLARIS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "EXCAL";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[31];
sectornum = 31;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -200);
setProperty("bajor", _y , -5050);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "DAY");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "SOVVY");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -5500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "VEX");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[31] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("EXCAL: Day, Sovvy, Vex\r" + govt) + " Government: ") + sys_strength[31];
}
on (rollOut) {
mapcomm = "";
}
Symbol 371 Button
on (release) {
if ((currentsystem == "EXCAL") or (currentsystem == "ALPHIA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "GENESIS";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[30];
sectornum = 30;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "GENESIS");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "GENESIS 2");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "CENTRAL PERK");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[30] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("GENESIS: Genesis, Genesis 2, Central Perk\r" + govt) + " Government: ") + sys_strength[30];
}
on (rollOut) {
mapcomm = "";
}
Symbol 373 Button
on (release) {
if ((currentsystem == "NEW AMERA") or (currentsystem == "STARBUCKS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "FINLANDIA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[19];
sectornum = 19;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -200);
setProperty("bajor", _y , -5050);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "BOSTON");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "WELLS");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -5500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "TEACUP");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[19] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("FINLANDIA: Boston, Wells, Teacup\r" + govt) + " Government: ") + sys_strength[19];
}
on (rollOut) {
mapcomm = "";
}
Symbol 375 Button
on (release) {
if (((currentsystem == "ALPHIA") or (currentsystem == "KENDITE")) or (currentsystem == "EXCAL")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "CHISTA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[29];
sectornum = 29;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 500);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "PHOEBE");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 1000);
setProperty("bajor2", _y , -5500);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "RACHAEL");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 3000);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "JOEY");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[29] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("CHISTA: Phoebe, Rachael, Joey\r" + govt) + " Government: ") + sys_strength[29];
}
on (rollOut) {
mapcomm = "";
}
Symbol 377 Button
on (release) {
if (currentsystem == "ALPHIA") {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "BLENDER";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[23];
sectornum = 23;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -500);
setProperty("bajor", _y , -6000);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "WHIPPED");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -5500);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "CREAM");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "CHERRY");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
if (sys_strength[sectornum] > 5000) {
badguys = 8;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[23] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("BLENDER: Whipped, Cream, Cherry\r" + govt) + " Government: ") + sys_strength[23];
}
on (rollOut) {
mapcomm = "";
}
Symbol 379 Button
on (release) {
if (((currentsystem == "BAJORA") or (currentsystem == "SOL")) or (currentsystem == "POLARIS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "OCULA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[28];
sectornum = 28;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -800);
setProperty("bajor", _y , -6000);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "FRANSISCO");
Set("bajor:population", "80,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 200);
setProperty("bajor2", _y , -4000);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "PETA");
Set("bajor2:population", "478,7,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3000);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "BEEF");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[28] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("OCULA: Fransisco, Peta, Beef\r" + govt) + " Government: ") + sys_strength[28];
}
on (rollOut) {
mapcomm = "";
}
Symbol 381 Button
on (release) {
if (((currentsystem == "BAJORA") or (currentsystem == "STARBUCKS")) or (currentsystem == "REGULA")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "COFFEE";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[16];
sectornum = 16;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 1000);
setProperty("bajor", _y , -4500);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "MOCHA PRIME");
Set("bajor:population", "80,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 1300);
setProperty("bajor2", _y , -4800);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "VANILLA");
Set("bajor2:population", "478,7,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 1000);
setProperty("bajor3", _y , -6500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "FROTH");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 2);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[16] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("COFFEE: Mocha Prime, Vanilla, Froth\r" + govt) + " Government: ") + sys_strength[16];
}
on (rollOut) {
mapcomm = "";
}
Symbol 383 Button
on (release) {
if ((((currentsystem == "RENAULT") or (currentsystem == "BRAKSTINE")) or (currentsystem == "LOANER")) or (currentsystem == "HART")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "SIRIUS";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[35];
sectornum = 35;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -3700);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "RADIO");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "SATELLITE");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 1000);
setProperty("bajor3", _y , -6500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "NEW JEEP");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[35] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("SIRIUS: Radio, Satellite, New Jeep\r" + govt) + " Government: ") + sys_strength[35];
}
on (rollOut) {
mapcomm = "";
}
Symbol 385 Button
on (release) {
if (currentsystem == "VULCA") {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "BENZITE";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[26];
sectornum = 26;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -200);
setProperty("bajor", _y , -5050);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "STAR");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "TREK");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -5500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "NEMESIS");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[26] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("BENZITE: Star, Trek, Nemesis\r" + govt) + " Government: ") + sys_strength[26];
}
on (rollOut) {
mapcomm = "";
}
Symbol 387 Button
on (release) {
if (currentsystem == "UNIVERSA") {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "FOLKQUA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[0];
sectornum = 0;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -700);
setProperty("bajor", _y , -6000);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "REMUS");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -6000);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "ROMULUS");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "TEDDY");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[0] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("FOLKQUA: Remus, Romulus, Teddy\r" + govt) + " Government: ") + sys_strength[0];
}
on (rollOut) {
mapcomm = "";
}
Symbol 389 Button
on (release) {
if ((currentsystem == "HITCHA") or (currentsystem == "QUAN")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "WINN";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[3];
sectornum = 3;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 1500);
setProperty("bajor", _y , -3500);
setProperty("bajor", _xscale , 30);
setProperty("bajor", _yscale , 30);
Set("bajor:name", "CHANDLER");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 800);
setProperty("bajor2", _y , -4200);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "MONICA");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 2);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 900);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 20);
setProperty("bajor3", _yscale , 20);
Set("bajor3:name", "ROSS");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[3] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("WINN: Chandler, Monica, Ross\r" + govt) + " Government: ") + sys_strength[3];
}
on (rollOut) {
mapcomm = "";
}
Symbol 391 Button
on (release) {
if (((currentsystem == "REGULA") or (currentsystem == "EASIA")) or (currentsystem == "YURI")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "JUMA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[13];
sectornum = 13;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -500);
setProperty("bajor", _y , -7000);
setProperty("bajor", _xscale , 30);
setProperty("bajor", _yscale , 30);
Set("bajor:name", "YUMA");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -4000);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "TUCSON");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -6000);
setProperty("bajor3", _xscale , 20);
setProperty("bajor3", _yscale , 20);
Set("bajor3:name", "PHOENIX");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[13] > 0) {
badguys = 1;
}
if (sys_strength[13] > 1000) {
badguys = 2;
}
if (sys_strength[13] > 2000) {
badguys = 3;
}
if (sys_strength[13] > 3000) {
badguys = 4;
}
if (sys_strength[13] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[13] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("JUMA: Yuma, Tucson, Phoenix\r" + govt) + " Government: ") + sys_strength[13];
}
on (rollOut) {
mapcomm = "";
}
Symbol 393 Button
on (release) {
if (((currentsystem == "DI") or (currentsystem == "WAX")) or (currentsystem == "PRIMUS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "ORION";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[9];
sectornum = 9;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "NEW BELT");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 6);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "MIB");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "ACCOSTA");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[9] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("ORION: New Belt, MIB, Accosta\r" + govt) + " Government: ") + sys_strength[9];
}
on (rollOut) {
mapcomm = "";
}
Symbol 395 Button
on (release) {
if ((((currentsystem == "SIRIUS") or (currentsystem == "HART")) or (currentsystem == "BETA")) or (currentsystem == "POLARIS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "LOANER";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[33];
sectornum = 33;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 1000);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "NEW SOLO");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -6000);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "ALONE");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "CRASHLAND");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[33] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("LOANER: NEW SOLO, ALONE, CRASHLAND\r" + govt) + " Government: ") + sys_strength[33];
}
on (rollOut) {
mapcomm = "";
}
Symbol 397 Button
on (release) {
if ((currentsystem == "SIRIUS") or (currentsystem == "LOANER")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "HART";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[34];
sectornum = 34;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 500);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 50);
setProperty("bajor", _yscale , 50);
Set("bajor:name", "BROKEN");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -5500);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "CUPID");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "FISH");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[34] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("HART: Broken, Cupid, Fish\r" + govt) + " Government: ") + sys_strength[34];
}
on (rollOut) {
mapcomm = "";
}
Symbol 399 Button
on (release) {
if (((currentsystem == "QUAN") or (currentsystem == "ORION")) or (currentsystem == "OPTIMUS")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "PRIMUS";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[5];
sectornum = 5;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -200);
setProperty("bajor", _y , -5050);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "NEWER EARTH");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 2);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 100);
setProperty("bajor2", _yscale , 100);
Set("bajor2:name", "MARSHA");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -3000);
setProperty("bajor3", _y , -5500);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "BELLROCK");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[5] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("PRIMUS: Newer Earth, Marsha, Bellrock\r" + govt) + " Government: ") + sys_strength[5];
}
on (rollOut) {
mapcomm = "";
}
Symbol 401 Button
on (release) {
if ((((currentsystem == "BAJORA") or (currentsystem == "DI")) or (currentsystem == "JUMA")) or (currentsystem == "COFFEE")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "REGULA";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[39];
sectornum = 39;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -1000);
setProperty("bajor", _y , -5200);
setProperty("bajor", _xscale , 30);
setProperty("bajor", _yscale , 30);
Set("bajor:name", "COD");
Set("bajor:population", "57,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 3);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 3000);
setProperty("bajor2", _y , -5400);
setProperty("bajor2", _xscale , 80);
setProperty("bajor2", _yscale , 80);
Set("bajor2:name", "PRISTO");
Set("bajor2:population", "455,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 500);
setProperty("bajor3", _y , -6000);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "LEXICON");
Set("bajor3:population", "90,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[39] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("REGULA: Cod, Pristo, Lexicon\r" + govt) + " Government: ") + sys_strength[39];
}
on (rollOut) {
mapcomm = "";
}
Symbol 403 Button
on (release) {
if ((((currentsystem == "ALPHIA") or (currentsystem == "CHISTA")) or (currentsystem == "STARBUCKS")) or (currentsystem == "GURU")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "KENDITE";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[21];
sectornum = 21;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -2000);
setProperty("bajor", _y , -4000);
setProperty("bajor", _xscale , 40);
setProperty("bajor", _yscale , 40);
Set("bajor:name", "XIANG");
Set("bajor:population", "80,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 1);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , 200);
setProperty("bajor2", _y , -4500);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "VEXXY");
Set("bajor2:population", "478,7,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 4);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , 800);
setProperty("bajor3", _y , -4950);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "ERVIN");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 5);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[21] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("KENDRITE: Xiang, Vexxy, Ervin\r" + govt) + " Government: ") + sys_strength[21];
}
on (rollOut) {
mapcomm = "";
}
Symbol 405 Button
on (release) {
if ((currentsystem == "NEW AMERA") or (currentsystem == "WAX")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "TEMP";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[10];
sectornum = 10;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 300);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , 900);
setProperty("bajor", _y , -6300);
setProperty("bajor", _xscale , 70);
setProperty("bajor", _yscale , 70);
Set("bajor:name", "SOLO");
Set("bajor:population", "71,000,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 4);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -2000);
setProperty("bajor2", _y , -5700);
setProperty("bajor2", _xscale , 20);
setProperty("bajor2", _yscale , 20);
Set("bajor2:name", "BRIAN");
Set("bajor2:population", "454,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 3);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1000);
setProperty("bajor3", _y , -3500);
setProperty("bajor3", _xscale , 50);
setProperty("bajor3", _yscale , 50);
Set("bajor3:name", "BANK");
Set("bajor3:population", "8,450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 1);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[sectornum] > 0) {
badguys = 1;
}
if (sys_strength[sectornum] > 1000) {
badguys = 2;
}
if (sys_strength[sectornum] > 2000) {
badguys = 3;
}
if (sys_strength[sectornum] > 3000) {
badguys = 4;
}
if (sys_strength[sectornum] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[10] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("TEMP: Solo, Brian, Bank\r" + govt) + " Government: ") + sys_strength[10];
}
on (rollOut) {
mapcomm = "";
}
Symbol 407 Button
on (release) {
if ((currentsystem == "STARBUCKS") or (currentsystem == "KENDITE")) {
if (_root.speed < -10) {
removeallships();
gotoAndPlay (6);
setProperty("defiant", _yscale , 100);
_root.speed = _root.tot_speed;
setProperty("eblip", _x , -10);
currentsystem = "GURU";
comm = ("WARPING INTO THE " + currentsystem) + " SYSTEM...";
sectorstrength = sys_strength[20];
sectornum = 20;
Set("spacedock:type", 0);
if (sys_strength[sectornum] > 0) {
setProperty("station", _x , -20000);
Set("station:type", 0);
aff = "DOMINION";
}
if (sys_strength[sectornum] <= 0) {
setProperty("station", _x , 1000);
setProperty("station", _y , -5000);
aff = "FEDERATION";
Set("station:type", 2);
}
setProperty("bajor", _x , -2000);
setProperty("bajor", _y , -3000);
setProperty("bajor", _xscale , 20);
setProperty("bajor", _yscale , 20);
Set("bajor:name", "TECHNO");
Set("bajor:population", "600,000");
Set("bajor:affiliation", aff);
Set("bajor:planetimage", 5);
Set("planetblip:target", "../bajor");
setProperty("bajor2", _x , -100);
setProperty("bajor2", _y , -6000);
setProperty("bajor2", _xscale , 50);
setProperty("bajor2", _yscale , 50);
Set("bajor2:name", "GIZMO");
Set("bajor2:population", "500,000");
Set("bajor2:affiliation", aff);
Set("bajor2:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip2", 1012);
Set("planetblip2:target", "../bajor2");
setProperty("bajor3", _x , -1400);
setProperty("bajor3", _y , -3600);
setProperty("bajor3", _xscale , 100);
setProperty("bajor3", _yscale , 100);
Set("bajor3:name", "NEW X");
Set("bajor3:population", "450,000");
Set("bajor3:affiliation", aff);
Set("bajor3:planetimage", 6);
duplicateMovieClip ("planetblip", "planetblip3", 1013);
Set("planetblip3:target", "../bajor3");
setProperty("sun", _x , 1000);
setProperty("sun", _y , -4000);
if (sys_strength[39] > 0) {
badguys = 1;
}
if (sys_strength[39] > 1000) {
badguys = 2;
}
if (sys_strength[39] > 2000) {
badguys = 3;
}
if (sys_strength[39] > 3000) {
badguys = 4;
}
if (sys_strength[39] > 4000) {
badguys = 5;
}
ticker = 7 - badguys;
while (ticker < 8) {
_root.createnewenemy();
ticker++;
}
ticker = 5 + badguys;
while (ticker < 11) {
_root.createfriendly();
ticker++;
}
} else {
mapcomm = "MUST BE AT WARP SPEED TO WARP TO ANOTHER SYSTEM...";
}
} else {
mapcomm = "YOU CANNOT WARP TO THAT SYSTEM FROM YOUR CURRENT LOCATION...";
}
}
on (rollOver) {
if (sys_strength[20] > 0) {
govt = "Dominion";
} else {
govt = "Federation";
}
mapcomm = (("GURU: Techno, Gizmo, New X\r" + govt) + " Government: ") + sys_strength[20];
}
on (rollOut) {
mapcomm = "";
}
Symbol 408 Button
on (release) {
mapcomm = "";
gotoAndPlay (6);
}
Symbol 413 Button
on (release) {
_root.removeallships();
gotoAndPlay (1);
}