Frame 1
function doSomething() {
}
function doSomething2() {
getURL ("http://nukebros.blogspot.com", _blank);
}
stop();
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Made by Karolis O.", doSomething);
Functioned2 = new ContextMenuItem("Visit the NukeBros", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
Instance of Symbol 68 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
this.gotoAndStop(2);
}
}
Frame 2
function doSomething() {
}
function doSomething2() {
getURL ("http://nukebros.blogspot.com", _blank);
}
_root.ach1 = 0;
_root.ach2 = 0;
_root.ach3 = 0;
_root.ach4 = 0;
_root.ach5 = 0;
_root.ach6 = 0;
_root.ach7 = 0;
_root.ach8 = 0;
_root.ach9 = 0;
_root.points = 0;
_root.SNIPkil = 0;
_root.SOLDkil = 0;
_root.SPYkil = 0;
_root.SCOkil = 0;
MENU.customItems.push(Functioned2);
MENU = new ContextMenu();
MENU.hideBuiltInItems();
Functioned = new ContextMenuItem("Made by Karolis O.", doSomething);
Functioned2 = new ContextMenuItem("Visit the NukeBros", doSomething2);
MENU.customItems.push(Functioned);
MENU.customItems.push(Functioned2);
_root.menu = MENU;
_root.sound = new Sound(this);
_root.sound.attachSound("cry");
_root.sound.start();
Frame 3
_root.bg = true;
Frame 4
stop();
_root.map = 1;
_root.en1 = true;
_root.en2 = true;
_root.en3 = true;
_root.en4 = true;
_root.man.removeMovieClip();
_root.camFrame.removeMovieClip();
_root.disp.removeMovieClip();
_root.tp1.removeMovieClip();
_root.tp2.removeMovieClip();
_root.sent.removeMovieClip();
_root.dot.removeMovieClip();
_root._y = 0;
_root._x = 0;
_root.victory = false;
if (_root.bg == true) {
_root.bg = false;
_root.sound = new Sound(this);
_root.sound.attachSound("menu");
_root.sound.start(0, 1);
}
Instance of Symbol 85 MovieClip in Frame 4
onClipEvent (enterFrame) {
_root.camFrame.timer.gotoAndStop(5);
}
Instance of Symbol 109 MovieClip in Frame 4
on (release) {
_root.gotoAndStop(14);
}
Instance of Symbol 111 MovieClip in Frame 4
onClipEvent (load) {
this._alpha = 100;
}
onClipEvent (enterFrame) {
if (this._alpha > 0) {
this._alpha = this._alpha - 10;
}
}
Instance of Symbol 129 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.en1 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.en1 == false) {
_root.en1 = true;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
} else if (_root.en1 == true) {
_root.en1 = false;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
}
}
on (rollOver) {
_root.view.gotoAndStop(4);
_root.view2.gotoAndStop(4);
}
Instance of Symbol 136 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.en2 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.en2 == false) {
_root.en2 = true;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
} else if (_root.en2 == true) {
_root.en2 = false;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
}
}
on (rollOver) {
_root.view.gotoAndStop(3);
_root.view2.gotoAndStop(3);
}
Instance of Symbol 141 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.en3 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.en3 == false) {
_root.en3 = true;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
} else if (_root.en3 == true) {
_root.en3 = false;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
}
}
on (rollOver) {
_root.view.gotoAndStop(5);
_root.view2.gotoAndStop(5);
}
Instance of Symbol 147 MovieClip in Frame 5
onClipEvent (enterFrame) {
if (_root.en4 == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (release) {
if (_root.en4 == false) {
_root.en4 = true;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
} else if (_root.en4 == true) {
_root.en4 = false;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
}
}
on (rollOver) {
_root.view.gotoAndStop(2);
_root.view2.gotoAndStop(2);
}
Instance of Symbol 152 MovieClip "view" in Frame 5
onClipEvent (load) {
this.gotoAndStop(1);
}
Instance of Symbol 163 MovieClip in Frame 5
on (release) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(4);
}
Instance of Symbol 167 MovieClip in Frame 5
on (release) {
if ((((_root.en1 == true) || (_root.en2 == true)) || (_root.en3 == true)) || (_root.en4 == true)) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(7);
}
}
Frame 6
stop();
Instance of Symbol 218 MovieClip in Frame 6
onClipEvent (enterFrame) {
menu.stop(0, 1);
}
Instance of Symbol 163 MovieClip in Frame 7
on (release) {
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
_root.gotoAndStop(5);
}
Instance of Symbol 167 MovieClip in Frame 7
on (release) {
if (_root.map == 1) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(8);
}
if (_root.map == 2) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(9);
}
if (_root.map == 3) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(10);
}
if (_root.map == 4) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(12);
}
}
Instance of Symbol 224 MovieClip in Frame 7
onClipEvent (enterFrame) {
menu.stop(0, 1);
}
Instance of Symbol 239 MovieClip in Frame 7
onClipEvent (load) {
if (_root.map == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map == 1) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.map != 1) {
_root.map = 1;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
_root.view.gotoAndStop(1);
_root.view2.gotoAndStop(1);
}
}
Instance of Symbol 245 MovieClip in Frame 7
onClipEvent (load) {
if (_root.map == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map == 2) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.map != 2) {
_root.map = 2;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
_root.view.gotoAndStop(2);
_root.view2.gotoAndStop(2);
}
}
Instance of Symbol 251 MovieClip in Frame 7
onClipEvent (load) {
if (_root.map == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map == 3) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.map != 3) {
_root.map = 3;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
_root.view.gotoAndStop(3);
_root.view2.gotoAndStop(3);
}
}
Instance of Symbol 257 MovieClip in Frame 7
onClipEvent (load) {
if (_root.map == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.map == 4) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.map != 4) {
_root.map = 4;
cl = new Sound(this);
cl.attachSound("button");
cl.start(0, 1);
_root.view.gotoAndStop(4);
_root.view2.gotoAndStop(4);
}
}
Frame 8
stop();
_root.w = 1;
_root.doneSE = false;
_root.doneDIS = false;
_root.doneEN = false;
_root.doneEX = false;
_root.sentB = false;
_root.metal = 200;
_root.menuB = 0;
_root.bild = 0;
_root.kills = 0;
_root.building = false;
_root.howto._visible = false;
_root.nob = false;
_root.sap = 0;
_root.sap2 = 0;
_root.sap3 = 0;
_root.sap4 = 0;
_root.see = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.tpu = 0;
_root.charg = 100;
_root.a = 1;
_root.cloak = false;
_root.Gmode = 1;
_root.sound.stop("menu");
_root.deaths = 0;
_root.Sdeaths = 0;
_root.pointsR = 0;
Instance of Symbol 312 MovieClip "man" in Frame 8
onClipEvent (load) {
this.swapDepths(25);
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
wid = _width / 2;
hei = _height * 0.8;
ammo = 30;
Mammo = 30;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
_root.camFrame.bul.gotoAndStop(1);
_root.menuB = 0;
_root.camFrame.bul._visible = false;
_root.camFrame.hud1._visible = false;
_root.camFrame.hud2._visible = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.sen._x = -85.2;
_root.sen._y = 223.6;
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.dis._x = -85.2;
_root.dis._y = 223.6;
_root.bild = 0;
_root.menuB = 0;
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if (Key.isDown(68) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
}
if (Key.isDown(65) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
}
while (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y + 5);
grav = grav * -0.7;
}
if (((airspd < (speed / 2)) && (Key.isDown(68))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (Key.isDown(65))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (Key.isDown(68)) {
airspd = speed;
}
if (Key.isDown(65)) {
airspd = -speed;
}
}
}
}
onClipEvent (enterFrame) {
if (((!Key.isDown(65)) && (!Key.isDown(68))) && (this._currentframe == 1)) {
_root.man.low.gotoAndStop(1);
}
if (Key.isDown(32) && (this._currentframe == 1)) {
this.high.gotoAndStop(3);
}
if ((((Key.isDown(1) && (this.high._currentframe == 1)) && (ammo > 0)) && (_root.menuB == 0)) && (_root.bild == 0)) {
this.high.gotoAndStop(2);
}
if (_root.ground.hitTest(_x, _y + 8, true)) {
if (_root.legs == 1) {
if (Key.isDown(68)) {
this.low.gotoAndStop(2);
} else if (Key.isDown(65)) {
this.low.gotoAndStop(4);
}
} else if (_root.legs == 2) {
if (Key.isDown(68)) {
this.low.gotoAndStop(4);
} else if (Key.isDown(65)) {
this.low.gotoAndStop(2);
}
}
if (Key.isDown(65) && (Key.isDown(68))) {
this.low.gotoAndStop(1);
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
this.low.gotoAndStop(3);
}
}
Instance of Symbol 323 MovieClip in Frame 8
onClipEvent (load) {
this.am = 102;
}
onClipEvent (enterFrame) {
if (this.am >= 100) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.man) && (this.am == 102)) {
_root.sound = new Sound(this);
_root.sound.attachSound("pickup");
_root.sound.start(0, 1);
this.am = 0;
_root.metal = _root.metal + 100;
_root.man.ammo = _root.man.ammo + 10;
}
if (this.am < 102) {
this.am = this.am + 0.35;
}
if (this.am > 102) {
this.am = 102;
}
}
Instance of Symbol 323 MovieClip in Frame 8
onClipEvent (load) {
this.am = 102;
}
onClipEvent (enterFrame) {
if (this.am >= 100) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.man) && (this.am == 102)) {
s7 = new Sound(this);
s7.attachSound("pickup");
s7.start(0, 1);
this.am = 0;
_root.metal = _root.metal + 100;
_root.man.ammo = _root.man.ammo + 10;
}
if (this.am < 102) {
this.am = this.am + 0.35;
}
if (this.am > 102) {
this.am = 102;
}
}
Instance of Symbol 335 MovieClip "cap1" in Frame 8
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if (((((_root.ene1.hitTest(this) || (_root.ene2.hitTest(this))) || (_root.ene3.hitTest(this) && (_root.ene3._alpha == 100))) || (_root.ene4.hitTest(this))) && (!_root.man.hitTest(this))) && (holo < 200)) {
holo = holo + 1;
_root.ico1 = true;
} else {
_root.ico1 = false;
}
if (holo >= 200) {
this.gotoAndStop(3);
holo = 200;
}
}
Instance of Symbol 336 MovieClip "cap2" in Frame 8
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if ((((((_root.ene1.hitTest(this) || (_root.ene2.hitTest(this))) || (_root.ene3.hitTest(this) && (_root.ene3._alpha == 100))) || (_root.ene4.hitTest(this))) && (!_root.man.hitTest(this))) && (holo < 200)) && (_root.cap1.holo == 200)) {
holo = holo + 1;
_root.ico2 = true;
} else {
_root.ico2 = false;
}
if (holo >= 200) {
holo = 200;
this.gotoAndStop(4);
}
}
Instance of Symbol 338 MovieClip "b" in Frame 8
onClipEvent (enterFrame) {
Mx = _root.man._x;
My = _root.man._y;
Sx = _root.sent._x;
Sy = _root.sent._y;
Dx = _root.disp._x;
Dy = _root.disp._y;
Tx1 = _root.tp1._x;
Ty1 = _root.tp1._y;
Tx2 = _root.tp2._x;
Ty2 = _root.tp2._y;
Ex1 = _root.ene1._x;
Ey1 = _root.ene1._y;
Ex2 = _root.ene2._x;
Ey2 = _root.ene2._y;
Ex3 = _root.ene3._x;
Ey3 = _root.ene3._y;
Ex4 = _root.ene4._x;
Ey4 = _root.ene4._y;
}
onClipEvent (enterFrame) {
e1t0 = ((Ex1 - Mx) * (Ex1 - Mx)) + ((Ey1 - My) * (Ey1 - My));
e1t1 = ((Ex1 - Sx) * (Ex1 - Sx)) + ((Ey1 - Sy) * (Ey1 - Sy));
e1t2 = ((Ex1 - Dx) * (Ex1 - Dx)) + ((Ey1 - Dy) * (Ey1 - Dy));
e1t3 = ((Ex1 - Tx1) * (Ex1 - Tx1)) + ((Ey1 - Ty1) * (Ey1 - Ty1));
e1t4 = ((Ex1 - Tx2) * (Ex1 - Tx2)) + ((Ey1 - Ty2) * (Ey1 - Ty2));
e2t0 = ((Ex2 - Mx) * (Ex2 - Mx)) + ((Ey2 - My) * (Ey2 - My));
e2t1 = ((Ex2 - Sx) * (Ex2 - Sx)) + ((Ey2 - Sy) * (Ey2 - Sy));
e2t2 = ((Ex2 - Dx) * (Ex2 - Dx)) + ((Ey2 - Dy) * (Ey2 - Dy));
e2t3 = ((Ex2 - Tx1) * (Ex2 - Tx1)) + ((Ey2 - Ty1) * (Ey2 - Ty1));
e2t4 = ((Ex2 - Tx2) * (Ex2 - Tx2)) + ((Ey2 - Ty2) * (Ey2 - Ty2));
e3t0 = ((Ex3 - Mx) * (Ex3 - Mx)) + ((Ey3 - My) * (Ey3 - My));
if (_root.ene3._alpha <= 60) {
e3t1 = 120000 /* 0x01D4C0 */;
} else {
e3t1 = ((Ex3 - Sx) * (Ex3 - Sx)) + ((Ey3 - Sy) * (Ey3 - Sy));
}
e3t2 = ((Ex3 - Dx) * (Ex3 - Dx)) + ((Ey3 - Dy) * (Ey3 - Dy));
e3t3 = ((Ex3 - Tx1) * (Ex3 - Tx1)) + ((Ey3 - Ty1) * (Ey3 - Ty1));
e3t4 = ((Ex3 - Tx2) * (Ex3 - Tx2)) + ((Ey3 - Ty2) * (Ey3 - Ty2));
e4t0 = ((Ex4 - Mx) * (Ex4 - Mx)) + ((Ey4 - My) * (Ey4 - My));
e4t1 = ((Ex4 - Sx) * (Ex4 - Sx)) + ((Ey4 - Sy) * (Ey4 - Sy));
e4t2 = ((Ex4 - Dx) * (Ex4 - Dx)) + ((Ey4 - Dy) * (Ey4 - Dy));
e4t3 = ((Ex4 - Tx1) * (Ex4 - Tx1)) + ((Ey4 - Ty1) * (Ey4 - Ty1));
e4t4 = ((Ex4 - Tx2) * (Ex4 - Tx2)) + ((Ey4 - Ty2) * (Ey4 - Ty2));
}
onClipEvent (enterFrame) {
var d1 = new Array();
d1.push({dist:e1t0, ident:0});
d1.push({dist:e1t1, ident:1});
d1.push({dist:e1t2, ident:2});
d1.push({dist:e1t3, ident:3});
d1.push({dist:e1t4, ident:4});
d1.sortOn("dist", Array.NUMERIC);
_root.targ1 = d1[0].ident;
}
onClipEvent (enterFrame) {
var d2 = new Array();
d2.push({dist:e2t0, ident:0});
d2.push({dist:e2t1, ident:1});
d2.push({dist:e2t2, ident:2});
d2.push({dist:e2t3, ident:3});
d2.push({dist:e2t4, ident:4});
d2.sortOn("dist", Array.NUMERIC);
_root.targ2 = d2[0].ident;
}
onClipEvent (enterFrame) {
var d3 = new Array();
d3.push({dist:e3t0, ident:0});
d3.push({dist:e3t1, ident:1});
d3.push({dist:e3t2, ident:2});
d3.push({dist:e3t3, ident:3});
d3.push({dist:e3t4, ident:4});
d3.sortOn("dist", Array.NUMERIC);
_root.targ3 = d3[0].ident;
}
onClipEvent (enterFrame) {
var d4 = new Array();
d4.push({dist:e4t0, ident:0});
d4.push({dist:e4t1, ident:1});
d4.push({dist:e4t2, ident:2});
d4.push({dist:e4t3, ident:3});
d4.push({dist:e4t4, ident:4});
d4.sortOn("dist", Array.NUMERIC);
_root.targ4 = d4[0].ident;
}
onClipEvent (enterFrame) {
var d5 = new Array();
d5.push({dist:e1t1, ident:1});
d5.push({dist:e2t1, ident:2});
d5.push({dist:e3t1, ident:3});
d5.push({dist:e4t1, ident:4});
d5.sortOn("dist", Array.NUMERIC);
_root.targ5 = d5[0].ident;
}
onClipEvent (enterFrame) {
if ((((e1t1 <= 110000) || (e2t1 <= 110000)) || (e3t1 <= 110000)) || (e4t1 <= 110000)) {
_root.limiter = true;
} else {
_root.limiter = false;
}
if (((((e1t0 <= 100000) || (e1t1 <= 100000)) || (e1t2 <= 100000)) || (e1t3 <= 100000)) || (e1t4 <= 100000)) {
_root.limit1 = true;
} else {
_root.limit1 = false;
}
if (((((e4t0 <= 100000) || (e4t1 <= 100000)) || (e4t2 <= 100000)) || (e4t3 <= 100000)) || (e4t4 <= 100000)) {
_root.limit4 = true;
} else {
_root.limit4 = false;
}
}
Instance of Symbol 396 MovieClip "sent" in Frame 8
onClipEvent (load) {
_root.doneSE = false;
done = 0;
lvl = 1;
shell = 50;
Mshell = 50;
rock = 0;
Mrock = 0;
hp = 10;
Mhp = 150;
upg = 0;
j = 1;
delay = 1;
maxdelay = 4;
}
onClipEvent (enterFrame) {
if (_root.sent.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("sentEX");
_root.sound.start(0, 1);
_root.derSE._x = _root.sent._x;
_root.derSE._y = _root.sent._y - 15;
_root.derSE.gotoAndPlay(2);
_root.doneSE = false;
_root.bild = 0;
_root.sent._x = -2000;
_root.sent._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.sent.gotoAndStop(1);
_root.sent.hp = 10;
_root.sap = 0;
}
}
onClipEvent (enterFrame) {
this.swapDepths(20);
}
onClipEvent (enterFrame) {
if (((((((((_root.limiter == true) && (_root.sap == 0)) && (delay < 0)) && ((this._currentframe == 2) || (this._currentframe == 8))) && (_root.see == true)) && (shell > 0)) && (_root.doneSE == true)) && (_root.camFrame.timer._currentframe != 1)) && (_root.camFrame.timer._currentframe != 4)) {
duplicateMovieClip (_root.bu, "bullet" + j, 0 + j);
_root["bullet" + j]._x = _x;
_root["bullet" + j]._y = _y - 22;
_root["bullet" + j]._rotation = this.one.head._rotation + 90;
_root["bullet" + j].spd = 50;
this.one.head.muzz.gotoAndPlay(2);
shell = shell - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("shoot1");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (((_root.limiter == true) && (_root.sap == 0)) && (_root.doneSE == true)) {
if (this._currentframe == 1) {
_root.sound = new Sound(this);
_root.sound.attachSound("spotE");
_root.sound.start(0, 1);
if ((myDegrees > 85) || (myDegrees < -85)) {
_root.sent.gotoAndPlay(3);
}
if (((myDegrees < 0) && (myDegrees > -85)) || ((myDegrees >= 0) && (myDegrees <= 85))) {
_root.sent.gotoAndStop(2);
}
} else if ((_root.limiter == false) && (this._currentframe != 1)) {
_root.sent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.sap > 0) {
this.gotoAndStop(15);
}
if ((_root.sap <= 0) && (this._currentframe == 15)) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((_root.sap == 0) && (_root.limiter == false)) && (this._currentframe != 1)) && (_root.doneSE == true)) {
_root.sent.gotoAndStop(1);
}
}
Instance of Symbol 404 MovieClip "ent1" in Frame 8
onClipEvent (enterFrame) {
if (((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (this.hitTest(_root.sent))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 421 MovieClip "tp1" in Frame 8
onClipEvent (load) {
done = 0;
hp = 10;
Mhp = 125;
}
onClipEvent (enterFrame) {
if (_root.doneEN == true) {
if (((_root.doneEX == true) && (_root.sap3 == 0)) && (_root.sap == 0)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.tp1.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("tpEX");
_root.sound.start(0, 1);
_root.derTP1._x = _root.tp1._x;
_root.derTP1._y = _root.tp1._y - 30;
_root.derTP1.gotoAndPlay(2);
_root.doneEN = false;
_root.bild = 0;
_root.tp1.done = 0;
_root.tp1._x = -2000;
_root.tp1._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.tp1.gotoAndStop(1);
_root.tp1.hp = 10;
_root.sap3 = 0;
}
}
Instance of Symbol 424 MovieClip "tp2" in Frame 8
onClipEvent (load) {
hp = 10;
Mhp = 125;
done = 0;
}
onClipEvent (enterFrame) {
if (_root.doneEX == true) {
if (((_root.doneEN == true) && (_root.sap3 == 0)) && (_root.sap == 0)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.tp2.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("tpEX");
_root.sound.start(0, 1);
_root.derTP2._x = _root.tp2._x;
_root.derTP2._y = _root.tp2._y - 30;
_root.derTP2.gotoAndPlay(2);
_root.doneEX = false;
_root.bild = 0;
_root.tp2.done = 0;
_root.tp2._x = -2000;
_root.tp2._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.tp2.gotoAndStop(1);
_root.tp2.hp = 10;
_root.sap4 = 0;
}
}
Instance of Symbol 430 MovieClip "disp" in Frame 8
onClipEvent (load) {
hp = 10;
Mhp = 125;
done = 0;
junk = 0;
Mjunk = 200;
}
onClipEvent (enterFrame) {
if (_root.disp.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("dispEX");
_root.sound.start(0, 1);
_root.derDIS._x = _root.disp._x;
_root.derDIS._y = _root.disp._y - 35;
_root.derDIS.gotoAndPlay(2);
_root.doneDIS = false;
_root.bild = 0;
_root.disp.done = 0;
_root.disp._x = -2000;
_root.disp._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.disp.gotoAndStop(1);
_root.disp.hp = 10;
_root.sap2 = 0;
}
}
Instance of Symbol 434 MovieClip "dis" in Frame 8
onClipEvent (enterFrame) {
if ((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.sent))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 437 MovieClip "sen" in Frame 8
onClipEvent (enterFrame) {
if ((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 473 MovieClip "ene1" in Frame 8
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 30;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 5.6;
maxfall = 15;
airspd = 0;
hp = 200;
Mhp = 200;
ammo = 4;
Mammo = 4;
reload = false;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo == 0) {
reload = true;
}
if (ammo == 4) {
reload = false;
}
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((((hp > 0) && (_root.limit1 == true)) && (reload == false)) && (delay < 0)) && (_root.camFrame.timer._currentframe != 3)) {
duplicateMovieClip (_root.rok, "rocket" + j, 0 + j);
_root["rocket" + j]._x = _x;
_root["rocket" + j]._y = _y - 65;
_root["rocket" + j]._rotation = this.up._rotation + 90;
_root["rocket" + j].spd = 30;
ammo = ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("rockit");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else if (_root.ground.hitTest(_x + (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else {
SLDjump = 0;
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
}
}
onClipEvent (enterFrame) {
if (_root.tar > 60000) {
if (this._x > (_root.tarSO._x + 10)) {
this.SLDwalk = -1;
} else if (this._x < _root.tarSO._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
} else {
this.SLDwalk = 0;
}
if (_root.tar < 20000) {
if (this._x > _root.tarSO._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
if (reload == true) {
if (this._x > _root.tarSO._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ1 == 0) {
_root.tar = _root.b.e1t0;
_root.tarSO = _root.man;
} else if (_root.targ1 == 1) {
_root.tar = _root.b.e1t1;
_root.tarSO = _root.sent;
} else if (_root.targ1 == 2) {
_root.tar = _root.b.e1t2;
_root.tarSO = _root.disp;
} else if (_root.targ1 == 3) {
_root.tar = _root.b.e1t3;
_root.tarSO = _root.tp1;
} else if (_root.targ1 == 4) {
_root.tar = _root.b.e1t4;
_root.tarSO = _root.tp2;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en1 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 499 MovieClip "ene2" in Frame 8
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 30;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
ammo = 1;
Mammo = 1;
reload = false;
_root.flip2 = true;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo == 0) {
reload = true;
}
if (ammo == 1) {
reload = false;
}
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
}
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else if (_root.ground.hitTest(_x + (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else {
SLDjump = 0;
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
if ((((this.hitTest(_root.man) || (this.hitTest(_root.sent))) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) {
this.up.gotoAndStop(3);
this.arm.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_root.tar2 > 140000) {
if (this._x > (_root.snip._x + 10)) {
this.SLDwalk = -1;
} else if (this._x < _root.snip._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
} else {
this.SLDwalk = 0;
}
if (_root.tar2 < 40000) {
if (this._x > _root.snip._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ2 == 0) {
_root.tar2 = _root.b.e2t0;
_root.snip = _root.man;
_root.snipA = 52;
_root.snipB = 47;
} else if (_root.targ2 == 1) {
_root.tar2 = _root.b.e2t1;
_root.snip = _root.sent;
_root.snipA = 10;
_root.snipB = 5;
} else if (_root.targ2 == 2) {
_root.tar2 = _root.b.e2t2;
_root.snip = _root.disp;
_root.snipA = 32;
_root.snipB = 27;
} else if (_root.targ2 == 3) {
_root.tar2 = _root.b.e2t3;
_root.snip = _root.tp1;
_root.snipA = 5;
_root.snipB = 0;
} else if (_root.targ2 == 4) {
_root.tar2 = _root.b.e2t4;
_root.snip = _root.tp2;
_root.snipA = 5;
_root.snipB = 0;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en2 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 524 MovieClip "ene3" in Frame 8
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 30;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
ammo = 4;
Mammo = 4;
reload = false;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
_root.cloak = false;
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo <= 1) {
reload = true;
}
if (ammo == 4) {
reload = false;
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else if (_root.ground.hitTest(_x + (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else {
SLDjump = 0;
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
}
}
onClipEvent (enterFrame) {
if (this._x > _root.tarS._x) {
this.SLDwalk = -1;
} else if (this._x < (_root.tarS._x - 40)) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
if (reload == true) {
if (this._x > _root.tarS._x) {
this.SLDwalk = 1;
} else if (this._x < _root.tarS._x) {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ3 == 0) {
_root.tar3 = _root.b.e1t0;
_root.tarS = _root.man;
} else if ((_root.targ3 == 1) && (_root.doneSE == true)) {
_root.tar3 = _root.b.e1t1;
_root.tarS = _root.sent;
} else if ((_root.targ3 == 2) && (_root.doneDIS == true)) {
_root.tar3 = _root.b.e1t2;
_root.tarS = _root.disp;
} else if ((_root.targ3 == 3) && (_root.doneEN == true)) {
_root.tar3 = _root.b.e1t3;
_root.tarS = _root.tp1;
} else if ((_root.targ3 == 4) && (_root.doneEX == true)) {
_root.tar3 = _root.b.e1t4;
_root.tarS = _root.tp2;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.camFrame.timer._currentframe != 3) {
if (reload == false) {
if (((_root.cloak == false) && (this._alpha >= 100)) && (this.up._currentframe == 1)) {
if ((ammo > 0) && (_root.man.hitTest(this))) {
this.up.gotoAndStop(2);
}
if ((((ammo > 0) && (this.hitTest(_root.sent))) && (_root.doneSE == true)) && (_root.sap < 1)) {
this.up.gotoAndStop(3);
}
if ((((ammo > 0) && (this.hitTest(_root.disp))) && (_root.doneDIS == true)) && (_root.sap2 < 1)) {
this.up.gotoAndStop(3);
}
if ((((ammo > 0) && (this.hitTest(_root.tp1))) && (_root.doneEN == true)) && (_root.sap3 < 1)) {
this.up.gotoAndStop(3);
}
if ((((ammo > 0) && (this.hitTest(_root.tp2))) && (_root.doneEX == true)) && (_root.sap4 < 1)) {
this.up.gotoAndStop(3);
}
}
} else if (reload == true) {
this.up.gotoAndStop(4);
}
}
}
onClipEvent (enterFrame) {
if (_root.cloak == true) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 5;
}
}
if (_root.cloak == false) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
if (this._alpha <= 0) {
if ((((_root.man.hitTest(this) || (_root.sent.hitTest(this))) || (_root.disp.hitTest(this))) || (_root.tp1.hitTest(this))) || (_root.tp2.hitTest(this))) {
_root.cloak = false;
}
}
if (this._alpha >= 100) {
if (((((!_root.man.hitTest(this)) && (!_root.sent.hitTest(this))) && (!_root.disp.hitTest(this))) && (!_root.tp1.hitTest(this))) && (!_root.tp2.hitTest(this))) {
_root.cloak = true;
}
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 1) {
this._xscale = 100;
}
if (this.SLDwalk == -1) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en3 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 576 MovieClip "ene4" in Frame 8
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 15;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 10;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
ammo = 4;
Mammo = 4;
reload = false;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo == 0) {
reload = true;
}
if (ammo == 4) {
reload = false;
}
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((((hp > 0) && (_root.limit4 == true)) && (reload == false)) && (delay < 0)) && (_root.camFrame.timer._currentframe != 3)) {
duplicateMovieClip (_root.bul, "bulz" + j, 0 + j);
_root["bulz" + j]._x = _x;
_root["bulz" + j]._y = _y - 38;
_root["bulz" + j]._rotation = this.up._rotation + 90;
_root["bulz" + j].spd = 40;
ammo = ammo - 1;
this.up.fire.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("shotgunS");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
}
}
onClipEvent (enterFrame) {
if (_root.tar4 > 60000) {
if (this._x > (_root.man._x + 10)) {
this.SLDwalk = -1;
} else if (this._x > _root.man._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
} else {
this.SLDwalk = 0;
}
if (_root.tar4 < 20000) {
if (this._x > _root.man._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
if (reload == true) {
if (this._x > _root.man._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ4 == 0) {
_root.tar4 = _root.b.e4t0;
} else if (_root.targ4 == 1) {
_root.tar4 = _root.b.e4t1;
} else if (_root.targ4 == 2) {
_root.tar4 = _root.b.e4t2;
} else if (_root.targ4 == 3) {
_root.tar4 = _root.b.e4t3;
} else if (_root.targ4 == 4) {
_root.tar4 = _root.b.e4t4;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en4 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 580 MovieClip "dot" in Frame 8
onClipEvent (load) {
charge = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(29);
}
onClipEvent (enterFrame) {
if ((_root.snip._x - 3) > this._x) {
this._x = this._x + speed;
} else if ((_root.snip._x + 4) < this._x) {
this._x = this._x - speed;
}
if ((_root.snip._y - _root.snipA) > this._y) {
this._y = this._y + 5;
} else if ((_root.snip._y - _root.snipB) < this._y) {
this._y = this._y - 5;
}
if (this._visible == true) {
speed = 5;
} else {
speed = 8;
}
}
onClipEvent (enterFrame) {
if (((((((_root.snip.hitTest(_x, _y, true) && (_root.ene2.reload == false)) && (_root.ene2.SLDjump == false)) && (_root.ene2.SLDwalk == false)) && (_root.ene2.hp > 0)) && (_root.camFrame.timer._currentframe != 1)) && (_root.camFrame.timer._currentframe != 3)) && (_root.en2 == true)) {
this._visible = true;
charge = charge + 1;
} else {
this._visible = false;
charge = 0;
}
if (charge == 20) {
_root.ene2.ammo = _root.ene2.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("sniper_s");
_root.sound.start(0, 1);
charge = 0;
if (_root.man.hitTest(_x, _y, true)) {
_root.man.hp = _root.man.hp - (34 + random(29));
_root.blood2._x = this._x;
_root.blood2._y = this._y;
_root.blood2.gotoAndPlay(2);
}
if (_root.disp.hitTest(_x, _y, true)) {
_root.disp.hp = _root.disp.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
if (_root.sent.hitTest(_x, _y, true)) {
_root.sent.hp = _root.sent.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
if (_root.tp1.hitTest(_x, _y, true)) {
_root.tp1.hp = _root.tp1.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
if (_root.tp2.hitTest(_x, _y, true)) {
_root.tp2.hp = _root.tp2.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
}
}
Instance of Symbol 582 MovieClip "bu" in Frame 8
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom2._x = this._x;
_root.boom2._y = this._y;
_root.boom2.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene1.hitTest(_x, _y, true)) {
_root.ene1.hp = _root.ene1.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene2.hitTest(_x, _y, true)) {
_root.ene2.hp = _root.ene2.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene3.hitTest(this) && (_root.ene3._alpha > 60)) {
_root.ene3.hp = _root.ene3.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene4.hitTest(_x, _y, true)) {
_root.ene4.hp = _root.ene4.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 618 MovieClip "expl" in Frame 8
onClipEvent (enterFrame) {
this.swapDepths(28);
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this)) {
_root.man.hp = _root.man.hp - 10;
}
if (_root.sent.hitTest(this)) {
_root.sent.hp = _root.sent.hp - 10;
}
if (_root.disp.hitTest(this)) {
_root.disp.hp = _root.disp.hp - 10;
}
if (_root.tp1.hitTest(this)) {
_root.tp1.hp = _root.tp1.hp - 10;
}
if (_root.tp2.hitTest(this)) {
_root.tp2.hp = _root.tp2.hp - 10;
}
}
Instance of Symbol 624 MovieClip "rok" in Frame 8
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (((((_root.bult.hitTest(_x, _y, true) || (_root.man.hitTest(this))) || (_root.sent.hitTest(this))) || (_root.disp.hitTest(this))) || (_root.tp1.hitTest(this))) || (_root.tp2.hitTest(this))) {
_root.expl._x = this._x;
_root.expl._y = this._y;
_root.expl.gotoAndPlay(2);
s10 = new Sound(this);
s10.attachSound("explode");
s10.start(0, 1);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 633 MovieClip "buz" in Frame 8
onClipEvent (load) {
if (_name != "buz") {
_rotation = (_root.man.high._rotation + 90);
_x = _root.man._x;
_y = (_root.man._y - 50);
spd = 40;
}
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom._x = this._x;
_root.boom._y = this._y;
_root.boom.gotoAndPlay(2);
this.removeMovieClip();
}
if (_root.ene1.hitTest(_x, _y, true)) {
_root.ene1.hp = _root.ene1.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene2.hitTest(_x, _y, true)) {
_root.ene2.hp = _root.ene2.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene3.hitTest(this) && (_root.ene3._alpha > 60)) {
_root.ene3.hp = _root.ene3.hp - (34 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene4.hitTest(_x, _y, true)) {
_root.ene4.hp = _root.ene4.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 631 MovieClip "blood2" in Frame 8
onClipEvent (enterFrame) {
this.swapDepths(26);
}
Instance of Symbol 640 MovieClip "spark" in Frame 8
onClipEvent (enterFrame) {
this.swapDepths(27);
}
Instance of Symbol 582 MovieClip "bul" in Frame 8
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom2._x = this._x;
_root.boom2._y = this._y;
_root.boom2.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.man.hitTest(_x, _y, true)) {
_root.man.hp = _root.man.hp - 20;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.sent.hitTest(_x, _y, true)) {
_root.sent.hp = _root.sent.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.disp.hitTest(_x, _y, true)) {
_root.disp.hp = _root.disp.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.tp1.hitTest(_x, _y, true)) {
_root.tp1.hp = _root.tp1.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.tp2.hitTest(_x, _y, true)) {
_root.tp2.hp = _root.tp2.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 647 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.man._x = _root.man._x - 7;
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 664 MovieClip in Frame 8
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 2) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 668 MovieClip in Frame 8
onClipEvent (load) {
this.swapDepths(32);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 8) {
this.removeMovieClip();
}
}
Instance of Symbol 811 MovieClip "camFrame" in Frame 8
onClipEvent (load) {
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1780)) {
_root.camFrame._x = _root.man._x + 23;
} else if (_root.man._x > 1780) {
this._x = 1803;
} else if (_root.man._x < 230) {
this._x = 253;
}
}
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1780)) {
_root._x = (-_root.man._x) + 275;
} else if (_root.man._x > 1780) {
_root._x = -1505;
} else if (_root.man._x < 230) {
_root._x = 45;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.victory = false;
_root.sound.stop();
_root.gotoAndStop(11);
}
}
Frame 9
stop();
_root.w = 1;
_root.doneSE = false;
_root.doneDIS = false;
_root.doneEN = false;
_root.doneEX = false;
_root.sentB = false;
_root.metal = 200;
_root.menuB = 0;
_root.bild = 0;
_root.kills = 0;
_root.building = false;
_root.howto._visible = false;
_root.nob = false;
_root.sap = 0;
_root.sap2 = 0;
_root.sap3 = 0;
_root.sap4 = 0;
_root.see = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.tpu = 0;
_root.charg = 100;
_root.a = 1;
_root.cloak = false;
_root.Gmode = 1;
_root.sound.stop("menu");
_root.deaths = 0;
_root.Sdeaths = 0;
_root.pointsR = 0;
Instance of Symbol 323 MovieClip in Frame 9
onClipEvent (load) {
this.am = 102;
}
onClipEvent (enterFrame) {
if (this.am >= 100) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.man) && (this.am == 102)) {
s7 = new Sound(this);
s7.attachSound("pickup");
s7.start(0, 1);
this.am = 0;
_root.metal = _root.metal + 100;
_root.man.ammo = _root.man.ammo + 10;
}
if (this.am < 102) {
this.am = this.am + 0.35;
}
if (this.am > 102) {
this.am = 102;
}
}
Instance of Symbol 323 MovieClip in Frame 9
onClipEvent (load) {
this.am = 102;
}
onClipEvent (enterFrame) {
if (this.am >= 100) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.man) && (this.am == 102)) {
s7 = new Sound(this);
s7.attachSound("pickup");
s7.start(0, 1);
this.am = 0;
_root.metal = _root.metal + 100;
_root.man.ammo = _root.man.ammo + 10;
}
if (this.am < 102) {
this.am = this.am + 0.35;
}
if (this.am > 102) {
this.am = 102;
}
}
Instance of Symbol 818 MovieClip "pay" in Frame 9
onClipEvent (enterFrame) {
if (((((_root.ene1.hitTest(this) || (_root.ene2.hitTest(this))) || (_root.ene3.hitTest(this) && (_root.ene3._alpha == 100))) || (_root.ene4.hitTest(this))) && (!_root.man.hitTest(this))) && (_root.cap2.holo < 200)) {
this._x = this._x - 2;
}
}
Instance of Symbol 823 MovieClip "cap1" in Frame 9
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if (_root.pay.hitTest(this.box)) {
holo = 200;
}
if (holo >= 200) {
this.gotoAndStop(3);
holo = 200;
}
}
Instance of Symbol 824 MovieClip "cap2" in Frame 9
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if (_root.pay.hitTest(this.box)) {
holo = 200;
}
if (holo >= 200) {
holo = 200;
this.gotoAndStop(4);
}
}
Instance of Symbol 338 MovieClip "b" in Frame 9
onClipEvent (enterFrame) {
Mx = _root.man._x;
My = _root.man._y;
Sx = _root.sent._x;
Sy = _root.sent._y;
Dx = _root.disp._x;
Dy = _root.disp._y;
Tx1 = _root.tp1._x;
Ty1 = _root.tp1._y;
Tx2 = _root.tp2._x;
Ty2 = _root.tp2._y;
Ex1 = _root.ene1._x;
Ey1 = _root.ene1._y;
Ex2 = _root.ene2._x;
Ey2 = _root.ene2._y;
Ex3 = _root.ene3._x;
Ey3 = _root.ene3._y;
Ex4 = _root.ene4._x;
Ey4 = _root.ene4._y;
}
onClipEvent (enterFrame) {
e1t0 = ((Ex1 - Mx) * (Ex1 - Mx)) + ((Ey1 - My) * (Ey1 - My));
e1t1 = ((Ex1 - Sx) * (Ex1 - Sx)) + ((Ey1 - Sy) * (Ey1 - Sy));
e1t2 = ((Ex1 - Dx) * (Ex1 - Dx)) + ((Ey1 - Dy) * (Ey1 - Dy));
e1t3 = ((Ex1 - Tx1) * (Ex1 - Tx1)) + ((Ey1 - Ty1) * (Ey1 - Ty1));
e1t4 = ((Ex1 - Tx2) * (Ex1 - Tx2)) + ((Ey1 - Ty2) * (Ey1 - Ty2));
e2t0 = ((Ex2 - Mx) * (Ex2 - Mx)) + ((Ey2 - My) * (Ey2 - My));
e2t1 = ((Ex2 - Sx) * (Ex2 - Sx)) + ((Ey2 - Sy) * (Ey2 - Sy));
e2t2 = ((Ex2 - Dx) * (Ex2 - Dx)) + ((Ey2 - Dy) * (Ey2 - Dy));
e2t3 = ((Ex2 - Tx1) * (Ex2 - Tx1)) + ((Ey2 - Ty1) * (Ey2 - Ty1));
e2t4 = ((Ex2 - Tx2) * (Ex2 - Tx2)) + ((Ey2 - Ty2) * (Ey2 - Ty2));
e3t0 = ((Ex3 - Mx) * (Ex3 - Mx)) + ((Ey3 - My) * (Ey3 - My));
if (_root.ene3._alpha <= 60) {
e3t1 = 120000 /* 0x01D4C0 */;
} else {
e3t1 = ((Ex3 - Sx) * (Ex3 - Sx)) + ((Ey3 - Sy) * (Ey3 - Sy));
}
e3t2 = ((Ex3 - Dx) * (Ex3 - Dx)) + ((Ey3 - Dy) * (Ey3 - Dy));
e3t3 = ((Ex3 - Tx1) * (Ex3 - Tx1)) + ((Ey3 - Ty1) * (Ey3 - Ty1));
e3t4 = ((Ex3 - Tx2) * (Ex3 - Tx2)) + ((Ey3 - Ty2) * (Ey3 - Ty2));
e4t0 = ((Ex4 - Mx) * (Ex4 - Mx)) + ((Ey4 - My) * (Ey4 - My));
e4t1 = ((Ex4 - Sx) * (Ex4 - Sx)) + ((Ey4 - Sy) * (Ey4 - Sy));
e4t2 = ((Ex4 - Dx) * (Ex4 - Dx)) + ((Ey4 - Dy) * (Ey4 - Dy));
e4t3 = ((Ex4 - Tx1) * (Ex4 - Tx1)) + ((Ey4 - Ty1) * (Ey4 - Ty1));
e4t4 = ((Ex4 - Tx2) * (Ex4 - Tx2)) + ((Ey4 - Ty2) * (Ey4 - Ty2));
}
onClipEvent (enterFrame) {
var d1 = new Array();
d1.push({dist:e1t0, ident:0});
d1.push({dist:e1t1, ident:1});
d1.push({dist:e1t2, ident:2});
d1.push({dist:e1t3, ident:3});
d1.push({dist:e1t4, ident:4});
d1.sortOn("dist", Array.NUMERIC);
_root.targ1 = d1[0].ident;
}
onClipEvent (enterFrame) {
var d2 = new Array();
d2.push({dist:e2t0, ident:0});
d2.push({dist:e2t1, ident:1});
d2.push({dist:e2t2, ident:2});
d2.push({dist:e2t3, ident:3});
d2.push({dist:e2t4, ident:4});
d2.sortOn("dist", Array.NUMERIC);
_root.targ2 = d2[0].ident;
}
onClipEvent (enterFrame) {
var d3 = new Array();
d3.push({dist:e3t0, ident:0});
d3.push({dist:e3t1, ident:1});
d3.push({dist:e3t2, ident:2});
d3.push({dist:e3t3, ident:3});
d3.push({dist:e3t4, ident:4});
d3.sortOn("dist", Array.NUMERIC);
_root.targ3 = d3[0].ident;
}
onClipEvent (enterFrame) {
var d4 = new Array();
d4.push({dist:e4t0, ident:0});
d4.push({dist:e4t1, ident:1});
d4.push({dist:e4t2, ident:2});
d4.push({dist:e4t3, ident:3});
d4.push({dist:e4t4, ident:4});
d4.sortOn("dist", Array.NUMERIC);
_root.targ4 = d4[0].ident;
}
onClipEvent (enterFrame) {
var d5 = new Array();
d5.push({dist:e1t1, ident:1});
d5.push({dist:e2t1, ident:2});
d5.push({dist:e3t1, ident:3});
d5.push({dist:e4t1, ident:4});
d5.sortOn("dist", Array.NUMERIC);
_root.targ5 = d5[0].ident;
}
onClipEvent (enterFrame) {
if ((((e1t1 <= 110000) || (e2t1 <= 110000)) || (e3t1 <= 110000)) || (e4t1 <= 110000)) {
_root.limiter = true;
} else {
_root.limiter = false;
}
if (((((e1t0 <= 100000) || (e1t1 <= 100000)) || (e1t2 <= 100000)) || (e1t3 <= 100000)) || (e1t4 <= 100000)) {
_root.limit1 = true;
} else {
_root.limit1 = false;
}
if (((((e4t0 <= 100000) || (e4t1 <= 100000)) || (e4t2 <= 100000)) || (e4t3 <= 100000)) || (e4t4 <= 100000)) {
_root.limit4 = true;
} else {
_root.limit4 = false;
}
}
Instance of Symbol 396 MovieClip "sent" in Frame 9
onClipEvent (load) {
_root.doneSE == false;
done = 0;
lvl = 1;
shell = 50;
Mshell = 50;
rock = 0;
Mrock = 0;
hp = 10;
Mhp = 150;
upg = 0;
j = 1;
delay = 1;
maxdelay = 4;
}
onClipEvent (enterFrame) {
if (_root.sent.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("sentEX");
_root.sound.start(0, 1);
_root.derSE._x = _root.sent._x;
_root.derSE._y = _root.sent._y - 15;
_root.derSE.gotoAndPlay(2);
_root.doneSE = false;
_root.bild = 0;
_root.sent._x = -2000;
_root.sent._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.sent.gotoAndStop(1);
_root.sent.hp = 10;
_root.sap = 0;
}
}
onClipEvent (enterFrame) {
this.swapDepths(20);
}
onClipEvent (enterFrame) {
if (((((((((_root.limiter == true) && (_root.sap == 0)) && (delay < 0)) && ((this._currentframe == 2) || (this._currentframe == 8))) && (_root.see == true)) && (shell > 0)) && (_root.doneSE == true)) && (_root.camFrame.timer._currentframe != 1)) && (_root.camFrame.timer._currentframe != 4)) {
duplicateMovieClip (_root.bu, "bullet" + j, 0 + j);
_root["bullet" + j]._x = _x;
_root["bullet" + j]._y = _y - 22;
_root["bullet" + j]._rotation = this.one.head._rotation + 90;
_root["bullet" + j].spd = 50;
this.one.head.muzz.gotoAndPlay(2);
shell = shell - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("shoot1");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (((_root.limiter == true) && (_root.sap == 0)) && (_root.doneSE == true)) {
if (this._currentframe == 1) {
_root.sound = new Sound(this);
_root.sound.attachSound("spotE");
_root.sound.start(0, 1);
if ((myDegrees > 85) || (myDegrees < -85)) {
_root.sent.gotoAndPlay(3);
}
if (((myDegrees < 0) && (myDegrees > -85)) || ((myDegrees >= 0) && (myDegrees <= 85))) {
_root.sent.gotoAndStop(2);
}
} else if ((_root.limiter == false) && (this._currentframe != 1)) {
_root.sent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.sap > 0) {
this.gotoAndStop(15);
}
if ((_root.sap <= 0) && (this._currentframe == 15)) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((_root.sap == 0) && (_root.limiter == false)) && (this._currentframe != 1)) && (_root.doneSE == true)) {
_root.sent.gotoAndStop(1);
}
}
Instance of Symbol 404 MovieClip "ent1" in Frame 9
onClipEvent (enterFrame) {
if (((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (this.hitTest(_root.sent))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 421 MovieClip "tp1" in Frame 9
onClipEvent (load) {
done = 0;
hp = 10;
Mhp = 125;
}
onClipEvent (enterFrame) {
if (_root.doneEN == true) {
if (((_root.doneEX == true) && (_root.sap3 == 0)) && (_root.sap == 0)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.tp1.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("tpEX");
_root.sound.start(0, 1);
_root.derTP1._x = _root.tp1._x;
_root.derTP1._y = _root.tp1._y - 30;
_root.derTP1.gotoAndPlay(2);
_root.doneEN = false;
_root.bild = 0;
_root.tp1.done = 0;
_root.tp1._x = -2000;
_root.tp1._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.tp1.gotoAndStop(1);
_root.tp1.hp = 10;
_root.sap3 = 0;
}
}
Instance of Symbol 424 MovieClip "tp2" in Frame 9
onClipEvent (load) {
hp = 10;
Mhp = 125;
done = 0;
}
onClipEvent (enterFrame) {
if (_root.doneEX == true) {
if (((_root.doneEN == true) && (_root.sap3 == 0)) && (_root.sap == 0)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.tp2.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("tpEX");
_root.sound.start(0, 1);
_root.derTP2._x = _root.tp2._x;
_root.derTP2._y = _root.tp2._y - 30;
_root.derTP2.gotoAndPlay(2);
_root.doneEX = false;
_root.bild = 0;
_root.tp2.done = 0;
_root.tp2._x = -2000;
_root.tp2._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.tp2.gotoAndStop(1);
_root.tp2.hp = 10;
_root.sap4 = 0;
}
}
Instance of Symbol 430 MovieClip "disp" in Frame 9
onClipEvent (load) {
hp = 10;
Mhp = 125;
done = 0;
junk = 0;
Mjunk = 200;
}
onClipEvent (enterFrame) {
if (_root.disp.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("dispEX");
_root.sound.start(0, 1);
_root.derDIS._x = _root.disp._x;
_root.derDIS._y = _root.disp._y - 35;
_root.derDIS.gotoAndPlay(2);
_root.doneDIS = false;
_root.bild = 0;
_root.disp.done = 0;
_root.disp._x = -2000;
_root.disp._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.disp.gotoAndStop(1);
_root.disp.hp = 10;
_root.sap2 = 0;
}
}
Instance of Symbol 434 MovieClip "dis" in Frame 9
onClipEvent (enterFrame) {
if ((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.sent))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 437 MovieClip "sen" in Frame 9
onClipEvent (enterFrame) {
if ((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 582 MovieClip "bu" in Frame 9
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom2._x = this._x;
_root.boom2._y = this._y;
_root.boom2.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene1.hitTest(_x, _y, true)) {
_root.ene1.hp = _root.ene1.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene2.hitTest(_x, _y, true)) {
_root.ene2.hp = _root.ene2.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene3.hitTest(this) && (_root.ene3._alpha > 60)) {
_root.ene3.hp = _root.ene3.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene4.hitTest(_x, _y, true)) {
_root.ene4.hp = _root.ene4.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 618 MovieClip "expl" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(28);
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this)) {
_root.man.hp = _root.man.hp - 10;
}
if (_root.sent.hitTest(this)) {
_root.sent.hp = _root.sent.hp - 10;
}
if (_root.disp.hitTest(this)) {
_root.disp.hp = _root.disp.hp - 10;
}
if (_root.tp1.hitTest(this)) {
_root.tp1.hp = _root.tp1.hp - 10;
}
if (_root.tp2.hitTest(this)) {
_root.tp2.hp = _root.tp2.hp - 10;
}
}
Instance of Symbol 624 MovieClip "rok" in Frame 9
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (((((_root.bult.hitTest(_x, _y, true) || (_root.man.hitTest(this))) || (_root.sent.hitTest(this))) || (_root.disp.hitTest(this))) || (_root.tp1.hitTest(this))) || (_root.tp2.hitTest(this))) {
_root.expl._x = this._x;
_root.expl._y = this._y;
_root.expl.gotoAndPlay(2);
s10 = new Sound(this);
s10.attachSound("explode");
s10.start(0, 1);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 633 MovieClip "buz" in Frame 9
onClipEvent (load) {
if (_name != "buz") {
_rotation = (_root.man.high._rotation + 90);
_x = _root.man._x;
_y = (_root.man._y - 50);
spd = 40;
}
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom._x = this._x;
_root.boom._y = this._y;
_root.boom.gotoAndPlay(2);
this.removeMovieClip();
}
if (_root.ene1.hitTest(_x, _y, true)) {
_root.ene1.hp = _root.ene1.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene2.hitTest(_x, _y, true)) {
_root.ene2.hp = _root.ene2.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene3.hitTest(this) && (_root.ene3._alpha > 60)) {
_root.ene3.hp = _root.ene3.hp - (34 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene4.hitTest(_x, _y, true)) {
_root.ene4.hp = _root.ene4.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 631 MovieClip "blood2" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(26);
}
Instance of Symbol 640 MovieClip "spark" in Frame 9
onClipEvent (enterFrame) {
this.swapDepths(27);
}
Instance of Symbol 582 MovieClip "bul" in Frame 9
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom2._x = this._x;
_root.boom2._y = this._y;
_root.boom2.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.man.hitTest(_x, _y, true)) {
_root.man.hp = _root.man.hp - 20;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.sent.hitTest(_x, _y, true)) {
_root.sent.hp = _root.sent.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.disp.hitTest(_x, _y, true)) {
_root.disp.hp = _root.disp.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.tp1.hitTest(_x, _y, true)) {
_root.tp1.hp = _root.tp1.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.tp2.hitTest(_x, _y, true)) {
_root.tp2.hp = _root.tp2.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 811 MovieClip "camFrame" in Frame 9
onClipEvent (load) {
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1980)) {
_root.camFrame._x = _root.man._x + 23;
} else if (_root.man._x > 1980) {
this._x = 2003;
} else if (_root.man._x < 230) {
this._x = 253;
}
}
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1980)) {
_root._x = (-_root.man._x) + 275;
} else if (_root.man._x > 1980) {
_root._x = -1705;
} else if (_root.man._x < 230) {
_root._x = 45;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.sound.stop();
_root.gotoAndStop(11);
}
}
Frame 10
stop();
_root.w = 1;
_root.doneSE = false;
_root.doneDIS = false;
_root.doneEN = false;
_root.doneEX = false;
_root.sentB = false;
_root.metal = 200;
_root.menuB = 0;
_root.bild = 0;
_root.kills = 0;
_root.building = false;
_root.howto._visible = false;
_root.nob = false;
_root.sap = 0;
_root.sap2 = 0;
_root.sap3 = 0;
_root.sap4 = 0;
_root.see = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.tpu = 0;
_root.charg = 100;
_root.a = 1;
_root.cloak = false;
_root.Gmode = 1;
_root.sound.stop("menu");
_root.deaths = 0;
_root.Sdeaths = 0;
_root.pointsR = 0;
Instance of Symbol 335 MovieClip "cap1" in Frame 10
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if (((((_root.ene1.hitTest(this) || (_root.ene2.hitTest(this))) || (_root.ene3.hitTest(this) && (_root.ene3._alpha == 100))) || (_root.ene4.hitTest(this))) && (!_root.man.hitTest(this))) && (holo < 200)) {
holo = holo + 1;
_root.ico1 = true;
} else {
_root.ico1 = false;
}
if (holo >= 200) {
this.gotoAndStop(3);
holo = 200;
}
}
Instance of Symbol 336 MovieClip "cap2" in Frame 10
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if ((((((_root.ene1.hitTest(this) || (_root.ene2.hitTest(this))) || (_root.ene3.hitTest(this) && (_root.ene3._alpha == 100))) || (_root.ene4.hitTest(this))) && (!_root.man.hitTest(this))) && (holo < 200)) && (_root.cap1.holo == 200)) {
holo = holo + 1;
_root.ico2 = true;
} else {
_root.ico2 = false;
}
if (holo >= 200) {
holo = 200;
this.gotoAndStop(4);
}
}
Instance of Symbol 338 MovieClip "b" in Frame 10
onClipEvent (enterFrame) {
Mx = _root.man._x;
My = _root.man._y;
Sx = _root.sent._x;
Sy = _root.sent._y;
Dx = _root.disp._x;
Dy = _root.disp._y;
Tx1 = _root.tp1._x;
Ty1 = _root.tp1._y;
Tx2 = _root.tp2._x;
Ty2 = _root.tp2._y;
Ex1 = _root.ene1._x;
Ey1 = _root.ene1._y;
Ex2 = _root.ene2._x;
Ey2 = _root.ene2._y;
Ex3 = _root.ene3._x;
Ey3 = _root.ene3._y;
Ex4 = _root.ene4._x;
Ey4 = _root.ene4._y;
}
onClipEvent (enterFrame) {
e1t0 = ((Ex1 - Mx) * (Ex1 - Mx)) + ((Ey1 - My) * (Ey1 - My));
e1t1 = ((Ex1 - Sx) * (Ex1 - Sx)) + ((Ey1 - Sy) * (Ey1 - Sy));
e1t2 = ((Ex1 - Dx) * (Ex1 - Dx)) + ((Ey1 - Dy) * (Ey1 - Dy));
e1t3 = ((Ex1 - Tx1) * (Ex1 - Tx1)) + ((Ey1 - Ty1) * (Ey1 - Ty1));
e1t4 = ((Ex1 - Tx2) * (Ex1 - Tx2)) + ((Ey1 - Ty2) * (Ey1 - Ty2));
e2t0 = ((Ex2 - Mx) * (Ex2 - Mx)) + ((Ey2 - My) * (Ey2 - My));
e2t1 = ((Ex2 - Sx) * (Ex2 - Sx)) + ((Ey2 - Sy) * (Ey2 - Sy));
e2t2 = ((Ex2 - Dx) * (Ex2 - Dx)) + ((Ey2 - Dy) * (Ey2 - Dy));
e2t3 = ((Ex2 - Tx1) * (Ex2 - Tx1)) + ((Ey2 - Ty1) * (Ey2 - Ty1));
e2t4 = ((Ex2 - Tx2) * (Ex2 - Tx2)) + ((Ey2 - Ty2) * (Ey2 - Ty2));
e3t0 = ((Ex3 - Mx) * (Ex3 - Mx)) + ((Ey3 - My) * (Ey3 - My));
if (_root.ene3._alpha <= 60) {
e3t1 = 120000 /* 0x01D4C0 */;
} else {
e3t1 = ((Ex3 - Sx) * (Ex3 - Sx)) + ((Ey3 - Sy) * (Ey3 - Sy));
}
e3t2 = ((Ex3 - Dx) * (Ex3 - Dx)) + ((Ey3 - Dy) * (Ey3 - Dy));
e3t3 = ((Ex3 - Tx1) * (Ex3 - Tx1)) + ((Ey3 - Ty1) * (Ey3 - Ty1));
e3t4 = ((Ex3 - Tx2) * (Ex3 - Tx2)) + ((Ey3 - Ty2) * (Ey3 - Ty2));
e4t0 = ((Ex4 - Mx) * (Ex4 - Mx)) + ((Ey4 - My) * (Ey4 - My));
e4t1 = ((Ex4 - Sx) * (Ex4 - Sx)) + ((Ey4 - Sy) * (Ey4 - Sy));
e4t2 = ((Ex4 - Dx) * (Ex4 - Dx)) + ((Ey4 - Dy) * (Ey4 - Dy));
e4t3 = ((Ex4 - Tx1) * (Ex4 - Tx1)) + ((Ey4 - Ty1) * (Ey4 - Ty1));
e4t4 = ((Ex4 - Tx2) * (Ex4 - Tx2)) + ((Ey4 - Ty2) * (Ey4 - Ty2));
}
onClipEvent (enterFrame) {
var d1 = new Array();
d1.push({dist:e1t0, ident:0});
d1.push({dist:e1t1, ident:1});
d1.push({dist:e1t2, ident:2});
d1.push({dist:e1t3, ident:3});
d1.push({dist:e1t4, ident:4});
d1.sortOn("dist", Array.NUMERIC);
_root.targ1 = d1[0].ident;
}
onClipEvent (enterFrame) {
var d2 = new Array();
d2.push({dist:e2t0, ident:0});
d2.push({dist:e2t1, ident:1});
d2.push({dist:e2t2, ident:2});
d2.push({dist:e2t3, ident:3});
d2.push({dist:e2t4, ident:4});
d2.sortOn("dist", Array.NUMERIC);
_root.targ2 = d2[0].ident;
}
onClipEvent (enterFrame) {
var d3 = new Array();
d3.push({dist:e3t0, ident:0});
d3.push({dist:e3t1, ident:1});
d3.push({dist:e3t2, ident:2});
d3.push({dist:e3t3, ident:3});
d3.push({dist:e3t4, ident:4});
d3.sortOn("dist", Array.NUMERIC);
_root.targ3 = d3[0].ident;
}
onClipEvent (enterFrame) {
var d4 = new Array();
d4.push({dist:e4t0, ident:0});
d4.push({dist:e4t1, ident:1});
d4.push({dist:e4t2, ident:2});
d4.push({dist:e4t3, ident:3});
d4.push({dist:e4t4, ident:4});
d4.sortOn("dist", Array.NUMERIC);
_root.targ4 = d4[0].ident;
}
onClipEvent (enterFrame) {
var d5 = new Array();
d5.push({dist:e1t1, ident:1});
d5.push({dist:e2t1, ident:2});
d5.push({dist:e3t1, ident:3});
d5.push({dist:e4t1, ident:4});
d5.sortOn("dist", Array.NUMERIC);
_root.targ5 = d5[0].ident;
}
onClipEvent (enterFrame) {
if ((((e1t1 <= 110000) || (e2t1 <= 110000)) || (e3t1 <= 110000)) || (e4t1 <= 110000)) {
_root.limiter = true;
} else {
_root.limiter = false;
}
if (((((e1t0 <= 100000) || (e1t1 <= 100000)) || (e1t2 <= 100000)) || (e1t3 <= 100000)) || (e1t4 <= 100000)) {
_root.limit1 = true;
} else {
_root.limit1 = false;
}
if (((((e4t0 <= 100000) || (e4t1 <= 100000)) || (e4t2 <= 100000)) || (e4t3 <= 100000)) || (e4t4 <= 100000)) {
_root.limit4 = true;
} else {
_root.limit4 = false;
}
}
Instance of Symbol 811 MovieClip "camFrame" in Frame 10
onClipEvent (load) {
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1780)) {
_root.camFrame._x = _root.man._x + 23;
} else if (_root.man._x > 1780) {
this._x = 1803;
} else if (_root.man._x < 230) {
this._x = 253;
}
}
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1780)) {
_root._x = (-_root.man._x) + 275;
} else if (_root.man._x > 1780) {
_root._x = -1505;
} else if (_root.man._x < 230) {
_root._x = 45;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.sound.stop();
_root.gotoAndStop(11);
}
}
Frame 11
clearInterval(_root.myTimer);
stop();
_root.en1 = true;
_root.en2 = true;
_root.en3 = true;
_root.en4 = true;
_root.man.removeMovieClip();
_root.camFrame.removeMovieClip();
_root.disp.removeMovieClip();
_root.tp1.removeMovieClip();
_root.tp2.removeMovieClip();
_root.sent.removeMovieClip();
_root.dot.removeMovieClip();
_root._y = 0;
_root._x = 0;
Instance of Symbol 866 MovieClip in Frame 11
onClipEvent (load) {
this.swapDepths(100);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 11) {
this.removeMovieClip();
}
}
Frame 12
stop();
_root.w = 1;
_root.doneSE = false;
_root.doneDIS = false;
_root.doneEN = false;
_root.doneEX = false;
_root.sentB = false;
_root.metal = 200;
_root.menuB = 0;
_root.bild = 0;
_root.kills = 0;
_root.building = false;
_root.howto._visible = false;
_root.nob = false;
_root.sap = 0;
_root.sap2 = 0;
_root.sap3 = 0;
_root.sap4 = 0;
_root.see = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.tpu = 0;
_root.charg = 100;
_root.a = 1;
_root.cloak = false;
_root.Gmode = 1;
_root.sound.stop("menu");
_root.deaths = 0;
_root.Sdeaths = 0;
_root.pointsR = 0;
Instance of Symbol 312 MovieClip "man" in Frame 12
onClipEvent (load) {
this.swapDepths(25);
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
wid = _width / 2;
hei = _height * 0.8;
ammo = 30;
Mammo = 30;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
_root.camFrame.bul.gotoAndStop(1);
_root.menuB = 0;
_root.camFrame.bul._visible = false;
_root.camFrame.hud1._visible = false;
_root.camFrame.hud2._visible = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.sen._x = -85.2;
_root.sen._y = 223.6;
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.dis._x = -85.2;
_root.dis._y = 223.6;
_root.bild = 0;
_root.menuB = 0;
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if (Key.isDown(68) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
}
if (Key.isDown(65) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
}
while (_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - hei, true)) {
_y = (_y + 5);
grav = grav * -0.7;
}
if (((airspd < (speed / 2)) && (Key.isDown(68))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (Key.isDown(65))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(68)) && (!Key.isDown(65))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if (Key.isDown(87) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (Key.isDown(68)) {
airspd = speed;
}
if (Key.isDown(65)) {
airspd = -speed;
}
}
}
}
onClipEvent (enterFrame) {
if (((!Key.isDown(65)) && (!Key.isDown(68))) && (this._currentframe == 1)) {
_root.man.low.gotoAndStop(1);
}
if (Key.isDown(32) && (this._currentframe == 1)) {
this.high.gotoAndStop(3);
}
if ((((Key.isDown(1) && (this.high._currentframe == 1)) && (ammo > 0)) && (_root.menuB == 0)) && (_root.bild == 0)) {
this.high.gotoAndStop(2);
}
if (_root.ground.hitTest(_x, _y + 8, true)) {
if (_root.legs == 1) {
if (Key.isDown(68)) {
this.low.gotoAndStop(2);
} else if (Key.isDown(65)) {
this.low.gotoAndStop(4);
}
} else if (_root.legs == 2) {
if (Key.isDown(68)) {
this.low.gotoAndStop(4);
} else if (Key.isDown(65)) {
this.low.gotoAndStop(2);
}
}
if (Key.isDown(65) && (Key.isDown(68))) {
this.low.gotoAndStop(1);
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
this.low.gotoAndStop(3);
}
}
Instance of Symbol 664 MovieClip in Frame 12
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 2) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 647 MovieClip in Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.man)) {
_root.man._x = _root.man._x - 7;
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 338 MovieClip "b" in Frame 12
onClipEvent (enterFrame) {
Mx = _root.man._x;
My = _root.man._y;
Sx = _root.sent._x;
Sy = _root.sent._y;
Dx = _root.disp._x;
Dy = _root.disp._y;
Tx1 = _root.tp1._x;
Ty1 = _root.tp1._y;
Tx2 = _root.tp2._x;
Ty2 = _root.tp2._y;
Ex1 = _root.ene1._x;
Ey1 = _root.ene1._y;
Ex2 = _root.ene2._x;
Ey2 = _root.ene2._y;
Ex3 = _root.ene3._x;
Ey3 = _root.ene3._y;
Ex4 = _root.ene4._x;
Ey4 = _root.ene4._y;
}
onClipEvent (enterFrame) {
e1t0 = ((Ex1 - Mx) * (Ex1 - Mx)) + ((Ey1 - My) * (Ey1 - My));
e1t1 = ((Ex1 - Sx) * (Ex1 - Sx)) + ((Ey1 - Sy) * (Ey1 - Sy));
e1t2 = ((Ex1 - Dx) * (Ex1 - Dx)) + ((Ey1 - Dy) * (Ey1 - Dy));
e1t3 = ((Ex1 - Tx1) * (Ex1 - Tx1)) + ((Ey1 - Ty1) * (Ey1 - Ty1));
e1t4 = ((Ex1 - Tx2) * (Ex1 - Tx2)) + ((Ey1 - Ty2) * (Ey1 - Ty2));
e2t0 = ((Ex2 - Mx) * (Ex2 - Mx)) + ((Ey2 - My) * (Ey2 - My));
e2t1 = ((Ex2 - Sx) * (Ex2 - Sx)) + ((Ey2 - Sy) * (Ey2 - Sy));
e2t2 = ((Ex2 - Dx) * (Ex2 - Dx)) + ((Ey2 - Dy) * (Ey2 - Dy));
e2t3 = ((Ex2 - Tx1) * (Ex2 - Tx1)) + ((Ey2 - Ty1) * (Ey2 - Ty1));
e2t4 = ((Ex2 - Tx2) * (Ex2 - Tx2)) + ((Ey2 - Ty2) * (Ey2 - Ty2));
e3t0 = ((Ex3 - Mx) * (Ex3 - Mx)) + ((Ey3 - My) * (Ey3 - My));
if (_root.ene3._alpha <= 60) {
e3t1 = 120000 /* 0x01D4C0 */;
} else {
e3t1 = ((Ex3 - Sx) * (Ex3 - Sx)) + ((Ey3 - Sy) * (Ey3 - Sy));
}
e3t2 = ((Ex3 - Dx) * (Ex3 - Dx)) + ((Ey3 - Dy) * (Ey3 - Dy));
e3t3 = ((Ex3 - Tx1) * (Ex3 - Tx1)) + ((Ey3 - Ty1) * (Ey3 - Ty1));
e3t4 = ((Ex3 - Tx2) * (Ex3 - Tx2)) + ((Ey3 - Ty2) * (Ey3 - Ty2));
e4t0 = ((Ex4 - Mx) * (Ex4 - Mx)) + ((Ey4 - My) * (Ey4 - My));
e4t1 = ((Ex4 - Sx) * (Ex4 - Sx)) + ((Ey4 - Sy) * (Ey4 - Sy));
e4t2 = ((Ex4 - Dx) * (Ex4 - Dx)) + ((Ey4 - Dy) * (Ey4 - Dy));
e4t3 = ((Ex4 - Tx1) * (Ex4 - Tx1)) + ((Ey4 - Ty1) * (Ey4 - Ty1));
e4t4 = ((Ex4 - Tx2) * (Ex4 - Tx2)) + ((Ey4 - Ty2) * (Ey4 - Ty2));
}
onClipEvent (enterFrame) {
var d1 = new Array();
d1.push({dist:e1t0, ident:0});
d1.push({dist:e1t1, ident:1});
d1.push({dist:e1t2, ident:2});
d1.push({dist:e1t3, ident:3});
d1.push({dist:e1t4, ident:4});
d1.sortOn("dist", Array.NUMERIC);
_root.targ1 = d1[0].ident;
}
onClipEvent (enterFrame) {
var d2 = new Array();
d2.push({dist:e2t0, ident:0});
d2.push({dist:e2t1, ident:1});
d2.push({dist:e2t2, ident:2});
d2.push({dist:e2t3, ident:3});
d2.push({dist:e2t4, ident:4});
d2.sortOn("dist", Array.NUMERIC);
_root.targ2 = d2[0].ident;
}
onClipEvent (enterFrame) {
var d3 = new Array();
d3.push({dist:e3t0, ident:0});
d3.push({dist:e3t1, ident:1});
d3.push({dist:e3t2, ident:2});
d3.push({dist:e3t3, ident:3});
d3.push({dist:e3t4, ident:4});
d3.sortOn("dist", Array.NUMERIC);
_root.targ3 = d3[0].ident;
}
onClipEvent (enterFrame) {
var d4 = new Array();
d4.push({dist:e4t0, ident:0});
d4.push({dist:e4t1, ident:1});
d4.push({dist:e4t2, ident:2});
d4.push({dist:e4t3, ident:3});
d4.push({dist:e4t4, ident:4});
d4.sortOn("dist", Array.NUMERIC);
_root.targ4 = d4[0].ident;
}
onClipEvent (enterFrame) {
var d5 = new Array();
d5.push({dist:e1t1, ident:1});
d5.push({dist:e2t1, ident:2});
d5.push({dist:e3t1, ident:3});
d5.push({dist:e4t1, ident:4});
d5.sortOn("dist", Array.NUMERIC);
_root.targ5 = d5[0].ident;
}
onClipEvent (enterFrame) {
if ((((e1t1 <= 110000) || (e2t1 <= 110000)) || (e3t1 <= 110000)) || (e4t1 <= 110000)) {
_root.limiter = true;
} else {
_root.limiter = false;
}
if (((((e1t0 <= 100000) || (e1t1 <= 100000)) || (e1t2 <= 100000)) || (e1t3 <= 100000)) || (e1t4 <= 100000)) {
_root.limit1 = true;
} else {
_root.limit1 = false;
}
if (((((e4t0 <= 100000) || (e4t1 <= 100000)) || (e4t2 <= 100000)) || (e4t3 <= 100000)) || (e4t4 <= 100000)) {
_root.limit4 = true;
} else {
_root.limit4 = false;
}
}
Instance of Symbol 323 MovieClip in Frame 12
onClipEvent (load) {
this.am = 102;
}
onClipEvent (enterFrame) {
if (this.am >= 100) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.man) && (this.am == 102)) {
s7 = new Sound(this);
s7.attachSound("pickup");
s7.start(0, 1);
this.am = 0;
_root.metal = _root.metal + 100;
_root.man.ammo = _root.man.ammo + 10;
}
if (this.am < 102) {
this.am = this.am + 0.35;
}
if (this.am > 102) {
this.am = 102;
}
}
Instance of Symbol 323 MovieClip in Frame 12
onClipEvent (load) {
this.am = 102;
}
onClipEvent (enterFrame) {
if (this.am >= 100) {
this._visible = true;
} else {
this._visible = false;
}
if (this.hitTest(_root.man) && (this.am == 102)) {
s7 = new Sound(this);
s7.attachSound("pickup");
s7.start(0, 1);
this.am = 0;
_root.metal = _root.metal + 100;
_root.man.ammo = _root.man.ammo + 10;
}
if (this.am < 102) {
this.am = this.am + 0.35;
}
if (this.am > 102) {
this.am = 102;
}
}
Instance of Symbol 396 MovieClip "sent" in Frame 12
onClipEvent (load) {
_root.doneSE = false;
done = 0;
lvl = 1;
shell = 50;
Mshell = 50;
rock = 0;
Mrock = 0;
hp = 10;
Mhp = 150;
upg = 0;
j = 1;
delay = 1;
maxdelay = 4;
}
onClipEvent (enterFrame) {
if (_root.sent.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("sentEX");
_root.sound.start(0, 1);
_root.derSE._x = _root.sent._x;
_root.derSE._y = _root.sent._y - 15;
_root.derSE.gotoAndPlay(2);
_root.doneSE = false;
_root.bild = 0;
_root.sent._x = -2000;
_root.sent._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.sent.gotoAndStop(1);
_root.sent.hp = 10;
_root.sap = 0;
}
}
onClipEvent (enterFrame) {
this.swapDepths(20);
}
onClipEvent (enterFrame) {
if (((((((((_root.limiter == true) && (_root.sap == 0)) && (delay < 0)) && ((this._currentframe == 2) || (this._currentframe == 8))) && (_root.see == true)) && (shell > 0)) && (_root.doneSE == true)) && (_root.camFrame.timer._currentframe != 1)) && (_root.camFrame.timer._currentframe != 4)) {
duplicateMovieClip (_root.bu, "bullet" + j, 0 + j);
_root["bullet" + j]._x = _x;
_root["bullet" + j]._y = _y - 22;
_root["bullet" + j]._rotation = this.one.head._rotation + 90;
_root["bullet" + j].spd = 50;
this.one.head.muzz.gotoAndPlay(2);
shell = shell - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("shoot1");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (((_root.limiter == true) && (_root.sap == 0)) && (_root.doneSE == true)) {
if (this._currentframe == 1) {
_root.sound = new Sound(this);
_root.sound.attachSound("spotE");
_root.sound.start(0, 1);
if ((myDegrees > 85) || (myDegrees < -85)) {
_root.sent.gotoAndPlay(3);
}
if (((myDegrees < 0) && (myDegrees > -85)) || ((myDegrees >= 0) && (myDegrees <= 85))) {
_root.sent.gotoAndStop(2);
}
} else if ((_root.limiter == false) && (this._currentframe != 1)) {
_root.sent.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.sap > 0) {
this.gotoAndStop(15);
}
if ((_root.sap <= 0) && (this._currentframe == 15)) {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if ((((_root.sap == 0) && (_root.limiter == false)) && (this._currentframe != 1)) && (_root.doneSE == true)) {
_root.sent.gotoAndStop(1);
}
}
Instance of Symbol 404 MovieClip "ent1" in Frame 12
onClipEvent (enterFrame) {
if (((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (this.hitTest(_root.sent))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 421 MovieClip "tp1" in Frame 12
onClipEvent (load) {
done = 0;
hp = 10;
Mhp = 125;
}
onClipEvent (enterFrame) {
if (_root.doneEN == true) {
if (((_root.doneEX == true) && (_root.sap3 == 0)) && (_root.sap == 0)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.tp1.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("tpEX");
_root.sound.start(0, 1);
_root.derTP1._x = _root.tp1._x;
_root.derTP1._y = _root.tp1._y - 30;
_root.derTP1.gotoAndPlay(2);
_root.doneEN = false;
_root.bild = 0;
_root.tp1.done = 0;
_root.tp1._x = -2000;
_root.tp1._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.tp1.gotoAndStop(1);
_root.tp1.hp = 10;
_root.sap3 = 0;
}
}
Instance of Symbol 424 MovieClip "tp2" in Frame 12
onClipEvent (load) {
hp = 10;
Mhp = 125;
done = 0;
}
onClipEvent (enterFrame) {
if (_root.doneEX == true) {
if (((_root.doneEN == true) && (_root.sap3 == 0)) && (_root.sap == 0)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
}
onClipEvent (enterFrame) {
if (_root.tp2.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("tpEX");
_root.sound.start(0, 1);
_root.derTP2._x = _root.tp2._x;
_root.derTP2._y = _root.tp2._y - 30;
_root.derTP2.gotoAndPlay(2);
_root.doneEX = false;
_root.bild = 0;
_root.tp2.done = 0;
_root.tp2._x = -2000;
_root.tp2._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.tp2.gotoAndStop(1);
_root.tp2.hp = 10;
_root.sap4 = 0;
}
}
Instance of Symbol 430 MovieClip "disp" in Frame 12
onClipEvent (load) {
hp = 10;
Mhp = 125;
done = 0;
junk = 0;
Mjunk = 200;
}
onClipEvent (enterFrame) {
if (_root.disp.hp <= 0) {
_root.sound = new Sound(this);
_root.sound.attachSound("dispEX");
_root.sound.start(0, 1);
_root.derDIS._x = _root.disp._x;
_root.derDIS._y = _root.disp._y - 35;
_root.derDIS.gotoAndPlay(2);
_root.doneDIS = false;
_root.bild = 0;
_root.disp.done = 0;
_root.disp._x = -2000;
_root.disp._y = 223.6;
_root.bild = 0;
_root.bul.gotoAndStop(1);
_root.disp.gotoAndStop(1);
_root.disp.hp = 10;
_root.sap2 = 0;
}
}
Instance of Symbol 434 MovieClip "dis" in Frame 12
onClipEvent (enterFrame) {
if ((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.sent))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 437 MovieClip "sen" in Frame 12
onClipEvent (enterFrame) {
if ((((_root.boundry.hitTest(_x, _y, true) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) || (!_root.ground.hitTest(_x, _y + 5, true))) {
nob = true;
} else {
nob = false;
}
}
onClipEvent (enterFrame) {
if (nob == false) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7.5;
maxfall = 15;
dragg = false;
}
onClipEvent (enterFrame) {
if ((!_root.ground.hitTest(_x, _y + 8, true)) && (dragg == false)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
}
on (release) {
if ((dragg == true) && (nob == false)) {
dragg = false;
} else {
dragg = true;
}
}
onClipEvent (enterFrame) {
if (dragg == true) {
this._x = _root._xmouse;
this._y = _root._ymouse + 35;
}
}
Instance of Symbol 582 MovieClip "bu" in Frame 12
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom2._x = this._x;
_root.boom2._y = this._y;
_root.boom2.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene1.hitTest(_x, _y, true)) {
_root.ene1.hp = _root.ene1.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene2.hitTest(_x, _y, true)) {
_root.ene2.hp = _root.ene2.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene3.hitTest(this) && (_root.ene3._alpha > 60)) {
_root.ene3.hp = _root.ene3.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene4.hitTest(_x, _y, true)) {
_root.ene4.hp = _root.ene4.hp - 35;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 618 MovieClip "expl" in Frame 12
onClipEvent (enterFrame) {
this.swapDepths(28);
}
onClipEvent (enterFrame) {
if (_root.man.hitTest(this)) {
_root.man.hp = _root.man.hp - 10;
}
if (_root.sent.hitTest(this)) {
_root.sent.hp = _root.sent.hp - 10;
}
if (_root.disp.hitTest(this)) {
_root.disp.hp = _root.disp.hp - 10;
}
if (_root.tp1.hitTest(this)) {
_root.tp1.hp = _root.tp1.hp - 10;
}
if (_root.tp2.hitTest(this)) {
_root.tp2.hp = _root.tp2.hp - 10;
}
}
Instance of Symbol 624 MovieClip "rok" in Frame 12
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (((((_root.bult.hitTest(_x, _y, true) || (_root.man.hitTest(this))) || (_root.sent.hitTest(this))) || (_root.disp.hitTest(this))) || (_root.tp1.hitTest(this))) || (_root.tp2.hitTest(this))) {
_root.expl._x = this._x;
_root.expl._y = this._y;
_root.expl.gotoAndPlay(2);
s10 = new Sound(this);
s10.attachSound("explode");
s10.start(0, 1);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 633 MovieClip "buz" in Frame 12
onClipEvent (load) {
if (_name != "buz") {
_rotation = (_root.man.high._rotation + 90);
_x = _root.man._x;
_y = (_root.man._y - 50);
spd = 40;
}
}
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom._x = this._x;
_root.boom._y = this._y;
_root.boom.gotoAndPlay(2);
this.removeMovieClip();
}
if (_root.ene1.hitTest(_x, _y, true)) {
_root.ene1.hp = _root.ene1.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene2.hitTest(_x, _y, true)) {
_root.ene2.hp = _root.ene2.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene3.hitTest(this) && (_root.ene3._alpha > 60)) {
_root.ene3.hp = _root.ene3.hp - (34 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.ene4.hitTest(_x, _y, true)) {
_root.ene4.hp = _root.ene4.hp - (24 + random(26));
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 631 MovieClip "blood2" in Frame 12
onClipEvent (enterFrame) {
this.swapDepths(26);
}
Instance of Symbol 640 MovieClip "spark" in Frame 12
onClipEvent (enterFrame) {
this.swapDepths(27);
}
Instance of Symbol 582 MovieClip "bul" in Frame 12
onClipEvent (enterFrame) {
if (_rotation > 180) {
_y = (_y + (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x - (spd * Math.sin((Math.PI/180) * _rotation)));
} else {
_y = (_y - (spd * Math.cos((Math.PI/180) * _rotation)));
_x = (_x + (spd * Math.sin((Math.PI/180) * _rotation)));
}
}
onClipEvent (enterFrame) {
if (_root.bult.hitTest(_x, _y, true)) {
_root.boom2._x = this._x;
_root.boom2._y = this._y;
_root.boom2.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.man.hitTest(_x, _y, true)) {
_root.man.hp = _root.man.hp - 20;
_root.blood._x = this._x;
_root.blood._y = this._y;
_root.blood.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.sent.hitTest(_x, _y, true)) {
_root.sent.hp = _root.sent.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.disp.hitTest(_x, _y, true)) {
_root.disp.hp = _root.disp.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.tp1.hitTest(_x, _y, true)) {
_root.tp1.hp = _root.tp1.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
if (_root.tp2.hitTest(_x, _y, true)) {
_root.tp2.hp = _root.tp2.hp - 20;
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
this.swapDepths(100);
this.removeMovieClip();
}
}
Instance of Symbol 336 MovieClip "cap2" in Frame 12
onClipEvent (load) {
holo = 0;
}
onClipEvent (enterFrame) {
if (((((_root.ene1.hitTest(this) || (_root.ene2.hitTest(this))) || (_root.ene3.hitTest(this) && (_root.ene3._alpha == 100))) || (_root.ene4.hitTest(this))) && (!_root.man.hitTest(this))) && (holo < 200)) {
holo = holo + 1;
_root.ico2 = true;
} else {
_root.ico2 = false;
}
if (holo >= 200) {
holo = 200;
this.gotoAndStop(4);
}
}
Instance of Symbol 875 MovieClip in Frame 12
onClipEvent (load) {
this.swapDepths(32);
}
onClipEvent (enterFrame) {
if (_root._currentframe != 12) {
this.removeMovieClip();
}
}
Instance of Symbol 473 MovieClip "ene1" in Frame 12
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 30;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 5.6;
maxfall = 15;
airspd = 0;
hp = 200;
Mhp = 200;
ammo = 4;
Mammo = 4;
reload = false;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo == 0) {
reload = true;
}
if (ammo == 4) {
reload = false;
}
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((((hp > 0) && (_root.limit1 == true)) && (reload == false)) && (delay < 0)) && (_root.camFrame.timer._currentframe != 3)) {
duplicateMovieClip (_root.rok, "rocket" + j, 0 + j);
_root["rocket" + j]._x = _x;
_root["rocket" + j]._y = _y - 65;
_root["rocket" + j]._rotation = this.up._rotation + 90;
_root["rocket" + j].spd = 30;
ammo = ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("rockit");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else if (_root.ground.hitTest(_x + (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else {
SLDjump = 0;
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
}
}
onClipEvent (enterFrame) {
if (_root.tar > 60000) {
if (this._x > (_root.tarSO._x + 10)) {
this.SLDwalk = -1;
} else if (this._x < _root.tarSO._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
} else {
this.SLDwalk = 0;
}
if (_root.tar < 20000) {
if (this._x > _root.tarSO._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
if (reload == true) {
if (this._x > _root.tarSO._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ1 == 0) {
_root.tar = _root.b.e1t0;
_root.tarSO = _root.man;
} else if (_root.targ1 == 1) {
_root.tar = _root.b.e1t1;
_root.tarSO = _root.sent;
} else if (_root.targ1 == 2) {
_root.tar = _root.b.e1t2;
_root.tarSO = _root.disp;
} else if (_root.targ1 == 3) {
_root.tar = _root.b.e1t3;
_root.tarSO = _root.tp1;
} else if (_root.targ1 == 4) {
_root.tar = _root.b.e1t4;
_root.tarSO = _root.tp2;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en1 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 499 MovieClip "ene2" in Frame 12
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 30;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
ammo = 1;
Mammo = 1;
reload = false;
_root.flip2 = true;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo == 0) {
reload = true;
}
if (ammo == 1) {
reload = false;
}
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
}
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else if (_root.ground.hitTest(_x + (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else {
SLDjump = 0;
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
if ((((this.hitTest(_root.man) || (this.hitTest(_root.sent))) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) {
this.up.gotoAndStop(3);
this.arm.gotoAndStop(3);
}
}
}
onClipEvent (enterFrame) {
if (_root.tar2 > 140000) {
if (this._x > (_root.snip._x + 10)) {
this.SLDwalk = -1;
} else if (this._x < _root.snip._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
} else {
this.SLDwalk = 0;
}
if (_root.tar2 < 40000) {
if (this._x > _root.snip._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ2 == 0) {
_root.tar2 = _root.b.e2t0;
_root.snip = _root.man;
_root.snipA = 52;
_root.snipB = 47;
} else if (_root.targ2 == 1) {
_root.tar2 = _root.b.e2t1;
_root.snip = _root.sent;
_root.snipA = 10;
_root.snipB = 5;
} else if (_root.targ2 == 2) {
_root.tar2 = _root.b.e2t2;
_root.snip = _root.disp;
_root.snipA = 32;
_root.snipB = 27;
} else if (_root.targ2 == 3) {
_root.tar2 = _root.b.e2t3;
_root.snip = _root.tp1;
_root.snipA = 5;
_root.snipB = 0;
} else if (_root.targ2 == 4) {
_root.tar2 = _root.b.e2t4;
_root.snip = _root.tp2;
_root.snipA = 5;
_root.snipB = 0;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en2 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 524 MovieClip "ene3" in Frame 12
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 30;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 7;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
ammo = 4;
Mammo = 4;
reload = false;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
_root.cloak = false;
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo <= 1) {
reload = true;
}
if (ammo == 4) {
reload = false;
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x - (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else if (_root.ground.hitTest(_x + (_width * 2), _y - (_height / 1.1), true)) {
SLDjump = 1;
} else {
SLDjump = 0;
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
}
}
onClipEvent (enterFrame) {
if (this._x > _root.tarS._x) {
this.SLDwalk = -1;
} else if (this._x < (_root.tarS._x - 40)) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
if (reload == true) {
if (this._x > _root.tarS._x) {
this.SLDwalk = 1;
} else if (this._x < _root.tarS._x) {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ3 == 0) {
_root.tar3 = _root.b.e1t0;
_root.tarS = _root.man;
} else if ((_root.targ3 == 1) && (_root.doneSE == true)) {
_root.tar3 = _root.b.e1t1;
_root.tarS = _root.sent;
} else if ((_root.targ3 == 2) && (_root.doneDIS == true)) {
_root.tar3 = _root.b.e1t2;
_root.tarS = _root.disp;
} else if ((_root.targ3 == 3) && (_root.doneEN == true)) {
_root.tar3 = _root.b.e1t3;
_root.tarS = _root.tp1;
} else if ((_root.targ3 == 4) && (_root.doneEX == true)) {
_root.tar3 = _root.b.e1t4;
_root.tarS = _root.tp2;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.camFrame.timer._currentframe != 3) {
if (reload == false) {
if (((_root.cloak == false) && (this._alpha >= 100)) && (this.up._currentframe == 1)) {
if ((ammo > 0) && (_root.man.hitTest(this))) {
this.up.gotoAndStop(2);
}
if ((((ammo > 0) && (this.hitTest(_root.sent))) && (_root.doneSE == true)) && (_root.sap < 1)) {
this.up.gotoAndStop(3);
}
if ((((ammo > 0) && (this.hitTest(_root.disp))) && (_root.doneDIS == true)) && (_root.sap2 < 1)) {
this.up.gotoAndStop(3);
}
if ((((ammo > 0) && (this.hitTest(_root.tp1))) && (_root.doneEN == true)) && (_root.sap3 < 1)) {
this.up.gotoAndStop(3);
}
if ((((ammo > 0) && (this.hitTest(_root.tp2))) && (_root.doneEX == true)) && (_root.sap4 < 1)) {
this.up.gotoAndStop(3);
}
}
} else if (reload == true) {
this.up.gotoAndStop(4);
}
}
}
onClipEvent (enterFrame) {
if (_root.cloak == true) {
if (this._alpha >= 0) {
this._alpha = this._alpha - 5;
}
}
if (_root.cloak == false) {
if (this._alpha < 100) {
this._alpha = this._alpha + 5;
}
}
if (this._alpha <= 0) {
if ((((_root.man.hitTest(this) || (_root.sent.hitTest(this))) || (_root.disp.hitTest(this))) || (_root.tp1.hitTest(this))) || (_root.tp2.hitTest(this))) {
_root.cloak = false;
}
}
if (this._alpha >= 100) {
if (((((!_root.man.hitTest(this)) && (!_root.sent.hitTest(this))) && (!_root.disp.hitTest(this))) && (!_root.tp1.hitTest(this))) && (!_root.tp2.hitTest(this))) {
_root.cloak = true;
}
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 1) {
this._xscale = 100;
}
if (this.SLDwalk == -1) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en3 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 576 MovieClip "ene4" in Frame 12
onClipEvent (load) {
j = 1;
delay = 1;
maxdelay = 15;
grav = 0;
fallspeed = 1.5;
jumpheight = 15;
speed = 10;
maxfall = 15;
airspd = 0;
hp = 125;
Mhp = 125;
ammo = 4;
Mammo = 4;
reload = false;
}
onClipEvent (enterFrame) {
if (hp <= 0) {
this.gotoAndStop(2);
SLDwalk = 0;
SLDjump = 0;
}
}
onClipEvent (enterFrame) {
if (ammo == 0) {
reload = true;
}
if (ammo == 4) {
reload = false;
}
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (((((hp > 0) && (_root.limit4 == true)) && (reload == false)) && (delay < 0)) && (_root.camFrame.timer._currentframe != 3)) {
duplicateMovieClip (_root.bul, "bulz" + j, 0 + j);
_root["bulz" + j]._x = _x;
_root["bulz" + j]._y = _y - 38;
_root["bulz" + j]._rotation = this.up._rotation + 90;
_root["bulz" + j].spd = 40;
ammo = ammo - 1;
this.up.fire.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("shotgunS");
_root.sound.start(0, 1);
j++;
delay = maxdelay;
}
delay--;
if (j > 14) {
j = 1;
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y + grav);
if (grav < maxfall) {
grav = grav + fallspeed;
}
}
if (!_root.ground.hitTest(_x, _y + 8, true)) {
_x = (_x + airspd);
}
if ((SLDwalk == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x + speed);
this.gotoAndStop("walk");
}
if ((SLDwalk == -1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_x = (_x - speed);
this.gotoAndStop("walk");
}
while (_root.ground.hitTest(_x - (_width / 2), _y - (_height / 2), true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + (_width / 2), _y - (_height / 2), true)) {
_x = (_x-1);
}
if (_root.ground.hitTest(_x, _y - _height, true)) {
grav = grav * -1;
}
if (((airspd < (speed / 2)) && (SLDwalk == 1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd++;
}
if (((airspd > ((-speed) / 2)) && (SLDwalk == -1)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd--;
}
if (((!Key.isDown(39)) && (!Key.isDown(37))) && (!_root.ground.hitTest(_x, _y + 8, true))) {
airspd = airspd / 1.2;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
grav = 0;
airspd = 0;
}
if ((SLDjump == 1) && (_root.ground.hitTest(_x, _y + 8, true))) {
_y = (_y - 4);
grav = -jumpheight;
if (SLDwalk == 1) {
airspd = speed;
}
if (SLDwalk == -1) {
airspd = -speed;
}
}
}
onClipEvent (enterFrame) {
if (_root.tar4 > 60000) {
if (this._x > (_root.man._x + 10)) {
this.SLDwalk = -1;
} else if (this._x > _root.man._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = 0;
}
} else {
this.SLDwalk = 0;
}
if (_root.tar4 < 20000) {
if (this._x > _root.man._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
if (reload == true) {
if (this._x > _root.man._x) {
this.SLDwalk = 1;
} else {
this.SLDwalk = -1;
}
}
}
onClipEvent (enterFrame) {
if (_root.targ4 == 0) {
_root.tar4 = _root.b.e4t0;
} else if (_root.targ4 == 1) {
_root.tar4 = _root.b.e4t1;
} else if (_root.targ4 == 2) {
_root.tar4 = _root.b.e4t2;
} else if (_root.targ4 == 3) {
_root.tar4 = _root.b.e4t3;
} else if (_root.targ4 == 4) {
_root.tar4 = _root.b.e4t4;
}
}
onClipEvent (enterFrame) {
if (this.SLDwalk == 0) {
this.low.gotoAndStop(1);
} else {
this.low.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if ((_root.camFrame.timer._currentframe == 1) || (_root.en4 == false)) {
SLDwalk = 0;
}
}
Instance of Symbol 580 MovieClip "dot" in Frame 12
onClipEvent (load) {
charge = 0;
}
onClipEvent (enterFrame) {
this.swapDepths(29);
}
onClipEvent (enterFrame) {
if ((_root.snip._x - 3) > this._x) {
this._x = this._x + speed;
} else if ((_root.snip._x + 4) < this._x) {
this._x = this._x - speed;
}
if ((_root.snip._y - _root.snipA) > this._y) {
this._y = this._y + 5;
} else if ((_root.snip._y - _root.snipB) < this._y) {
this._y = this._y - 5;
}
if (this._visible == true) {
speed = 5;
} else {
speed = 8;
}
}
onClipEvent (enterFrame) {
if (((((((_root.snip.hitTest(_x, _y, true) && (_root.ene2.reload == false)) && (_root.ene2.SLDjump == false)) && (_root.ene2.SLDwalk == false)) && (_root.ene2.hp > 0)) && (_root.camFrame.timer._currentframe != 1)) && (_root.camFrame.timer._currentframe != 3)) && (_root.en2 == true)) {
this._visible = true;
charge = charge + 1;
} else {
this._visible = false;
charge = 0;
}
if (charge == 20) {
_root.ene2.ammo = _root.ene2.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("sniper_s");
_root.sound.start(0, 1);
charge = 0;
if (_root.man.hitTest(_x, _y, true)) {
_root.man.hp = _root.man.hp - (34 + random(29));
_root.blood2._x = this._x;
_root.blood2._y = this._y;
_root.blood2.gotoAndPlay(2);
}
if (_root.disp.hitTest(_x, _y, true)) {
_root.disp.hp = _root.disp.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
if (_root.sent.hitTest(_x, _y, true)) {
_root.sent.hp = _root.sent.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
if (_root.tp1.hitTest(_x, _y, true)) {
_root.tp1.hp = _root.tp1.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
if (_root.tp2.hitTest(_x, _y, true)) {
_root.tp2.hp = _root.tp2.hp - (34 + random(29));
_root.spark._x = this._x;
_root.spark._y = this._y;
_root.spark.gotoAndPlay(2);
}
}
}
Instance of Symbol 882 MovieClip "cap" in Frame 12
onClipEvent (load) {
holo = 200;
}
Instance of Symbol 886 MovieClip "camFrame" in Frame 12
onClipEvent (load) {
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1280)) {
_root.camFrame._x = _root.man._x + 23;
} else if (_root.man._x > 1280) {
this._x = 1298;
} else if (_root.man._x < 230) {
this._x = 253;
}
}
this.swapDepths(40);
}
onClipEvent (enterFrame) {
if (_root.man.hp > 0) {
if ((_root.man._x > 230) && (_root.man._x < 1280)) {
_root._x = (-_root.man._x) + 275;
} else if (_root.man._x > 1280) {
_root._x = -1000;
} else if (_root.man._x < 230) {
_root._x = 45;
}
}
}
onClipEvent (enterFrame) {
if (Key.isDown(27)) {
_root.victory = false;
_root.sound.stop();
_root.gotoAndStop(11);
}
}
Frame 13
stop();
Instance of Symbol 163 MovieClip in Frame 13
on (release) {
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.gotoAndStop(4);
}
Frame 14
stop();
Symbol 68 MovieClip Frame 1
stop();
Instance of Symbol 63 MovieClip in Symbol 68 MovieClip Frame 1
onClipEvent (enterFrame) {
this._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
}
Instance of Symbol 67 MovieClip in Symbol 68 MovieClip Frame 2
on (release) {
_root.gotoAndStop(2);
}
Symbol 80 Button
on (press) {
getURL ("http://nukebros.awardspace.com", "_blank");
}
Symbol 81 MovieClip Frame 55
stop();
_root.gotoAndPlay(3);
Symbol 88 Button
on (release) {
_root.gotoAndStop(5);
}
Symbol 91 Button
on (release) {
_root.gotoAndStop(6);
}
Symbol 94 Button
on (release) {
_root.save1 = SharedObject.getLocal("sentryfortress");
_root.save1.data.ach1 = _root.ach1;
_root.save1.data.ach2 = _root.ach2;
_root.save1.data.ach3 = _root.ach3;
_root.save1.data.ach4 = _root.ach4;
_root.save1.data.ach5 = _root.ach5;
_root.save1.data.ach6 = _root.ach6;
_root.save1.data.ach7 = _root.ach7;
_root.save1.data.ach8 = _root.ach8;
_root.save1.data.ach9 = _root.ach9;
_root.save1.data.points = _root.points;
_root.save1.data.SNIPkil = _root.SNIPkil;
_root.save1.data.SOLDkil = _root.SOLDkil;
_root.save1.data.SPYkil = _root.SPYkil;
_root.save1.data.SCOkil = _root.SCOkil;
_root.statu.gotoAndStop(2);
_root.statu._alpha = 100;
}
Symbol 101 MovieClip Frame 1
stop();
Instance of Symbol 97 MovieClip in Symbol 101 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.statu._alpha > 1) {
_root.statu._alpha = _root.statu._alpha - 1;
}
}
Instance of Symbol 100 MovieClip in Symbol 101 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.statu._alpha > 1) {
_root.statu._alpha = _root.statu._alpha - 1;
}
}
Symbol 104 Button
on (release) {
_root.save1 = SharedObject.getLocal("sentryfortress");
_root.ach1 = _root.save1.data.ach1;
_root.ach2 = _root.save1.data.ach2;
_root.ach3 = _root.save1.data.ach3;
_root.ach4 = _root.save1.data.ach4;
_root.ach5 = _root.save1.data.ach5;
_root.ach6 = _root.save1.data.ach6;
_root.ach7 = _root.save1.data.ach7;
_root.ach8 = _root.save1.data.ach8;
_root.ach9 = _root.save1.data.ach9;
_root.points = _root.save1.data.points;
_root.SNIPkil = _root.save1.data.SNIPkil;
_root.SOLDkil = _root.save1.data.SOLDkil;
_root.SPYkil = _root.save1.data.SPYkil;
_root.SCOkil = _root.save1.data.SCOkil;
_root.statu.gotoAndStop(3);
_root.statu._alpha = 100;
}
Symbol 107 Button
on (release) {
_root.gotoAndStop(13);
}
Symbol 152 MovieClip Frame 1
stop();
Symbol 161 MovieClip Frame 1
stop();
Instance of Symbol 166 MovieClip in Symbol 167 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((((_root.en1 == true) || (_root.en2 == true)) || (_root.en3 == true)) || (_root.en4 == true)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Symbol 174 MovieClip Frame 1
stop();
Symbol 177 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 194 MovieClip Frame 1
stop();
Symbol 200 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 200 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (_root.SOLDkil / 50) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.SOLDkil / 50) * 100;
}
Symbol 204 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 204 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (_root.SNIPkil / 25) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.SNIPkil / 25) * 100;
}
Symbol 209 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 209 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (_root.SCOkil / 75) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.SCOkil / 75) * 100;
}
Symbol 213 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 213 MovieClip Frame 2
onClipEvent (load) {
this._xscale = _root.SPYkil;
}
onClipEvent (enterFrame) {
this._xscale = _root.SPYkil;
}
Symbol 217 MovieClip Frame 1
stop();
Instance of Symbol 198 MovieClip in Symbol 217 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (_root.points / 9000) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.points / 9000) * 100;
}
Symbol 218 MovieClip Frame 1
stop();
Instance of Symbol 174 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
if (_root.ach2 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach2 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 177 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
if (_root.ach3 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach3 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 185 MovieClip in Symbol 218 MovieClip Frame 1
onClipEvent (load) {
if (_root.ach1 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach1 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 187 MovieClip in Symbol 218 MovieClip Frame 1
on (release) {
cl = new Sound(this);
cl.attachSound("click2");
cl.start();
_parent.gotoAndStop(2);
}
Instance of Symbol 194 MovieClip in Symbol 218 MovieClip Frame 2
onClipEvent (load) {
if (_root.ach4 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach4 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 200 MovieClip in Symbol 218 MovieClip Frame 2
onClipEvent (load) {
if (_root.ach6 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach6 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 204 MovieClip in Symbol 218 MovieClip Frame 2
onClipEvent (load) {
if (_root.ach5 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach5 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 187 MovieClip in Symbol 218 MovieClip Frame 2
on (release) {
cl = new Sound(this);
cl.attachSound("click2");
cl.start();
_parent.gotoAndStop(1);
}
Instance of Symbol 187 MovieClip in Symbol 218 MovieClip Frame 2
on (release) {
cl = new Sound(this);
cl.attachSound("click2");
cl.start();
_parent.gotoAndStop(3);
}
Instance of Symbol 209 MovieClip in Symbol 218 MovieClip Frame 3
onClipEvent (load) {
if (_root.ach7 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach7 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 213 MovieClip in Symbol 218 MovieClip Frame 3
onClipEvent (load) {
if (_root.ach8 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach8 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 217 MovieClip in Symbol 218 MovieClip Frame 3
onClipEvent (load) {
if (_root.ach9 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
onClipEvent (enterFrame) {
if (_root.ach9 == 1) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 187 MovieClip in Symbol 218 MovieClip Frame 3
on (release) {
cl = new Sound(this);
cl.attachSound("click2");
cl.start();
_parent.gotoAndStop(2);
}
Symbol 233 MovieClip Frame 1
stop();
Symbol 239 MovieClip Frame 1
stop();
Symbol 245 MovieClip Frame 1
stop();
Symbol 251 MovieClip Frame 1
stop();
Symbol 257 MovieClip Frame 1
stop();
Symbol 262 MovieClip Frame 1
stop();
Symbol 280 MovieClip Frame 1
stop();
Symbol 305 MovieClip Frame 6
s1 = new Sound(this);
s1.attachSound("shotgunB");
s1.start(0, 1);
Symbol 305 MovieClip Frame 14
_root.man.high.gotoAndStop(1);
Symbol 308 MovieClip Frame 5
if (((_root.man.hitTest(_root.sent) || (_root.man.hitTest(_root.disp))) || (_root.man.hitTest(_root.tp1))) || (_root.man.hitTest(_root.tp2))) {
s9 = new Sound(this);
s9.attachSound("wrench");
s9.start(0, 1);
} else {
s9 = new Sound(this);
s9.attachSound("wrenchF");
s9.start(0, 1);
}
Symbol 308 MovieClip Frame 12
_parent.gotoAndStop(1);
Symbol 309 MovieClip Frame 1
stop();
Instance of Symbol 305 MovieClip in Symbol 309 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this._currentframe == 2) {
duplicateMovieClip (_root.buz, "bulletz" + _root.w, 100 + _root.w);
_root["bulletz" + _root.w]._x = _root.man._x;
_root["bulletz" + _root.w]._y = _root.man._y - 50;
_root["bulletz" + _root.w].spd = 40;
_root.man.ammo = _root.man.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("shotgunS");
_root.sound.start(0, 1);
_root.w++;
}
if (_root.w > 14) {
_root.w = 1;
}
}
Instance of Symbol 308 MovieClip in Symbol 309 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_root.man.hitTest(_root.sent) && (_root.metal > 0)) && (_root.sent.hp < 150)) {
_root.metal = _root.metal - 1;
_root.sent.hp = _root.sent.hp + 1;
}
if ((_root.man.hitTest(_root.sent) && (_root.metal > 0)) && (_root.sent.shell < _root.sent.Mshell)) {
_root.metal = _root.metal - 1;
_root.sent.shell = _root.sent.shell + 1;
}
if ((_root.man.hitTest(_root.disp) && (_root.metal > 0)) && (_root.disp.hp < 150)) {
_root.metal = _root.metal - 1;
_root.disp.hp = _root.disp.hp + 1;
}
if ((_root.man.hitTest(_root.tp1) && (_root.metal > 0)) && (_root.tp1.hp < 150)) {
_root.metal = _root.metal - 1;
_root.tp1.hp = _root.tp1.hp + 1;
}
if ((_root.man.hitTest(_root.tp2) && (_root.metal > 0)) && (_root.tp2.hp < 150)) {
_root.metal = _root.metal - 1;
_root.tp2.hp = _root.tp2.hp + 1;
}
if (this._currentframe == 5) {
if (_root.man.hitTest(_root.sent) && (_root.sap > 0)) {
_root.sap = _root.sap - 1;
}
if (_root.man.hitTest(_root.disp) && (_root.sap2 > 0)) {
_root.sap2 = _root.sap2 - 1;
}
if (_root.man.hitTest(_root.tp1) && (_root.sap3 > 0)) {
_root.sap3 = _root.sap3 - 1;
}
if (_root.man.hitTest(_root.tp2) && (_root.sap4 > 0)) {
_root.sap4 = _root.sap4 - 1;
}
}
}
Symbol 311 MovieClip Frame 1
_root.sound = new Sound(this);
_root.sound.attachSound("engiedead");
_root.sound.start(0, 1);
_root.deaths = _root.deaths + 1;
_root.pointsR = 0;
Symbol 311 MovieClip Frame 10
stop();
Instance of Symbol 310 MovieClip in Symbol 311 MovieClip Frame 10
onClipEvent (load) {
delay = 50;
}
onClipEvent (enterFrame) {
delay = delay - 1;
}
onClipEvent (enterFrame) {
if (_root.cap1.holo < 200) {
_root.man._y = _root.cap1._y + 510;
_root.man._x = _root.cap1._x;
} else if (_root.cap1.holo >= 200) {
_root.man._y = _root.cap2._y + 510;
_root.man._x = _root.cap2._x;
}
}
onClipEvent (enterFrame) {
if ((delay <= 0) && (_root.camFrame.timer._currentframe != 4)) {
_root.man._y = _root.cap2._y - 50;
_root.man._x = _root.cap2._x;
_root.man.hp = _root.man.Mhp;
_root.man.ammo = _root.man.Mammo;
_root.metal = 200;
_root.camFrame.bul._visible = true;
_root.camFrame.hud1._visible = true;
_root.camFrame.hud2._visible = true;
s7 = new Sound(this);
s7.attachSound("pickup");
s7.start(0, 1);
_root.man.gotoAndStop(1);
}
}
Symbol 312 MovieClip Frame 1
stop();
Instance of Symbol 309 MovieClip "high" in Symbol 312 MovieClip Frame 1
onClipEvent (enterFrame) {
myRadians = Math.atan2((_root._ymouse - _parent._y) + 50, _root._xmouse - _parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 65) && (myDegrees >= -65)) {
this._rotation = myDegrees;
_parent.low._xscale = 100;
_root.legs = 1;
this._yscale = 100;
}
if (((myDegrees <= 180) && (myDegrees >= 115)) || ((myDegrees >= -180) && (myDegrees <= -115))) {
this._rotation = myDegrees;
_parent.low._xscale = -100;
_root.legs = 2;
this._yscale = -100;
}
}
Symbol 334 MovieClip Frame 1
_root.sound = new Sound(this);
_root.sound.attachSound("timad");
_root.sound.start(0, 1);
_root.sound = new Sound(this);
_root.sound.attachSound("score");
_root.sound.start(0, 1);
if (_root.camFrame.timer._currentframe == 2) {
_root.minu = _root.minu + 3;
}
Symbol 334 MovieClip Frame 16
stop();
Symbol 335 MovieClip Frame 1
stop();
Symbol 335 MovieClip Frame 3
stop();
Symbol 336 MovieClip Frame 1
stop();
Symbol 336 MovieClip Frame 4
stop();
Symbol 345 MovieClip Frame 1
stop();
Instance of Symbol 348 MovieClip in Symbol 363 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 352 MovieClip in Symbol 363 MovieClip Frame 37
/* no clip actions */
Instance of Symbol 348 MovieClip in Symbol 363 MovieClip Frame 38
/* no clip actions */
Instance of Symbol 360 MovieClip in Symbol 363 MovieClip Frame 39
/* no clip actions */
Instance of Symbol 360 MovieClip in Symbol 363 MovieClip Frame 73
/* no clip actions */
Symbol 366 MovieClip Frame 1
stop();
Instance of Symbol 345 MovieClip in Symbol 367 MovieClip Frame 1
onClipEvent (load) {
if (_parent.myDegrees <= -20) {
this.gotoAndStop(3);
} else if (_parent.myDegrees >= 16) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_parent.myDegrees <= -20) {
this.gotoAndStop(3);
} else if (_parent.myDegrees >= 16) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 367 MovieClip "head" in Symbol 368 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.targ5 == 1) {
myRadians = Math.atan2((_root.ene1._y - _parent._parent._y) - 30, _root.ene1._x - _parent._parent._x);
} else if (_root.targ5 == 2) {
myRadians = Math.atan2((_root.ene2._y - _parent._parent._y) - 30, _root.ene2._x - _parent._parent._x);
} else if (_root.targ5 == 3) {
myRadians = Math.atan2((_root.ene3._y - _parent._parent._y) - 30, _root.ene3._x - _parent._parent._x);
} else if (_root.targ5 == 4) {
myRadians = Math.atan2((_root.ene4._y - _parent._parent._y) - 24, _root.ene4._x - _parent._parent._x);
}
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 65) && (myDegrees >= -65)) {
this._rotation = myDegrees;
_root.see = true;
} else {
_root.see = false;
}
if ((myDegrees > 85) || (myDegrees < -85)) {
_root.sent.gotoAndPlay(3);
}
}
Instance of Symbol 367 MovieClip "head" in Symbol 371 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.targ5 == 1) {
myRadians = Math.atan2((_root.ene1._y - _parent._parent._y) - 30, _root.ene1._x - _parent._parent._x);
} else if (_root.targ5 == 2) {
myRadians = Math.atan2((_root.ene2._y - _parent._parent._y) - 30, _root.ene2._x - _parent._parent._x);
} else if (_root.targ5 == 3) {
myRadians = Math.atan2((_root.ene3._y - _parent._parent._y) - 30, _root.ene3._x - _parent._parent._x);
} else if (_root.targ5 == 4) {
myRadians = Math.atan2((_root.ene4._y - _parent._parent._y) - 24, _root.ene4._x - _parent._parent._x);
}
myDegrees = Math.round((myRadians * 180) / Math.PI);
if (((myDegrees <= 180) && (myDegrees >= 115)) || ((myDegrees >= -180) && (myDegrees <= -115))) {
this._rotation = myDegrees;
_root.see = true;
} else {
_root.see = false;
}
if (((myDegrees < 0) && (myDegrees > -85)) || ((myDegrees >= 0) && (myDegrees <= 85))) {
_root.sent.gotoAndPlay(9);
}
}
Symbol 395 MovieClip Frame 1
play();
Symbol 395 MovieClip Frame 2
_root.sent.hp = 10;
_root.sent.shell = _root.sent.Mshell;
s3 = new Sound(this);
s3.attachSound("sentS");
s3.start(0, 1);
sb = new Sound(this);
sb.attachSound("bildS");
sb.start(0, 1);
Symbol 395 MovieClip Frame 3
stop();
Instance of Symbol 392 MovieClip in Symbol 395 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.sent.hp < 150) {
_root.sent.hp = _root.sent.hp + 0.55;
}
if (_root.sent.hp >= 150) {
_root.doneSE = true;
s3 = new Sound(this);
s3.attachSound("sentF");
s3.start(0, 1);
_root.sent.hp = 150;
_root.sent.shell = _root.sent.Mshell;
_root.sent.gotoAndStop(1);
}
}
Symbol 396 MovieClip Frame 1
stop();
Symbol 396 MovieClip Frame 2
stop();
Instance of Symbol 368 MovieClip "one" in Symbol 396 MovieClip Frame 2
/* no clip actions */
Symbol 396 MovieClip Frame 3
scanning = new Sound(this);
scanning.attachSound("move2");
scanning.start(0, 1);
Instance of Symbol 352 MovieClip "head" in Symbol 396 MovieClip Frame 3
onClipEvent (enterFrame) {
myRadians = Math.atan2((_root._ymouse - _parent._parent._y) + 41.1, _root._xmouse - _parent._parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 50) && (myDegrees >= -50)) {
this._rotation = myDegrees;
}
}
Instance of Symbol 356 MovieClip "head" in Symbol 396 MovieClip Frame 4
onClipEvent (enterFrame) {
myRadians = Math.atan2((_root._ymouse - _parent._parent._y) + 41.1, _root._xmouse - _parent._parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 50) && (myDegrees >= -50)) {
this._rotation = myDegrees;
}
}
Instance of Symbol 356 MovieClip "head" in Symbol 396 MovieClip Frame 6
onClipEvent (enterFrame) {
myRadians = Math.atan2((_root._ymouse - _parent._parent._y) + 41.1, _root._xmouse - _parent._parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 50) && (myDegrees >= -50)) {
this._rotation = myDegrees;
}
}
Instance of Symbol 352 MovieClip "head" in Symbol 396 MovieClip Frame 7
onClipEvent (enterFrame) {
myRadians = Math.atan2((_root._ymouse - _parent._parent._y) + 41.1, _root._xmouse - _parent._parent._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 50) && (myDegrees >= -50)) {
this._rotation = myDegrees;
}
}
Symbol 396 MovieClip Frame 8
stop();
Symbol 396 MovieClip Frame 9
scanning = new Sound(this);
scanning.attachSound("move2");
scanning.start(0, 1);
Instance of Symbol 360 MovieClip in Symbol 396 MovieClip Frame 9
/* no clip actions */
Instance of Symbol 360 MovieClip in Symbol 396 MovieClip Frame 13
/* no clip actions */
Symbol 396 MovieClip Frame 14
gotoAndStop (2);
Symbol 396 MovieClip Frame 15
stop();
Instance of Symbol 382 MovieClip in Symbol 396 MovieClip Frame 15
onClipEvent (load) {
i = 0;
}
onClipEvent (enterFrame) {
i = i + 1;
if (_root.sent.hp <= 0) {
_root.sap = false;
}
if (i >= 20) {
_root.sent.hp = _root.sent.hp - 15;
i = 0;
}
}
Symbol 404 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 1
stop();
Symbol 419 MovieClip Frame 2
_root.man._x = _root.tp2._x;
_root.man._y = _root.tp2._y;
_root.tp2.fworks.gotoAndPlay(2);
_root.tpu = _root.tpu + 1;
_root.charg = 0;
s5 = new Sound(this);
s5.attachSound("TPse");
s5.start(0, 1);
play();
Symbol 419 MovieClip Frame 3
play();
Symbol 419 MovieClip Frame 4
play();
Symbol 419 MovieClip Frame 14
stop();
Instance of Symbol 418 MovieClip in Symbol 419 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.charg < 100) {
_root.charg = _root.charg + 1;
}
if (_root.charg >= 100) {
_root.tp1.eng.gotoAndStop(1);
}
}
Symbol 420 MovieClip Frame 1
play();
Symbol 420 MovieClip Frame 2
_root.tp1.hp = 10;
_root.tpu = 0;
s4 = new Sound(this);
s4.attachSound("sentS");
s4.start(0, 1);
sb = new Sound(this);
sb.attachSound("bildT");
sb.start(0, 1);
Symbol 420 MovieClip Frame 3
stop();
Instance of Symbol 392 MovieClip in Symbol 420 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.tp1.hp < 150) {
_root.tp1.hp = _root.tp1.hp + 0.55;
}
if (_root.tp1.hp >= 150) {
s4 = new Sound(this);
s4.attachSound("Tpready");
s4.start(0, 1);
_root.tp1.hp = 150;
_root.tpu = 0;
_root.doneEN = true;
_root.tp1.gotoAndStop(1);
}
}
Instance of Symbol 382 MovieClip in Symbol 421 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.sap3 > 0) {
i = i + 1;
} else {
i = 0;
}
if (_root.sap3 == 0) {
this._visible = false;
} else {
this._visible = true;
}
if (_root.tp1.hp <= 0) {
_root.sap = false;
}
if (i >= 20) {
_root.tp1.hp = _root.tp1.hp - 15;
i = 0;
}
}
Symbol 421 MovieClip Frame 2
stop();
Instance of Symbol 419 MovieClip "eng" in Symbol 421 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.man) && (this._currentframe == 1)) {
this.gotoAndPlay(2);
}
}
Symbol 422 MovieClip Frame 1
stop();
Symbol 422 MovieClip Frame 14
gotoAndStop (1);
Symbol 423 MovieClip Frame 1
play();
Symbol 423 MovieClip Frame 2
_root.tp2.hp = 10;
s4 = new Sound(this);
s4.attachSound("sentS");
s4.start(0, 1);
sb = new Sound(this);
sb.attachSound("bildT");
sb.start(0, 1);
Symbol 423 MovieClip Frame 3
stop();
Instance of Symbol 392 MovieClip in Symbol 423 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.tp2.hp < 150) {
_root.tp2.hp = _root.tp2.hp + 0.55;
}
if (_root.tp2.hp >= 150) {
s4 = new Sound(this);
s4.attachSound("Tpready");
s4.start(0, 1);
_root.tp2.hp = 150;
_root.doneEX = true;
_root.tp2.gotoAndStop(1);
}
}
Instance of Symbol 382 MovieClip in Symbol 424 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.sap4 > 0) {
i = i + 1;
} else {
i = 0;
}
if (_root.sap4 == 0) {
this._visible = false;
} else {
this._visible = true;
}
if (_root.tp2.hp <= 0) {
_root.sap = false;
}
if (i >= 20) {
_root.tp2.hp = _root.tp2.hp - 15;
i = 0;
}
}
Symbol 424 MovieClip Frame 2
stop();
Symbol 428 MovieClip Frame 1
stop();
Instance of Symbol 427 MovieClip in Symbol 428 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.doneDIS == true) {
_parent.gotoAndPlay(2);
}
}
Symbol 429 MovieClip Frame 1
play();
Symbol 429 MovieClip Frame 2
_root.disp.hp = 10;
s4 = new Sound(this);
s4.attachSound("sentS");
s4.start(0, 1);
sb = new Sound(this);
sb.attachSound("bildD");
sb.start(0, 1);
Symbol 429 MovieClip Frame 3
stop();
Instance of Symbol 392 MovieClip in Symbol 429 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.disp.hp < 150) {
_root.disp.hp = _root.disp.hp + 0.55;
}
if (_root.disp.hp >= 150) {
s4 = new Sound(this);
s4.attachSound("sentF");
s4.start(0, 1);
_root.disp.hp = 150;
_root.doneDIS = true;
_root.disp.gotoAndStop(1);
}
}
Symbol 430 MovieClip Frame 1
stop();
Instance of Symbol 428 MovieClip "a" in Symbol 430 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((_root.sap2 == 0) && (_root.disp.junk > 0)) && (this.hitTest(_root.man))) {
if (_root.man.hp < 125) {
_root.disp.junk = _root.disp.junk - 1;
_root.man.hp = _root.man.hp + 1;
}
if (_root.metal < 200) {
_root.disp.junk = _root.disp.junk - 1;
_root.metal = _root.metal + 1;
}
if (_root.man.ammo < 30) {
_root.disp.junk = _root.disp.junk - 1;
_root.man.ammo = _root.man.ammo + 1;
}
}
i = i + 1;
if (i >= 120) {
if (_root.doneDIS == true) {
if (_root.disp.junk < 200) {
_root.disp.junk = _root.disp.junk + 50;
s6 = new Sound(this);
s6.attachSound("metal");
s6.start(0, 1);
i = 0;
}
}
}
}
Instance of Symbol 382 MovieClip in Symbol 430 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (_root.sap2 > 0) {
i = i + 1;
} else {
i = 0;
}
if (_root.sap2 == 0) {
this._visible = false;
} else {
this._visible = true;
}
if (_root.disp.hp <= 0) {
_root.sap = false;
}
if (i >= 20) {
_root.disp.hp = _root.disp.hp - 15;
i = 0;
}
}
Symbol 434 MovieClip Frame 1
stop();
Symbol 437 MovieClip Frame 1
stop();
Symbol 443 MovieClip Frame 1
if (!this.rok) {
duplicateMovieClip (_root.smoke, "smokeFX" + _root.a, 150 + _root.a);
_root["smokeFX" + _root.a]._x = this._x;
_root["smokeFX" + _root.a]._y = this._y;
_root["smokeFX" + _root.a].gotoAndPlay(1);
_root.a++;
if (_root.a > 50) {
_root.a = 1;
}
}
Symbol 443 MovieClip Frame 2
if (!this.rok) {
duplicateMovieClip (_root.smoke, "smokeFX" + _root.a, 150 + _root.a);
_root["smokeFX" + _root.a]._x = this._x;
_root["smokeFX" + _root.a]._y = this._y;
_root["smokeFX" + _root.a].gotoAndPlay(1);
_root.a++;
if (_root.a > 50) {
_root.a = 1;
}
}
Symbol 445 MovieClip Frame 1
stop();
Symbol 463 MovieClip Frame 1
stop();
Symbol 470 MovieClip Frame 19
_root.ene1.ammo = _root.ene1.ammo + 1;
_root.sound = new Sound(this);
_root.sound.attachSound("ROKload");
_root.sound.start(0, 1);
Symbol 471 MovieClip Frame 1
stop();
Symbol 472 MovieClip Frame 1
_root.sound = new Sound(this);
_root.sound.attachSound("soldierD");
_root.sound.start(0, 1);
_root.points = _root.points + 1;
_root.pointsR = _root.pointsR + 1;
_root.SOLDkil = _root.SOLDkil + 1;
Symbol 472 MovieClip Frame 10
stop();
Instance of Symbol 310 MovieClip in Symbol 472 MovieClip Frame 10
onClipEvent (load) {
delay = 100 + random(150);
}
onClipEvent (enterFrame) {
delay = delay - 1;
_root.ene1._x = _root.checkp._x;
_root.ene1._y = _root.checkp._y;
}
onClipEvent (enterFrame) {
if ((delay <= 0) && (_root.camFrame.timer._currentframe != 3)) {
_root.ene1.hp = _root.ene1.Mhp;
_root.ene1.ammo = _root.ene1.Mammo;
_root.ene1.gotoAndStop(1);
}
}
Symbol 473 MovieClip Frame 1
stop();
Instance of Symbol 445 MovieClip "arm" in Symbol 473 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.up.myDegrees <= 65) && (_parent.up.myDegrees >= -65)) {
this._rotation = _parent.up.myDegrees;
this._yscale = 100;
}
if (((_parent.up.myDegrees <= 180) && (_parent.up.myDegrees >= 115)) || ((_parent.up.myDegrees >= -180) && (_parent.up.myDegrees <= -115))) {
this._rotation = _parent.up.myDegrees;
this._yscale = -100;
}
}
Instance of Symbol 471 MovieClip "up" in Symbol 473 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.targ1 == 0) {
myRadians = Math.atan2((_root.man._y - _parent._y) + 30, _root.man._x - _parent._x);
} else if (_root.targ1 == 1) {
myRadians = Math.atan2((_root.sent._y - _parent._y) + 60, _root.sent._x - _parent._x);
} else if (_root.targ1 == 2) {
myRadians = Math.atan2((_root.disp._y - _parent._y) + 30, _root.disp._x - _parent._x);
} else if (_root.targ1 == 3) {
myRadians = Math.atan2((_root.tp1._y - _parent._y) + 60, _root.tp1._x - _parent._x);
} else if (_root.targ1 == 4) {
myRadians = Math.atan2((_root.tp2._y - _parent._y) + 60, _root.tp2._x - _parent._x);
}
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 65) && (myDegrees >= -65)) {
this._rotation = myDegrees;
_parent.low._xscale = 100;
this._yscale = 100;
_root.flip1 = true;
}
if (((myDegrees <= 180) && (myDegrees >= 115)) || ((myDegrees >= -180) && (myDegrees <= -115))) {
this._rotation = myDegrees;
_parent.low._xscale = -100;
this._yscale = -100;
_root.flip1 = false;
}
}
Instance of Symbol 472 MovieClip in Symbol 473 MovieClip Frame 2
onClipEvent (load) {
if (_root.flip1 == true) {
this._xscale = 100;
} else if (_root.flip1 == false) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.flip1 == true) {
this._xscale = 100;
} else if (_root.flip1 == false) {
this._xscale = -100;
}
}
Symbol 479 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 496 MovieClip Frame 14
_root.sound = new Sound(this);
_root.sound.attachSound("sniper_r");
_root.sound.start(0, 1);
Symbol 496 MovieClip Frame 21
_root.ene2.ammo = _root.ene2.ammo + 1;
Symbol 497 MovieClip Frame 1
stop();
Symbol 498 MovieClip Frame 1
_root.sound = new Sound(this);
_root.sound.attachSound("sniperD");
_root.sound.start(0, 1);
_root.points = _root.points + 1;
_root.pointsR = _root.pointsR + 1;
_root.SNIPkil = _root.SNIPkil + 1;
Symbol 498 MovieClip Frame 9
stop();
Instance of Symbol 310 MovieClip in Symbol 498 MovieClip Frame 9
onClipEvent (load) {
delay = 100 + random(150);
}
onClipEvent (enterFrame) {
delay = delay - 1;
_root.ene2._x = _root.checkp._x;
_root.ene2._y = _root.checkp._y;
}
onClipEvent (enterFrame) {
if ((delay <= 0) && (_root.camFrame.timer._currentframe != 3)) {
_root.ene2.hp = _root.ene2.Mhp;
_root.ene2.ammo = _root.ene2.Mammo;
_root.ene2.gotoAndStop(1);
}
}
Symbol 499 MovieClip Frame 1
stop();
Instance of Symbol 479 MovieClip "arm" in Symbol 499 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.up.myDegrees <= 65) && (_parent.up.myDegrees >= -65)) {
this._rotation = _parent.up.myDegrees;
this._yscale = 100;
}
if (((_parent.up.myDegrees <= 180) && (_parent.up.myDegrees >= 115)) || ((_parent.up.myDegrees >= -180) && (_parent.up.myDegrees <= -115))) {
this._rotation = _parent.up.myDegrees;
this._yscale = -100;
}
}
Instance of Symbol 497 MovieClip "up" in Symbol 499 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.targ2 == 0) {
myRadians = Math.atan2((_root.man._y - _parent._y) + 30, _root.man._x - _parent._x);
} else if (_root.targ2 == 1) {
myRadians = Math.atan2((_root.sent._y - _parent._y) + 60, _root.sent._x - _parent._x);
} else if (_root.targ2 == 2) {
myRadians = Math.atan2((_root.disp._y - _parent._y) + 30, _root.disp._x - _parent._x);
} else if (_root.targ2 == 3) {
myRadians = Math.atan2((_root.tp1._y - _parent._y) + 60, _root.tp1._x - _parent._x);
} else if (_root.targ2 == 4) {
myRadians = Math.atan2((_root.tp2._y - _parent._y) + 60, _root.tp2._x - _parent._x);
}
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 65) && (myDegrees >= -65)) {
this._rotation = myDegrees;
_parent.low._xscale = 100;
this._yscale = -100;
this._xscale = -100;
_root.flip2 = true;
}
if (((myDegrees <= 180) && (myDegrees >= 115)) || ((myDegrees >= -180) && (myDegrees <= -115))) {
this._rotation = myDegrees;
_parent.low._xscale = -100;
this._yscale = 100;
this._xscale = -100;
_root.flip2 = false;
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
if (reload == true) {
this.up.gotoAndStop(2);
this.arm.gotoAndStop(2);
} else if ((((this.hitTest(_root.man) || (this.hitTest(_root.sent))) || (this.hitTest(_root.disp))) || (this.hitTest(_root.tp1))) || (this.hitTest(_root.tp2))) {
this.up.gotoAndStop(3);
this.arm.gotoAndStop(3);
}
} else {
this.up.gotoAndStop(1);
this.arm.gotoAndStop(1);
}
}
Instance of Symbol 498 MovieClip in Symbol 499 MovieClip Frame 2
onClipEvent (load) {
if (_root.flip2 == true) {
this._xscale = 100;
} else if (_root.flip2 == false) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.flip2 == true) {
this._xscale = 100;
} else if (_root.flip2 == false) {
this._xscale = -100;
}
}
Symbol 508 MovieClip Frame 1
stop();
Symbol 519 MovieClip Frame 20
_parent.gotoAndStop(1);
Symbol 520 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 521 MovieClip Frame 25
_root.ene3.ammo = _root.ene3.ammo + 1;
Symbol 522 MovieClip Frame 1
stop();
Instance of Symbol 519 MovieClip in Symbol 522 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((_root.ene3.ammo > 0) && (this._currentframe == 13)) && (_root.man.hitTest(_root.ene3))) {
_root.man.hp = _root.man.hp - (37 + random(17));
_root.ene3.ammo = 0;
_root.sound = new Sound(this);
_root.sound.attachSound("crit");
_root.sound.start();
_root.crit._y = _root.ene3._y - 50;
_root.crit._x = _root.ene3._x;
_root.crit.gotoAndPlay(2);
}
}
Instance of Symbol 520 MovieClip in Symbol 522 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((_root.ene3.ammo > 0) && (this._currentframe == 7)) {
if (_root.sent.hitTest(_root.ene3)) {
_root.sap = 2;
_root.ene3.ammo = _root.ene3.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("sapsent");
_root.sound.start();
}
if (_root.disp.hitTest(_root.ene3)) {
_root.sap2 = 2;
_root.ene3.ammo = _root.ene3.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("sapdisp");
_root.sound.start();
}
if (_root.tp1.hitTest(_root.ene3)) {
_root.sap3 = 2;
_root.ene3.ammo = _root.ene3.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("saptp");
_root.sound.start();
}
if (_root.tp2.hitTest(_root.ene3)) {
_root.sap4 = 2;
_root.ene3.ammo = _root.ene3.ammo - 1;
_root.sound = new Sound(this);
_root.sound.attachSound("saptp");
_root.sound.start();
}
}
}
Instance of Symbol 521 MovieClip in Symbol 522 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.ene3.reload == false) {
_root.ene3.up.gotoAndStop(1);
}
}
Symbol 523 MovieClip Frame 1
_root.sound = new Sound(this);
_root.sound.attachSound("spyD");
_root.sound.start(0, 1);
_root.points = _root.points + 1;
_root.pointsR = _root.pointsR + 1;
_root.SPYkil = _root.SPYkil + 1;
Symbol 523 MovieClip Frame 9
stop();
Instance of Symbol 310 MovieClip in Symbol 523 MovieClip Frame 9
onClipEvent (load) {
delay = 100 + random(150);
}
onClipEvent (enterFrame) {
delay = delay - 1;
_root.ene3._x = _root.checkp._x;
_root.ene3._y = _root.checkp._y;
}
onClipEvent (enterFrame) {
if ((delay <= 0) && (_root.camFrame.timer._currentframe != 3)) {
_root.ene3.hp = _root.ene3.Mhp;
_root.ene3.ammo = _root.ene3.Mammo;
_root.ene3.gotoAndStop(1);
}
}
Symbol 524 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 1
stop();
Symbol 563 MovieClip Frame 5
gotoAndStop (1);
Symbol 564 MovieClip Frame 17
_root.ene4.ammo = _root.ene4.ammo + 1;
_root.sound = new Sound(this);
_root.sound.attachSound("---");
_root.sound.start(0, 1);
Symbol 565 MovieClip Frame 1
stop();
Symbol 575 MovieClip Frame 1
_root.sound = new Sound(this);
_root.sound.attachSound("scoutD");
_root.sound.start(0, 1);
_root.points = _root.points + 1;
_root.pointsR = _root.pointsR + 1;
_root.SCOkil = _root.SCOkil + 1;
Symbol 575 MovieClip Frame 10
stop();
Instance of Symbol 310 MovieClip in Symbol 575 MovieClip Frame 10
onClipEvent (load) {
delay = 100 + random(150);
}
onClipEvent (enterFrame) {
delay = delay - 1;
_root.ene4._x = _root.checkp._x;
_root.ene4._y = _root.checkp._y;
}
onClipEvent (enterFrame) {
if ((delay <= 0) && (_root.camFrame.timer._currentframe != 3)) {
_root.ene4.hp = _root.ene4.Mhp;
_root.ene4.ammo = _root.ene4.Mammo;
_root.ene4.gotoAndStop(1);
}
}
Symbol 576 MovieClip Frame 1
stop();
Instance of Symbol 532 MovieClip "arm" in Symbol 576 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_parent.up.myDegrees <= 65) && (_parent.up.myDegrees >= -65)) {
this._rotation = _parent.up.myDegrees;
this._yscale = 100;
}
if (((_parent.up.myDegrees <= 180) && (_parent.up.myDegrees >= 115)) || ((_parent.up.myDegrees >= -180) && (_parent.up.myDegrees <= -115))) {
this._rotation = _parent.up.myDegrees;
this._yscale = -100;
}
}
Instance of Symbol 565 MovieClip "up" in Symbol 576 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.targ4 == 0) {
myRadians = Math.atan2(_root.man._y - _parent._y, _root.man._x - _parent._x);
} else if (_root.targ4 == 1) {
myRadians = Math.atan2((_root.sent._y - _parent._y) + 10, _root.sent._x - _parent._x);
} else if (_root.targ4 == 2) {
myRadians = Math.atan2(_root.disp._y - _parent._y, _root.disp._x - _parent._x);
} else if (_root.targ4 == 3) {
myRadians = Math.atan2((_root.tp1._y - _parent._y) + 39, _root.tp1._x - _parent._x);
} else if (_root.targ4 == 4) {
myRadians = Math.atan2((_root.tp2._y - _parent._y) + 39, _root.tp2._x - _parent._x);
}
myDegrees = Math.round((myRadians * 180) / Math.PI);
if ((myDegrees <= 65) && (myDegrees >= -65)) {
this._rotation = myDegrees;
_parent.low._xscale = 100;
this._yscale = 100;
_root.flip3 = true;
}
if (((myDegrees <= 180) && (myDegrees >= 115)) || ((myDegrees >= -180) && (myDegrees <= -115))) {
this._rotation = myDegrees;
_parent.low._xscale = -100;
this._yscale = -100;
_root.flip3 = false;
}
}
Instance of Symbol 575 MovieClip in Symbol 576 MovieClip Frame 2
onClipEvent (load) {
if (_root.flip3 == true) {
this._xscale = 100;
} else if (_root.flip3 == false) {
this._xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.flip3 == true) {
this._xscale = 100;
} else if (_root.flip3 == false) {
this._xscale = -100;
}
}
Symbol 589 MovieClip Frame 1
stop();
Symbol 589 MovieClip Frame 8
gotoAndStop (1);
Symbol 600 MovieClip Frame 1
stop();
Symbol 600 MovieClip Frame 2
sound = new Sound(this);
sound.attachSound("boomsent");
sound.start();
_root.Sdeaths = _root.Sdeaths + 1;
Symbol 600 MovieClip Frame 7
gotoAndStop (1);
Symbol 607 MovieClip Frame 1
stop();
Symbol 607 MovieClip Frame 2
sound = new Sound(this);
sound.attachSound("boomdisp");
sound.start();
Symbol 607 MovieClip Frame 7
gotoAndStop (1);
Symbol 612 MovieClip Frame 1
stop();
Symbol 612 MovieClip Frame 2
sound = new Sound(this);
sound.attachSound("boomtp");
sound.start();
Symbol 612 MovieClip Frame 7
gotoAndStop (1);
Symbol 618 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 7
gotoAndStop (1);
Symbol 621 MovieClip Frame 15
stop();
if (!this.smoke) {
this.removeMovieClip();
}
Symbol 624 MovieClip Frame 1
if (!this.rok) {
duplicateMovieClip (_root.smoke, "smokeFX" + _root.a, 150 + _root.a);
_root["smokeFX" + _root.a]._x = this._x;
_root["smokeFX" + _root.a]._y = this._y;
_root["smokeFX" + _root.a].gotoAndPlay(1);
_root.a++;
if (_root.a > 50) {
_root.a = 1;
}
}
Symbol 624 MovieClip Frame 2
if (!this.rok) {
duplicateMovieClip (_root.smoke, "smokeFX" + _root.a, 150 + _root.a);
_root["smokeFX" + _root.a]._x = this._x;
_root["smokeFX" + _root.a]._y = this._y;
_root["smokeFX" + _root.a].gotoAndPlay(1);
_root.a++;
if (_root.a > 50) {
_root.a = 1;
}
}
Symbol 631 MovieClip Frame 1
stop();
Symbol 631 MovieClip Frame 8
gotoAndStop (1);
Symbol 640 MovieClip Frame 1
stop();
Symbol 640 MovieClip Frame 8
gotoAndStop (1);
Symbol 643 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 1
stop();
Symbol 649 MovieClip Frame 156
stop();
_root.sound.stop();
_root.gotoAndStop(11);
Symbol 664 MovieClip Frame 1
stop();
Symbol 664 MovieClip Frame 11
stop();
Symbol 683 MovieClip Frame 1
stop();
Instance of Symbol 677 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (_root.sent.shell / _root.sent.Mshell) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.sent.shell / _root.sent.Mshell) * 100;
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 150) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 135) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 120) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 105) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 90) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 75) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 60) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 45) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 30) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 683 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.sent.hp >= 15) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 677 MovieClip in Symbol 683 MovieClip Frame 3
onClipEvent (load) {
this._xscale = (_root.sent.hp / _root.sent.Mhp) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.sent.hp / _root.sent.Mhp) * 100;
}
Symbol 692 MovieClip Frame 1
stop();
Instance of Symbol 677 MovieClip in Symbol 692 MovieClip Frame 2
onClipEvent (load) {
this._xscale = (_root.disp.junk / _root.disp.Mjunk) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.disp.junk / _root.disp.Mjunk) * 100;
}
Instance of Symbol 680 MovieClip in Symbol 692 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.disp.hp >= 100) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 692 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.disp.hp >= 80) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 692 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.disp.hp >= 60) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 692 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.disp.hp >= 40) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 692 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.disp.hp >= 20) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 677 MovieClip in Symbol 692 MovieClip Frame 3
onClipEvent (load) {
this._xscale = (_root.disp.hp / _root.disp.Mhp) * 82;
}
onClipEvent (enterFrame) {
this._xscale = (_root.disp.hp / _root.disp.Mhp) * 82;
}
Symbol 701 MovieClip Frame 1
stop();
Instance of Symbol 677 MovieClip in Symbol 701 MovieClip Frame 2
onClipEvent (load) {
this._xscale = _root.charg;
}
onClipEvent (enterFrame) {
this._xscale = _root.charg;
}
Symbol 703 MovieClip Frame 1
stop();
Instance of Symbol 701 MovieClip in Symbol 703 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.charg < 100) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 680 MovieClip in Symbol 703 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp1.hp >= 125) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 703 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp1.hp >= 100) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 703 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp1.hp >= 75) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 703 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp1.hp >= 50) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 703 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp1.hp >= 25) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 677 MovieClip in Symbol 703 MovieClip Frame 3
onClipEvent (load) {
this._xscale = (_root.tp1.hp / _root.tp1.Mhp) * 82;
}
onClipEvent (enterFrame) {
this._xscale = (_root.tp1.hp / _root.tp1.Mhp) * 82;
}
Instance of Symbol 707 MovieClip in Symbol 709 MovieClip Frame 1
onClipEvent (load) {
this._xscale = (_root.man.hp / _root.man.Mhp) * 100;
}
onClipEvent (enterFrame) {
this._xscale = (_root.man.hp / _root.man.Mhp) * 100;
if (_root.man.hp < 0) {
_root.man.hp = 0;
}
}
Symbol 724 MovieClip Frame 1
stop();
Symbol 725 MovieClip Frame 1
stop();
Instance of Symbol 715 MovieClip in Symbol 725 MovieClip Frame 1
on (release) {
if (_root.building == false) {
_root.menuB = 2;
}
}
Instance of Symbol 719 MovieClip in Symbol 725 MovieClip Frame 1
on (release) {
if (_root.building == false) {
_root.menuB = 1;
}
}
Instance of Symbol 721 MovieClip in Symbol 725 MovieClip Frame 2
on (release) {
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.sen._x = -85.2;
_root.sen._y = 223.6;
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.dis._x = -85.2;
_root.dis._y = 223.6;
_root.bild = 0;
_root.menuB = 0;
_root.camFrame.bul.gotoAndStop(1);
}
Instance of Symbol 724 MovieClip in Symbol 725 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((_root.ent1.dragg == false) && (_root.sen.dragg == false)) && (_root.dis.dragg == false)) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
on (release) {
if (((_root.ent1.dragg == false) && (_root.sen.dragg == false)) && (_root.dis.dragg == false)) {
if ((_root.bild == 1) && (_root.sen.nob == false)) {
_root.metal = _root.metal - 150;
_root.sent._x = _root.sen._x - 5;
_root.sent._y = _root.sen._y - 20;
_root.sent.gotoAndStop("empty");
_root.sen._x = -85.2;
_root.sen._y = 223.6;
_root.bild = 0;
_root.camFrame.bul.gotoAndStop(1);
}
if ((_root.bild == 2) && (_root.dis.nob == false)) {
_root.metal = _root.metal - 100;
_root.disp._x = _root.dis._x - 5;
_root.disp._y = _root.dis._y;
_root.disp.gotoAndStop("empty");
_root.dis._x = -85.2;
_root.dis._y = 223.6;
_root.bild = 0;
_root.camFrame.bul.gotoAndStop(1);
}
if ((_root.bild == 3) && (_root.ent1.nob == false)) {
_root.metal = _root.metal - 125;
_root.tp1._x = _root.ent1._x - 5;
_root.tp1._y = _root.ent1._y - 5;
_root.tp1.gotoAndStop("empty");
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.bild = 0;
_root.camFrame.bul.gotoAndStop(1);
}
if ((_root.bild == 4) && (_root.ent1.nob == false)) {
_root.metal = _root.metal - 125;
_root.tp2._x = _root.ent1._x - 5;
_root.tp2._y = _root.ent1._y - 5;
_root.tp2.gotoAndStop("empty");
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.bild = 0;
_root.camFrame.bul.gotoAndStop(1);
}
}
}
Symbol 728 MovieClip Frame 1
stop();
Instance of Symbol 680 MovieClip in Symbol 728 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp2.hp >= 125) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 728 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp2.hp >= 100) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 728 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp2.hp >= 75) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 728 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp2.hp >= 50) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 680 MovieClip in Symbol 728 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.tp2.hp >= 25) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 677 MovieClip in Symbol 728 MovieClip Frame 3
onClipEvent (load) {
this._xscale = (_root.tp2.hp / _root.tp2.Mhp) * 82;
}
onClipEvent (enterFrame) {
this._xscale = (_root.tp2.hp / _root.tp2.Mhp) * 82;
}
Symbol 777 MovieClip Frame 1
stop();
Instance of Symbol 743 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (load) {
if ((_root.doneSE == false) && (_root.metal >= 150)) {
this.gotoAndStop(1);
} else if ((_root.doneSE == false) && (_root.metal < 150)) {
this.gotoAndStop(2);
}
if ((_root.doneSE == true) || (_root.sent._currentframe == 16)) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((_root.doneSE == false) && (_root.metal >= 150)) {
this.gotoAndStop(1);
} else if ((_root.doneSE == false) && (_root.metal < 150)) {
this.gotoAndStop(2);
}
if ((_root.doneSE == true) || (_root.sent._currentframe == 16)) {
this.gotoAndStop(3);
}
}
on (release) {
if ((_root.doneSE == false) && (_root.sent._currentframe != 16)) {
if (_root.metal >= 150) {
_root.menuB = 0;
_root.sen.dragg = true;
_root.bild = 1;
_root.camFrame.bul.gotoAndStop(2);
}
}
}
Instance of Symbol 749 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (load) {
if ((_root.doneDIS == false) && (_root.metal >= 100)) {
this.gotoAndStop(1);
} else if ((_root.doneDIS == false) && (_root.metal < 100)) {
this.gotoAndStop(2);
}
if ((_root.doneDIS == true) || (_root.disp._currentframe == 2)) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((_root.doneDIS == false) && (_root.metal >= 100)) {
this.gotoAndStop(1);
} else if ((_root.doneDIS == false) && (_root.metal < 100)) {
this.gotoAndStop(2);
}
if ((_root.doneDIS == true) || (_root.disp._currentframe == 2)) {
this.gotoAndStop(3);
}
}
on (release) {
if ((_root.doneDIS == false) && (_root.disp._currentframe != 2)) {
if (_root.metal >= 100) {
_root.menuB = 0;
_root.dis.dragg = true;
_root.bild = 2;
_root.camFrame.bul.gotoAndStop(2);
}
}
}
Instance of Symbol 757 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (load) {
if ((_root.doneEN == false) && (_root.metal >= 125)) {
this.gotoAndStop(1);
} else if ((_root.doneEN == false) && (_root.metal < 125)) {
this.gotoAndStop(2);
}
if ((_root.doneEN == true) || (_root.tp1._currentframe == 3)) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((_root.doneEN == false) && (_root.metal >= 125)) {
this.gotoAndStop(1);
} else if ((_root.doneEN == false) && (_root.metal < 125)) {
this.gotoAndStop(2);
}
if ((_root.doneEN == true) || (_root.tp1._currentframe == 3)) {
this.gotoAndStop(3);
}
}
on (release) {
if ((_root.doneEN == false) && (_root.tp1._currentframe != 3)) {
if (_root.metal >= 125) {
_root.menuB = 0;
_root.ent1.dragg = true;
_root.bild = 3;
_root.camFrame.bul.gotoAndStop(2);
}
}
}
Instance of Symbol 761 MovieClip in Symbol 777 MovieClip Frame 1
onClipEvent (load) {
if ((_root.doneEX == false) && (_root.metal >= 125)) {
this.gotoAndStop(1);
} else if ((_root.doneEX == false) && (_root.metal < 125)) {
this.gotoAndStop(2);
}
if ((_root.doneEX == true) || (_root.tp2._currentframe == 3)) {
this.gotoAndStop(3);
}
}
onClipEvent (enterFrame) {
if ((_root.doneEX == false) && (_root.metal >= 125)) {
this.gotoAndStop(1);
} else if ((_root.doneEX == false) && (_root.metal < 125)) {
this.gotoAndStop(2);
}
if ((_root.doneEX == true) || (_root.tp2._currentframe == 3)) {
this.gotoAndStop(3);
}
}
on (release) {
if ((_root.doneEX == false) && (_root.tp2._currentframe != 3)) {
if (_root.metal >= 125) {
_root.menuB = 0;
_root.ent1.dragg = true;
_root.bild = 4;
_root.camFrame.bul.gotoAndStop(2);
}
}
}
Instance of Symbol 763 MovieClip in Symbol 777 MovieClip Frame 1
on (release) {
if (_root.building == false) {
_root.menuB = 0;
}
}
Instance of Symbol 772 MovieClip in Symbol 777 MovieClip Frame 2
onClipEvent (load) {
if (_root.doneSE == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.doneSE == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.doneSE == true) {
_root.sent.hp = 0;
_root.menuB = 0;
}
}
Instance of Symbol 774 MovieClip in Symbol 777 MovieClip Frame 2
onClipEvent (load) {
if (_root.doneDIS == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.doneDIS == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.doneDIS == true) {
_root.disp.hp = 0;
_root.menuB = 0;
}
}
Instance of Symbol 775 MovieClip in Symbol 777 MovieClip Frame 2
onClipEvent (load) {
if (_root.doneEN == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.doneEN == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.doneEN == true) {
_root.tp1.hp = 0;
_root.menuB = 0;
}
}
Instance of Symbol 776 MovieClip in Symbol 777 MovieClip Frame 2
onClipEvent (load) {
if (_root.doneEX == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
onClipEvent (enterFrame) {
if (_root.doneEX == false) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
on (release) {
if (_root.doneEX == true) {
_root.tp2.hp = 0;
_root.menuB = 0;
}
}
Symbol 790 MovieClip Frame 1
function wait() {
_root.sec--;
}
stop();
_root.myTimer = setInterval(wait, 1000);
Instance of Symbol 794 MovieClip in Symbol 799 MovieClip Frame 1
onClipEvent (load) {
this._xscale = _root.cap1.holo / 2;
}
onClipEvent (enterFrame) {
this._xscale = _root.cap1.holo / 2;
}
Instance of Symbol 794 MovieClip in Symbol 799 MovieClip Frame 1
onClipEvent (load) {
this._xscale = _root.cap2.holo / 2;
}
onClipEvent (enterFrame) {
this._xscale = _root.cap2.holo / 2;
}
Instance of Symbol 798 MovieClip in Symbol 799 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ico2 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 798 MovieClip in Symbol 799 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ico1 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Symbol 809 MovieClip Frame 1
stop();
Symbol 810 MovieClip Frame 1
stop();
Instance of Symbol 683 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneSE == true) && (_root.sent._currentframe != 16)) {
this.gotoAndStop(2);
} else if (_root.sent._currentframe == 16) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 692 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneDIS == true) && (_root.disp._currentframe != 2)) {
this.gotoAndStop(2);
} else if (_root.disp._currentframe == 2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 703 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneEN == true) && (_root.tp1._currentframe != 3)) {
this.gotoAndStop(2);
} else if (_root.tp1._currentframe == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 709 MovieClip "hud1" in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.metal > 200) {
_root.metal = 200;
}
if (_root.man.hp > _root.man.Mhp) {
_root.man.hp = _root.man.Mhp;
}
if (_root.man.ammo > _root.man.Mammo) {
_root.man.ammo = _root.man.Mammo;
}
if (_root.disp.junk > _root.disp.Mjunk) {
_root.disp.junk = _root.disp.Mjunk;
}
}
Instance of Symbol 728 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneEX == true) && (_root.tp2._currentframe != 3)) {
this.gotoAndStop(2);
} else if (_root.tp2._currentframe == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 777 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (load) {
if (_root.menuB > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.menuB > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.menuB == 1) {
this.gotoAndStop(1);
} else if (_root.menuB == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 790 MovieClip "timer" in Symbol 811 MovieClip Frame 1
onClipEvent (load) {
_root.sec = 60;
_root.minu = 0;
Sdone = true;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (Sdone == true)) {
if (_root.sec == 60) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("60secs");
_root.sound.start(0, 1);
}
if (_root.sec == 30) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("30secs");
_root.sound.start(0, 1);
}
if (_root.sec == 10) {
_root.sound = new Sound(this);
_root.sound.attachSound("10secs");
_root.sound.start(0, 1);
Sdone = false;
}
if (_root.sec == 0) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("siren");
_root.sound.start(0, 1);
_root.minu = 5;
_root.sec = 0;
this.gotoAndStop(2);
}
}
if ((this._currentframe == 2) && (Sdone == true)) {
if ((_root.minu == 1) && (_root.sec == 0)) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("end60");
_root.sound.start(0, 1);
}
if ((_root.sec == 30) && (_root.minu == 0)) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("end30");
_root.sound.start(0, 1);
}
if ((_root.sec == 10) && (_root.minu == 0)) {
_root.sound = new Sound(this);
_root.sound.attachSound("end10");
_root.sound.start(0, 1);
Sdone = false;
}
}
}
onClipEvent (enterFrame) {
if ((((_root.minu == 2) || (_root.sec == 59)) || (_root.sec == 29)) || (_root.sec == 9)) {
Sdone = true;
}
}
onClipEvent (enterFrame) {
if (_root.sec == 60) {
_root.sec = 0;
_root.minu = _root.minu + 1;
}
if ((_root.sec < 0) && (_root.minu > 0)) {
_root.sec = 59;
_root.minu = _root.minu - 1;
}
}
onClipEvent (enterFrame) {
if (((this._currentframe == 2) && (_root.sec == 0)) && (_root.minu == 0)) {
this.gotoAndStop(3);
_root.sound = new Sound(this);
_root.sound.attachSound("win");
_root.sound.start(0, 1);
_root.victory = true;
_root.fin.gotoAndPlay(2);
}
if ((this._currentframe == 2) && (_root.cap2.holo == 200)) {
this.gotoAndStop(4);
_root.sound = new Sound(this);
_root.sound.attachSound("lost");
_root.sound.start(0, 1);
_root.menuB = 0;
_parent.bul._visible = false;
_parent.cp._visible = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.sen._x = -85.2;
_root.sen._y = 223.6;
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.dis._x = -85.2;
_root.dis._y = 223.6;
_root.bild = 0;
_root.menuB = 0;
_root.camFrame.bul.gotoAndStop(1);
_root.victory = false;
_root.fin.gotoAndPlay(2);
}
}
Instance of Symbol 810 MovieClip in Symbol 811 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((_root.ach1 == 0) && (Sdeaths == 0)) && (_root.doneSE == true)) && (_root.map == 2)) && (_root.camFrame.timer._currentframe == 3)) {
this.ach.gotoAndStop(1);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach1 = 1;
}
if ((((_root.ach2 == 0) && (_root.map == 1)) && (_root.cap1.holo < 200)) && (_root.camFrame.timer._currentframe == 3)) {
this.ach.gotoAndStop(2);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach2 = 1;
}
if ((((_root.ach3 == 0) && (_root.map == 3)) && (_root.cap1.holo < 200)) && (_root.camFrame.timer._currentframe == 3)) {
this.ach.gotoAndStop(3);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach3 = 1;
}
if ((_root.ach4 == 0) && (_root.pointsR == 20)) {
this.ach.gotoAndStop(4);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach4 = 1;
}
if ((_root.ach5 == 0) && (_root.SNIPkil >= 25)) {
this.ach.gotoAndStop(5);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach5 = 1;
}
if ((_root.ach6 == 0) && (_root.SOLDkil >= 50)) {
this.ach.gotoAndStop(6);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach6 = 1;
}
if ((_root.ach7 == 0) && (_root.SCOkil >= 75)) {
this.ach.gotoAndStop(7);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach7 = 1;
}
if ((_root.ach8 == 0) && (_root.SPYkil >= 100)) {
this.ach.gotoAndStop(7);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach8 = 1;
}
if ((_root.ach8 == 0) && (points > 9000)) {
this.ach.gotoAndStop(7);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach8 = 1;
}
}
Symbol 823 MovieClip Frame 1
stop();
Symbol 823 MovieClip Frame 3
stop();
Symbol 824 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 4
stop();
Symbol 853 MovieClip Frame 1
stop();
Symbol 865 MovieClip Frame 1
stop();
Instance of Symbol 852 MovieClip in Symbol 866 MovieClip Frame 1
on (release) {
_root.sound.stop();
cl = new Sound(this);
cl.attachSound("button");
cl.start();
_root.bg = true;
_root.gotoAndStop(4);
}
Instance of Symbol 853 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.map);
}
Instance of Symbol 856 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
if (_root.victory == true) {
this.gotoAndStop(1);
_root.sound = new Sound(this);
_root.sound.attachSound("winT");
_root.sound.start(0, 1);
} else {
this.gotoAndStop(2);
_root.sound = new Sound(this);
_root.sound.attachSound("loseT");
_root.sound.start(0, 1);
}
}
Instance of Symbol 865 MovieClip in Symbol 866 MovieClip Frame 1
onClipEvent (load) {
if (_root.victory == true) {
this.gotoAndStop(_root.map);
}
if (_root.victory == false) {
this.gotoAndStop(_root.map + 5);
}
}
Instance of Symbol 794 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (load) {
this._xscale = _root.cap2.holo / 2;
}
onClipEvent (enterFrame) {
this._xscale = _root.cap2.holo / 2;
}
Instance of Symbol 798 MovieClip in Symbol 885 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ico2 == true) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 683 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneSE == true) && (_root.sent._currentframe != 16)) {
this.gotoAndStop(2);
} else if (_root.sent._currentframe == 16) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 692 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneDIS == true) && (_root.disp._currentframe != 2)) {
this.gotoAndStop(2);
} else if (_root.disp._currentframe == 2) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 703 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneEN == true) && (_root.tp1._currentframe != 3)) {
this.gotoAndStop(2);
} else if (_root.tp1._currentframe == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 709 MovieClip "hud1" in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.metal > 200) {
_root.metal = 200;
}
if (_root.man.hp > _root.man.Mhp) {
_root.man.hp = _root.man.Mhp;
}
if (_root.man.ammo > _root.man.Mammo) {
_root.man.ammo = _root.man.Mammo;
}
if (_root.disp.junk > _root.disp.Mjunk) {
_root.disp.junk = _root.disp.Mjunk;
}
}
Instance of Symbol 728 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.doneEX == true) && (_root.tp2._currentframe != 3)) {
this.gotoAndStop(2);
} else if (_root.tp2._currentframe == 3) {
this.gotoAndStop(3);
} else {
this.gotoAndStop(1);
}
}
Instance of Symbol 777 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
if (_root.menuB > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.menuB > 0) {
this._visible = true;
} else {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (_root.menuB == 1) {
this.gotoAndStop(1);
} else if (_root.menuB == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 790 MovieClip "timer" in Symbol 886 MovieClip Frame 1
onClipEvent (load) {
_root.sec = 60;
_root.minu = 0;
Sdone = true;
}
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (Sdone == true)) {
if (_root.sec == 60) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("60secs");
_root.sound.start(0, 1);
}
if (_root.sec == 30) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("30secs");
_root.sound.start(0, 1);
}
if (_root.sec == 10) {
_root.sound = new Sound(this);
_root.sound.attachSound("10secs");
_root.sound.start(0, 1);
Sdone = false;
}
if (_root.sec == 0) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("siren");
_root.sound.start(0, 1);
_root.minu = 5;
_root.sec = 0;
this.gotoAndStop(2);
}
}
if ((this._currentframe == 2) && (Sdone == true)) {
if ((_root.minu == 1) && (_root.sec == 0)) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("end60");
_root.sound.start(0, 1);
}
if ((_root.sec == 30) && (_root.minu == 0)) {
Sdone = false;
_root.sound = new Sound(this);
_root.sound.attachSound("end30");
_root.sound.start(0, 1);
}
if ((_root.sec == 10) && (_root.minu == 0)) {
_root.sound = new Sound(this);
_root.sound.attachSound("end10");
_root.sound.start(0, 1);
Sdone = false;
}
}
}
onClipEvent (enterFrame) {
if ((((_root.minu == 2) || (_root.sec == 59)) || (_root.sec == 29)) || (_root.sec == 9)) {
Sdone = true;
}
}
onClipEvent (enterFrame) {
if (_root.sec == 60) {
_root.sec = 0;
_root.minu = _root.minu + 1;
}
if ((_root.sec < 0) && (_root.minu > 0)) {
_root.sec = 59;
_root.minu = _root.minu - 1;
}
}
onClipEvent (enterFrame) {
if (((this._currentframe == 2) && (_root.sec == 0)) && (_root.minu == 0)) {
this.gotoAndStop(3);
_root.sound = new Sound(this);
_root.sound.attachSound("win");
_root.sound.start(0, 1);
_root.victory = true;
_root.fin.gotoAndPlay(2);
}
if ((this._currentframe == 2) && (_root.cap2.holo == 200)) {
this.gotoAndStop(4);
_root.sound = new Sound(this);
_root.sound.attachSound("lost");
_root.sound.start(0, 1);
_root.menuB = 0;
_parent.bul._visible = false;
_parent.cp._visible = false;
_root.sen.dragg = false;
_root.dis.dragg = false;
_root.ent1.dragg = false;
_root.sen._x = -85.2;
_root.sen._y = 223.6;
_root.ent1._x = -85.2;
_root.ent1._y = 223.6;
_root.dis._x = -85.2;
_root.dis._y = 223.6;
_root.bild = 0;
_root.menuB = 0;
_root.camFrame.bul.gotoAndStop(1);
_root.victory = false;
_root.fin.gotoAndPlay(2);
}
}
Instance of Symbol 810 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((((_root.ach1 == 0) && (Sdeaths == 0)) && (_root.doneSE == true)) && (_root.map == 2)) && (_root.camFrame.timer._currentframe == 3)) {
this.ach.gotoAndStop(1);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach1 = 1;
}
if ((((_root.ach2 == 0) && (_root.map == 1)) && (_root.cap1.holo < 200)) && (_root.camFrame.timer._currentframe == 3)) {
this.ach.gotoAndStop(2);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach2 = 1;
}
if ((((_root.ach3 == 0) && (_root.map == 3)) && (_root.cap1.holo < 200)) && (_root.camFrame.timer._currentframe == 3)) {
this.ach.gotoAndStop(3);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach3 = 1;
}
if ((_root.ach4 == 0) && (_root.pointsR == 20)) {
this.ach.gotoAndStop(4);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach4 = 1;
}
if ((_root.ach5 == 0) && (_root.SNIPkil >= 25)) {
this.ach.gotoAndStop(5);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach5 = 1;
}
if ((_root.ach6 == 0) && (_root.SOLDkil >= 50)) {
this.ach.gotoAndStop(6);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach6 = 1;
}
if ((_root.ach7 == 0) && (_root.SCOkil >= 75)) {
this.ach.gotoAndStop(7);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach7 = 1;
}
if ((_root.ach8 == 0) && (_root.SPYkil >= 100)) {
this.ach.gotoAndStop(7);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach8 = 1;
}
if ((_root.ach8 == 0) && (points > 9000)) {
this.ach.gotoAndStop(7);
this.gotoAndPlay(2);
_root.sound = new Sound(this);
_root.sound.attachSound("achdone");
_root.sound.start();
_root.ach8 = 1;
}
}