Frame 1
function encrypt(amount) {
_root.sendMSG = "";
G = random(9);
I = 8 - G;
Q = random(10);
if ((Q % 2) == 0) {
B = random(5) * 2;
} else {
B = (random(5) * 2) + 1;
}
preMSG = (((((((Q + "") + amount) + "") + G) + "") + B) + "") + I;
i = 0;
while (i < preMSG.length) {
C = Number(preMSG.charAt(i));
if (C == 1) {
K = "Q";
} else if (C == 2) {
K = "A";
} else if (C == 3) {
K = "H";
} else if (C == 4) {
K = "7";
} else if (C == 5) {
K = "9";
} else if (C == 6) {
K = "Y";
} else if (C == 7) {
K = "R";
} else if (C == 8) {
K = "3";
} else if (C == 9) {
K = "E";
} else if (C == 0) {
K = "0";
}
_root.sendMSG = _root.sendMSG + K;
i++;
}
}
_root.sendName = "enterName";
ifFrameLoaded (25) {
gotoAndPlay (8);
}
Frame 5
gotoAndPlay (1);
Frame 8
_root.SHOWBAR = true;
stop();
Frame 10
stop();
Instance of Symbol 76 MovieClip "eA" in Frame 11
onClipEvent (load) {
lifebar.gotoAndStop(60);
}
Instance of Symbol 89 MovieClip "eH" in Frame 11
onClipEvent (load) {
lifebar.gotoAndStop(100);
}
Frame 15
_root.TRENCH = false;
_root.ANIMATION = true;
_root.SHOWLASER = true;
_root.MUSIC = true;
_root.SHOWBAR = true;
_root.SOUNDS = true;
_root.cash = 0;
if (_root.INPUT == "xxx") {
_root.cash = 2000;
} else if (_root.INPUT == "merr") {
_root.cash = 5000;
} else if (_root.INPUT == "hyer") {
_root.cash = 10000;
} else if (_root.INPUT == "god") {
_root.cash = 100000 /* 0x0186A0 */;
}
_root.SCORE = 0;
_root.price = 0;
_root.currentHP = 100;
if (_root.INPUT == "god") {
_root.currentHP = 100000 /* 0x0186A0 */;
}
_root.maxHP = _root.currentHP;
_root.GAMETIME = 0;
_root.exactTIME = 0;
_root.MINUTES = 0;
_root.SECONDS = 0;
_root.stringSECONDS = "";
_root.gunDMG = 2.5;
_root.Mresearch = false;
_root.Lresearch = false;
_root.Aresearch = false;
_root.Dresearch = false;
_root.removeA = true;
_root.removeB = true;
_root.removeC = true;
_root.removeD = true;
_root.removeE = true;
_root.removeF = true;
_root.removeG = true;
_root.removeH = true;
_root.removeI = true;
_root.removeJ = true;
_root.removeK = true;
_root.removeL = true;
_root.removeM = true;
_root.removeN = true;
_root.removeO = true;
_root.removeP = true;
_root.srnum = 0;
_root.srrange = 75;
_root.srDMG = 2;
_root.srcharge = 60;
_root.srLVL = 0;
_root.mrnum = 0;
_root.mrrange = 100;
_root.mrDMG = 2;
_root.mrcharge = 80;
_root.mrLVL = 0;
_root.lrnum = 0;
_root.lrrange = 130;
_root.lrDMG = 1;
_root.lrcharge = 90;
_root.lrLVL = 0;
_root.asnum = 0;
_root.asrange = 90;
_root.asDMG = 2;
_root.ascharge = 90;
_root.asLVL = 0;
_root.denum = 0;
_root.derange = 60;
_root.deDMG = 3;
_root.decharge = 30;
_root.deLVL = 0;
_root.PAUSED = false;
_root.GAMEOVER = false;
Frame 25
function DupgradeDRONE() {
_root.derange = _root.derange + 0.5;
_root.deDMG = _root.deDMG + 0.2;
_root.decharge = _root.decharge - 0.4;
_root.deLVL++;
}
function AupgradeDRONE() {
_root.asrange = _root.asrange + 0.7;
_root.asDMG = _root.asDMG + 0.2;
_root.ascharge = _root.ascharge - 0.25;
_root.asLVL++;
}
function LupgradeDRONE() {
_root.lrrange = _root.lrrange + 1;
_root.lrDMG = _root.lrDMG + 0.1;
_root.lrcharge = _root.lrcharge - 0.25;
_root.lrLVL++;
}
function MupgradeDRONE() {
_root.mrrange = _root.mrrange + 0.5;
_root.mrDMG = _root.mrDMG + 0.1;
_root.mrcharge = _root.mrcharge - 0.5;
_root.mrLVL++;
}
function SupgradeDRONE() {
_root.srrange = _root.srrange + 0.6;
_root.srDMG = _root.srDMG + 0.175;
_root.srcharge = _root.srcharge - 0.3;
_root.srLVL++;
}
_root.numEnemy = 0;
stop();
Instance of Symbol 183 MovieClip "eF" in Frame 25
onClipEvent (load) {
function reset() {
laser.removeMovieClip();
maxLife = (16 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(3) + 1;
this.stop();
}
function setDead() {
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 175;
_root.SCORE = _root.SCORE + 175;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeK) {
setDead();
_root.removeK = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 425) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1515);
this.laser.lineStyle(3, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(165, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((10 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 187 MovieClip "srdrone" in Frame 25
onClipEvent (load) {
this._x = 480;
this._y = 360;
shooting = false;
chargetime = 0;
shotDone = 0;
if (_root.removeA) {
this._x = 1000;
_root.removeA = false;
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (_root.SHOWBAR) {
barFrame = int((chargetime * 100) / _root.srcharge);
}
q = this._x;
w = this._y;
maxx = q + _root.srrange;
minx = q - _root.srrange;
maxy = w + _root.srrange;
miny = w - _root.srrange;
chargetime++;
if (shooting) {
shotDone++;
}
if (chargetime >= _root.srcharge) {
i = 0;
while (i <= _root.numEnemy) {
X = _root["e" + i]._x;
Y = _root["e" + i]._y;
if (!didShoot) {
if ((((X <= maxx) && (X >= minx)) && (Y <= maxy)) && (Y >= miny)) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", i);
this.laser.lineStyle(1, 11184810, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(-(q - X), -(w - Y));
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("AL");
}
shooting = true;
chargetime = 0;
didShoot = true;
_root["e" + i].hurt(_root.srDMG);
}
}
i++;
}
didShoot = false;
}
if (shotDone >= 3) {
laser.removeMovieClip();
shotDone = 0;
shooting = false;
}
}
}
Instance of Symbol 190 MovieClip "soundbox" in Frame 25
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
_root.exactTIME = _root.exactTIME + 0.0333;
_root.GAMETIME = int(_root.exactTIME);
_root.SECONDS = _root.GAMETIME % 60;
_root.MINUTES = (_root.GAMETIME - _root.SECONDS) / 60;
if (_root.SECONDS < 10) {
_root.stringSECONDS = "0" + _root.SECONDS;
} else {
_root.stringSECONDS = "" + _root.SECONDS;
}
}
}
Instance of Symbol 206 MovieClip "mrdrone" in Frame 25
onClipEvent (load) {
this._x = 480;
this._y = 360;
shooting = false;
chargetime = 0;
shotDone = 0;
if (_root.removeB) {
this._x = 1000;
_root.removeB = false;
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (_root.SHOWBAR) {
barFrame = int((chargetime * 100) / _root.mrcharge);
}
q = this._x;
w = this._y;
maxx = q + _root.mrrange;
minx = q - _root.mrrange;
maxy = w + _root.mrrange;
miny = w - _root.mrrange;
chargetime++;
if (shooting) {
shotDone++;
}
if (chargetime >= _root.mrcharge) {
i = 0;
while (i <= _root.numEnemy) {
X = _root["e" + i]._x;
Y = _root["e" + i]._y;
if (!didShoot) {
if ((((X <= maxx) && (X >= minx)) && (Y <= maxy)) && (Y >= miny)) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", i);
this.laser.lineStyle(1, 60928, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(-(q - X), -(w - Y));
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("AL");
}
shooting = true;
chargetime = 0;
didShoot = true;
_root["e" + i].hurt(_root.mrDMG);
}
}
i++;
}
didShoot = false;
}
if (shotDone >= 3) {
laser.removeMovieClip();
shotDone = 0;
shooting = false;
}
}
}
Instance of Symbol 208 MovieClip "lrdrone" in Frame 25
onClipEvent (load) {
this._x = 480;
this._y = 360;
shooting = false;
chargetime = 0;
shotDone = 0;
if (_root.removeC) {
this._x = 1000;
_root.removeC = false;
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (_root.SHOWBAR) {
barFrame = int((chargetime * 100) / _root.lrcharge);
}
q = this._x;
w = this._y;
maxx = q + _root.lrrange;
minx = q - _root.lrrange;
maxy = w + _root.lrrange;
miny = w - _root.lrrange;
chargetime++;
if (shooting) {
shotDone++;
}
if (chargetime >= _root.lrcharge) {
i = 0;
while (i <= _root.numEnemy) {
X = _root["e" + i]._x;
Y = _root["e" + i]._y;
if (!didShoot) {
if ((((X <= maxx) && (X >= minx)) && (Y <= maxy)) && (Y >= miny)) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", i);
this.laser.lineStyle(1, 238, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(-(q - X), -(w - Y));
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("AL");
}
shooting = true;
chargetime = 0;
didShoot = true;
_root["e" + i].hurt(_root.lrDMG);
}
}
i++;
}
didShoot = false;
}
if (shotDone >= 3) {
laser.removeMovieClip();
shotDone = 0;
shooting = false;
}
}
}
Instance of Symbol 210 MovieClip "asdrone" in Frame 25
onClipEvent (load) {
this._x = 480;
this._y = 360;
shooting = false;
chargetime = 0;
shotDone = 0;
if (_root.removeD) {
this._x = 1000;
_root.removeD = false;
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (_root.SHOWBAR) {
barFrame = int((chargetime * 100) / _root.ascharge);
}
q = this._x;
w = this._y;
maxx = q + _root.asrange;
minx = q - _root.asrange;
maxy = w + _root.asrange;
miny = w - _root.asrange;
chargetime++;
if (shooting) {
shotDone++;
}
if (chargetime >= _root.ascharge) {
i = 0;
while (i <= _root.numEnemy) {
X = _root["e" + i]._x;
Y = _root["e" + i]._y;
if ((((X <= maxx) && (X >= minx)) && (Y <= maxy)) && (Y >= miny)) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", i);
this.laser.lineStyle(1, 15597568, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(-(q - X), -(w - Y));
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("AL");
}
shooting = true;
chargetime = 0;
_root["e" + i].hurt(_root.asDMG);
}
i++;
}
}
if (shotDone >= 3) {
laser.removeMovieClip();
shotDone = 0;
shooting = false;
}
}
}
Instance of Symbol 212 MovieClip "dedrone" in Frame 25
onClipEvent (load) {
this._x = 480;
this._y = 360;
shooting = false;
chargetime = 0;
shotDone = 0;
if (_root.removeE) {
this._x = 1000;
_root.removeE = false;
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (_root.SHOWBAR) {
barFrame = int((chargetime * 100) / _root.decharge);
}
q = this._x;
w = this._y;
maxx = q + _root.derange;
minx = q - _root.derange;
maxy = w + _root.derange;
miny = w - _root.derange;
chargetime++;
if (shooting) {
shotDone++;
}
if (chargetime >= _root.decharge) {
i = 0;
while (i <= _root.numEnemy) {
X = _root["e" + i]._x;
Y = _root["e" + i]._y;
if (!didShoot) {
if ((((X <= maxx) && (X >= minx)) && (Y <= maxy)) && (Y >= miny)) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", i);
this.laser.lineStyle(2, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(-(q - X), -(w - Y));
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("AL");
}
shooting = true;
chargetime = 0;
didShoot = true;
_root["e" + i].hurt(_root.deDMG);
}
}
i++;
}
didShoot = false;
}
if (shotDone >= 3) {
laser.removeMovieClip();
shotDone = 0;
shooting = false;
}
}
}
Instance of Symbol 76 MovieClip "eA" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (4 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(3) + 1;
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 50;
_root.SCORE = _root.SCORE + 50;
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
}
if (_root.removeF) {
setDead();
_root.removeF = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 525) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1010);
this.laser.lineStyle(1, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(65, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((2 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 218 MovieClip "eB" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (6 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(3) + 1;
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 75;
_root.SCORE = _root.SCORE + 75;
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
}
if (_root.removeG) {
setDead();
_root.removeG = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 475) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1111);
this.laser.lineStyle(1, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(115, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((3 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 220 MovieClip "eD" in Frame 25
onClipEvent (load) {
function setDead() {
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
maxLife = (10 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 520;
this._y = random(200) + 100;
enemySpeed = random(4) + 2;
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 125;
_root.SCORE = _root.SCORE + 125;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeI) {
setDead();
_root.removeI = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 525) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1313);
this.laser.lineStyle(2, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(65, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((5 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 222 MovieClip "eE" in Frame 25
onClipEvent (load) {
function reset() {
laser.removeMovieClip();
maxLife = (14 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(3) + 1;
this.stop();
}
function setDead() {
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 150;
_root.SCORE = _root.SCORE + 150;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeJ) {
setDead();
_root.removeJ = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 525) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1414);
this.laser.lineStyle(2, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(65, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((8 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 224 MovieClip "eG" in Frame 25
onClipEvent (load) {
function setDead() {
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
maxLife = (18 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(4) + 2;
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 200;
_root.SCORE = _root.SCORE + 200;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeL) {
setDead();
_root.removeL = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 525) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1616);
this.laser.lineStyle(3, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(65, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((12 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 89 MovieClip "eH" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (25 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = (random(3) + 1) + int(0.001 * _root.GAMETIME);
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 225;
_root.SCORE = _root.SCORE + 225;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeM) {
setDead();
_root.removeM = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 455) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1717);
this.laser.lineStyle(4, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(135, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((14 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 228 MovieClip "eC" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (8 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(3) + 2;
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 100;
_root.SCORE = _root.SCORE + 100;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeH) {
setDead();
_root.removeH = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 525) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1212);
this.laser.lineStyle(1, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(65, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((3 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 230 MovieClip "enemyBox" in Frame 25
onClipEvent (load) {
function make(ET, N) {
_root["e" + ET].duplicateMovieClip("e" + N, N + 100);
_root["e" + N]._y = 100;
_root["e" + N].reset();
_root.numEnemy++;
}
Acounter = 0;
AcounterMax = 150;
Bcounter = 0;
BcounterMax = 450;
Ccounter = 0;
CcounterMax = 1350;
Dcounter = 0;
DcounterMax = 2700;
Ecounter = 0;
EcounterMax = 4800;
Fcounter = 0;
FcounterMax = 6600;
Gcounter = 0;
GcounterMax = 9000;
Hcounter = 0;
HcounterMax = 12000;
Icounter = 0;
IcounterMax = 14400;
Jcounter = 0;
JcounterMax = 16800;
Kcounter = 0;
KcounterMax = 16800;
make("A", 0);
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
N = _root.numEnemy;
Acounter++;
if (Acounter >= AcounterMax) {
make("A", N);
Acounter = 0;
AcounterMax = AcounterMax * 2;
}
Bcounter++;
if (Bcounter >= BcounterMax) {
make("B", N);
Bcounter = 0;
BcounterMax = BcounterMax * 2;
}
Ccounter++;
if (Ccounter >= CcounterMax) {
make("C", N);
Ccounter = 0;
CcounterMax = CcounterMax * 2;
}
Dcounter++;
if (Dcounter >= DcounterMax) {
make("D", N);
Dcounter = 0;
DcounterMax = DcounterMax * 2;
}
Ecounter++;
if (Ecounter >= EcounterMax) {
make("E", N);
Ecounter = 0;
EcounterMax = EcounterMax * 2;
}
Fcounter++;
if (Fcounter >= FcounterMax) {
make("F", N);
Fcounter = 0;
FcounterMax = FcounterMax * 2;
}
Gcounter++;
if (Gcounter >= GcounterMax) {
make("G", N);
Gcounter = 0;
GcounterMax = GcounterMax * 2;
}
Hcounter++;
if (Hcounter >= HcounterMax) {
make("H", N);
Hcounter = 0;
HcounterMax = HcounterMax * 2;
}
Icounter++;
if (Icounter >= IcounterMax) {
make("I", N);
Icounter = 0;
HcounterMax = HcounterMax / 4;
DcounterMax = DcounterMax / 5;
}
Jcounter++;
if (Jcounter >= JcounterMax) {
make("J", N);
JcounterMax = JcounterMax * 0.7;
Jcounter = 0;
}
Kcounter++;
if (Kcounter >= KcounterMax) {
make("K", N);
KcounterMax = KcounterMax * 0.8;
Kcounter = 0;
}
}
}
Instance of Symbol 233 MovieClip "eI" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (70 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = (random(2) + 1) + int(0.001 * _root.GAMETIME);
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 250;
_root.SCORE = _root.SCORE + 250;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeN) {
setDead();
_root.removeN = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 405) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1818);
this.laser.lineStyle(5, 0, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(185, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((16 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 237 MovieClip "musicbox" in Frame 25
onClipEvent (enterFrame) {
if (!_root.MUSIC) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 245 MovieClip "eJ" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (100 + (0.0005 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = (random(4) + 2) + int(0.001 * _root.GAMETIME);
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 250;
_root.SCORE = _root.SCORE + 275;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeO) {
setDead();
_root.removeO = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 405) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1818);
this.laser.lineStyle(5, 16711680, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(185, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((20 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 249 MovieClip "eK" in Frame 25
onClipEvent (load) {
function setDead() {
movement.stop();
maxLife = 4;
life = maxLife;
this._x = -200;
this._y = -200;
enemySpeed = 0;
}
function reset() {
laser.removeMovieClip();
movement.play();
maxLife = (100 + (0.0007 * _root.GAMETIME)) * _root.DIFF;
life = maxLife;
this._x = random(400) - 450;
this._y = random(200) + 100;
enemySpeed = random(4) + int(0.001 * _root.GAMETIME);
this.stop();
}
function hurt(amount) {
if (!_root.PAUSED) {
life = life - amount;
if (life <= 0) {
reset();
_root.cash = _root.cash + 250;
_root.SCORE = _root.SCORE + 275;
}
}
lifebar.gotoAndStop(int((life * 100) / maxLife));
}
if (_root.removeP) {
setDead();
_root.removeP = false;
} else {
reset();
}
}
onClipEvent (enterFrame) {
if (!_root.PAUSED) {
if (this._x <= 355) {
if (((this._x > 250) && (this._x < 325)) && (_root.TRENCH)) {
this._x = this._x + (enemySpeed / 2);
} else {
this._x = this._x + enemySpeed;
}
} else {
movement.stop();
shotwait++;
if (!notshoting) {
shotdisplay++;
}
if (shotwait >= 40) {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("laser", 1818);
this.laser.lineStyle(5, 16711680, 100);
this.laser.moveTo(0, 0);
this.laser.lineTo(235, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("CL");
}
shotwait = 0;
_root.currentHP = _root.currentHP - ((20 + int(0.001 * _root.GAMETIME)) * _root.DIFF);
notshooting = false;
}
if (shotdisplay >= 3) {
laser.removeMovieClip();
shotdisplay = 0;
notshooting = true;
}
}
TX = this._x;
TY = this._y;
}
}
Instance of Symbol 65 MovieClip in Frame 25
onClipEvent (mouseMove) {
this._x = _parent._xmouse;
this._y = _parent._ymouse;
updateAfterEvent();
}
onClipEvent (load) {
Mouse.hide();
this._x = _xmouse;
this._y = _ymouse;
this.swapDepths(1000);
}
Instance of Symbol 254 MovieClip "LSITE" in Frame 25
onClipEvent (load) {
function shoot() {
if (_root.SHOWLASER) {
this.createEmptyMovieClip("Blaser", i);
this.Blaser.lineStyle(3, 15597568, 1000);
this.Blaser.moveTo(_xmouse, _ymouse);
this.Blaser.lineTo(0, 0);
}
if (_root.SOUNDS) {
_root.soundBox.gotoAndPlay("BL");
}
shot = true;
}
shot = false;
}
onClipEvent (enterFrame) {
if (shot) {
wait++;
if (wait >= 3) {
Blaser.removeMovieClip();
shot = false;
wait = 0;
}
}
}
Instance of Symbol 274 MovieClip in Frame 25
onClipEvent (enterFrame) {
this.gotoAndStop(int((_root.currentHP * 100) / _root.maxHP));
if (_root.currentHP <= 0) {
_root.GAMEOVER = true;
}
}
Instance of Symbol 317 MovieClip "gameBox" in Frame 25
onClipEvent (enterFrame) {
if (_root.GAMEOVER) {
_root.PAUSED = true;
if ((_root.DIFF == 1) && (_root.MINUTES >= 10)) {
this.gotoAndPlay("gameover1");
} else if ((_root.DIFF == 2) && (_root.MINUTES >= 10)) {
this.gotoAndPlay("gameover2");
} else if ((_root.DIFF == 3) && (_root.MINUTES >= 10)) {
this.gotoAndPlay("gameover3");
} else {
this.gotoAndPlay("gameover");
}
}
}
Symbol 13 Button
on (release) {
gotoAndStop (10);
}
Symbol 15 Button
on (release) {
gotoAndStop (11);
}
Symbol 17 Button
on (release) {
_root.DIFF = 1;
gotoAndPlay (15);
}
Symbol 19 Button
on (release) {
_root.DIFF = 1.5;
gotoAndPlay (15);
}
Symbol 20 Button
on (release) {
_root.DIFF = 2;
gotoAndPlay (15);
}
Symbol 35 Button
on (press) {
getURL ("http://davhye.allhyper.com/index.html", (window = "_blank"));
}
Symbol 39 Button
on (press) {
getURL ("http://davhye.allhyper.com/lotto.html", (window = "_blank"));
}
Symbol 43 Button
on (release) {
gotoAndStop (8);
}
Symbol 45 Button
on (release) {
getURL ("http://www.flashkit.com/search.php?term=Hermann%20Hellwig&cat=loops&per=10&page=1&field=Contact_Name", (window = "_blank"));
}
Symbol 46 Button
on (release) {
getURL ("http://www.mofunzone.com/online_games/flash_trek_assault.shtml", (window = "_blank"));
}
Symbol 47 Button
on (release) {
getURL ("http://www.flashplayer.com/games/demonicdefence4.html", (window = "_blank"));
}
Symbol 50 Button
on (release) {
gotoAndStop (12);
}
Symbol 72 Button
on (press) {
_root.LSITE.shoot();
hurt(_root.gunDMG);
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 76 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Symbol 78 MovieClip Frame 1
stop();
Instance of Symbol 78 MovieClip in Symbol 81 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
gotoAndStop(_parent.barFrame);
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 88 Button
on (press) {
_root.LSITE.shoot(_parent.TX, parent.TY);
hurt(_root.gunDMG);
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 89 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 78 MovieClip in Symbol 92 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
gotoAndStop(_parent.barFrame);
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 123 Button
on (release) {
_root.bunka.duplicateMovieClip("bunka" + _root.bunknum, _root.bunknum + 150);
_root.bunknum++;
}
Symbol 135 Button
on (release) {
gotoAndStop (13);
}
Symbol 175 MovieClip Frame 1
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 177 Button
on (rollOver) {
_root.price = 500;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.currentHP = _root.currentHP + 20;
if (_root.currentHP > _root.maxHP) {
_root.currentHP = _root.maxHP;
}
}
}
Symbol 178 Button
on (rollOver) {
_root.price = 800;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.currentHP = _root.currentHP + 50;
if (_root.currentHP > _root.maxHP) {
_root.currentHP = _root.maxHP;
}
}
}
Symbol 179 Button
on (rollOver) {
_root.price = 1400;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.currentHP = _root.currentHP + 100;
if (_root.currentHP > _root.maxHP) {
_root.currentHP = _root.maxHP;
}
}
}
Symbol 180 Button
on (rollOver) {
_root.price = 2500;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.currentHP = _root.currentHP + 250;
if (_root.currentHP > _root.maxHP) {
_root.currentHP = _root.maxHP;
}
}
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 183 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Symbol 184 Button
on (rollOver) {
_root.price = 3750;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.denum < 3) {
if ((_root.cash >= _root.price) && (_root.Dresearch)) {
_root.cash = _root.cash - _root.price;
_root.dedrone.duplicateMovieClip("dedrone" + _root.denum, _root.denum + 500);
_root.denum++;
}
}
}
Symbol 186 Button
on (press) {
this.swapDepths(40);
this.startDrag(true, 30, 30, 600, 400);
}
on (release, releaseOutside) {
this.stopDrag();
}
Instance of Symbol 78 MovieClip in Symbol 187 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
gotoAndStop(_parent.barFrame);
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 190 MovieClip Frame 1
stop();
Symbol 190 MovieClip Frame 9
gotoAndStop (1);
Symbol 190 MovieClip Frame 14
gotoAndStop (1);
Symbol 190 MovieClip Frame 19
gotoAndStop (1);
Symbol 191 Button
on (rollOver) {
_root.price = 2500;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.lrnum < 3) {
if ((_root.cash >= _root.price) && (_root.Lresearch)) {
_root.cash = _root.cash - _root.price;
_root.lrdrone.duplicateMovieClip("lrdrone" + _root.lrnum, _root.lrnum + 300);
_root.lrnum++;
}
}
}
Symbol 192 Button
on (rollOver) {
_root.price = 3250;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.asnum < 3) {
if ((_root.cash >= _root.price) && (_root.Aresearch)) {
_root.cash = _root.cash - _root.price;
_root.asdrone.duplicateMovieClip("asdrone" + _root.asnum, _root.asnum + 400);
_root.asnum++;
}
}
}
Symbol 193 Button
on (rollOver) {
_root.price = 2250;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.mrnum < 3) {
if ((_root.cash >= _root.price) && (_root.Mresearch)) {
_root.cash = _root.cash - _root.price;
_root.mrdrone.duplicateMovieClip("mrdrone" + _root.mrnum, _root.mrnum + 200);
_root.mrnum++;
}
}
}
Symbol 194 Button
on (rollOver) {
_root.price = 2000;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.srnum < 3) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.srdrone.duplicateMovieClip("srdrone" + _root.srnum, _root.srnum + 150);
_root.srnum++;
}
}
}
Symbol 195 Button
on (rollOver) {
_root.price = 1000;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if ((_root.cash >= _root.price) && (!_root.Dresearch)) {
_root.cash = _root.cash - _root.price;
_root.Dresearch = true;
}
}
Symbol 196 Button
on (rollOver) {
_root.price = 600;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if ((_root.cash >= _root.price) && (!_root.Lresearch)) {
_root.cash = _root.cash - _root.price;
_root.Lresearch = true;
}
}
Symbol 197 Button
on (rollOver) {
_root.price = 750;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if ((_root.cash >= _root.price) && (!_root.Aresearch)) {
_root.cash = _root.cash - _root.price;
_root.Aresearch = true;
}
}
Symbol 198 Button
on (rollOver) {
_root.price = 500;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if ((_root.cash >= _root.price) && (!_root.Mresearch)) {
_root.cash = _root.cash - _root.price;
_root.Mresearch = true;
}
}
Symbol 199 Button
on (rollOver) {
_root.price = 900 + (100 * _root.deLVL);
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.deLVL < 8) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
DupgradeDRONE();
_root.price = 900 + (100 * _root.deLVL);
}
}
}
Symbol 200 Button
on (rollOver) {
_root.price = 700 + (100 * _root.lrLVL);
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.lrLVL < 8) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
LupgradeDRONE();
_root.price = 700 + (100 * _root.lrLVL);
}
}
}
Symbol 201 Button
on (rollOver) {
_root.price = 800 + (100 * _root.asLVL);
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.asLVL < 8) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
AupgradeDRONE();
_root.price = 800 + (100 * _root.asLVL);
}
}
}
Symbol 202 Button
on (rollOver) {
_root.price = 600 + (100 * _root.mrLVL);
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.mrLVL < 8) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
MupgradeDRONE();
_root.price = 600 + (100 * _root.mrLVL);
}
}
}
Symbol 203 Button
on (rollOver) {
_root.price = 500 + (100 * _root.srLVL);
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.srLVL < 8) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
SupgradeDRONE();
_root.price = 500 + (100 * _root.srLVL);
}
}
}
Symbol 204 Button
on (rollOver) {
_root.price = 500 * _root.gunDMG;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.gunDMG = _root.gunDMG + 0.5;
_root.price = 500 * _root.gunDMG;
}
}
Instance of Symbol 78 MovieClip in Symbol 206 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
this._visible = true;
gotoAndStop(_parent.barFrame);
} else {
this._visible = false;
}
}
Instance of Symbol 78 MovieClip in Symbol 208 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
this._visible = true;
gotoAndStop(_parent.barFrame);
} else {
this._visible = false;
}
}
Instance of Symbol 78 MovieClip in Symbol 210 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
gotoAndStop(_parent.barFrame);
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 78 MovieClip in Symbol 212 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.SHOWBAR) {
this._visible = true;
gotoAndStop(_parent.barFrame);
} else {
this._visible = false;
}
}
Symbol 213 Button
on (rollOver) {
_root.price = 5 * _root.maxHP;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if (_root.cash >= _root.price) {
_root.cash = _root.cash - _root.price;
_root.maxHP = _root.maxHP + 10;
_root.price = 5 * _root.maxHP;
}
}
Symbol 217 Button
on (press) {
_root.LSITE.shoot(_parent.TX, parent.TY);
hurt(_root.gunDMG);
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 220 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 222 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 224 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 228 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 233 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Symbol 237 MovieClip Frame 1
stop();
Symbol 237 MovieClip Frame 2
stop();
Symbol 244 Button
on (press) {
_root.LSITE.shoot(_parent.TX, parent.TY);
hurt(_root.gunDMG);
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 245 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Instance of Symbol 75 MovieClip "lifebar" in Symbol 249 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int((_parent.life * 100) / _parent.maxLife));
}
Symbol 290 Button
on (press) {
_root.PAUSED = !_root.PAUSED;
if (_root.PAUSED) {
i = 0;
while (i <= _root.numEnemy) {
_root["e" + i].movement.stop();
i++;
}
} else {
i = 0;
while (i <= _root.numEnemy) {
_root["e" + i].movement.play();
i++;
}
}
}
Symbol 291 Button
on (press) {
toggleHighQuality();
}
Symbol 292 Button
on (release) {
ticker++;
_root.GAMEOVER = true;
musicbox.gotoAndStop(2);
trenchBox.gotoAndStop(1);
i = 0;
while (i <= _root.numEnemy) {
_root["e" + i].setDead();
i++;
}
i = 0;
while (i <= _root.srnum) {
_root["srdrone" + i]._x = 1000;
i++;
}
i = 0;
while (i <= _root.mrnum) {
_root["mrdrone" + i]._x = 1000;
i++;
}
i = 0;
while (i <= _root.lrnum) {
_root["lrdrone" + i]._x = 1000;
i++;
}
i = 0;
while (i <= _root.asnum) {
_root["asdrone" + i]._x = 1000;
i++;
}
i = 0;
while (i <= _root.denum) {
_root["dedrone" + i]._x = 1000;
i++;
}
if (ticker >= 2) {
gotoAndStop (8);
ticker = 0;
}
}
Symbol 293 Button
on (press) {
_root.MUSIC = !_root.MUSIC;
}
Symbol 294 Button
on (press) {
_root.SHOWLASER = !_root.SHOWLASER;
}
Symbol 295 Button
on (press) {
_root.SHOWBAR = !_root.SHOWBAR;
}
Symbol 296 Button
on (press) {
_root.SOUNDS = !_root.SOUNDS;
}
Symbol 297 Button
on (press) {
_root.ANIMATION = !_root.ANIMATION;
if (!_root.ANIMATION) {
i = 0;
while (i <= _root.numEnemy) {
_root["e" + i].movement.stop();
i++;
}
} else {
i = 0;
while (i <= _root.numEnemy) {
_root["e" + i].movement.play();
i++;
}
}
}
Symbol 298 Button
on (rollOver) {
_root.price = 4000;
}
on (rollOut) {
_root.price = 0;
}
on (release) {
if ((_root.cash >= _root.price) && (!_root.TRENCH)) {
_root.cash = _root.cash - _root.price;
_root.TRENCH = true;
trenchBox.gotoAndStop(2);
}
}
Symbol 310 Button
on (rollOver) {
_parent.encrypt(int(_root.SCORE));
}
on (release) {
getURL ((("http://davhye.allhyper.com/scores.php?filename=DRONE%20DEFENCE&scoresize=10&action=INSERT&name=" + _root.sendName) + "&score=") + _root.sendMSG, (window = "_blank"));
}
Symbol 317 MovieClip Frame 1
stop();
Symbol 317 MovieClip Frame 5
stop();
Symbol 317 MovieClip Frame 6
stop();
Symbol 317 MovieClip Frame 7
stop();
Symbol 317 MovieClip Frame 8
stop();