Frame 1
stop();
function dopplerEffect(tT, tS, balence) {
diffx = balence - tT._x;
offsetL = (-5E-5 * ((diffx * diffx) + 200)) + 100;
offsetR = (-5E-5 * ((diffx * diffx) - 750)) + 100;
if (0 < offsetL) {
offL = offsetL;
} else {
offL = 0;
}
if (0 < offsetR) {
offR = offsetR;
} else {
offR = 0;
}
mySoundTransformObject = new Object();
mySoundTransformObject.ll = offL;
mySoundTransformObject.lr = 0;
mySoundTransformObject.rr = offR;
mySoundTransformObject.rl = 0;
tS.setTransform(mySoundTransformObject);
}
cheatF420 = "locked";
cheatAlienDude = "locked";
cheatMoonGravity = "locked";
cheatMoreEnemy = "locked";
cheatStrongArmor = "locked";
codeF420 = "no";
codeAlienDude = "no";
codeMoonGravity = "no";
codeMoreEnemy = "no";
codeStrongArmor = "no";
Instance of Symbol 582 MovieClip in Frame 2
onClipEvent (enterFrame) {
tellTarget (_root) {
if (codeMoreEnemy == "yes") {
cEnemy = 2;
} else {
cEnemy = 1;
}
if (codeF420 == "yes") {
cF420 = "yes";
} else {
cF420 = "no";
}
if (codeAlienDude == "yes") {
cAlienDude = "yes";
} else {
cAlienDude = "no";
}
if (codeMoonGravity == "yes") {
cGravity = 0.4;
} else {
cGravity = 1;
}
if (codeStrongArmor == "yes") {
cArmor = 0.1;
} else {
cArmor = 1;
}
};
}
Frame 17
stop();
codeISuck = "no";
training = "no";
shells = "ex";
sky = "day";
land = "dullSand";
Mouse.show();
Frame 329
Mouse.show();
Frame 489
Mouse.show();
stop();
paused = "yes";
levN = "Level 1";
levC = "LEVEL1";
mission = 1;
Instance of Symbol 879 MovieClip in Frame 489
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 490
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
orders = "Find out what caused the sensor to go off.";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
mission = 1;
sky = "dawn";
land = "dullSand";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 490
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 490
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 490
onClipEvent (load) {
this._visible = 0;
}
Frame 491
gotoAndPlay (2);
Frame 492
Mouse.show();
Instance of Symbol 114 MovieClip in Frame 518
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + _parent._parent._parent._parent.xspeed;
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Instance of Symbol 114 MovieClip in Frame 520
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + _parent._parent._parent._parent.xspeed;
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Frame 687
Mouse.show();
paused = "yes";
mission = 7;
levN = "Level 2";
levC = "WKJLDSFNKG";
stop();
Instance of Symbol 879 MovieClip in Frame 687
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 688
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
orders = "";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "day";
land = "lightSand";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 688
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 688
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 688
onClipEvent (load) {
this._visible = 0;
}
Frame 689
gotoAndPlay (2);
Frame 690
Mouse.show();
Instance of Symbol 103 MovieClip in Frame 765
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Frame 925
Mouse.show();
paused = "yes";
levN = "Level 3";
levC = "OKOFOWOLON";
stop();
mission = 13;
Instance of Symbol 879 MovieClip in Frame 925
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 926
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
alien7Num = 0;
alien7Max = 0;
alien7A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
orders = "";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "night";
land = "dullSand";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 926
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 926
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 926
onClipEvent (load) {
this._visible = 0;
}
Frame 927
gotoAndPlay (2);
Frame 928
Mouse.show();
Frame 1059
Mouse.show();
stop();
paused = "yes";
levN = "Level 3";
levC = "OKOFOWOLON";
mission = 16;
Instance of Symbol 879 MovieClip in Frame 1059
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 1060
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
aRight = "yes";
aLeft = "yes";
orders = "";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "day";
land = "dullSand";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if ((0 < tT.xspeed) && (_root.aLeft == "no")) {
tT.xspeed = tT.xspeed * -0.2;
} else if ((tT.xspeed < 0) && (_root.aRight == "no")) {
tT.xspeed = tT.xspeed * -0.2;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if ((tT.xspeed < max) && (_root.aLeft != "no")) {
tT.xspeed = tT.xspeed + accel;
} else if (_root.aLeft == "no") {
tT.xspeed = tT.xspeed * -0.1;
}
if ((max < tT.xspeed) && (_root.aLeft != "no")) {
tT.xspeed = max;
} else if (_root.aLeft == "no") {
tT.xspeed = tT.xspeed * -0.1;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if (((-max) < tT.xspeed) && (_root.aRight != "no")) {
tT.xspeed = tT.xspeed - accel;
} else if (_root.aRight == "no") {
tT.xspeed = 0;
}
if ((tT.xspeed < (-max)) && (_root.aRight != "no")) {
tT.xspeed = -max;
} else if (_root.aRight == "no") {
tT.xspeed = 0;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 1060
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 1060
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 1060
onClipEvent (load) {
this._visible = 0;
}
Frame 1061
gotoAndPlay (2);
Frame 1062
Mouse.show();
Frame 1252
Mouse.show();
paused = "yes";
levN = "Level 4";
levC = "PQRNVLAHGD";
stop();
mission = 18;
Instance of Symbol 879 MovieClip in Frame 1252
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 1253
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
aRight = "yes";
aLeft = "yes";
orders = "";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "blueSet";
land = "snow";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
tT.dust2._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT.dust2._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
tT.dust2._visible = 0;
}
if ((0 < tT.xspeed) && (_root.aLeft == "no")) {
tT.xspeed = tT.xspeed * -0.2;
} else if ((tT.xspeed < 0) && (_root.aRight == "no")) {
tT.xspeed = tT.xspeed * -0.2;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if ((tT.xspeed < max) && (_root.aLeft != "no")) {
tT.xspeed = tT.xspeed + accel;
} else if (_root.aLeft == "no") {
tT.xspeed = tT.xspeed * -0.1;
}
if ((max < tT.xspeed) && (_root.aLeft != "no")) {
tT.xspeed = max;
} else if (_root.aLeft == "no") {
tT.xspeed = tT.xspeed * -0.1;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if (((-max) < tT.xspeed) && (_root.aRight != "no")) {
tT.xspeed = tT.xspeed - accel;
} else if (_root.aRight == "no") {
tT.xspeed = 0;
}
if ((tT.xspeed < (-max)) && (_root.aRight != "no")) {
tT.xspeed = -max;
} else if (_root.aRight == "no") {
tT.xspeed = 0;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 1253
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 1253
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 1253
onClipEvent (load) {
this._visible = 0;
}
Frame 1254
gotoAndPlay (2);
Frame 1255
Mouse.show();
Frame 1313
Mouse.show();
paused = "yes";
levN = "Level 5";
levC = "ITYWNBAORN";
stop();
stopAllSounds();
mission = 23;
Instance of Symbol 879 MovieClip in Frame 1313
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 1314
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
orders = "";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "day";
land = "lightSand";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 1314
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 1314
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 1314
onClipEvent (load) {
this._visible = 0;
}
Frame 1315
gotoAndPlay (2);
Frame 1316
Mouse.show();
Frame 1459
Mouse.show();
stop();
paused = "yes";
mission = 27;
levN = "Level 6";
levC = "NGWERNGLPG";
stopAllSounds();
Instance of Symbol 879 MovieClip in Frame 1459
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 1460
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
orders = "";
moon = "yes";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "dawn";
land = "moon";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 1460
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 1460
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 1460
onClipEvent (load) {
this._visible = 0;
}
Frame 1461
gotoAndPlay (2);
Frame 1462
Mouse.show();
Frame 1774
Mouse.show();
paused = "yes";
mission = 30;
levN = "Level 7";
levC = "QONGALCHNZ";
stop();
Instance of Symbol 879 MovieClip in Frame 1774
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 1775
stop();
alien1Num = 0;
alien1Max = 0;
alien1A = 0;
alien2Num = 0;
alien2Max = 0;
alien2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
paused = "no";
allx = 0;
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
aRight = "yes";
aLeft = "yes";
orders = "";
moon = "yes";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
sky = "dawn";
land = "dirt";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if ((0 < tT.xspeed) && (_root.aLeft == "no")) {
tT.xspeed = tT.xspeed * -0.2;
} else if ((tT.xspeed < 0) && (_root.aRight == "no")) {
tT.xspeed = tT.xspeed * -0.2;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if ((tT.xspeed < max) && (_root.aLeft != "no")) {
tT.xspeed = tT.xspeed + accel;
} else if (_root.aLeft == "no") {
tT.xspeed = tT.xspeed * -0.1;
}
if ((max < tT.xspeed) && (_root.aLeft != "no")) {
tT.xspeed = max;
} else if (_root.aLeft == "no") {
tT.xspeed = tT.xspeed * -0.1;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if (((-max) < tT.xspeed) && (_root.aRight != "no")) {
tT.xspeed = tT.xspeed - accel;
} else if (_root.aRight == "no") {
tT.xspeed = 0;
}
if ((tT.xspeed < (-max)) && (_root.aRight != "no")) {
tT.xspeed = -max;
} else if (_root.aRight == "no") {
tT.xspeed = 0;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 1775
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 1775
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 1775
onClipEvent (load) {
this._visible = 0;
}
Frame 1776
gotoAndPlay (2);
Frame 1777
cheatNow == "yes";
Frame 2088
gotoAndPlay (2);
Frame 2089
Mouse.show();
paused = "yes";
mission = 1;
training = "yes";
stop();
roundover = "no";
round = "";
roundnum = 0;
ready = "no";
roundkills = "";
target1 = 0;
tag1Num = 0;
tag1Max = 0;
tag1A = 0;
tag2Num = 0;
tag2Max = 0;
tag2A = 0;
alien3Num = 0;
alien3Max = 0;
alien3A = 0;
alien4Num = 0;
alien4Max = 0;
alien4A = 0;
alien5Num = 0;
alien5Max = 0;
alien5A = 0;
Instance of Symbol 879 MovieClip in Frame 2089
onClipEvent (enterFrame) {
tellTarget (_root) {
if (paused == "no") {
nextFrame();
}
};
}
Frame 2090
stop();
paused = "no";
allx = 0;
shells = "non-ex";
carry = "no";
para = "no";
para2 = "no";
ladderOn = "no";
vehicleIn = "no";
vehicle = "On Foot";
hostile = "yes";
cloak = "no";
health = 100;
nightVision = "no";
orders = "Test Grounds";
moon = "no";
numObj = 0;
jump = 0;
ladder = 0;
gps = 0;
mission = 1;
sky = sky;
land = "dullSand";
function movement(tT, max, accel) {
if (tT.fly == "yes") {
} else if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.3));
} else {
tT.dust._visible = 0;
}
if (tT.control == "human") {
_root.speed = Math.abs(tT.xspeed);
if ((Key.isDown(Key.LEFT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(65) && (tT._y >= (tT.ground - 4)))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((Key.isDown(Key.RIGHT) && (tT._y >= (tT.ground - 4))) || (Key.isDown(68) && (tT._y >= (tT.ground - 4)))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
_root.e._x = _root.e._x + tT.xspeed;
} else {
if ((tT.xmotion == "left") && (tT._y >= (tT.ground - 4))) {
if (tT.xspeed < max) {
tT.xspeed = tT.xspeed + accel;
}
if (max < tT.xspeed) {
tT.xspeed = max;
}
} else if ((tT.xmotion == "right") && (tT._y >= (tT.ground - 4))) {
if ((-max) < tT.xspeed) {
tT.xspeed = tT.xspeed - accel;
}
if (tT.xspeed < (-max)) {
tT.xspeed = -max;
}
} else {
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
tT._x = tT._x - tT.xspeed;
terrain = 1;
if (tT._y >= (tT.ground - 10)) {
if (0 < tT.xspeed) {
if (0 < (tT.xspeed - terrain)) {
tT.xspeed = tT.xspeed - terrain;
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
} else if ((tT.xspeed < 0) && (tT._y >= (tT.ground - 4))) {
if ((tT.xspeed + terrain) < 0) {
tT.xspeed = tT.xspeed + terrain;
} else {
tT.xspeed = 0;
}
} else if (1 >= Math.abs(tT.xspeed)) {
tT.xspeed = 0;
}
}
}
}
function inOut(tT) {
if (tT.hitTest(_root.e.build.repair) && (tT.health < 100)) {
tT.health = tT.health + 0.05;
}
if (tT.manned == "yes") {
tT.dude._visible = 1;
} else {
tT.dude._visible = 0;
}
if (tT.control == "human") {
_root.health = tT.health;
if (tT.sationary != "yes") {
tT._x = 275 - _root.e._x;
}
}
if (tT.control != "cpu") {
if (tT.fly == "yes") {
if (((((_root.para == "no") && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if (((Key.getCode() == 40) && (tT.control == "human")) || ((Key.getCode() == 83) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
} else {
if (((((((_root.para == "no") && (tT.hitTest(_root.e.s0))) && (tT.carry != "yes")) && (tT.hitTest(_root._xmouse, _root._ymouse, true))) && ((260 - _root.e._x) < tT._x)) && (tT._x < (305 - _root.e._x))) && (_root.vehicleIn == "no")) {
tT.control = "human";
tT.manned = "yes";
_root.vehicleIn = "yes";
}
if ((((Key.getCode() == 40) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human")) || (((Key.getCode() == 83) && (Math.abs(_root.xSpeed) == 0)) && (tT.control == "human"))) {
tT.manned = "no";
tT.control = "none";
_root.vehicleIn = "no";
}
}
}
}
function terrain(tT) {
if (tT.xspeed == 0) {
tT.dust._visible = 0;
} else if (tT._y >= (tT.ground - 5)) {
tT.dust._visible = 1;
tT._rotation = tT._rotation + random(Math.abs(tT.xspeed * 0.5));
} else {
tT.dust._visible = 0;
}
}
function RotateWithMouse(tT, howFar, isThis, least, most) {
if (isThis == "yes") {
var i = 0;
while (i < howFar) {
if ((0 < tT._ymouse) && (tT.count < most)) {
tT._rotation = tT._rotation + 0.1;
tT.count = tT.count + 0.1;
} else if ((0 < tT._ymouse) && (most == "inf")) {
tT._rotation = tT._rotation + 0.1;
}
if ((tT._ymouse < 0) && (least < tT.count)) {
tT._rotation = tT._rotation - 0.1;
tT.count = tT.count - 0.1;
} else if ((tT._ymouse < 0) && (most == "inf")) {
tT._rotation = tT._rotation - 0.1;
}
i++;
}
}
}
function hitCordinate(tT, tT2, hyp, offx, offy, noMove, another, tT3) {
newx = Math.cos(tT2._rotation * (Math.PI/180)) * hyp;
newy = Math.sin(tT2._rotation * (Math.PI/180)) * hyp;
if (another == "yes") {
tT3.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT3.hity = (newy + tT._y) - offy;
} else {
tT.hitx = (((newx + tT._x) + offx) + _root.e._x) - noMove;
tT.hity = (newy + tT._y) - offy;
}
}
function pTheorem(tT, tT2, offx, offy, another, tT3) {
diffx = (tT._x - tT2._x) - offx;
diffy = (tT2._y - tT._y) - offy;
if (another == "yes") {
tT3.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
} else {
tT2.distance = Math.sqrt((diffx * diffx) + (diffy * diffy));
}
}
function RotateWithTarget(tT, howFar, isThis, least, most, tT2, tT3, offx, offy) {
if (isThis == "yes") {
slope1 = Math.atan2((tT3._y - offy) - tT2._y, (tT2._x + offx) - tT3._x) / (Math.PI/180);
if (slope1 < -90) {
slope = 360 + slope1;
} else {
slope = slope1;
}
if ((tT.count < (-slope)) && (tT.count < most)) {
if ((tT.count + howFar) < (-slope)) {
tT._rotation = tT._rotation + howFar;
tT.count = tT.count + howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
if (((-slope) < tT.count) && (least < tT.count)) {
if ((-slope) < (tT.count - howFar)) {
tT._rotation = tT._rotation - howFar;
tT.count = tT.count - howFar;
} else {
tT._rotation = -slope;
tT.count = -slope;
}
}
}
}
function nightFunction(tT) {
myColor = new Color(tT);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 50;
myColorTransform.gb = 50;
myColorTransform.bb = 50;
} else if ((_root.nightVision == "no") && (_root.sky == "night")) {
myColorTransform.ra = 5;
myColorTransform.ga = 5;
myColorTransform.ba = 5;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else if ((_root.nightVision == "no") && (_root.sky == "dawn")) {
myColorTransform.ra = 50;
myColorTransform.ga = 50;
myColorTransform.ba = 50;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
} else {
myColorTransform.ra = 100;
myColorTransform.ga = 100;
myColorTransform.ba = 100;
myColorTransform.rb = 0;
myColorTransform.gb = 0;
myColorTransform.bb = 0;
}
myColor.setTransform(myColorTransform);
}
function killFunction(tT, damage) {
if (tT.hitTest(_root.e.s11)) {
_root.e.s11.health = _root.e.s11.health - (_root.e.s11.armor * damage);
}
if (tT.hitTest(_root.e.s12)) {
_root.e.s12.health = _root.e.s12.health - (_root.e.s12.armor * damage);
}
if (tT.hitTest(_root.e.s13)) {
_root.e.s13.health = _root.e.s13.health - (_root.e.s13.armor * damage);
}
if (tT.hitTest(_root.e.s14)) {
_root.e.s14.health = _root.e.s14.health - (_root.e.s14.armor * damage);
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
if (tT.hitTest(_root.e.s18)) {
_root.e.s18.health = _root.e.s18.health - (_root.e.s18.armor * damage);
}
if (tT.hitTest(_root.e.s19)) {
_root.e.s19.health = _root.e.s19.health - (_root.e.s19.armor * damage);
}
if (tT.hitTest(_root.e.s20)) {
_root.e.s20.health = _root.e.s20.health - (_root.e.s20.armor * damage);
}
if (tT.hitTest(_root.e.s21)) {
_root.e.s21.health = _root.e.s21.health - (_root.e.s21.armor * damage);
}
if (tT.hitTest(_root.e.s22)) {
_root.e.s22.health = _root.e.s22.health - (_root.e.s22.armor * damage);
}
if (tT.hitTest(_root.e.s23)) {
_root.e.s23.health = _root.e.s23.health - (_root.e.s23.armor * damage);
}
if (tT.hitTest(_root.e.s24)) {
_root.e.s24.health = _root.e.s24.health - (_root.e.s24.armor * damage);
}
if (tT.hitTest(_root.e.s25)) {
_root.e.s25.health = _root.e.s25.health - (_root.e.s25.armor * damage);
}
if (tT.hitTest(_root.e.s26)) {
_root.e.s26.health = _root.e.s26.health - (_root.e.s26.armor * damage);
}
if (tT.hitTest(_root.e.s27)) {
_root.e.s27.health = _root.e.s27.health - (_root.e.s27.armor * damage);
}
if (tT.hitTest(_root.e.s28)) {
_root.e.s28.health = _root.e.s28.health - (_root.e.s28.armor * damage);
}
if (tT.hitTest(_root.e.s29)) {
_root.e.s29.health = _root.e.s29.health - (_root.e.s29.armor * damage);
}
if (tT.hitTest(_root.e.s30)) {
_root.e.s30.health = _root.e.s30.health - (_root.e.s30.armor * damage);
}
if (tT.hitTest(_root.e.s31)) {
_root.e.s31.health = _root.e.s31.health - (_root.e.s31.armor * damage);
}
if (tT.hitTest(_root.e.s32)) {
_root.e.s32.health = _root.e.s32.health - (_root.e.s32.armor * damage);
}
if (tT.hitTest(_root.e.s33)) {
_root.e.s33.health = _root.e.s33.health - (_root.e.s33.armor * damage);
}
if (tT.hitTest(_root.e.s34)) {
_root.e.s34.health = _root.e.s34.health - (_root.e.s34.armor * damage);
}
}
function forgetThisForNow() {
if (tT.hitTest(_root.e.s1)) {
_root.e.s1.health = _root.e.s1.health - (_root.e.s1.armor * damage);
}
if (tT.hitTest(_root.e.s2)) {
_root.e.s2.health = _root.e.s2.health - (_root.e.s2.armor * damage);
}
if (tT.hitTest(_root.e.s3)) {
_root.e.s3.health = _root.e.s3.health - (_root.e.s3.armor * damage);
}
if (tT.hitTest(_root.e.s4)) {
_root.e.s4.health = _root.e.s4.health - (_root.e.s4.armor * damage);
}
if (tT.hitTest(_root.e.s5)) {
_root.e.s5.health = _root.e.s5.health - (_root.e.s5.armor * damage);
}
if (tT.hitTest(_root.e.s6)) {
_root.e.s6.health = _root.e.s6.health - (_root.e.s6.armor * damage);
}
if (tT.hitTest(_root.e.s7)) {
_root.e.s7.health = _root.e.s7.health - (_root.e.s7.armor * damage);
}
if (tT.hitTest(_root.e.s8)) {
_root.e.s8.health = _root.e.s8.health - (_root.e.s8.armor * damage);
}
if (tT.hitTest(_root.e.s9)) {
_root.e.s9.health = _root.e.s9.health - (_root.e.s9.armor * damage);
}
if (tT.hitTest(_root.e.s10)) {
_root.e.s10.health = _root.e.s10.health - (_root.e.s10.armor * damage);
}
while (toggleHighQuality() , eval (-1 lt "t") < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(tT)) {
Set(eval ("_root.e.s" + t) + ".health", eval (eval ("_root.e.s" + t) + ".health") - (eval (eval ("_root.e.s" + t) + ".armor") * damage));
}
t++;
}
}
function gravity(tT, bounce, tT2) {
find = "no";
ground = 298;
if (tT2.hitTest(_root.e.j0.ha)) {
find = "yes";
if (_root.e.j0.h < ground) {
ground = _root.e.j0.h;
}
} else if (tT2.hitTest(_root.e.j1.ha)) {
find = "yes";
if (_root.e.j1.h < ground) {
ground = _root.e.j1.h;
}
} else if (tT2.hitTest(_root.e.j2.ha)) {
find = "yes";
if (_root.e.j2.h < ground) {
ground = _root.e.j2.h;
}
} else if (tT2.hitTest(_root.e.j3.ha)) {
find = "yes";
if (_root.e.j3.h < ground) {
ground = _root.e.j3.h;
}
} else if (tT2.hitTest(_root.e.j4.ha)) {
find = "yes";
if (_root.e.j4.h < ground) {
ground = _root.e.j4.h;
}
} else if (tT2.hitTest(_root.e.j5.ha)) {
find = "yes";
if (_root.e.j5.h < ground) {
ground = _root.e.j5.h;
}
} else if (tT2.hitTest(_root.e.j6.ha)) {
find = "yes";
if (_root.e.j6.h < ground) {
ground = _root.e.j6.h;
}
} else if (tT2.hitTest(_root.e.j7.ha)) {
find = "yes";
if (_root.e.j7.h < ground) {
ground = _root.e.j7.h;
}
} else if (tT2.hitTest(_root.e.j8.ha)) {
find = "yes";
if (_root.e.j8.h < ground) {
ground = _root.e.j8.h;
}
} else if (tT2.hitTest(_root.e.j9.ha)) {
find = "yes";
if (_root.e.j9.h < ground) {
ground = _root.e.j9.h;
}
} else if (tT2.hitTest(_root.e.j10.ha)) {
find = "yes";
if (_root.e.j10.h < ground) {
ground = _root.e.j10.h;
}
} else if (tT2.hitTest(_root.e.j11.ha)) {
find = "yes";
if (_root.e.j11.h < ground) {
ground = _root.e.j11.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j12.ha)) {
find = "yes";
if (_root.e.j12.h < ground) {
ground = _root.e.j12.h;
}
} else if (tT2.hitTest(_root.e.j13.ha)) {
find = "yes";
if (_root.e.j13.h < ground) {
ground = _root.e.j13.h;
}
} else if (tT2.hitTest(_root.e.j14.ha)) {
find = "yes";
if (_root.e.j14.h < ground) {
ground = _root.e.j14.h;
}
} else if (tT2.hitTest(_root.e.j15.ha)) {
find = "yes";
if (_root.e.j15.h < ground) {
ground = _root.e.j15.h;
}
} else if (tT2.hitTest(_root.e.j16.ha)) {
find = "yes";
if (_root.e.j16.h < ground) {
ground = _root.e.j16.h;
}
} else if (tT2.hitTest(_root.e.j17.ha)) {
find = "yes";
if (_root.e.j17.h < ground) {
ground = _root.e.j17.h;
}
}
tT.ground = ground;
if ((tT.carry == "no") && (ground >= tT._y)) {
if (_root.moon == "no") {
if ((_root.para2 == "yes") && (tT.vehicle == "On Foot")) {
tT.yspeed = 1.5;
} else {
tT.yspeed = tT.yspeed + (1.98 * cGravity);
}
} else {
tT.yspeed = tT.yspeed + 0.5;
}
if ((tT._y + tT.yspeed) < ground) {
tT._y = tT._y + tT.yspeed;
} else if (ground < (tT._y + tT.yspeed)) {
tT.yspeed = (-tT.yspeed) * bounce;
tT._y = ground;
setProperty(tT, _rotation , (-tT._rotation) * 0.5);
if ((Math.abs(tT.yspeed) < 0.4) && (0 < tT.yspeed)) {
tT._y = ground;
tT.yspeed = 0;
}
}
}
if (ground < tT._y) {
if (0 < tT.xspeed) {
tT._rotation = tT._y - ground;
} else if (tT.xspeed < 0) {
tT._rotation = -(tT._y - ground);
}
tT.yspeed = tT.yspeed - ((Math.abs(tT.xspeed * 0.36) * bounce) + ((tT._y - ground) * 0.2));
tT._y = ground;
}
}
t = 0;
while (t < _root.jump) {
if (eval (("_root.e.j" + t) + ".ha").hitTest(tT2)) {
if (eval ("_root.e.j" + t).h < ground) {
ground = eval ("_root.e.j" + t).h;
}
find = "yes";
}
if (find == "no") {
ground = 298;
}
t++;
}
Instance of Symbol 1235 MovieClip in Frame 2090
onClipEvent (enterFrame) {
tellTarget (_parent) {
myColor = new Color(e);
myColorTransform = new Object();
if (nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
if ((((_root._ymouse < 320) && (10 < _root._ymouse)) && (_root.paused == "no")) && (0 < _root.health)) {
Mouse.hide();
} else {
Mouse.show();
}
};
}
Instance of Symbol 1242 MovieClip "red" in Frame 2090
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (0 >= _root.e.s0.health) {
this.gotoAndStop(1);
}
}
Instance of Symbol 1247 MovieClip "red2" in Frame 2090
onClipEvent (load) {
this._visible = 0;
}
Frame 2091
gotoAndPlay (2);
Symbol 19 MovieClip Frame 6
gotoAndPlay (1);
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
_rotation = (_rotation + _parent._parent.xspeed);
};
}
Instance of Symbol 24 MovieClip in Symbol 26 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
_rotation = (_rotation + _parent._parent.xspeed);
};
}
Symbol 33 MovieClip Frame 5
gotoAndPlay(random(4));
Instance of Symbol 34 MovieClip in Symbol 35 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 44 MovieClip Frame 1
stop();
_parent.ammo = 4;
_parent.ready = "no";
Instance of Symbol 41 MovieClip in Symbol 44 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent.mload == "yes") {
play();
}
};
}
Symbol 44 MovieClip Frame 14
_parent.shot = "no";
Symbol 44 MovieClip Frame 15
stop();
_parent.ready = "yes";
Instance of Symbol 42 MovieClip "mh" in Symbol 44 MovieClip Frame 15
onClipEvent (load) {
this._rotation = 0;
this.count = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent._parent.control == "human") {
_root.RotateWithTarget(this, 10, _parent._parent.mload, -185, 5, _root.e.t, _parent._parent, 20, 25);
} else if (_parent._parent.control == "cpu") {
_root.RotateWithTarget(this, 10, _parent._parent.mload, -185, 5, _parent._parent.lockt, _parent._parent, 20, 25);
}
}
}
Instance of Symbol 43 MovieClip in Symbol 44 MovieClip Frame 15
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((_parent.mload == "no") && (mh._rotation < 1)) && (-1 < mh._rotation)) {
play();
} else if (((_parent.mload == "no") && (0 < mh._rotation)) && (90 >= mh._rotation)) {
if (0 < (mh._rotation - 10)) {
mh._rotation = mh._rotation - 10;
} else {
mh._rotation = 0;
}
} else if (((_parent.mload == "no") && (mh._rotation < 0)) && (mh._rotation >= -180)) {
if ((mh._rotation + 10) < 0) {
mh._rotation = mh._rotation + 10;
} else {
mh._rotation = 0;
}
} else if (((_parent.mload == "no") && (90 < mh._rotation)) && (180 >= mh._rotation)) {
if (0 < (mh._rotation + 10)) {
mh._rotation = mh._rotation + 10;
} else {
mh._rotation = 0;
}
}
};
}
Symbol 44 MovieClip Frame 16
_parent.ready = "no";
Symbol 56 Button
on (release) {
_root.e.s2.pickup = "yes";
_root.pick = eval ("_root.e." + _parent._name);
}
Instance of Symbol 57 MovieClip in Symbol 58 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if ((_root.vehicle == "Carrier") && (_root.carry == "no")) {
_visible = 1;
} else {
_visible = 0;
}
};
}
Symbol 62 MovieClip Frame 1
stop();
Instance of Symbol 60 MovieClip in Symbol 62 MovieClip Frame 1
onClipEvent (load) {
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_rotation = (-_parent._parent._rotation);
if (_parent._parent.rolled == "yes") {
_alpha = 100;
} else if (0 < _alpha) {
_alpha = (_alpha - 1);
}
if (_parent._parent.hostile == "friend") {
gotoAndStop (1);
} else if (_parent._parent.hostile == "yes") {
gotoAndStop (2);
}
};
}
Symbol 63 MovieClip Frame 15
gotoAndPlay (1);
Instance of Symbol 34 MovieClip in Symbol 64 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 85 MovieClip Frame 5
gotoAndPlay(random(3));
Symbol 90 MovieClip [m] Frame 1
stop();
Instance of Symbol 12 MovieClip "as" in Symbol 90 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 20, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, -30, 25);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "yes") {
if (0 >= ammo) {
mload = "no";
} else if (0 < ammo) {
mload = "yes";
}
} else if (manned == "no") {
mload = "no";
ammo = 4;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Missile Launcher";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 150) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 150)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (((0 < ammo) && (ready == "yes")) && (shot == "go")) {
ammo = ammo - 1;
if ((ammo == 1) || (ammo == 3)) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x - 15);
setProperty("_parent.tmiss" + _root.i, _y , _y - 24);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
} else {
_parent.attachMovie("bmiss", "bmiss" + _root.i, _root.i++);
setProperty("_parent.bmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.bmiss" + _root.i, _x , _x - 15);
setProperty("_parent.bmiss" + _root.i, _y , _y - 24);
Set(("_parent.bmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.bmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.bmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.bmiss" + _root.i) + ".xspeed", xspeed);
}
shot = "no";
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
xspeed = 0;
ammo = 4;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 90 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 21 MovieClip in Symbol 90 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.land == "snow") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 90 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 90 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 44 MovieClip "lh" in Symbol 90 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 46 MovieClip in Symbol 90 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 90 MovieClip [m] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 90 MovieClip [m] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 90 MovieClip [m] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 90 MovieClip [m] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 90 MovieClip [m] Frame 10
stop();
Instance of Symbol 103 MovieClip in Symbol 104 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 107 MovieClip in Symbol 114 MovieClip Frame 2
onClipEvent (load) {
_root.killFunction(_parent, 50);
}
Instance of Symbol 113 MovieClip in Symbol 114 MovieClip Frame 7
onClipEvent (load) {
_parent._parent._parent.removeMovieClip();
}
Symbol 114 MovieClip Frame 8
stop();
Symbol 115 MovieClip [missle] Frame 1
stop();
Instance of Symbol 101 MovieClip in Symbol 115 MovieClip [missle] Frame 1
onClipEvent (load) {
myS2 = new Sound(this);
myS2.attachSound("missle launch");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS2, 0);
}
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip [missle] Frame 2
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + _parent._parent._parent._parent.xspeed;
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Symbol 122 MovieClip Frame 6
stop();
Symbol 123 MovieClip [missle] Frame 1
stop();
Instance of Symbol 101 MovieClip in Symbol 123 MovieClip [missle] Frame 1
onClipEvent (load) {
myS2 = new Sound(this);
myS2.attachSound("missle launch");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS2, 0);
}
Instance of Symbol 114 MovieClip in Symbol 123 MovieClip [missle] Frame 2
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + _parent._parent._parent._parent.xspeed;
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Instance of Symbol 123 MovieClip [missle] in Symbol 124 MovieClip [bmiss] Frame 1
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - _parent.xspeed;
if (this._x < _parent.targetzone) {
if ((this._x + speed) < _parent.targetzone) {
this._x = this._x + speed;
speed = speed + 2.5;
} else {
this._x = _parent.targetzone;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 123 MovieClip [missle] in Symbol 125 MovieClip [tmiss] Frame 1
onClipEvent (load) {
speed = 0;
}
onClipEvent (enterFrame) {
_parent._x = _parent._x - _parent.xspeed;
if (this._x < _parent.targetzone) {
if ((this._x + speed) < _parent.targetzone) {
this._x = this._x + speed;
speed = speed + 2.5;
} else {
this._x = _parent.targetzone;
this.gotoAndStop(2);
}
}
}
Instance of Symbol 131 MovieClip in Symbol 132 MovieClip Frame 7
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Symbol 144 MovieClip Frame 1
stop();
Instance of Symbol 139 MovieClip in Symbol 144 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Symbol 149 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 149 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 149 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 161 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 135 MovieClip in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 120) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 120)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 137 MovieClip in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 144 MovieClip "mh" in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 4, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 149 MovieClip "gun" in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.manned == "yes") {
_root.pTheorem(_parent.lockt2, _parent, 0, 0, "yes", this);
_root.hitCordinate(_parent, this, this.distance, 0, 0, 0, "yes", this);
tellTarget (_parent) {
if ((shot2 == "go") && (0 < ammo2)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , this.hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , this.hity - 20);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
this.play();
ammo2 = ammo2 - 1;
} else if (0 >= ammo2) {
reload2 = reload2 + 1;
}
if (20 < reload2) {
ammo2 = 24;
reload2 = 0;
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt2 = _root.e.s11;
shot2 = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt2 = _root.e.s12;
shot2 = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt2 = _root.e.s13;
shot2 = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt2 = _root.e.s14;
shot2 = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt2 = _root.e.s18;
shot2 = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt2 = _root.e.s19;
shot2 = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt2 = _root.e.s20;
shot2 = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt2 = _root.e.s21;
shot2 = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt2 = _root.e.s22;
shot2 = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt2 = _root.e.s23;
shot2 = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt2 = _root.e.s26;
shot2 = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt2 = _root.e.s27;
shot2 = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt2 = _root.e.s28;
shot2 = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt2 = _root.e.s24;
shot2 = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt2 = _root.e.s25;
shot2 = "go";
} else {
lockt2 = "none";
shot2 = "no";
}
};
}
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 20);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 0);
}
}
}
onClipEvent (load) {
_parent.ammo2 = 24;
}
Instance of Symbol 151 MovieClip in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 153 MovieClip in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 161 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 161 MovieClip [heavy] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 161 MovieClip [heavy] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 161 MovieClip [heavy] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 161 MovieClip [heavy] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 161 MovieClip [heavy] Frame 10
stop();
Symbol 164 MovieClip Frame 1
stop();
Instance of Symbol 139 MovieClip in Symbol 164 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Symbol 175 MovieClip [light] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 175 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 175 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 175 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 163 MovieClip in Symbol 175 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 164 MovieClip "mh" in Symbol 175 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 5, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 166 MovieClip in Symbol 175 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 167 MovieClip in Symbol 175 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 2);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Light Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 170) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 170)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 1 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 2;
carry = "no";
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 175 MovieClip [light] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 175 MovieClip [light] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 175 MovieClip [light] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 175 MovieClip [light] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 175 MovieClip [light] Frame 10
stop();
Instance of Symbol 179 MovieClip in Symbol 183 MovieClip Frame 2
onClipEvent (load) {
_root.killFunction(_parent, 1);
}
Instance of Symbol 131 MovieClip in Symbol 183 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Instance of Symbol 183 MovieClip in Symbol 184 MovieClip [shellex2] Frame 1
onClipEvent (enterFrame) {
myColor = new Color(this);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
}
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("sShell");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Instance of Symbol 186 MovieClip in Symbol 188 MovieClip Frame 2
onClipEvent (load) {
_root.killFunction(_parent, 25);
}
Instance of Symbol 131 MovieClip in Symbol 188 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Instance of Symbol 188 MovieClip in Symbol 189 MovieClip [shellex3] Frame 1
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("shell explode 1");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Instance of Symbol 191 MovieClip in Symbol 193 MovieClip Frame 2
onClipEvent (load) {
_root.killFunction(_parent, 10);
}
Instance of Symbol 131 MovieClip in Symbol 193 MovieClip Frame 6
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Instance of Symbol 193 MovieClip in Symbol 194 MovieClip [shellex] Frame 1
onClipEvent (enterFrame) {
myColor = new Color(this);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
}
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("shell explode 1");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Symbol 207 MovieClip Frame 1
stop();
Instance of Symbol 199 MovieClip in Symbol 207 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent.talk == "yes") {
gotoAndStop(random(9));
} else {
gotoAndStop (1);
}
};
}
Symbol 211 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 211 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 215 MovieClip Frame 1
stop();
Instance of Symbol 218 MovieClip in Symbol 219 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent._y < _parent.ground) {
if (tire._y < 3) {
tire._y = tire._y + 1.4;
} else {
tire._y = 3;
}
} else if (_parent.ground < _parent._y) {
tire._y = -2;
} else if (tire._y == 3) {
tire._y = -1.5;
} else {
tire._y = 0;
}
};
}
Symbol 220 MovieClip Frame 20
gotoAndPlay (1);
Symbol 220 MovieClip Frame 22
stop();
Symbol 220 MovieClip Frame 23
gotoAndPlay (1);
Symbol 224 MovieClip Frame 1
stop();
Instance of Symbol 218 MovieClip in Symbol 225 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent._y < _parent.ground) {
if (tire._y < 3) {
tire._y = tire._y + 1.4;
} else {
tire._y = 3;
}
} else if (_parent.ground < _parent._y) {
tire._y = -2;
} else if (tire._y == 3) {
tire._y = -1.5;
} else {
tire._y = 0;
}
};
}
Instance of Symbol 34 MovieClip in Symbol 226 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 235 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 235 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 235 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 235 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 235 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 235 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 235 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 235 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 235 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 235 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 235 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 235 MovieClip [dune] Frame 10
stop();
Symbol 243 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip in Symbol 243 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent.tracktor == "yes") {
play();
}
};
}
Symbol 243 MovieClip Frame 7
stop();
Instance of Symbol 240 MovieClip in Symbol 243 MovieClip Frame 7
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent.tracktor == "no") {
play();
}
};
}
Symbol 243 MovieClip Frame 13
stop();
Instance of Symbol 236 MovieClip in Symbol 243 MovieClip Frame 13
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent.tracktor == "yes") {
play();
}
};
}
Symbol 252 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 252 MovieClip Frame 9
stop();
Symbol 253 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 253 MovieClip Frame 9
stop();
Instance of Symbol 262 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
_parent.myS2 = new Sound(_parent);
_parent.myS2.attachSound("sonic jet");
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent._parent, _parent.myS2, _root.e.s0._x);
if (_parent._parent._visible == 0) {
_parent.myS2.stop();
}
}
Instance of Symbol 263 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
if (_parent._parent._visible != 0) {
_parent.myS2.start(0, 1);
}
}
Symbol 264 MovieClip Frame 90
gotoAndPlay (1);
Symbol 266 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 266 MovieClip Frame 9
stop();
Symbol 267 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 267 MovieClip Frame 9
stop();
Symbol 286 MovieClip [f] Frame 1
stop();
Instance of Symbol 252 MovieClip "e1" in Symbol 286 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 252 MovieClip "e2" in Symbol 286 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 253 MovieClip "e3" in Symbol 286 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 253 MovieClip "e4" in Symbol 286 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 256 MovieClip in Symbol 286 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 259 MovieClip in Symbol 286 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 286 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 265 MovieClip "as" in Symbol 286 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 200, 4);
_root.hitCordinate(_parent, this, 15, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.RotateWithTarget(_parent.as, 360, "yes", -360, 360, _parent.lockt, _parent, 0, 0);
tellTarget (_parent) {
if ((0 < ammo) && (shot == "go")) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , this._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x);
setProperty("_parent.tmiss" + _root.i, _y , _y);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x") + xspeed);
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((_root.cloak == "yes") && (ci == "yes")) {
ct = ct + 1;
if (10 < _alpha) {
_alpha = (_alpha - 10);
} else {
_alpha = 10;
}
}
if (100 < ct) {
ci = "no";
_root.cloak = "no";
}
if ((ci == "no") || (_root.cloak == "no")) {
if (0 < ct) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_alpha = 100;
}
}
if ((ci == "no") && (0 < ct)) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (30 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -30) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 250)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
_root.cloak = "no";
ci = "no";
sload = "no";
tracktor = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "F420";
lockt = _root.e.t;
_root.vehicleName = _name;
} else if (control == "cpu") {
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
tracktor = "no";
pickup = "no";
fly = "yes";
reload = 0;
ammo = 2;
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
ci = "yes";
ct = 0;
dropSpot = 0;
};
}
Instance of Symbol 266 MovieClip "e5" in Symbol 286 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 50;
}
Instance of Symbol 267 MovieClip "e6" in Symbol 286 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 45;
}
Instance of Symbol 269 MovieClip in Symbol 286 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 286 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 286 MovieClip [f] Frame 3
xspeed = 0;
play();
Instance of Symbol 274 MovieClip in Symbol 286 MovieClip [f] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 286 MovieClip [f] Frame 10
stop();
Symbol 287 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 287 MovieClip Frame 9
stop();
Symbol 288 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 288 MovieClip Frame 9
stop();
Symbol 313 MovieClip [carrier] Frame 1
stop();
Instance of Symbol 287 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 287 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 287 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 291 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 296 MovieClip "as" in Symbol 313 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
setProperty(this, _rotation , _parent._rotation + 90);
_root.hitCordinate(_parent, this, 15, 0, 0, _root.e._x);
_root.inOut(_parent);
_root.movement(_parent, 100, 2);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_y < 200)) {
dropSpot = _x;
} else if (0 < xspeed) {
dropSpot = _root.e.s0._x - 150;
} else if (xspeed < 0) {
dropSpot = _root.e.s0._x + 150;
}
if (10 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -10) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if (manned == "no") {
if (((xmotion == "right") && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if (((xmotion == "left") && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
} else if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 170)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (pickup == "yes") {
if ((((_y + 20) < eval (_root.pick)._y) && (eval (_root.pick)._x >= ((_x + (xspeed * 2)) - 10))) && (((_x - (xspeed * 2)) + 10) >= eval (_root.pick)._x)) {
_y = (_y + 2);
} else if (((eval (_root.pick)._y < (_y + 20)) && (eval (_root.pick)._x >= (_x + (xspeed * 2)))) && ((_x - (xspeed * 2)) >= eval (_root.pick)._x)) {
_y = (_y - 2);
}
if (((_y + 18) < eval (_root.pick)._y) && (eval (_root.pick)._y < (_y + 22))) {
readyToPick = "yes";
pickup = "no";
}
if (_x < eval (_root.pick)._x) {
if ((_x + (xspeed * 2)) < eval (_root.pick)._x) {
xmotion = "right";
} else {
xmotion = "left";
}
} else if (eval (_root.pick)._x < _x) {
if (eval (_root.pick)._x < (_x - (xspeed * 2))) {
xmotion = "left";
} else {
xmotion = "right";
}
}
if (((Math.abs(xspeed) < 4) && (eval (_root.pick)._x < (_x + 2))) && ((_x - 2) < eval (_root.pick)._x)) {
_x = eval (_root.pick)._x;
xspeed = 0;
xmotion = "no";
}
} else {
if ((readyToPick == "yes") && (eval (eval (_root.pick) + ".manned") != "yes")) {
trace("should pickup");
setProperty(_root.pick, _y , hity);
setProperty(_root.pick, _x , hitx - xspeed);
setProperty(_root.pick, _rotation , _rotation);
Set(eval (_root.pick) + ".carry", "yes");
_root.carry = "yes";
pickup = "heavy";
ammo = 1;
}
if (pickup == "heavy") {
if (172 >= _y) {
if (_x < dropSpot) {
xmotion = "right";
} else if (dropSpot < _x) {
xmotion = "left";
}
if ((_x < (dropSpot + 50)) && ((dropSpot - 50) < _x)) {
Set(eval (_root.pick) + ".carry", "no");
Set(eval (_root.pick) + ".xspeed", xspeed);
dropSpot = _x + 10;
pickup = "no";
xmotion = "none";
readyToPick = "no";
ammo = 0;
_root.carry = "no";
shot = "no";
}
} else {
_y = (_y - 2);
}
}
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
tracktor = "no";
sload = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Carrier";
_root.vehicleName = _name;
} else if (control == "cpu") {
}
lockt = _root;
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
tracktor = "no";
health = 100;
armor = 3 * _root.cArmor;
pickup = "no";
reload = 0;
ammo = 0;
fly = "yes";
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
dropSpot = 0;
};
}
Instance of Symbol 298 MovieClip in Symbol 313 MovieClip [carrier] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 299 MovieClip in Symbol 313 MovieClip [carrier] Frame 2
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 313 MovieClip [carrier] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 313 MovieClip [carrier] Frame 3
xspeed = 0;
Instance of Symbol 274 MovieClip in Symbol 313 MovieClip [carrier] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 313 MovieClip [carrier] Frame 10
stop();
Symbol 320 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 320 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Instance of Symbol 323 MovieClip in Symbol 328 MovieClip Frame 2
onClipEvent (load) {
_root.killFunction(_parent, 18);
}
Instance of Symbol 131 MovieClip in Symbol 328 MovieClip Frame 7
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Instance of Symbol 328 MovieClip in Symbol 329 MovieClip [shotgun2] Frame 1
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("sShotgun1");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Instance of Symbol 331 MovieClip in Symbol 336 MovieClip [lyein] Frame 1
onClipEvent (load) {
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 336 MovieClip [lyein] Frame 78
stop();
Instance of Symbol 335 MovieClip in Symbol 336 MovieClip [lyein] Frame 78
onClipEvent (load) {
_parent.removeMovieClip();
}
Instance of Symbol 339 MovieClip in Symbol 341 MovieClip Frame 2
onClipEvent (load) {
damage = 0.5;
if (_parent.hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
}
Instance of Symbol 131 MovieClip in Symbol 341 MovieClip Frame 3
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Instance of Symbol 341 MovieClip in Symbol 342 MovieClip [lazerex] Frame 1
onClipEvent (enterFrame) {
myColor = new Color(this);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
}
onClipEvent (load) {
myColor = new Color(this);
myColorTransform = new Object();
if (_root.nightVision == "yes") {
myColorTransform.bb = -250;
myColorTransform.rb = -250;
myColor.setTransform(myColorTransform);
} else {
myColorTransform.bb = 0;
myColorTransform.rb = 0;
myColor.setTransform(myColorTransform);
}
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("lazer 1");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Symbol 343 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 135 MovieClip in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 120) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 120)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 137 MovieClip in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 144 MovieClip "mh" in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 4, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 149 MovieClip "gun" in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.manned == "yes") {
_root.pTheorem(_parent.lockt2, _parent, 0, 0, "yes", this);
_root.hitCordinate(_parent, this, this.distance, 0, 0, 0, "yes", this);
tellTarget (_parent) {
if ((shot2 == "go") && (0 < ammo2)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , this.hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , this.hity - 20);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
this.play();
ammo2 = ammo2 - 1;
} else if (0 >= ammo2) {
reload2 = reload2 + 1;
}
if (20 < reload2) {
ammo2 = 24;
reload2 = 0;
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt2 = _root.e.s11;
shot2 = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt2 = _root.e.s12;
shot2 = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt2 = _root.e.s13;
shot2 = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt2 = _root.e.s14;
shot2 = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt2 = _root.e.s18;
shot2 = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt2 = _root.e.s19;
shot2 = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt2 = _root.e.s20;
shot2 = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt2 = _root.e.s21;
shot2 = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt2 = _root.e.s22;
shot2 = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt2 = _root.e.s23;
shot2 = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt2 = _root.e.s26;
shot2 = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt2 = _root.e.s27;
shot2 = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt2 = _root.e.s28;
shot2 = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt2 = _root.e.s24;
shot2 = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt2 = _root.e.s25;
shot2 = "go";
} else {
lockt2 = "none";
shot2 = "no";
}
};
}
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 20);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 0);
}
}
}
onClipEvent (load) {
_parent.ammo2 = 24;
}
Instance of Symbol 151 MovieClip in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 153 MovieClip in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 343 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 343 MovieClip [heavy] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 343 MovieClip [heavy] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 343 MovieClip [heavy] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 343 MovieClip [heavy] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 343 MovieClip [heavy] Frame 10
stop();
Symbol 344 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 344 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 344 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 344 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 344 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 344 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 344 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 344 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 344 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 344 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 344 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 344 MovieClip [dune] Frame 10
stop();
Symbol 345 MovieClip [f] Frame 1
stop();
Instance of Symbol 252 MovieClip "e1" in Symbol 345 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 252 MovieClip "e2" in Symbol 345 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 253 MovieClip "e3" in Symbol 345 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 253 MovieClip "e4" in Symbol 345 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 256 MovieClip in Symbol 345 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 259 MovieClip in Symbol 345 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 345 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 265 MovieClip "as" in Symbol 345 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 200, 4);
_root.hitCordinate(_parent, this, 15, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.RotateWithTarget(_parent.as, 360, "yes", -360, 360, _parent.lockt, _parent, 0, 0);
tellTarget (_parent) {
if ((0 < ammo) && (shot == "go")) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , this._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x);
setProperty("_parent.tmiss" + _root.i, _y , _y);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x") + xspeed);
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((_root.cloak == "yes") && (ci == "yes")) {
ct = ct + 1;
if (10 < _alpha) {
_alpha = (_alpha - 10);
} else {
_alpha = 10;
}
}
if (100 < ct) {
ci = "no";
_root.cloak = "no";
}
if ((ci == "no") || (_root.cloak == "no")) {
if (0 < ct) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_alpha = 100;
}
}
if ((ci == "no") && (0 < ct)) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (30 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -30) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 250)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
_root.cloak = "no";
ci = "no";
sload = "no";
tracktor = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "F420";
lockt = _root.e.t;
_root.vehicleName = _name;
} else if (control == "cpu") {
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
tracktor = "no";
pickup = "no";
fly = "yes";
reload = 0;
ammo = 2;
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
ci = "yes";
ct = 0;
dropSpot = 0;
};
}
Instance of Symbol 266 MovieClip "e5" in Symbol 345 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 50;
}
Instance of Symbol 267 MovieClip "e6" in Symbol 345 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 45;
}
Instance of Symbol 269 MovieClip in Symbol 345 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 345 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 345 MovieClip [f] Frame 3
xspeed = 0;
play();
Instance of Symbol 274 MovieClip in Symbol 345 MovieClip [f] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 345 MovieClip [f] Frame 10
stop();
Symbol 346 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 135 MovieClip in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 120) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 120)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 137 MovieClip in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 144 MovieClip "mh" in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 4, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 149 MovieClip "gun" in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.manned == "yes") {
_root.pTheorem(_parent.lockt2, _parent, 0, 0, "yes", this);
_root.hitCordinate(_parent, this, this.distance, 0, 0, 0, "yes", this);
tellTarget (_parent) {
if ((shot2 == "go") && (0 < ammo2)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , this.hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , this.hity - 20);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
this.play();
ammo2 = ammo2 - 1;
} else if (0 >= ammo2) {
reload2 = reload2 + 1;
}
if (20 < reload2) {
ammo2 = 24;
reload2 = 0;
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt2 = _root.e.s11;
shot2 = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt2 = _root.e.s12;
shot2 = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt2 = _root.e.s13;
shot2 = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt2 = _root.e.s14;
shot2 = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt2 = _root.e.s18;
shot2 = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt2 = _root.e.s19;
shot2 = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt2 = _root.e.s20;
shot2 = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt2 = _root.e.s21;
shot2 = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt2 = _root.e.s22;
shot2 = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt2 = _root.e.s23;
shot2 = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt2 = _root.e.s26;
shot2 = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt2 = _root.e.s27;
shot2 = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt2 = _root.e.s28;
shot2 = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt2 = _root.e.s24;
shot2 = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt2 = _root.e.s25;
shot2 = "go";
} else {
lockt2 = "none";
shot2 = "no";
}
};
}
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 20);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 0);
}
}
}
onClipEvent (load) {
_parent.ammo2 = 24;
}
Instance of Symbol 151 MovieClip in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 153 MovieClip in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 346 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 346 MovieClip [heavy] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 346 MovieClip [heavy] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 346 MovieClip [heavy] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 346 MovieClip [heavy] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 346 MovieClip [heavy] Frame 10
stop();
Symbol 347 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 135 MovieClip in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 120) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 120)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 137 MovieClip in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 144 MovieClip "mh" in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 4, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 149 MovieClip "gun" in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.manned == "yes") {
_root.pTheorem(_parent.lockt2, _parent, 0, 0, "yes", this);
_root.hitCordinate(_parent, this, this.distance, 0, 0, 0, "yes", this);
tellTarget (_parent) {
if ((shot2 == "go") && (0 < ammo2)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , this.hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , this.hity - 20);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
this.play();
ammo2 = ammo2 - 1;
} else if (0 >= ammo2) {
reload2 = reload2 + 1;
}
if (20 < reload2) {
ammo2 = 24;
reload2 = 0;
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt2 = _root.e.s11;
shot2 = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt2 = _root.e.s12;
shot2 = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt2 = _root.e.s13;
shot2 = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt2 = _root.e.s14;
shot2 = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt2 = _root.e.s18;
shot2 = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt2 = _root.e.s19;
shot2 = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt2 = _root.e.s20;
shot2 = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt2 = _root.e.s21;
shot2 = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt2 = _root.e.s22;
shot2 = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt2 = _root.e.s23;
shot2 = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt2 = _root.e.s26;
shot2 = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt2 = _root.e.s27;
shot2 = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt2 = _root.e.s28;
shot2 = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt2 = _root.e.s24;
shot2 = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt2 = _root.e.s25;
shot2 = "go";
} else {
lockt2 = "none";
shot2 = "no";
}
};
}
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 20);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 0);
}
}
}
onClipEvent (load) {
_parent.ammo2 = 24;
}
Instance of Symbol 151 MovieClip in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 153 MovieClip in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 347 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 347 MovieClip [heavy] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 347 MovieClip [heavy] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 347 MovieClip [heavy] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 347 MovieClip [heavy] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 347 MovieClip [heavy] Frame 10
stop();
Symbol 348 MovieClip [light] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 348 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 348 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 348 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 163 MovieClip in Symbol 348 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 164 MovieClip "mh" in Symbol 348 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 5, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 166 MovieClip in Symbol 348 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 167 MovieClip in Symbol 348 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 2);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Light Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 170) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 170)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 1 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 2;
carry = "no";
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 348 MovieClip [light] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 348 MovieClip [light] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 348 MovieClip [light] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 348 MovieClip [light] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 348 MovieClip [light] Frame 10
stop();
Symbol 349 MovieClip [f] Frame 1
stop();
Instance of Symbol 252 MovieClip "e1" in Symbol 349 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 252 MovieClip "e2" in Symbol 349 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 253 MovieClip "e3" in Symbol 349 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 253 MovieClip "e4" in Symbol 349 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 256 MovieClip in Symbol 349 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 259 MovieClip in Symbol 349 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 349 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 265 MovieClip "as" in Symbol 349 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 200, 4);
_root.hitCordinate(_parent, this, 15, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.RotateWithTarget(_parent.as, 360, "yes", -360, 360, _parent.lockt, _parent, 0, 0);
tellTarget (_parent) {
if ((0 < ammo) && (shot == "go")) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , this._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x);
setProperty("_parent.tmiss" + _root.i, _y , _y);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x") + xspeed);
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((_root.cloak == "yes") && (ci == "yes")) {
ct = ct + 1;
if (10 < _alpha) {
_alpha = (_alpha - 10);
} else {
_alpha = 10;
}
}
if (100 < ct) {
ci = "no";
_root.cloak = "no";
}
if ((ci == "no") || (_root.cloak == "no")) {
if (0 < ct) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_alpha = 100;
}
}
if ((ci == "no") && (0 < ct)) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (30 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -30) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 250)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
_root.cloak = "no";
ci = "no";
sload = "no";
tracktor = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "F420";
lockt = _root.e.t;
_root.vehicleName = _name;
} else if (control == "cpu") {
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
tracktor = "no";
pickup = "no";
fly = "yes";
reload = 0;
ammo = 2;
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
ci = "yes";
ct = 0;
dropSpot = 0;
};
}
Instance of Symbol 266 MovieClip "e5" in Symbol 349 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 50;
}
Instance of Symbol 267 MovieClip "e6" in Symbol 349 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 45;
}
Instance of Symbol 269 MovieClip in Symbol 349 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 349 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 349 MovieClip [f] Frame 3
xspeed = 0;
play();
Instance of Symbol 274 MovieClip in Symbol 349 MovieClip [f] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 349 MovieClip [f] Frame 10
stop();
Symbol 350 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 135 MovieClip in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 120) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 120)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 137 MovieClip in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 144 MovieClip "mh" in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 4, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 149 MovieClip "gun" in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.manned == "yes") {
_root.pTheorem(_parent.lockt2, _parent, 0, 0, "yes", this);
_root.hitCordinate(_parent, this, this.distance, 0, 0, 0, "yes", this);
tellTarget (_parent) {
if ((shot2 == "go") && (0 < ammo2)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , this.hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , this.hity - 20);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
this.play();
ammo2 = ammo2 - 1;
} else if (0 >= ammo2) {
reload2 = reload2 + 1;
}
if (20 < reload2) {
ammo2 = 24;
reload2 = 0;
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt2 = _root.e.s11;
shot2 = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt2 = _root.e.s12;
shot2 = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt2 = _root.e.s13;
shot2 = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt2 = _root.e.s14;
shot2 = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt2 = _root.e.s18;
shot2 = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt2 = _root.e.s19;
shot2 = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt2 = _root.e.s20;
shot2 = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt2 = _root.e.s21;
shot2 = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt2 = _root.e.s22;
shot2 = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt2 = _root.e.s23;
shot2 = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt2 = _root.e.s26;
shot2 = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt2 = _root.e.s27;
shot2 = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt2 = _root.e.s28;
shot2 = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt2 = _root.e.s24;
shot2 = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt2 = _root.e.s25;
shot2 = "go";
} else {
lockt2 = "none";
shot2 = "no";
}
};
}
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 20);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 0);
}
}
}
onClipEvent (load) {
_parent.ammo2 = 24;
}
Instance of Symbol 151 MovieClip in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 153 MovieClip in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 350 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 350 MovieClip [heavy] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 350 MovieClip [heavy] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 350 MovieClip [heavy] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 350 MovieClip [heavy] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 350 MovieClip [heavy] Frame 10
stop();
Symbol 351 MovieClip [light] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 351 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 351 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 351 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 163 MovieClip in Symbol 351 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 164 MovieClip "mh" in Symbol 351 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 5, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 166 MovieClip in Symbol 351 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 167 MovieClip in Symbol 351 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 2);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Light Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 170) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 170)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 1 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 2;
carry = "no";
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 351 MovieClip [light] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 351 MovieClip [light] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 351 MovieClip [light] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 351 MovieClip [light] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 351 MovieClip [light] Frame 10
stop();
Symbol 352 MovieClip [f] Frame 1
stop();
Instance of Symbol 252 MovieClip "e1" in Symbol 352 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 252 MovieClip "e2" in Symbol 352 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 253 MovieClip "e3" in Symbol 352 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 253 MovieClip "e4" in Symbol 352 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 256 MovieClip in Symbol 352 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 259 MovieClip in Symbol 352 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 352 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 265 MovieClip "as" in Symbol 352 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 200, 4);
_root.hitCordinate(_parent, this, 15, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.RotateWithTarget(_parent.as, 360, "yes", -360, 360, _parent.lockt, _parent, 0, 0);
tellTarget (_parent) {
if ((0 < ammo) && (shot == "go")) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , this._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x);
setProperty("_parent.tmiss" + _root.i, _y , _y);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x") + xspeed);
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((_root.cloak == "yes") && (ci == "yes")) {
ct = ct + 1;
if (10 < _alpha) {
_alpha = (_alpha - 10);
} else {
_alpha = 10;
}
}
if (100 < ct) {
ci = "no";
_root.cloak = "no";
}
if ((ci == "no") || (_root.cloak == "no")) {
if (0 < ct) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_alpha = 100;
}
}
if ((ci == "no") && (0 < ct)) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (30 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -30) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 250)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
_root.cloak = "no";
ci = "no";
sload = "no";
tracktor = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "F420";
lockt = _root.e.t;
_root.vehicleName = _name;
} else if (control == "cpu") {
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
tracktor = "no";
pickup = "no";
fly = "yes";
reload = 0;
ammo = 2;
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
ci = "yes";
ct = 0;
dropSpot = 0;
};
}
Instance of Symbol 266 MovieClip "e5" in Symbol 352 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 50;
}
Instance of Symbol 267 MovieClip "e6" in Symbol 352 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 45;
}
Instance of Symbol 269 MovieClip in Symbol 352 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 352 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 352 MovieClip [f] Frame 3
xspeed = 0;
play();
Instance of Symbol 274 MovieClip in Symbol 352 MovieClip [f] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 352 MovieClip [f] Frame 10
stop();
Symbol 353 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 353 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 353 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 353 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 353 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 353 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 353 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 353 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 353 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 353 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 353 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 353 MovieClip [dune] Frame 10
stop();
Symbol 354 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 354 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 354 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 354 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 354 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 354 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 354 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 354 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 354 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 354 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 354 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 354 MovieClip [dune] Frame 10
stop();
Symbol 355 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 355 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 355 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 355 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 355 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 355 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 355 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 355 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 355 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 355 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 355 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 355 MovieClip [dune] Frame 10
stop();
Symbol 356 MovieClip [light] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 356 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 356 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 356 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 163 MovieClip in Symbol 356 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 164 MovieClip "mh" in Symbol 356 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 5, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 166 MovieClip in Symbol 356 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 167 MovieClip in Symbol 356 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 2);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Light Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 170) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 170)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 1 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 2;
carry = "no";
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 356 MovieClip [light] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 356 MovieClip [light] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 356 MovieClip [light] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 356 MovieClip [light] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 356 MovieClip [light] Frame 10
stop();
Symbol 357 MovieClip [m] Frame 1
stop();
Instance of Symbol 12 MovieClip "as" in Symbol 357 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 20, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, -30, 25);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "yes") {
if (0 >= ammo) {
mload = "no";
} else if (0 < ammo) {
mload = "yes";
}
} else if (manned == "no") {
mload = "no";
ammo = 4;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Missile Launcher";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 150) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 150)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (((0 < ammo) && (ready == "yes")) && (shot == "go")) {
ammo = ammo - 1;
if ((ammo == 1) || (ammo == 3)) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x - 15);
setProperty("_parent.tmiss" + _root.i, _y , _y - 24);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
} else {
_parent.attachMovie("bmiss", "bmiss" + _root.i, _root.i++);
setProperty("_parent.bmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.bmiss" + _root.i, _x , _x - 15);
setProperty("_parent.bmiss" + _root.i, _y , _y - 24);
Set(("_parent.bmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.bmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.bmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.bmiss" + _root.i) + ".xspeed", xspeed);
}
shot = "no";
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
xspeed = 0;
ammo = 4;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 357 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 21 MovieClip in Symbol 357 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.land == "snow") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 357 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 357 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 44 MovieClip "lh" in Symbol 357 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 46 MovieClip in Symbol 357 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 357 MovieClip [m] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 357 MovieClip [m] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 357 MovieClip [m] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 357 MovieClip [m] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 357 MovieClip [m] Frame 10
stop();
Symbol 358 MovieClip [carrier] Frame 1
stop();
Instance of Symbol 287 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 287 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 287 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 291 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 296 MovieClip "as" in Symbol 358 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
setProperty(this, _rotation , _parent._rotation + 90);
_root.hitCordinate(_parent, this, 15, 0, 0, _root.e._x);
_root.inOut(_parent);
_root.movement(_parent, 100, 2);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_y < 200)) {
dropSpot = _x;
} else if (0 < xspeed) {
dropSpot = _root.e.s0._x - 150;
} else if (xspeed < 0) {
dropSpot = _root.e.s0._x + 150;
}
if (10 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -10) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if (manned == "no") {
if (((xmotion == "right") && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if (((xmotion == "left") && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
} else if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 170)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (pickup == "yes") {
if ((((_y + 20) < eval (_root.pick)._y) && (eval (_root.pick)._x >= ((_x + (xspeed * 2)) - 10))) && (((_x - (xspeed * 2)) + 10) >= eval (_root.pick)._x)) {
_y = (_y + 2);
} else if (((eval (_root.pick)._y < (_y + 20)) && (eval (_root.pick)._x >= (_x + (xspeed * 2)))) && ((_x - (xspeed * 2)) >= eval (_root.pick)._x)) {
_y = (_y - 2);
}
if (((_y + 18) < eval (_root.pick)._y) && (eval (_root.pick)._y < (_y + 22))) {
readyToPick = "yes";
pickup = "no";
}
if (_x < eval (_root.pick)._x) {
if ((_x + (xspeed * 2)) < eval (_root.pick)._x) {
xmotion = "right";
} else {
xmotion = "left";
}
} else if (eval (_root.pick)._x < _x) {
if (eval (_root.pick)._x < (_x - (xspeed * 2))) {
xmotion = "left";
} else {
xmotion = "right";
}
}
if (((Math.abs(xspeed) < 4) && (eval (_root.pick)._x < (_x + 2))) && ((_x - 2) < eval (_root.pick)._x)) {
_x = eval (_root.pick)._x;
xspeed = 0;
xmotion = "no";
}
} else {
if ((readyToPick == "yes") && (eval (eval (_root.pick) + ".manned") != "yes")) {
trace("should pickup");
setProperty(_root.pick, _y , hity);
setProperty(_root.pick, _x , hitx - xspeed);
setProperty(_root.pick, _rotation , _rotation);
Set(eval (_root.pick) + ".carry", "yes");
_root.carry = "yes";
pickup = "heavy";
ammo = 1;
}
if (pickup == "heavy") {
if (172 >= _y) {
if (_x < dropSpot) {
xmotion = "right";
} else if (dropSpot < _x) {
xmotion = "left";
}
if ((_x < (dropSpot + 50)) && ((dropSpot - 50) < _x)) {
Set(eval (_root.pick) + ".carry", "no");
Set(eval (_root.pick) + ".xspeed", xspeed);
dropSpot = _x + 10;
pickup = "no";
xmotion = "none";
readyToPick = "no";
ammo = 0;
_root.carry = "no";
shot = "no";
}
} else {
_y = (_y - 2);
}
}
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
tracktor = "no";
sload = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Carrier";
_root.vehicleName = _name;
} else if (control == "cpu") {
}
lockt = _root;
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
tracktor = "no";
health = 100;
armor = 3 * _root.cArmor;
pickup = "no";
reload = 0;
ammo = 0;
fly = "yes";
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
dropSpot = 0;
};
}
Instance of Symbol 298 MovieClip in Symbol 358 MovieClip [carrier] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 299 MovieClip in Symbol 358 MovieClip [carrier] Frame 2
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 358 MovieClip [carrier] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 358 MovieClip [carrier] Frame 3
xspeed = 0;
Instance of Symbol 274 MovieClip in Symbol 358 MovieClip [carrier] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 358 MovieClip [carrier] Frame 10
stop();
Symbol 359 MovieClip [f] Frame 1
stop();
Instance of Symbol 252 MovieClip "e1" in Symbol 359 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 252 MovieClip "e2" in Symbol 359 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 253 MovieClip "e3" in Symbol 359 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 253 MovieClip "e4" in Symbol 359 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 256 MovieClip in Symbol 359 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 259 MovieClip in Symbol 359 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 359 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 265 MovieClip "as" in Symbol 359 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 200, 4);
_root.hitCordinate(_parent, this, 15, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.RotateWithTarget(_parent.as, 360, "yes", -360, 360, _parent.lockt, _parent, 0, 0);
tellTarget (_parent) {
if ((0 < ammo) && (shot == "go")) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , this._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x);
setProperty("_parent.tmiss" + _root.i, _y , _y);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x") + xspeed);
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((_root.cloak == "yes") && (ci == "yes")) {
ct = ct + 1;
if (10 < _alpha) {
_alpha = (_alpha - 10);
} else {
_alpha = 10;
}
}
if (100 < ct) {
ci = "no";
_root.cloak = "no";
}
if ((ci == "no") || (_root.cloak == "no")) {
if (0 < ct) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_alpha = 100;
}
}
if ((ci == "no") && (0 < ct)) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (30 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -30) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 250)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
_root.cloak = "no";
ci = "no";
sload = "no";
tracktor = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "F420";
lockt = _root.e.t;
_root.vehicleName = _name;
} else if (control == "cpu") {
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
tracktor = "no";
pickup = "no";
fly = "yes";
reload = 0;
ammo = 2;
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
ci = "yes";
ct = 0;
dropSpot = 0;
};
}
Instance of Symbol 266 MovieClip "e5" in Symbol 359 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 50;
}
Instance of Symbol 267 MovieClip "e6" in Symbol 359 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 45;
}
Instance of Symbol 269 MovieClip in Symbol 359 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 359 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 359 MovieClip [f] Frame 3
xspeed = 0;
play();
Instance of Symbol 274 MovieClip in Symbol 359 MovieClip [f] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 359 MovieClip [f] Frame 10
stop();
Symbol 360 MovieClip [m] Frame 1
stop();
Instance of Symbol 12 MovieClip "as" in Symbol 360 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 20, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, -30, 25);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "yes") {
if (0 >= ammo) {
mload = "no";
} else if (0 < ammo) {
mload = "yes";
}
} else if (manned == "no") {
mload = "no";
ammo = 4;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Missile Launcher";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 150) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 150)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (((0 < ammo) && (ready == "yes")) && (shot == "go")) {
ammo = ammo - 1;
if ((ammo == 1) || (ammo == 3)) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x - 15);
setProperty("_parent.tmiss" + _root.i, _y , _y - 24);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
} else {
_parent.attachMovie("bmiss", "bmiss" + _root.i, _root.i++);
setProperty("_parent.bmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.bmiss" + _root.i, _x , _x - 15);
setProperty("_parent.bmiss" + _root.i, _y , _y - 24);
Set(("_parent.bmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.bmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.bmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.bmiss" + _root.i) + ".xspeed", xspeed);
}
shot = "no";
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
xspeed = 0;
ammo = 4;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 360 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 21 MovieClip in Symbol 360 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.land == "snow") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 360 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 360 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 44 MovieClip "lh" in Symbol 360 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 46 MovieClip in Symbol 360 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 360 MovieClip [m] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 360 MovieClip [m] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 360 MovieClip [m] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 360 MovieClip [m] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 360 MovieClip [m] Frame 10
stop();
Symbol 361 MovieClip [heavy] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 135 MovieClip in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 120) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 120)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 137 MovieClip in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 144 MovieClip "mh" in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 4, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 149 MovieClip "gun" in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.manned == "yes") {
_root.pTheorem(_parent.lockt2, _parent, 0, 0, "yes", this);
_root.hitCordinate(_parent, this, this.distance, 0, 0, 0, "yes", this);
tellTarget (_parent) {
if ((shot2 == "go") && (0 < ammo2)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , this.hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , this.hity - 20);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
this.play();
ammo2 = ammo2 - 1;
} else if (0 >= ammo2) {
reload2 = reload2 + 1;
}
if (20 < reload2) {
ammo2 = 24;
reload2 = 0;
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt2 = _root.e.s11;
shot2 = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt2 = _root.e.s12;
shot2 = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt2 = _root.e.s13;
shot2 = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt2 = _root.e.s14;
shot2 = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt2 = _root.e.s18;
shot2 = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt2 = _root.e.s19;
shot2 = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt2 = _root.e.s20;
shot2 = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt2 = _root.e.s21;
shot2 = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt2 = _root.e.s22;
shot2 = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt2 = _root.e.s23;
shot2 = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt2 = _root.e.s26;
shot2 = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt2 = _root.e.s27;
shot2 = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt2 = _root.e.s28;
shot2 = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt2 = _root.e.s24;
shot2 = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt2 = _root.e.s25;
shot2 = "go";
} else {
lockt2 = "none";
shot2 = "no";
}
};
}
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 20);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt2, _parent, 0, 0);
}
}
}
onClipEvent (load) {
_parent.ammo2 = 24;
}
Instance of Symbol 151 MovieClip in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 153 MovieClip in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 361 MovieClip [heavy] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 361 MovieClip [heavy] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 361 MovieClip [heavy] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 361 MovieClip [heavy] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 361 MovieClip [heavy] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 361 MovieClip [heavy] Frame 10
stop();
Symbol 362 MovieClip [missle] Frame 1
stop();
Instance of Symbol 101 MovieClip in Symbol 362 MovieClip [missle] Frame 1
onClipEvent (load) {
myS2 = new Sound(this);
myS2.attachSound("missle launch");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS2, 0);
}
Instance of Symbol 114 MovieClip in Symbol 362 MovieClip [missle] Frame 2
onClipEvent (enterFrame) {
_parent._parent._x = _parent._parent._x + _parent._parent._parent._parent.xspeed;
}
onClipEvent (load) {
myS = new Sound(this);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(this, myS, 0);
}
Symbol 363 MovieClip [carrier] Frame 1
stop();
Instance of Symbol 287 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 287 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 287 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (Math.abs(_parent.xspeed) < 2)) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (Math.abs(_parent.xspeed) >= 2)) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 288 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe < 7) && (2 < Math.abs(_parent.xspeed))) {
this.gotoAndPlay(7);
} else if ((this._currentframe >= 7) && (2 >= Math.abs(_parent.xspeed))) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 291 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 296 MovieClip "as" in Symbol 363 MovieClip [carrier] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
setProperty(this, _rotation , _parent._rotation + 90);
_root.hitCordinate(_parent, this, 15, 0, 0, _root.e._x);
_root.inOut(_parent);
_root.movement(_parent, 100, 2);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_y < 200)) {
dropSpot = _x;
} else if (0 < xspeed) {
dropSpot = _root.e.s0._x - 150;
} else if (xspeed < 0) {
dropSpot = _root.e.s0._x + 150;
}
if (10 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -10) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if (manned == "no") {
if (((xmotion == "right") && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if (((xmotion == "left") && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
} else if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 170)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (pickup == "yes") {
if ((((_y + 20) < eval (_root.pick)._y) && (eval (_root.pick)._x >= ((_x + (xspeed * 2)) - 10))) && (((_x - (xspeed * 2)) + 10) >= eval (_root.pick)._x)) {
_y = (_y + 2);
} else if (((eval (_root.pick)._y < (_y + 20)) && (eval (_root.pick)._x >= (_x + (xspeed * 2)))) && ((_x - (xspeed * 2)) >= eval (_root.pick)._x)) {
_y = (_y - 2);
}
if (((_y + 18) < eval (_root.pick)._y) && (eval (_root.pick)._y < (_y + 22))) {
readyToPick = "yes";
pickup = "no";
}
if (_x < eval (_root.pick)._x) {
if ((_x + (xspeed * 2)) < eval (_root.pick)._x) {
xmotion = "right";
} else {
xmotion = "left";
}
} else if (eval (_root.pick)._x < _x) {
if (eval (_root.pick)._x < (_x - (xspeed * 2))) {
xmotion = "left";
} else {
xmotion = "right";
}
}
if (((Math.abs(xspeed) < 4) && (eval (_root.pick)._x < (_x + 2))) && ((_x - 2) < eval (_root.pick)._x)) {
_x = eval (_root.pick)._x;
xspeed = 0;
xmotion = "no";
}
} else {
if ((readyToPick == "yes") && (eval (eval (_root.pick) + ".manned") != "yes")) {
trace("should pickup");
setProperty(_root.pick, _y , hity);
setProperty(_root.pick, _x , hitx - xspeed);
setProperty(_root.pick, _rotation , _rotation);
Set(eval (_root.pick) + ".carry", "yes");
_root.carry = "yes";
pickup = "heavy";
ammo = 1;
}
if (pickup == "heavy") {
if (172 >= _y) {
if (_x < dropSpot) {
xmotion = "right";
} else if (dropSpot < _x) {
xmotion = "left";
}
if ((_x < (dropSpot + 50)) && ((dropSpot - 50) < _x)) {
Set(eval (_root.pick) + ".carry", "no");
Set(eval (_root.pick) + ".xspeed", xspeed);
dropSpot = _x + 10;
pickup = "no";
xmotion = "none";
readyToPick = "no";
ammo = 0;
_root.carry = "no";
shot = "no";
}
} else {
_y = (_y - 2);
}
}
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
tracktor = "no";
sload = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Carrier";
_root.vehicleName = _name;
} else if (control == "cpu") {
}
lockt = _root;
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
tracktor = "no";
health = 100;
armor = 3 * _root.cArmor;
pickup = "no";
reload = 0;
ammo = 0;
fly = "yes";
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
dropSpot = 0;
};
}
Instance of Symbol 298 MovieClip in Symbol 363 MovieClip [carrier] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 299 MovieClip in Symbol 363 MovieClip [carrier] Frame 2
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 363 MovieClip [carrier] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 363 MovieClip [carrier] Frame 3
xspeed = 0;
Instance of Symbol 274 MovieClip in Symbol 363 MovieClip [carrier] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 363 MovieClip [carrier] Frame 10
stop();
Symbol 364 MovieClip [f] Frame 1
stop();
Instance of Symbol 252 MovieClip "e1" in Symbol 364 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 252 MovieClip "e2" in Symbol 364 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
Instance of Symbol 253 MovieClip "e3" in Symbol 364 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 253 MovieClip "e4" in Symbol 364 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
} else if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 256 MovieClip in Symbol 364 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 259 MovieClip in Symbol 364 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 261 MovieClip in Symbol 364 MovieClip [f] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 265 MovieClip "as" in Symbol 364 MovieClip [f] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 200, 4);
_root.hitCordinate(_parent, this, 15, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.RotateWithTarget(_parent.as, 360, "yes", -360, 360, _parent.lockt, _parent, 0, 0);
tellTarget (_parent) {
if ((0 < ammo) && (shot == "go")) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , this._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x);
setProperty("_parent.tmiss" + _root.i, _y , _y);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x") + xspeed);
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((_root.cloak == "yes") && (ci == "yes")) {
ct = ct + 1;
if (10 < _alpha) {
_alpha = (_alpha - 10);
} else {
_alpha = 10;
}
}
if (100 < ct) {
ci = "no";
_root.cloak = "no";
}
if ((ci == "no") || (_root.cloak == "no")) {
if (0 < ct) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (_alpha < 100) {
_alpha = (_alpha + 10);
} else {
_alpha = 100;
}
}
if ((ci == "no") && (0 < ct)) {
ct = ct - 1;
} else if (0 >= ct) {
ci = "yes";
ct = 0;
}
if (30 < xspeed) {
gotoAndStop (2);
} else if (xspeed < -30) {
gotoAndStop (1);
}
if ((_rotation < 1) && (-1 < _rotation)) {
_rotation = 0;
}
if ((Key.isDown(Key.RIGHT) && (-20 < _rotation)) && (0 < xspeed)) {
_rotation = (_rotation + 1);
} else if ((Key.isDown(Key.LEFT) && (_rotation < 20)) && (xspeed < 0)) {
_rotation = (_rotation - 1);
} else if (0 < _rotation) {
_rotation = (_rotation - 1);
} else if (_rotation < 0) {
_rotation = (_rotation + 1);
}
if (((control == "human") && ((_y + 4) < _parent.t._y)) && (_y < 250)) {
_y = (_y + 2);
} else if (((control == "human") && (_parent.t._y < (_y - 4))) && (50 < _y)) {
_y = (_y - 2);
}
if (manned == "yes") {
sload = "no";
tracktor = "yes";
} else if (manned == "no") {
_root.cloak = "no";
ci = "no";
sload = "no";
tracktor = "no";
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "F420";
lockt = _root.e.t;
_root.vehicleName = _name;
} else if (control == "cpu") {
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
tracktor = "no";
pickup = "no";
fly = "yes";
reload = 0;
ammo = 2;
shot = "no";
hostile = "friend";
pickupR == "no";
xmotion = "no";
ground = 0;
ci = "yes";
ct = 0;
dropSpot = 0;
};
}
Instance of Symbol 266 MovieClip "e5" in Symbol 364 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 50;
}
Instance of Symbol 267 MovieClip "e6" in Symbol 364 MovieClip [f] Frame 2
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
if (this._currentframe >= 7) {
this.gotoAndPlay(1);
}
} else if (this._currentframe < 7) {
this.gotoAndPlay(7);
}
}
onClipEvent (load) {
this._x = 45;
}
Instance of Symbol 269 MovieClip in Symbol 364 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 271 MovieClip in Symbol 364 MovieClip [f] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 364 MovieClip [f] Frame 3
xspeed = 0;
play();
Instance of Symbol 274 MovieClip in Symbol 364 MovieClip [f] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 364 MovieClip [f] Frame 10
stop();
Symbol 365 MovieClip [light] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 365 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 365 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 365 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 163 MovieClip in Symbol 365 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 164 MovieClip "mh" in Symbol 365 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 5, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 166 MovieClip in Symbol 365 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 167 MovieClip in Symbol 365 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 2);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Light Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 170) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 170)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 1 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 2;
carry = "no";
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 365 MovieClip [light] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 365 MovieClip [light] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 365 MovieClip [light] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 365 MovieClip [light] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 365 MovieClip [light] Frame 10
stop();
Symbol 366 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 366 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 366 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 366 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 366 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 366 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 366 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 366 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 366 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 366 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 366 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 366 MovieClip [dune] Frame 10
stop();
Symbol 367 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 367 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 367 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 367 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 367 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 367 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 367 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 367 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 367 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 367 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 367 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 367 MovieClip [dune] Frame 10
stop();
Symbol 368 MovieClip [dune] Frame 1
stop();
Instance of Symbol 195 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 50, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.6, _parent.lb);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "no") {
shot = "no";
}
if (control == "cpu") {
if ((follow._x + 100) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 100)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 208 MovieClip "dude" in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 210 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 211 MovieClip "mh" in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.lockt, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
};
}
}
Instance of Symbol 215 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 219 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 220 MovieClip in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
if (0 < Math.abs(_parent.xspeed)) {
this.play();
} else {
this.gotoAndStop(22);
}
}
onClipEvent (enterFrame) {
if (0 < Math.abs(_parent.xspeed)) {
if (this._currentframe == 22) {
this.play();
}
} else {
this.gotoAndStop(22);
}
}
Instance of Symbol 35 MovieClip "dust" in Symbol 368 MovieClip [dune] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 221 MovieClip "dude" in Symbol 368 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 222 MovieClip in Symbol 368 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 224 MovieClip in Symbol 368 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
if (_root.land == "moon") {
tellTarget (this) {
gotoAndStop (2);
};
} else {
tellTarget (this) {
gotoAndStop (1);
};
}
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 368 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 225 MovieClip in Symbol 368 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Instance of Symbol 226 MovieClip "dust" in Symbol 368 MovieClip [dune] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = this._x;
}
Symbol 368 MovieClip [dune] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 368 MovieClip [dune] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 231 MovieClip in Symbol 368 MovieClip [dune] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("shell explode 1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 368 MovieClip [dune] Frame 10
stop();
Symbol 369 MovieClip [light] Frame 1
stop();
Instance of Symbol 19 MovieClip in Symbol 369 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 369 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 369 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 163 MovieClip in Symbol 369 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 164 MovieClip "mh" in Symbol 369 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 5, _parent.manned, -185, 5, _parent.lockt, _parent, 0, 20);
}
}
Instance of Symbol 166 MovieClip in Symbol 369 MovieClip [light] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 167 MovieClip in Symbol 369 MovieClip [light] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 2);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Light Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 170) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 170)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 1 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 2;
carry = "no";
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 369 MovieClip [light] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 369 MovieClip [light] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 369 MovieClip [light] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 369 MovieClip [light] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 369 MovieClip [light] Frame 10
stop();
Symbol 370 MovieClip [m] Frame 1
stop();
Instance of Symbol 12 MovieClip "as" in Symbol 370 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 20, 2);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.3, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, -30, 25);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (manned == "yes") {
if (0 >= ammo) {
mload = "no";
} else if (0 < ammo) {
mload = "yes";
}
} else if (manned == "no") {
mload = "no";
ammo = 4;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Missile Launcher";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 150) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 150)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (((0 < ammo) && (ready == "yes")) && (shot == "go")) {
ammo = ammo - 1;
if ((ammo == 1) || (ammo == 3)) {
_parent.attachMovie("tmiss", "tmiss" + _root.i, _root.i++);
setProperty("_parent.tmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.tmiss" + _root.i, _x , _x - 15);
setProperty("_parent.tmiss" + _root.i, _y , _y - 24);
Set(("_parent.tmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.tmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.tmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.tmiss" + _root.i) + ".xspeed", xspeed);
} else {
_parent.attachMovie("bmiss", "bmiss" + _root.i, _root.i++);
setProperty("_parent.bmiss" + _root.i, _rotation , lh.mh._rotation);
setProperty("_parent.bmiss" + _root.i, _x , _x - 15);
setProperty("_parent.bmiss" + _root.i, _y , _y - 24);
Set(("_parent.bmiss" + _root.i) + ".targetzone", distance);
Set(("_parent.bmiss" + _root.i) + ".tagx", eval (lockt + "._x"));
Set(("_parent.bmiss" + _root.i) + ".tagy", eval (lockt + "._y"));
Set(("_parent.bmiss" + _root.i) + ".xspeed", xspeed);
}
shot = "no";
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3 * _root.cArmor;
carry = "no";
xspeed = 0;
ammo = 4;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 19 MovieClip in Symbol 370 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_parent.manned == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 21 MovieClip in Symbol 370 MovieClip [m] Frame 1
onClipEvent (enterFrame) {
if (_root.land == "snow") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 27 MovieClip "tds" in Symbol 370 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 35 MovieClip "dust" in Symbol 370 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 44 MovieClip "lh" in Symbol 370 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 46 MovieClip in Symbol 370 MovieClip [m] Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 64 MovieClip "dust" in Symbol 370 MovieClip [m] Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 370 MovieClip [m] Frame 3
xspeed = 0;
play();
Instance of Symbol 65 MovieClip in Symbol 370 MovieClip [m] Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("missle explosion");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 77 MovieClip in Symbol 370 MovieClip [m] Frame 6
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("short ex");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 370 MovieClip [m] Frame 10
stop();
Symbol 371 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 371 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Symbol 372 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 372 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Symbol 373 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 373 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Symbol 374 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 374 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Symbol 375 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 375 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Symbol 376 MovieClip [tempo] Frame 1
stop();
Instance of Symbol 315 MovieClip in Symbol 376 MovieClip [tempo] Frame 1
onClipEvent (load) {
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
tellTarget (_parent) {
if (hitTest(_parent.water1)) {
_visible = 0;
} else {
_visible = 1;
}
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
Symbol 392 Button
on (release) {
_root.play();
}
Symbol 393 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
setProperty(bar, _xscale , PercentLoaded);
} else {
gotoAndStop (3);
}
Symbol 393 MovieClip Frame 2
gotoAndPlay (1);
Symbol 407 Button
on (release) {
if (code2 == "ISUCK") {
if (_root.codeISuck == "no") {
cheats = "\"u suck cheat\" Enabled";
_root.codeISuck = "yes";
} else {
cheats = "\"u suck cheat\" Disabled";
_root.codeISuck = "no";
}
} else if (code2 == "LEVEL1") {
cheats = "Advance to Level 1";
CampaignLevel = "Fort Horizon";
} else if (code2 == "WKJLDSFNKG") {
cheats = "Advance to Level 2";
CampaignLevel = "Sandy Coast Base";
} else if (code2 == "OKOFOWOLON") {
cheats = "Advance to Level 3";
CampaignLevel = "Area 51";
} else if (code2 == "PQRNVLAHGD") {
cheats = "Advance to Level 4";
CampaignLevel = "Northern Outpost";
} else if (code2 == "ITYWNBAORN") {
cheats = "Advance to Level 5";
CampaignLevel = "Launch Site";
} else if (code2 == "NGWERNGLPG") {
cheats = "Advance to Level 6";
CampaignLevel = "Moon Lab";
} else if (code2 == "QONGALCHNZ") {
cheats = "Advance to Level 7";
CampaignLevel = "Captured!";
} else if (code2 == "GOODSHIT") {
cheats = "All Cheats Unlocked!";
tellTarget (_root) {
cheatF420 = "unlocked";
cheatAlienDude = "unlocked";
cheatMoreEnemy = "unlocked";
cheatMoonGravity = "unlocked";
cheatStrongArmor = "unlocked";
};
} else {
cheats = "Not a vaild code";
}
}
Symbol 414 Button
on (release) {
if (CampaignLevel == "Fort Horizon") {
_root.gotoAndPlay("theBeginning");
} else if (CampaignLevel == "Sandy Coast Base") {
_root.gotoAndPlay("cut2");
} else if (CampaignLevel == "Area 51") {
_root.gotoAndPlay("cut3");
} else if (CampaignLevel == "Northern Outpost") {
_root.gotoAndPlay("cut4");
} else if (CampaignLevel == "Launch Site") {
_root.gotoAndPlay("cut5");
} else if (CampaignLevel == "Moon Lab") {
_root.gotoAndPlay("cut6");
} else if (CampaignLevel == "Captured!") {
_root.gotoAndPlay("cut7");
} else {
_root.gotoAndPlay("theBeginning");
}
}
Symbol 447 MovieClip Frame 1
stop();
Instance of Symbol 425 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1.3;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 427 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 428 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 430 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.45;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 431 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 432 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 433 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 434 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.8;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 435 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.9;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 437 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.3;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 438 MovieClip in Symbol 447 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
if (_root.sky == "dawn") {
gotoAndStop (1);
} else if (_root.sky == "blueSet") {
gotoAndStop (2);
} else if (_root.sky == "night") {
gotoAndStop (3);
} else if (_root.sky == "day") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.sky == "dawn") {
gotoAndStop (1);
} else if (_root.sky == "blueSet") {
gotoAndStop (2);
} else if (_root.sky == "night") {
gotoAndStop (3);
} else if (_root.sky == "day") {
gotoAndStop (4);
}
};
}
Instance of Symbol 425 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 1.3;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 427 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 428 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 1.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 430 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.45;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 431 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 432 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 433 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 434 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.8;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 435 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.9;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 437 MovieClip in Symbol 447 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.3;
if (this._x < -250) {
this._x = 800;
}
}
Symbol 453 MovieClip Frame 1
stop();
Instance of Symbol 449 MovieClip in Symbol 453 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 460 MovieClip Frame 1
stop();
Instance of Symbol 455 MovieClip in Symbol 460 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 466 MovieClip Frame 1
stop();
_root.land = "dullSand";
_parent.LevelName = "Fort Horizon";
Symbol 466 MovieClip Frame 2
_root.land = "lightSand";
_parent.LevelName = "Sandy Coast Base";
Symbol 466 MovieClip Frame 3
_root.land = "dullSand";
_parent.LevelName = "Area 51";
Symbol 466 MovieClip Frame 4
_root.land = "snow";
_parent.LevelName = "Northern Outpost";
Symbol 466 MovieClip Frame 5
_root.land = "dirt";
_parent.LevelName = "Launch Site";
Symbol 466 MovieClip Frame 6
_root.land = "dirt";
_parent.LevelName = "Moon Lab";
Symbol 469 Button
on (release) {
if (dayN < 3) {
dayN = dayN + 1;
} else {
dayN = 0;
}
}
Symbol 470 Button
on (release) {
_root.gotoAndStop("TestGrounds");
}
Symbol 483 Button
on (release) {
setProperty(_root, _highquality , 1);
nextFrame();
}
Symbol 485 Button
on (release) {
setProperty(_root, _highquality , 2);
prevFrame();
}
Symbol 486 Button
on (release) {
setProperty(_root, _highquality , 0);
nextFrame();
}
Symbol 488 Button
on (release) {
setProperty(_root, _highquality , 1);
prevFrame();
}
Symbol 489 MovieClip Frame 1
stop();
if (_root._highquality == 0) {
gotoAndStop (3);
} else if (_root._highquality == 1) {
gotoAndStop (2);
} else if (_root._highquality == 1) {
gotoAndStop (1);
}
Symbol 495 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Instance of Symbol 496 MovieClip in Symbol 497 MovieClip Frame 1
onClipEvent (load) {
top = _y;
left = _x - 100;
right = _x;
bottom = _y;
_root.s = new Sound();
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.s.setVolume(100 - (right - _x));
}
}
Symbol 509 MovieClip Frame 1
stop();
Instance of Symbol 506 MovieClip in Symbol 509 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_root) {
if (0 < ammo) {
Set(("e." + vehicleName) + ".shot", "no");
}
};
}
onClipEvent (mouseDown) {
_parent.gotoAndStop(2);
}
Instance of Symbol 508 MovieClip in Symbol 509 MovieClip Frame 2
onClipEvent (load) {
tellTarget (_root) {
if (0 < ammo) {
Set(("e." + vehicleName) + ".shot", "go");
}
};
}
onClipEvent (mouseUp) {
_parent.gotoAndStop(1);
}
Symbol 514 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 514 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 514 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 515 MovieClip Frame 1
stop();
Instance of Symbol 218 MovieClip in Symbol 516 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent._y < _parent.ground) {
if (tire._y < 3) {
tire._y = tire._y + 1.4;
} else {
tire._y = 3;
}
} else if (_parent.ground < _parent._y) {
tire._y = -2;
} else if (tire._y == 3) {
tire._y = -1.5;
} else {
tire._y = 0;
}
};
}
Instance of Symbol 34 MovieClip in Symbol 517 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 521 MovieClip Frame 1
stop();
Instance of Symbol 498 MovieClip in Symbol 521 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "How good is your computer?";
body = "Change the graphics setting according to how good your computer is.";
};
}
Instance of Symbol 503 MovieClip in Symbol 521 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Hot Keys";
body = "Use the mouse to roll over vehicles you want to get in. Click the mouse to shoot.";
};
}
Instance of Symbol 519 MovieClip in Symbol 521 MovieClip Frame 3
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Entering A Vehicle";
body = "To enter a vehicle, first walk in the middle of it, then use your crosshair to roll over it. After you get in, use the arrow keys to move. The down arrow key will allow you to exit the vehicle. At high speeds high enough in the air you can use a parachute to keep yourself from falling to your death.";
};
}
Instance of Symbol 520 MovieClip in Symbol 521 MovieClip Frame 4
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Entering A Vehicle";
body = "";
};
}
Symbol 526 Button
on (release) {
if (v < vL) {
v = v + 1;
} else if ((v = vL + 1)) {
v = 1;
}
}
Symbol 527 Button
on (release) {
if (1 < v) {
v = v - 1;
} else if ((v = 1)) {
v = vL;
}
}
Symbol 533 Button
on (release) {
if (_root.codeF420 == "yes") {
_root.codeF420 = "no";
} else {
_root.codeF420 = "yes";
}
}
Symbol 541 MovieClip Frame 1
stop();
Instance of Symbol 531 MovieClip in Symbol 541 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.cheatF420 == "unlocked") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
}
onClipEvent (load) {
}
Instance of Symbol 539 MovieClip in Symbol 541 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeF420 == "yes") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (load) {
}
Instance of Symbol 540 MovieClip in Symbol 541 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeF420 == "no") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
Symbol 543 Button
on (release) {
if (_root.codeStrongArmor == "yes") {
_root.codeStrongArmor = "no";
} else {
_root.codeStrongArmor = "yes";
}
}
Symbol 547 MovieClip Frame 1
stop();
Instance of Symbol 542 MovieClip in Symbol 547 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.cheatStrongArmor == "unlocked") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
}
onClipEvent (load) {
}
Instance of Symbol 545 MovieClip in Symbol 547 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeStrongArmor == "yes") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (load) {
}
Instance of Symbol 546 MovieClip in Symbol 547 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeStrongArmor == "no") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
Symbol 549 Button
on (release) {
if (_root.codeMoreEnemy == "yes") {
_root.codeMoreEnemy = "no";
} else {
_root.codeMoreEnemy = "yes";
}
}
Symbol 553 MovieClip Frame 1
stop();
Instance of Symbol 548 MovieClip in Symbol 553 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.cheatMoreEnemy == "unlocked") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
}
onClipEvent (load) {
}
Instance of Symbol 551 MovieClip in Symbol 553 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeMoreEnemy == "yes") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (load) {
}
Instance of Symbol 552 MovieClip in Symbol 553 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeMoreEnemy == "no") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
Symbol 555 Button
on (release) {
if (_root.codeMoonGravity == "yes") {
_root.codeMoonGravity = "no";
} else {
_root.codeMoonGravity = "yes";
}
}
Symbol 559 MovieClip Frame 1
stop();
Instance of Symbol 554 MovieClip in Symbol 559 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.cheatMoonGravity == "unlocked") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
}
onClipEvent (load) {
}
Instance of Symbol 557 MovieClip in Symbol 559 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeMoonGravity == "yes") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (load) {
}
Instance of Symbol 558 MovieClip in Symbol 559 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeMoonGravity == "no") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
Symbol 561 Button
on (release) {
if (_root.codeAlienDude == "yes") {
_root.codeAlienDude = "no";
} else {
_root.codeAlienDude = "yes";
}
}
Symbol 565 MovieClip Frame 1
stop();
Instance of Symbol 560 MovieClip in Symbol 565 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.cheatAlienDude == "unlocked") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
}
onClipEvent (load) {
}
Instance of Symbol 563 MovieClip in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeAlienDude == "yes") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (load) {
}
Instance of Symbol 564 MovieClip in Symbol 565 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.codeAlienDude == "no") {
if (this._alpha < 100) {
this._alpha = this._alpha + 20;
} else {
this._alpha = 100;
}
} else if (0 < this._alpha) {
this._alpha = this._alpha - 5;
} else {
this._alpha = 0;
}
}
onClipEvent (load) {
this._alpha = 0;
}
Symbol 566 MovieClip Frame 1
stop();
CampaignLevel == "Fort Horizon";
Instance of Symbol 401 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (mouseDown) {
if (this.hitTest(_root._xmouse, _root._ymouse)) {
_parent.code = "";
}
}
Instance of Symbol 417 MovieClip in Symbol 566 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
info = _parent.info;
code2 = code.toUpperCase();
if (info == "CAMPAIGN") {
gotoAndStop (1);
} else if (info == "TRAINING") {
gotoAndStop (2);
} else if (info == "HELP") {
gotoAndStop (3);
} else if (info == "CREDITS") {
gotoAndStop (4);
} else {
gotoAndStop (5);
}
};
}
Symbol 566 MovieClip Frame 2
dayN = 0;
LevelN = 1;
LevelM = 6;
Instance of Symbol 466 MovieClip in Symbol 566 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.LevelN);
tellTarget (_parent) {
if (dayN == 0) {
day = "Sunset";
_root.sky = "dawn";
} else if (dayN == 1) {
day = "Night";
_root.sky = "night";
} else if (dayN == 2) {
day = "Day";
_root.sky = "day";
} else if (dayN == 3) {
day = "Blue set";
_root.sky = "blueSet";
}
};
}
Symbol 566 MovieClip Frame 3
v = 1;
vL = 3;
Instance of Symbol 521 MovieClip in Symbol 566 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
Symbol 569 Button
on (release) {
_parent._parent.info = "HELP";
}
Symbol 572 Button
on (release) {
_parent._parent.info = "TRAINING";
}
Symbol 575 Button
on (release) {
_parent._parent.info = "CAMPAIGN";
}
Symbol 579 Button
on (release) {
_parent._parent.info = "CREDITS";
}
Instance of Symbol 570 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Instance of Symbol 573 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Instance of Symbol 576 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Instance of Symbol 580 MovieClip in Symbol 581 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Symbol 586 Button
on (release) {
stopAllSounds();
gotoAndStop (489);
}
Symbol 614 MovieClip Frame 1
stop();
Symbol 619 MovieClip Frame 1
stop();
Instance of Symbol 614 MovieClip in Symbol 619 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(20) == 1) {
this.play();
}
}
Symbol 621 MovieClip Frame 9
gotoAndPlay (1);
Symbol 648 Button
on (release) {
_parent._parent.info = "OBJECTIVES";
}
Symbol 652 Button
on (release) {
_parent._parent.info = "VEHICLES";
}
Symbol 656 Button
on (release) {
_parent._parent.info = "EXIT";
}
Instance of Symbol 649 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Instance of Symbol 653 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Instance of Symbol 570 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Instance of Symbol 657 MovieClip in Symbol 658 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root._xmouse, _root._ymouse, true)) {
this._x = -20;
this._alpha = 100;
} else {
this._x = 0;
this._alpha = 50;
}
}
Symbol 660 Button
on (release) {
if (_root.training != "yes") {
if (v < vL) {
v = v + 1;
} else if ((v = vL + 1)) {
v = 1;
}
}
}
Symbol 661 Button
on (release) {
if (_root.training != "yes") {
if (1 < v) {
v = v - 1;
} else if ((v = 1)) {
v = vL;
}
}
}
Symbol 666 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 666 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 666 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 667 MovieClip Frame 1
stop();
Instance of Symbol 669 MovieClip in Symbol 670 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 16;
carry = "no";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.nightFunction(_parent);
if (_root.vehicle == "On Foot") {
_root.movement(_parent, 6, 1.5);
}
_root.gravity(_parent, 0.4, _parent);
tellTarget (_parent) {
_x = (275 - _parent._x);
if (_root.vehicleIn == "yes") {
_visible = 0;
_y = _root.vehicleName._y;
} else {
_visible = 1;
_root.ammo = ammo;
_root.vehicle = "On Foot";
_root.vehicleName = _name;
}
if (xspeed == 0) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (2);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (1);
}
} else if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (4);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (3);
}
};
}
}
Symbol 787 MovieClip Frame 1
stop();
Instance of Symbol 210 MovieClip in Symbol 787 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 666 MovieClip "mh" in Symbol 787 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.thtarget, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
lockt = _root.e.test;
}
};
}
}
Instance of Symbol 667 MovieClip in Symbol 787 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 671 MovieClip in Symbol 787 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.training != "yes") {
tellTarget (_parent._parent) {
title = "Test Run";
body = "Take this Dune Buggy out for a last run of the night. Just because I added a new engine to it, doesn't mean you can't go easy on it. Keep a look out for trespassers too, their always trying to get their footage on anything they could get their hands on. If they read the sign, it says trespassers may be shot, so it's your choice to do what you want. Just report back to me with anything, and let me know how it drives. ";
};
}
}
Instance of Symbol 674 MovieClip in Symbol 787 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Prank?";
body = "Did you see that? If someone is trying to play a prank, they are going to get themselves shot at! I don't know what kind of vehicle that is, but just be on alert for anything suspicious.";
};
}
Instance of Symbol 680 MovieClip in Symbol 787 MovieClip Frame 3
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "911 Call";
body = "Right now, you know just as much as I do about what is happening. We know that there are creatures out there that we both have never seen before in our lifetime. Just recently, there was a 911 call about a weird creature killing someone outside of a motel not too far from here. I need you to go defend that area until it is safe. A police car will be arriving there soon, but I don't think he's going to be ready for what he's about to find. ";
};
}
Instance of Symbol 684 MovieClip in Symbol 787 MovieClip Frame 4
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Air Defense";
body = "I think its' been quiet there for awhile, so it should be good. Anyway, we need you back at the base to defend it. There are unidentified flying objects on our radar heading towards our position. We think they are hostile just like those weird creatures we have been fighting off. Take an air/land gunner and shoot them down.";
};
}
Instance of Symbol 688 MovieClip in Symbol 787 MovieClip Frame 5
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "First Offensive";
body = "We have reported sightings this morning of strange objects on the desert floor. They appear to be ether food for their survival or power for their weapons. Whatever it is, we need you to destroy them. I've supplied you with 2 tanks, which should be more than enough. ";
};
}
Instance of Symbol 696 MovieClip in Symbol 787 MovieClip Frame 6
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "That's it!!!";
body = "Now they've messed with the wrong race. Show them whose running the show. Make them hurt so bad they'll never plan to even visit this place ever again. No time to waste, get in the Missile Launcher now and destroy them.";
};
}
Instance of Symbol 699 MovieClip in Symbol 787 MovieClip Frame 7
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Heavy Weapons";
body = "I've been waiting a long time to see one of these tanks in use. The heavy armor and the automatic machine gun should help you with whatever you encounter. Go take back the beach.";
};
}
Instance of Symbol 705 MovieClip in Symbol 787 MovieClip Frame 8
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Their back";
body = "Their bringing in air support now, who do they think we are. Destroy every last ship they have.";
};
}
Instance of Symbol 708 MovieClip in Symbol 787 MovieClip Frame 9
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Pickup the General";
body = "The General needs a ride back to the base. His convoy got ambushed, but their holding their ground until backup arrives. Pick him up and bring him back to base.";
};
}
Instance of Symbol 712 MovieClip in Symbol 787 MovieClip Frame 10
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "This means war!!!";
body = "They've messed with the wrong man. The general is pissed! He gave you the mission of picking up vehicles to bring 2 kilometers to a place where we have calculated their next drop of reinforcements. This time will be waiting for them. Use the Carrier to deliver the three tanks. ";
};
}
Instance of Symbol 715 MovieClip in Symbol 787 MovieClip Frame 11
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Their Early";
body = "It looks like we made it just in time for our advantage. Fire away!";
};
}
Instance of Symbol 717 MovieClip in Symbol 787 MovieClip Frame 12
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "We could take it from here";
body = "Return back to the base for further briefing on your next mission. Kill anything you encounter on your way back";
};
}
Instance of Symbol 720 MovieClip in Symbol 787 MovieClip Frame 13
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Nuke the bastards!";
body = "This mission is so highly classified that they won't even tell us why that ship is so dangerous. All you need to know is what you need to do. Nuke that ship and get out of there. If we use a long range missile, they have the technology to turn it back around and kill us all. We need you to fly until you get in range of shooting the nuke, and then fly the back to base and land before the nukes pulse makes you crash.";
};
}
Instance of Symbol 723 MovieClip in Symbol 787 MovieClip Frame 14
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Direct hit";
body = "The mother ship is down, I repeat, the mother ship is down. The bad news is a lot of them escaped before they could have been killed in the blast. We need to fight off the rest of them. Go back out there and fight off the rest of their survivors from the air.";
};
}
Instance of Symbol 725 MovieClip in Symbol 787 MovieClip Frame 15
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Get back to base NOW";
body = "They've snuck up through the dessert sand. We killed the ones we saw, but we know there's more out there. The main thing is to defend this base right now. Get in a ground vehicle.";
};
}
Instance of Symbol 728 MovieClip in Symbol 787 MovieClip Frame 16
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Ambushed";
body = "How could this have happened? Regroup in at the Command post 1057A.";
};
}
Instance of Symbol 733 MovieClip in Symbol 787 MovieClip Frame 17
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Find a way out";
body = "I have a crew preparing a plane for you to fly up to Alaska. Our northern outpost has seen some strange activity and we need you up there to check it out since you have the most combat experience with these creatures. Right now we don't know of any other sightings of these things in the world, so no one knows about it right now. There's no need for mass panic. It will only make matters worse. We have the cover up for the nuke already in place. Well, anyway, on your way to the docking bay, be on combat alert. Those creatures are lurking in our base. Good luck!";
};
}
Instance of Symbol 736 MovieClip in Symbol 787 MovieClip Frame 18
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Escort";
body = "We need you to escort the convoy from the ice caverns back to here. It is crucial that you protect it at all cost. Move now, every second counts.";
};
}
Instance of Symbol 740 MovieClip in Symbol 787 MovieClip Frame 19
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Search and Rescue";
body = "We got a call from a soldier who has spotted something. That's all we know, because we lost transmission after hearing \"I found a….\" We need you to go find him and see what's happening.";
};
}
Instance of Symbol 744 MovieClip in Symbol 787 MovieClip Frame 20
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 745 MovieClip in Symbol 787 MovieClip Frame 20
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "A Portal";
body = "That's something we can't let the aliens use. You don't know how many they could bring through that thing. You need to find the portal and destroy it before it destroys us.";
};
}
Instance of Symbol 749 MovieClip in Symbol 787 MovieClip Frame 21
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Time to leave";
body = "They've found another portal. The only problem is, it's all the way on the moon. We need you to go defend the launch site. And one other thing, you're going to the moon. Take some of our vehicles with you on the aircraft carrier. Your going to need all the fire power that you can get.";
};
}
Instance of Symbol 753 MovieClip in Symbol 787 MovieClip Frame 22
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 755 MovieClip in Symbol 787 MovieClip Frame 22
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Aircraft carrier";
body = "We have some UFO's following us. Take them down.";
};
}
Instance of Symbol 759 MovieClip in Symbol 787 MovieClip Frame 23
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Carrier";
body = "Move the heavy tanks to the launch area. Be careful of ground fire, their already here.";
};
}
Instance of Symbol 761 MovieClip in Symbol 787 MovieClip Frame 24
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Protect At All Costs";
body = "Defend the rocket. It's your ride, so if they destroy it, were fucked.";
};
}
Instance of Symbol 765 MovieClip in Symbol 787 MovieClip Frame 25
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Command";
body = "Command is under attack, go defend it. Without it, we can't send you on your mission to the moon. ";
};
}
Instance of Symbol 768 MovieClip in Symbol 787 MovieClip Frame 26
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Get off this rock";
body = "Before the rocket explodes, we should probably launch it. Get your ass on that rocket now.";
};
}
Instance of Symbol 778 MovieClip in Symbol 787 MovieClip Frame 27
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Set up Camp";
body = "While we set the camp up, we need you to defend us. There are a few waves being sent our way. Do anything to keep them from destroying us.";
};
}
Instance of Symbol 781 MovieClip in Symbol 787 MovieClip Frame 28
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Go!";
body = "Our base camp is set, go destroy the portal while we can!";
};
}
Instance of Symbol 784 MovieClip in Symbol 787 MovieClip Frame 29
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Mission Complete";
body = "Get back to base camp and help fight off the rest of these things.";
};
}
Instance of Symbol 786 MovieClip in Symbol 787 MovieClip Frame 30
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Déjà vu";
body = "???";
};
}
Symbol 789 Button
on (release) {
gotoAndStop (2);
}
on (rollOver) {
tellTarget (_parent) {
body = "Shoot clay pigeons using the non explosive shotgun.";
};
}
Symbol 790 Button
on (release) {
gotoAndStop (3);
}
on (rollOver) {
tellTarget (_parent) {
body = "Shoot targets from the air after jumping out of your dune buggy. You can only shoot the targets while in the air using your shotgun, otherwise the hits won't count. Go full speed with the dune buggy and hit the jump. At the highest point in the air, bail out. Your parachute should automatically open up, or else you're not high enough in the air. There are 6 targets per round, with a total of 10 rounds.";
};
}
Symbol 791 Button
on (release) {
gotoAndStop (6);
}
on (rollOver) {
tellTarget (_parent) {
body = "Use the Carrier to drop vehicles to the drop zone while flying at full speed.";
};
}
Symbol 795 Button
on (release) {
gotoAndStop (1);
}
Symbol 796 Button
on (release) {
_root.paused = "no";
tellTarget (_root) {
roundover = "no";
roundnum = 1;
round = "Ski Shooting";
roundkills = "10";
_root.ready = "yes";
_root.e._x = -2800;
_root.e.s10._x = 3300;
_root.e.goal._x = 2800;
};
gotoAndStop (1);
}
Symbol 804 Button
on (release) {
_root.paused = "no";
tellTarget (_root) {
roundover = "no";
roundnum = 1;
round = "Para Shooting";
roundkills = "10";
_root.ready = "yes";
_root.e._x = 1000;
_root.e.s10._x = -700;
_root.e.goal._x = 1360;
};
gotoAndStop (1);
}
Symbol 807 Button
on (release) {
_root.paused = "no";
tellTarget (_root) {
roundover = "no";
roundnum = 1;
round = "The Drop";
roundkills = "10";
_root.ready = "yes";
_root.e._x = 900;
_root.e.s2._x = -700;
_root.e.s2.xspeed = 0;
_root.e.s10._x = -700;
_root.e.s10.xspeed = 0;
_root.e.goal._x = -10000;
_root.e.shine._x = -10000;
_root.e.shine._visible = 1;
};
gotoAndStop (1);
}
Symbol 814 MovieClip Frame 1
stop();
Instance of Symbol 794 MovieClip in Symbol 814 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent._parent) {
title = "Select a training mission";
body = "";
};
}
Instance of Symbol 803 MovieClip in Symbol 814 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Ski Shooting";
};
}
Instance of Symbol 806 MovieClip in Symbol 814 MovieClip Frame 3
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Para Shooting";
};
}
Instance of Symbol 808 MovieClip in Symbol 814 MovieClip Frame 4
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Firing Range";
};
}
Instance of Symbol 809 MovieClip in Symbol 814 MovieClip Frame 5
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Ground to Air";
};
}
Instance of Symbol 210 MovieClip in Symbol 814 MovieClip Frame 6
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 666 MovieClip "mh" in Symbol 814 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.paused == "no") {
if (_parent.control == "human") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _root.e.t, _parent, 0, 0);
} else if (_parent.control == "cpu") {
_root.RotateWithTarget(this, 20, _parent.manned, -210, 30, _parent.thtarget, _parent, 0, 0);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_parent.lockt, _parent, 0, 0);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 0);
tellTarget (_parent) {
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Dune Buggy";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
lockt = _root.e.test;
}
};
}
}
Instance of Symbol 667 MovieClip in Symbol 814 MovieClip Frame 6
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 812 MovieClip in Symbol 814 MovieClip Frame 6
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "The Drop zone";
};
}
Instance of Symbol 813 MovieClip in Symbol 814 MovieClip Frame 7
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Pick a training mission";
body = "";
};
}
Symbol 836 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 836 MovieClip Frame 9
stop();
Symbol 843 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 843 MovieClip Frame 9
stop();
Symbol 844 MovieClip Frame 6
gotoAndPlay(random(3) + 1);
Symbol 844 MovieClip Frame 9
stop();
Symbol 849 MovieClip Frame 1
stop();
Instance of Symbol 819 MovieClip in Symbol 849 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Dune Buggy";
body = "The Dune Buggy is excellent for quick mobility and is equipped with a machine gun. On the down side, it has very low armor to keep its speed. Don't go into battle with this. Its main uses are for scanning the area for media trying to get a glimpse of the newest military machines, or just some curious people with cameras. It's good for being the first to an emergency without having to wait for air support to get ready.";
};
}
Instance of Symbol 826 MovieClip in Symbol 849 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Air/Land Defense Gunner";
body = "This stationary air/land defense weapon is used manly to defend the base camps. The sandbags give better cover and the gunner has tripled the machine guns to triple the amount of damage from a regular machine gun. ";
};
}
Instance of Symbol 827 MovieClip in Symbol 849 MovieClip Frame 3
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Light Tank";
body = "This tank is built for both speed and armor. Its' cannon creates medium damage on its targets. This tank is ideal if you want quick mobility, good armor, and defense all in one.";
};
}
Instance of Symbol 829 MovieClip in Symbol 849 MovieClip Frame 4
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Missile Launcher";
body = "This is the most damaging vehicle that delivers an explosive blast to where it needs. It is quick, but the armor is less than the light tank. It is ideal for long range attack for ether air or land. ";
};
}
Instance of Symbol 831 MovieClip in Symbol 849 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 0.3);
_root.gravity(_parent, 0.2, _parent.tds);
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex3", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (15 < reload) {
ammo = 2;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
sload = "yes";
} else if (manned == "no") {
sload = "no";
ammo = 2;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
lockt = _root.e.test;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 834 MovieClip in Symbol 849 MovieClip Frame 5
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Heavy Tank";
body = "If the enemy comes into contact with this beast, they'll run the other way! This tank is powerful and its armor is the strongest that any tank has ever had in history. It has an automatic turret to defend from small fire while you need to destroy whatever it is that needs to be taken down. The shells are even more powerful than the ones from the small tank. The downside though is it is very slow, but steady pace. ";
};
}
Instance of Symbol 841 MovieClip in Symbol 849 MovieClip Frame 6
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Carrier";
body = "Whenever vehicles need to be transported, this is the plane that gets called in. It has no defense in order to keep it as light as possible for the pickup it needs to transport and to still have a decent amount of speed. When vehicles need to be moved across terrain that is impossible by land, this plane comes in handy.";
};
}
Instance of Symbol 843 MovieClip "e1" in Symbol 849 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 843 MovieClip "e2" in Symbol 849 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((0 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((0 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
this._alpha = 100;
} else {
this._alpha = 0;
}
}
Instance of Symbol 844 MovieClip "e3" in Symbol 849 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 844 MovieClip "e4" in Symbol 849 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((((10 < Math.abs(_parent.xspeed)) && (0 < _parent.xspeed)) && (Key.isDown(Key.LEFT))) || (((10 < Math.abs(_parent.xspeed)) && (_parent.xspeed < 0)) && (Key.isDown(Key.RIGHT)))) {
this._alpha = 0;
} else {
this._alpha = 100;
}
}
Instance of Symbol 847 MovieClip in Symbol 849 MovieClip Frame 7
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "F420";
body = "This plane has been the best kept secret from even the military until now. Its most impressive qualities are to penetrate radar, fly in space, and to have the ability to cloak itself! The armor is very weak, but it's not needed if you fly stealth missions correctly.";
};
}
Instance of Symbol 848 MovieClip in Symbol 849 MovieClip Frame 8
onClipEvent (enterFrame) {
tellTarget (_parent._parent) {
title = "Dune Buggy";
body = "";
};
}
Symbol 851 Button
on (release) {
tellTarget (_root) {
stopAllSounds();
gotoAndPlay ("Begin");
};
}
Symbol 852 Button
on (release) {
_parent.info = "OBJECTIVES";
}
Symbol 857 MovieClip Frame 1
stop();
v = 1;
vL == _root.mission;
Instance of Symbol 787 MovieClip in Symbol 857 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
onClipEvent (load) {
if (_root.training == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 814 MovieClip in Symbol 857 MovieClip Frame 1
onClipEvent (load) {
if (_root.training == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 815 MovieClip in Symbol 857 MovieClip Frame 1
onClipEvent (load) {
_parent.v = _root.mission;
_parent.vL = _root.mission;
}
Symbol 857 MovieClip Frame 2
v = 1;
vL = 7;
Instance of Symbol 849 MovieClip in Symbol 857 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
Symbol 857 MovieClip Frame 3
v = 1;
vL = 3;
Instance of Symbol 521 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
Instance of Symbol 850 MovieClip in Symbol 857 MovieClip Frame 3
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (v == 0) {
title = "_parent.title";
body = "_parent.body";
}
};
}
Instance of Symbol 856 MovieClip in Symbol 857 MovieClip Frame 4
onClipEvent (load) {
_parent.title = "Level 1 Code = QONGHALKBA";
_parent.body = (("If you are sure that you want to quit, be sure to write down the level code. " + _root.levN) + " = ") + _root.levC;
}
Symbol 863 Button
on (release) {
body.scroll = body.scroll + 1;
}
Symbol 864 Button
on (release) {
body.scroll = body.scroll - 1;
}
Symbol 870 Button
on (release) {
_root.paused = "no";
}
Symbol 876 MovieClip Frame 1
stop();
v = 1;
vL == _root.mission;
Instance of Symbol 787 MovieClip in Symbol 876 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
onClipEvent (load) {
if (_root.training == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 814 MovieClip in Symbol 876 MovieClip Frame 1
onClipEvent (load) {
if (_root.training == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 815 MovieClip in Symbol 876 MovieClip Frame 1
onClipEvent (load) {
_parent.v = _root.mission;
_parent.vL = _root.mission;
}
Symbol 876 MovieClip Frame 2
v = 1;
vL = 7;
Instance of Symbol 849 MovieClip in Symbol 876 MovieClip Frame 2
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
Symbol 876 MovieClip Frame 3
v = 1;
vL = 3;
Instance of Symbol 521 MovieClip in Symbol 876 MovieClip Frame 3
onClipEvent (enterFrame) {
this.gotoAndStop(_parent.v);
}
Instance of Symbol 850 MovieClip in Symbol 876 MovieClip Frame 3
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (v == 0) {
title = "_parent.title";
body = "_parent.body";
}
};
}
Instance of Symbol 856 MovieClip in Symbol 876 MovieClip Frame 4
onClipEvent (load) {
_parent.title = "Level 1 Code = QONGHALKBA";
_parent.body = (("If you are sure that you want to quit, be sure to write down the level code. " + _root.levN) + " = ") + _root.levC;
}
Symbol 879 MovieClip Frame 1
stop();
Instance of Symbol 874 MovieClip in Symbol 879 MovieClip Frame 1
onClipEvent (load) {
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.paused == "no") {
gotoAndStop (1);
_alpha = 0;
} else if ((_root.paused == "yes") && (_currentframe < 9)) {
play();
_alpha = 100;
}
};
}
Symbol 879 MovieClip Frame 10
stop();
Instance of Symbol 876 MovieClip "left" in Symbol 879 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent.info == "OBJECTIVES") {
this.gotoAndStop(1);
} else if (_parent.info == "VEHICLES") {
this.gotoAndStop(2);
} else if (_parent.info == "HELP") {
this.gotoAndStop(3);
} else if (_parent.info == "EXIT") {
this.gotoAndStop(4);
}
}
Instance of Symbol 877 MovieClip in Symbol 879 MovieClip Frame 10
onClipEvent (enterFrame) {
this.title = _parent.left.title;
this.body = _parent.left.body;
}
Instance of Symbol 878 MovieClip in Symbol 879 MovieClip Frame 10
onClipEvent (load) {
_parent.info = "OBJECTIVES";
}
onClipEvent (enterFrame) {
this.info = _parent.info;
}
Symbol 881 Button
on (release) {
_visible = 0;
}
Instance of Symbol 883 MovieClip in Symbol 889 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
Lcode = (_root.levN + " = ") + _root.levC;
};
}
Symbol 890 MovieClip Frame 1
stop();
Instance of Symbol 425 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1.3;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 427 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 428 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 1.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 430 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.45;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 431 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 432 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 433 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 434 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.8;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 435 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.9;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 437 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = this._x - 0.3;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 438 MovieClip in Symbol 890 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
if (_root.sky == "dawn") {
gotoAndStop (1);
} else if (_root.sky == "blueSet") {
gotoAndStop (2);
} else if (_root.sky == "night") {
gotoAndStop (3);
} else if (_root.sky == "day") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.sky == "dawn") {
gotoAndStop (1);
} else if (_root.sky == "blueSet") {
gotoAndStop (2);
} else if (_root.sky == "night") {
gotoAndStop (3);
} else if (_root.sky == "day") {
gotoAndStop (4);
}
};
}
Instance of Symbol 425 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 1.3;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 427 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 428 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 1.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 430 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.45;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 431 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.5;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 432 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.4;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 433 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.2;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 434 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.8;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 435 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.9;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 436 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.6;
if (this._x < -250) {
this._x = 800;
}
}
Instance of Symbol 437 MovieClip in Symbol 890 MovieClip Frame 4
onClipEvent (enterFrame) {
this._x = this._x - 0.3;
if (this._x < -250) {
this._x = 800;
}
}
Symbol 893 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 893 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 894 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 894 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 895 MovieClip Frame 1
stop();
Instance of Symbol 449 MovieClip in Symbol 895 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 898 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 898 MovieClip in Symbol 900 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 898 MovieClip in Symbol 901 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 905 MovieClip in Symbol 906 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 903 MovieClip in Symbol 907 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 898 MovieClip in Symbol 909 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 910 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Symbol 911 MovieClip Frame 1
stop();
Instance of Symbol 455 MovieClip in Symbol 911 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 919 MovieClip Frame 1
stop();
Instance of Symbol 913 MovieClip in Symbol 919 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (3);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (1);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 943 MovieClip Frame 1
stop();
Instance of Symbol 921 MovieClip in Symbol 943 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 927 MovieClip in Symbol 943 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 8;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 943 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 943 MovieClip Frame 12
stop();
Symbol 947 MovieClip Frame 1
stop();
Instance of Symbol 945 MovieClip in Symbol 947 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
_parent._y = 300;
}
Symbol 953 MovieClip Frame 1
stop();
Instance of Symbol 951 MovieClip in Symbol 953 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (3);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (1);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 955 MovieClip Frame 1
_y = 300;
Instance of Symbol 953 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 215;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (3);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (1);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Instance of Symbol 956 MovieClip "ha" in Symbol 958 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 213;
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 967 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 975 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 975 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 982 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 983 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 985 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 986 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 986 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 987 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 988 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 989 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 989 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 991 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 992 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 993 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1009 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1009 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1009 MovieClip Frame 13
stop();
Symbol 1013 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1013 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1014 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1014 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1014 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1014 MovieClip Frame 13
stop();
Instance of Symbol 1017 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
_parent._y = 300;
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1028 MovieClip in Symbol 1030 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((hitTest(_root.e.s0) && (0 < _root.e.s0.health)) && (_root.e.s0.health < 100)) && (_root.vehicle == "On Foot")) {
_root.e.s0.health = 100;
gotoAndStop (31);
}
};
}
Symbol 1030 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 1029 MovieClip in Symbol 1030 MovieClip Frame 31
onClipEvent (load) {
_parent.tn = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
tellTarget (_parent) {
if (500 < tn) {
gotoAndPlay (1);
} else {
tn = tn + 1;
}
};
}
}
Symbol 1033 MovieClip Frame 1
stop();
Instance of Symbol 1031 MovieClip in Symbol 1033 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 1033 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Instance of Symbol 148 MovieClip in Symbol 1033 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Instance of Symbol 148 MovieClip in Symbol 1033 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Instance of Symbol 1032 MovieClip in Symbol 1033 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._x = this._x;
}
Instance of Symbol 1041 MovieClip in Symbol 1047 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 16;
carry = "no";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.nightFunction(_parent);
if (_root.vehicle == "On Foot") {
_root.movement(_parent, 6, 1.5);
}
_root.gravity(_parent, 0.4, _parent);
tellTarget (_parent) {
_x = (275 - _parent._x);
if (_root.vehicleIn == "yes") {
_visible = 0;
_y = _root.vehicleName._y;
} else {
_visible = 1;
_root.ammo = ammo;
_root.vehicle = "On Foot";
_root.vehicleName = _name;
}
if (xspeed == 0) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (2);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (1);
}
} else if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (4);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (3);
}
};
}
}
Symbol 1047 MovieClip Frame 6
stop();
Symbol 1056 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1056 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1056 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1056 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1056 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1056 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1056 MovieClip Frame 11
stop();
Symbol 1057 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1057 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1057 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1057 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1057 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1057 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1057 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1057 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1057 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1057 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1057 MovieClip Frame 11
stop();
Symbol 1062 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 1062 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 1062 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 1079 MovieClip Frame 1
stop();
Instance of Symbol 1067 MovieClip in Symbol 1079 MovieClip Frame 1
onClipEvent (load) {
_parent.motion = 1;
_parent._yscale = 10;
_parent._rotation = 0;
_root.para = "yes";
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent._yscale >= 100) {
_root.para2 = "yes";
if (2 < _parent.xspeed) {
_parent.xspeed = _parent.xspeed * 0.5;
} else if (_parent.xspeed < -2) {
_parent.xspeed = Math.abs(_parent.xspeed) * -0.5;
}
}
if (_parent._y < (_parent.ground - 4)) {
stop();
} else {
play();
_root.para = "no";
}
};
}
Symbol 1079 MovieClip Frame 2
_root.para2 = "no";
Instance of Symbol 1069 MovieClip in Symbol 1079 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.xspeed = _parent.xspeed * 0.1;
if (Key.getCode() == 88) {
_root.para = "no";
_root.e.attachMovie("lyein", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , _parent._x);
setProperty(eval ("_root.e.shellex" + _root.i), _xscale , _xscale);
setProperty(eval ("_root.e.shellex" + _root.i), _y , _parent.ground);
gotoAndStop (11);
}
};
}
Symbol 1079 MovieClip Frame 10
stop();
Instance of Symbol 1078 MovieClip in Symbol 1079 MovieClip Frame 11
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((130 < (_parent.ground - _parent._y)) && (_root.vehicleIn == "no")) && (_root.ladderOn == "no")) {
gotoAndStop (1);
}
};
}
Symbol 1082 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 1082 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 1082 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 1099 MovieClip Frame 14
gotoAndPlay (1);
Symbol 1103 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1104 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1106 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 1106 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 1116 MovieClip Frame 1
stop();
Instance of Symbol 1106 MovieClip in Symbol 1116 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation;
}
Symbol 1116 MovieClip Frame 10
gotoAndPlay (2);
Symbol 1124 MovieClip Frame 1
stop();
Instance of Symbol 1061 MovieClip "legs" in Symbol 1124 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1124 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1064 MovieClip "d" in Symbol 1124 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1065 MovieClip in Symbol 1124 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 1079 MovieClip in Symbol 1124 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(11);
}
onClipEvent (enterFrame) {
if (this._yscale < 100) {
this._yscale = this._yscale + 15;
} else if (this._currentframe == 1) {
_root.para = "yes";
_root.para2 = "yes";
}
if (0 < _parent.xspeed) {
this._xscale = -100;
} else if (_parent.xspeed < 0) {
this._xscale = 100;
}
tellTarget (this) {
if (this._currentframe == 1) {
_rotation = (_rotation + motion);
} else {
_rotation = 0;
}
if (5 < _rotation) {
motion = motion - 1;
}
if (_rotation < 5) {
motion = motion + 1;
}
};
}
Instance of Symbol 1080 MovieClip in Symbol 1124 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 8;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.nightFunction(_parent);
if ((_root.vehicle == "On Foot") && (_root.ladderOn == "no")) {
if (_root.cAlienDude == "yes") {
_root.movement(_parent, 50, 5);
} else {
_root.movement(_parent, 6, 1.5);
}
}
if (_root.ladderOn == "no") {
_root.gravity(_parent, 0.1, _parent.legs);
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((_parent._y == _parent.ground) && (0 >= _parent.yspeed)) && (_root.para == "no")) {
_parent.yspeed = -6;
}
}
}
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_root.ladderOn == "no")) {
_root.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , _root._xmouse + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , _root._ymouse);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 8;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
_x = (275 - _parent._x);
if (_root.vehicleIn == "yes") {
_visible = 0;
if ((eval (("_root.e." + _root.vehicleName) + ".fly") == "yes") && (Math.abs(eval (("_root.e." + _root.vehicleName) + ".xspeed")) < 10)) {
_y = (ground - 20);
} else {
xspeed = eval (("_root.e." + _root.vehicleName) + ".xspeed");
_y = eval ("_root.e." + _root.vehicleName)._y;
}
} else {
_root.vehicleName = _name;
_root.health = health;
_visible = 1;
_root.ammo = ammo;
_root.vehicle = "On Foot";
}
if (_root.ladderOn == "no") {
if ((xspeed == 0) || ((_root.para == "yes") && (_y < (ground - 5)))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (2);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (1);
}
} else if ((_root.para == "no") || ((_root.para == "yes") && ((ground - 5) < _y))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (4);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (3);
}
}
} else {
gotoAndStop (5);
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1081 MovieClip in Symbol 1124 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT))) || (Key.isDown(65))) || (Key.isDown(68))) {
_root.ladderOn = "no";
}
if ((_root.vehicleIn == "no") && (_root.para == "no")) {
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
climb.play();
_y = (_y - 3);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else if (Key.isDown(Key.DOWN) || (Key.isDown(83))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
_y = (_y + 6);
climb.gotoAndStop(1);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else {
climb.gotoAndStop(1);
}
}
};
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1124 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1084 MovieClip in Symbol 1124 MovieClip Frame 2
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1100 MovieClip "legs" in Symbol 1124 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1124 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1102 MovieClip in Symbol 1124 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1103 MovieClip in Symbol 1124 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this._xscale = 100;
} else if (0 < _parent.xspeed) {
this._xscale = -100;
}
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1124 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1104 MovieClip in Symbol 1124 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
this._xscale = 100;
}
Instance of Symbol 1116 MovieClip "climb" in Symbol 1124 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Symbol 1124 MovieClip Frame 6
xspeed = 0;
play();
Symbol 1124 MovieClip Frame 11
stop();
_root.red2._visible = 1;
Symbol 1125 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 1125 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 1125 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 1128 MovieClip Frame 1
stop();
Instance of Symbol 147 MovieClip in Symbol 1128 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 148 MovieClip in Symbol 1128 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndPlay(random(6));
}
Symbol 1132 MovieClip Frame 1
stop();
Instance of Symbol 1106 MovieClip in Symbol 1132 MovieClip Frame 1
onClipEvent (load) {
this._rotation = this._rotation;
}
Symbol 1132 MovieClip Frame 10
gotoAndPlay (2);
Symbol 1139 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1139 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1139 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1139 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1139 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1139 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1139 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1139 MovieClip Frame 6
xspeed = 0;
Symbol 1139 MovieClip Frame 11
stop();
Symbol 1140 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1140 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1140 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1140 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1140 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1140 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1140 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1140 MovieClip Frame 6
xspeed = 0;
Symbol 1140 MovieClip Frame 11
stop();
Symbol 1141 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1141 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1141 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1141 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1141 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1141 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1141 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1141 MovieClip Frame 6
xspeed = 0;
Symbol 1141 MovieClip Frame 11
stop();
Symbol 1144 MovieClip Frame 9
gotoAndPlay (1);
Symbol 1152 MovieClip Frame 1
stop();
Instance of Symbol 1143 MovieClip in Symbol 1152 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 20;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 16;
shot = "no";
carry = "no";
hostile = "yes";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.movement(_parent, 20, 5);
_root.nightFunction(_parent);
_root.gravity(_parent, 0.4, _parent);
tellTarget (_parent) {
damage = 0.1;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (1);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (2);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (3);
} else if (xspeed < 0) {
gotoAndStop (4);
lastPos = "left";
}
if (_root.cloak == "no") {
if ((_x + 20) < _root.e.s0._x) {
xmotion = "right";
} else if (_root.e.s0._x < (_x - 20)) {
xmotion = "left";
}
} else {
xmotion = "none";
}
if (0 >= health) {
gotoAndPlay (5);
}
};
}
}
Symbol 1152 MovieClip Frame 5
_root.alien1Num = _root.alien1Num - 1;
play();
Instance of Symbol 1146 MovieClip in Symbol 1152 MovieClip Frame 5
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("squash1");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1152 MovieClip Frame 10
stop();
Instance of Symbol 1151 MovieClip in Symbol 1152 MovieClip Frame 10
onClipEvent (load) {
_parent._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.alien1Num < _root.alien1Max) && (0 < _root.alien1A)) {
if (random(2) == 1) {
_parent._x = (_root.e.s0._x + 400) + random(100);
} else {
_parent._x = (_root.e.s0._x - 400) - random(100);
}
_parent._visible = 1;
_root.alien1Num = _root.alien1Num + 1;
_root.alien1A = _root.alien1A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1164 MovieClip Frame 1
stop();
Instance of Symbol 1154 MovieClip in Symbol 1164 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1155 MovieClip in Symbol 1164 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_root.e.s0, _parent, 0, -5);
_root.hitCordinate(_parent, _parent, _parent.distance, 0, -5);
tellTarget (_parent) {
_y = (_y + yspeed);
if (_parent._y < high) {
}
_x = (_x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * ((-_xscale) * 0.05)));
};
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
_root.e.attachMovie("lazerex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , _parent._x);
setProperty(eval ("_root.e.shellex" + _root.i), _xscale , distance);
setProperty(eval ("_root.e.shellex" + _root.i), _y , _parent._y);
_root.RotateWithTarget(eval ("_root.e.shellex" + _root.i), 360, "yes", -360, 360, _root.e.s0, _parent, 0, -20);
this._alpha = 0;
}
}
}
Instance of Symbol 1156 MovieClip in Symbol 1164 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, 30, 3);
tellTarget (_parent) {
_parent.rolled = "no";
_y = (_y + (yspeed * 0.1));
if (_y < high) {
low = ((10 * _xscale) * 0.01) + 100;
yspeed = yspeed + 1;
} else if (low < _y) {
yspeed = yspeed - 1;
high = ((10 * _xscale) * 0.01) + 100;
}
if (_root.cloak == "no") {
if ((_x + 20) < _root.e.s0._x) {
xmotion = "right";
} else if (_root.e.s0._x < (_x - 20)) {
xmotion = "left";
}
} else {
xmotion = "none";
}
if (0 >= health) {
gotoAndPlay (2);
}
};
}
}
onClipEvent (load) {
tellTarget (_parent) {
yspeed = 1;
high = ((10 * _xscale) * 0.01) + 100;
low = ((10 * _xscale) * 0.01) + 100;
};
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
fly = "yes";
armor = 20;
xspeed = 0;
reload = 0;
ammo = 16;
shot = "no";
carry = "no";
hostile = "yes";
};
}
Symbol 1164 MovieClip Frame 2
_root.alien2Num = _root.alien2Num - 1;
play();
Instance of Symbol 274 MovieClip in Symbol 1164 MovieClip Frame 2
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1164 MovieClip Frame 9
stop();
Instance of Symbol 1163 MovieClip in Symbol 1164 MovieClip Frame 9
onClipEvent (load) {
_parent._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.alien2Num < _root.alien2Max) && (0 < _root.alien2A)) {
if (random(2) == 1) {
_parent._x = (_root.e.s0._x + 400) + random(100);
} else {
_parent._x = (_root.e.s0._x - 400) - random(100);
}
_parent._visible = 1;
_root.alien2Num = _root.alien2Num + 1;
_root.alien2A = _root.alien2A - 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 339 MovieClip in Symbol 1165 MovieClip Frame 2
onClipEvent (load) {
damage = 0.5;
if (_parent.hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
if (tT.hitTest(_root.e.s15)) {
_root.e.s15.health = _root.e.s15.health - (_root.e.s15.armor * damage);
}
if (tT.hitTest(_root.e.s16)) {
_root.e.s16.health = _root.e.s16.health - (_root.e.s16.armor * damage);
}
if (tT.hitTest(_root.e.s17)) {
_root.e.s17.health = _root.e.s17.health - (_root.e.s17.armor * damage);
}
}
Instance of Symbol 131 MovieClip in Symbol 1165 MovieClip Frame 3
onClipEvent (load) {
_parent._parent.removeMovieClip();
}
Symbol 1167 MovieClip Frame 1
stop();
Symbol 1167 MovieClip Frame 7
stop();
Symbol 1185 MovieClip Frame 1
stop();
Instance of Symbol 1167 MovieClip in Symbol 1185 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (this) {
_rotation = (_rotation + (yspeed * 0.1));
if (_rotation < 0) {
yspeed = yspeed + 1;
} else if (0 < _rotation) {
yspeed = yspeed - 1;
}
if (0 < _x) {
xspeed = xspeed - 1;
} else if (_x < 0) {
xspeed = xspeed + 1;
}
_x = (_x + xspeed);
};
}
onClipEvent (load) {
this.xspeed = 0;
}
Instance of Symbol 1167 MovieClip in Symbol 1185 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (this) {
_rotation = (_rotation + (yspeed * 0.1));
if (_rotation < 0) {
yspeed = yspeed + 1;
} else if (0 < _rotation) {
yspeed = yspeed - 1;
}
if (0 < _x) {
xspeed = xspeed - 1;
} else if (_x < 0) {
xspeed = xspeed + 1;
}
_x = (_x + xspeed);
};
}
onClipEvent (load) {
this.xspeed = 0;
}
Instance of Symbol 1169 MovieClip in Symbol 1185 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1175 MovieClip in Symbol 1185 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.3;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 16;
shot = "no";
carry = "no";
hostile = "yes";
fly = "yes";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.pTheorem(_root.e.s0, _parent, 0, -5);
_root.hitCordinate(_parent, _parent, _parent.distance, 0, -5);
_root.movement(_parent, 10, 2);
tellTarget (_parent) {
if (_root.cloak == "no") {
if (_x < _root.e.s0._x) {
xmotion = "right";
} else if (_root.e.s0._x < _x) {
xmotion = "left";
} else {
xmotion = "none";
}
}
if (0 >= health) {
play();
}
};
}
}
Symbol 1185 MovieClip Frame 2
_root.alien3Num = _root.alien3Num - 1;
play();
Instance of Symbol 1049 MovieClip in Symbol 1185 MovieClip Frame 2
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1185 MovieClip Frame 10
stop();
Instance of Symbol 1184 MovieClip in Symbol 1185 MovieClip Frame 10
onClipEvent (load) {
_parent._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.alien3Num < _root.alien3Max) && (0 < _root.alien3A)) {
if (random(2) == 1) {
_parent._x = (_root.e.s0._x + 1000) + random(100);
} else {
_parent._x = (_root.e.s0._x - 1000) - random(100);
}
_parent._visible = 1;
_root.alien3Num = _root.alien3Num + 1;
_root.alien3A = _root.alien3A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1192 MovieClip Frame 19
gotoAndPlay (1);
Symbol 1194 MovieClip Frame 12
gotoAndPlay (1);
Symbol 1203 MovieClip Frame 1
stop();
Instance of Symbol 1193 MovieClip in Symbol 1203 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.5;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 16;
shot = "no";
carry = "no";
hostile = "yes";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.pTheorem(_root.e.s0, _parent, 0, -5);
_root.hitCordinate(_parent, _parent, _parent.distance, 0, -5);
_root.movement(_parent, 15, 4);
_root.nightFunction(_parent);
_root.gravity(_parent, 0.4, _parent);
if (shotClock < 100) {
shotClock = shotClock + 5;
} else {
_root.e.attachMovie("lazerex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , _parent._x);
setProperty(eval ("_root.e.shellex" + _root.i), _xscale , 100);
setProperty(eval ("_root.e.shellex" + _root.i), _y , _parent._y - 40);
_root.RotateWithTarget(eval ("_root.e.shellex" + _root.i), 360, "yes", -360, 360, _root.e.s0, _parent, 0, 40);
shotClock = 0;
}
tellTarget (_parent) {
damage = 0.1;
if (mech.hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (1);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (2);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (3);
} else if (xspeed < 0) {
gotoAndStop (4);
lastPos = "left";
}
if (_root.cloak == "no") {
if ((_x + 150) < _root.e.s0._x) {
xmotion = "right";
} else if (_root.e.s0._x < (_x - 150)) {
xmotion = "left";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (5);
}
};
}
}
Symbol 1203 MovieClip Frame 5
_root.alien4Num = _root.alien4Num - 1;
play();
Symbol 1203 MovieClip Frame 13
stop();
Instance of Symbol 1202 MovieClip in Symbol 1203 MovieClip Frame 13
onClipEvent (load) {
_parent._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.alien4Num < _root.alien4Max) && (0 < _root.alien4A)) {
if (random(2) == 1) {
_parent._x = (_root.e.s0._x + 400) + random(100);
} else {
_parent._x = (_root.e.s0._x - 400) - random(100);
}
_parent._visible = 1;
_root.alien4Num = _root.alien4Num + 1;
_root.alien4A = _root.alien4A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1214 MovieClip Frame 1
stop();
Instance of Symbol 753 MovieClip in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1204 MovieClip in Symbol 1214 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_root.e.s0, _parent, 0, -5);
_root.hitCordinate(_parent, _parent, _parent.distance, 0, -5);
tellTarget (_parent) {
};
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
_root.e.attachMovie("lazerex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , _parent._x);
setProperty(eval ("_root.e.shellex" + _root.i), _xscale , distance);
setProperty(eval ("_root.e.shellex" + _root.i), _y , _parent._y);
_root.RotateWithTarget(eval ("_root.e.shellex" + _root.i), 360, "yes", -360, 360, _root.e.s0, _parent, 0, -20);
this._alpha = 0;
}
}
}
Instance of Symbol 1205 MovieClip in Symbol 1214 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, 100, 10);
tellTarget (_parent) {
_parent.rolled = "no";
_y = (_y + (yspeed * 0.1));
if (_y < high) {
low = ((10 * _xscale) * 0.01) + 100;
yspeed = yspeed + 1;
} else if (low < _y) {
yspeed = yspeed - 1;
high = ((10 * _xscale) * 0.01) + 100;
}
if (_root.cloak == "no") {
if ((_x + 20) < _root.e.s0._x) {
xmotion = "right";
} else if (_root.e.s0._x < (_x - 20)) {
xmotion = "left";
}
} else {
xmotion = "none";
}
if (0 >= health) {
gotoAndPlay (2);
}
};
}
}
onClipEvent (load) {
tellTarget (_parent) {
yspeed = 1;
high = ((10 * _xscale) * 0.01) + 100;
low = ((10 * _xscale) * 0.01) + 100;
};
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
fly = "yes";
armor = 2;
xspeed = 0;
reload = 0;
ammo = 16;
shot = "no";
carry = "no";
hostile = "yes";
};
}
Symbol 1214 MovieClip Frame 2
_root.alien5Num = _root.alien5Num - 1;
play();
Instance of Symbol 274 MovieClip in Symbol 1214 MovieClip Frame 2
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("short ex");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1214 MovieClip Frame 10
stop();
Instance of Symbol 1213 MovieClip in Symbol 1214 MovieClip Frame 10
onClipEvent (load) {
_parent._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.alien5Num < _root.alien5Max) && (0 < _root.alien5A)) {
if (random(2) == 1) {
_parent._x = (_root.e.s0._x + 400) + random(100);
} else {
_parent._x = (_root.e.s0._x - 400) - random(100);
}
_parent._visible = 1;
_root.alien5Num = _root.alien5Num + 1;
_root.alien5A = _root.alien5A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1227 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1227 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1227 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1227 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1227 MovieClip Frame 13
stop();
Symbol 1228 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1228 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1228 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1228 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1228 MovieClip Frame 13
stop();
Symbol 1229 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1229 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1229 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1229 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1229 MovieClip Frame 13
stop();
Symbol 1230 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1230 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1230 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1230 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1230 MovieClip Frame 13
stop();
Symbol 1231 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1231 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1231 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1231 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1231 MovieClip Frame 13
stop();
Symbol 1232 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1232 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1232 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1232 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1232 MovieClip Frame 13
stop();
Instance of Symbol 890 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 893 MovieClip "j14" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 180;
}
Instance of Symbol 894 MovieClip "j16" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
}
Instance of Symbol 895 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 899 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -300;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 900 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 901 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 907 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
Instance of Symbol 907 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
Instance of Symbol 908 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 909 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -600;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.6);
}
}
Instance of Symbol 910 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 911 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 919 MovieClip "build" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
}
Instance of Symbol 943 MovieClip "s16" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -10000;
}
Instance of Symbol 947 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - 9000;
}
Instance of Symbol 955 MovieClip "j15" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -10450;
}
Instance of Symbol 967 MovieClip "j0" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
Instance of Symbol 975 MovieClip "j1" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 750;
}
Instance of Symbol 982 MovieClip "j2" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 480;
}
Instance of Symbol 983 MovieClip "j3" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
}
Instance of Symbol 984 MovieClip "j4" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 1900;
}
Instance of Symbol 985 MovieClip "j5" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 986 MovieClip "j6" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 2300;
}
Instance of Symbol 987 MovieClip "j7" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 8000;
}
Instance of Symbol 988 MovieClip "j8" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 7000;
}
Instance of Symbol 989 MovieClip "j9" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -4300;
}
Instance of Symbol 990 MovieClip "j10" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -9700;
}
Instance of Symbol 991 MovieClip "j11" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -5000;
}
Instance of Symbol 992 MovieClip "j12" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -6080;
}
Instance of Symbol 993 MovieClip "j13" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -7500;
}
Instance of Symbol 1009 MovieClip "s15" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 390;
}
Instance of Symbol 1013 MovieClip "goal" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 330;
this._y = 300;
this.fireColor = "red";
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if (((this.hitTest(_root.e.s0) && (_root.vehicle == "Dune Buggy")) && (_root.mission == 1)) && (this._x == 330)) {
this._x = 10020;
} else if (((this.hitTest(_root.e.s0) && (_root.vehicle == "On Foot")) && (_root.mission == 1)) && (this._x == 10020)) {
_root.orders = "Kill whatever those things are and report back to base for futher orders.";
_root.alien1Max = 4;
_root.alien1A = 7 * _root.cEnemy;
this._x = 10021;
_root.paused = "yes";
_root.mission = _root.mission + 1;
} else if ((((_root.alien1A == 0) && (_root.alien1Num == 0)) && (_root.mission == 2)) && (this._x == 10021)) {
_root.orders = "Report back to base.";
this._x = 300;
_root.mission = _root.mission + 1;
} else if (((this.hitTest(_root.e.s0) && (_root.vehicle == "On Foot")) && (_root.mission == 3)) && (this._x == 300)) {
_root.orders = "Protect the civilians at the motel.";
_root.paused = "yes";
_root.e.cop1._visible = 1;
this._x = -10400;
} else if ((this.hitTest(_root.e.s0) && (_root.mission == 3)) && (this._x == -10400)) {
_root.alien1Max = 4;
_root.alien1A = 14 * _root.cEnemy;
this._x = -10401;
} else if ((((_root.alien1A == 0) && (_root.alien1Num == 0)) && (_root.mission == 3)) && (this._x == -10401)) {
_root.orders = "Defend the base.";
_root.mission = _root.mission + 1;
_root.paused = "yes";
_root.e.d1._visible = 0;
_root.e.d2._visible = 0;
_root.e.d3._visible = 0;
_root.e.s5.manned = "yes";
_root.e.s5.control = "cpu";
_root.sky = "night";
this._x = 580;
} else if (((this.hitTest(_root.e.s0) && (_root.vehicle == "Gunner")) && (_root.mission == 4)) && (this._x == 580)) {
_root.alien2Max = 3;
_root.alien2A = 12 * _root.cEnemy;
_root.orders = "Stay in the gunner, and take down those air ships.";
this._x = 581;
} else if ((((_root.alien2A == 0) && (_root.alien2Num == 0)) && (_root.mission == 4)) && (this._x == 581)) {
_root.orders = "Destroy those objects.";
_root.paused = "yes";
_root.sky = "day";
_root.e.s29._visible = 1;
_root.e.s30._visible = 1;
_root.e.s31._visible = 1;
_root.e.s32._visible = 1;
_root.e.s33._visible = 1;
_root.e.s34._visible = 1;
_root.mission = _root.mission + 1;
_root.e.s8._visible = 1;
_root.e.s8.manned = "yes";
_root.e.s8.control = "cpu";
_root.e.s8.follow = _root.e.s0;
this._x = _root.e.s4._x;
} else if (((this.hitTest(_root.e.s0) && (_root.mission == 5)) && (_root.vehicle == "Light Tank")) && (this._x == _root.e.s4._x)) {
this._x = 1500;
} else if (((_root.mission == 5) && (this._x == 1500)) && (1 < _root.e.s29._currentframe)) {
_root.alien1Max = 4;
_root.alien1A = 4 * _root.cEnemy;
this._x = 1700;
} else if (((_root.mission == 5) && (this._x == 1700)) && (1 < _root.e.s30._currentframe)) {
_root.alien1Max = 2;
_root.alien1A = _root.alien1A + (5 * _root.cEnemy);
this._x = 2800;
} else if (((_root.mission == 5) && (this._x == 2800)) && (1 < _root.e.s31._currentframe)) {
_root.alien1Max = 1;
_root.alien1A = _root.alien1A + (3 * _root.cEnemy);
this._x = 3000;
} else if (((_root.mission == 5) && (this._x == 3000)) && (1 < _root.e.s32._currentframe)) {
_root.alien1Max = 4;
_root.alien1A = _root.alien1A + (8 * _root.cEnemy);
this._x = 3500;
} else if (((_root.mission == 5) && (this._x == 3500)) && (1 < _root.e.s33._currentframe)) {
this._x = 5000;
} else if (((_root.mission == 5) && (this._x == 5000)) && (1 < _root.e.s34._currentframe)) {
_root.alien4Max = 2;
_root.alien4A = 4 * _root.cEnemy;
_root.alien1Max = 1;
_root.alien1A = _root.alien1A + (6 * _root.cEnemy);
this._x = _root.e.s1._x - 10;
_root.e.s1._visible = 1;
_root.e.s10._visible = 1;
_root.e.s10.manned = "yes";
_root.e.s10.control = "cpu";
} else if (((((((_root.mission == 5) && (this._x == (_root.e.s1._x - 10))) && this.hitTest(_root.e.s0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) {
this._x = _root.e.s1._x;
_root.orders = "Defend this base at all costs.";
_root.paused = "yes";
_root.alien2Max = 1;
_root.alien2A = 6 * _root.cEnemy;
_root.alien3Max = 1;
_root.alien3A = 4 * _root.cEnemy;
_root.alien4Max = 2;
_root.alien4A = 4 * _root.cEnemy;
_root.alien1Max = 1;
_root.alien1A = 7 * _root.cEnemy;
_root.e.s10.follow = _root.e.s0;
_root.mission = _root.mission + 1;
} else if (((((((((_root.mission == 6) && (_root.alien3A == 0)) && (_root.alien3Num == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.alien2A == 0)) && (_root.alien2Num == 0)) {
tellTarget (_root) {
gotoAndPlay ("cut2");
};
}
}
Instance of Symbol 1014 MovieClip "s17" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -9900;
}
Instance of Symbol 1022 MovieClip "cop1" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = -10250;
this._visible = 0;
}
Instance of Symbol 1024 MovieClip "l0" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.build._x - 70;
this._y = 248;
}
Instance of Symbol 1025 MovieClip "l1" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.j17 + 10;
this._y = 248;
}
Instance of Symbol 1030 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
Instance of Symbol 370 MovieClip [m] "s1" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 1057 MovieClip "s7" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 580;
}
Instance of Symbol 368 MovieClip [dune] "s6" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 320;
}
Instance of Symbol 1059 MovieClip in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 10000;
this._y = 300;
}
Instance of Symbol 366 MovieClip [dune] "s10" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 365 MovieClip [light] "s8" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
Instance of Symbol 364 MovieClip [f] "s3" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
if (_root.cF420 == "yes") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(10);
}
}
Instance of Symbol 363 MovieClip [carrier] "s2" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1124 MovieClip "s0" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
Instance of Symbol 1139 MovieClip "d2" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.s5;
this.patrol = "yes";
this.xmotion = "right";
}
Instance of Symbol 1140 MovieClip "d1" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.build;
this.patrol = "yes";
this.xmotion = "left";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1185 MovieClip "s25" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1227 MovieClip "s29" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 1500;
this._visible = 0;
}
Instance of Symbol 1228 MovieClip "s30" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 1700;
this._visible = 0;
}
Instance of Symbol 1229 MovieClip "s31" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 2800;
this._visible = 0;
}
Instance of Symbol 1230 MovieClip "s32" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
this._visible = 0;
}
Instance of Symbol 1231 MovieClip "s33" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 3500;
this._visible = 0;
}
Instance of Symbol 1232 MovieClip "s34" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this._x = 5000;
this._visible = 0;
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1234 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1240 MovieClip Frame 6
stop();
Instance of Symbol 1240 MovieClip in Symbol 1242 MovieClip Frame 1
onClipEvent (load) {
this._rotation = random(360);
this._x = random(350) + 100;
this._y = random(200) + 100;
}
Symbol 1242 MovieClip Frame 5
stop();
Instance of Symbol 1241 MovieClip in Symbol 1242 MovieClip Frame 5
onClipEvent (load) {
_parent.health = _root.health;
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.health < health) {
gotoAndPlay (1);
}
};
}
Symbol 1246 Button
on (release) {
_parent.prevFrame();
}
Symbol 1299 MovieClip Frame 1
stop();
Instance of Symbol 1250 MovieClip in Symbol 1299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (2 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1251 MovieClip in Symbol 1299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (1 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1252 MovieClip in Symbol 1299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.ammo == 0) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1253 MovieClip in Symbol 1299 MovieClip Frame 1
onClipEvent (enterFrame) {
if (3 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1254 MovieClip in Symbol 1299 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_parent.vehicle == "Missile Launcher") {
gotoAndStop (1);
} else if ((_parent.vehicle == "Light Tank") || (_parent.vehicle == "Heavy Tank")) {
gotoAndStop (2);
} else if ((_parent.vehicle == "Dune Buggy") || (_parent.vehicle == "Gunner")) {
gotoAndStop (3);
} else if (_parent.vehicle == "Carrier") {
gotoAndStop (4);
} else if (_parent.vehicle == "On Foot") {
gotoAndStop (5);
} else if (_parent.vehicle == "F420") {
gotoAndStop (6);
}
};
}
Instance of Symbol 1256 MovieClip in Symbol 1299 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.ammo == 0) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1257 MovieClip in Symbol 1299 MovieClip Frame 2
onClipEvent (enterFrame) {
if (1 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1259 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (2 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1260 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (3 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1261 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (1 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1262 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.ammo == 0) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1263 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (6 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1264 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (7 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1265 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (5 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1266 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (4 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1267 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (10 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1268 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (11 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1269 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (9 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1270 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (8 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1271 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (14 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1272 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (15 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1273 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (13 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1274 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (12 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1275 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (18 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1276 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (19 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1277 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (17 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1278 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (16 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1279 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (22 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1280 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (23 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1281 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (21 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1282 MovieClip in Symbol 1299 MovieClip Frame 3
onClipEvent (enterFrame) {
if (20 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1284 MovieClip in Symbol 1299 MovieClip Frame 4
onClipEvent (enterFrame) {
if (_root.ammo == 0) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1286 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.ammo == 0) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1287 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (1 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1288 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (2 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1289 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (3 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1290 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (4 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1291 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (5 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1292 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (6 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1293 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (7 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1295 MovieClip in Symbol 1299 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.shells == "non-ex") {
this.info = "shotgun shells";
} else {
this.info = "explosive shotgun shells";
}
}
Instance of Symbol 1297 MovieClip in Symbol 1299 MovieClip Frame 6
onClipEvent (enterFrame) {
if (1 >= _root.ammo) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Instance of Symbol 1298 MovieClip in Symbol 1299 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.ammo == 0) {
this._alpha = 25;
} else {
this._alpha = 100;
}
}
Symbol 1307 MovieClip Frame 1
stop();
Symbol 1310 MovieClip Frame 1
stop();
Symbol 1313 MovieClip Frame 1
stop();
Instance of Symbol 1307 MovieClip in Symbol 1314 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (this) {
if (_root.hostile == "yes") {
gotoAndStop (3);
} else if (_root.hostile == "friend") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
};
}
Instance of Symbol 1310 MovieClip "vert" in Symbol 1314 MovieClip Frame 1
onClipEvent (load) {
mv = 0;
yp = _root._ymouse;
}
onClipEvent (enterFrame) {
tellTarget (this) {
if (_root.hostile == "yes") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
mv = yp - _root._ymouse;
_y = (_y + (mv / 3));
if (19 < _y) {
_y = -19;
} else if (_y < -19) {
_y = 19;
}
yp = _root._ymouse;
};
}
Instance of Symbol 1313 MovieClip "horz" in Symbol 1314 MovieClip Frame 1
onClipEvent (load) {
mv = 0;
xp = _root._xmouse;
}
onClipEvent (enterFrame) {
tellTarget (this) {
if (_root.hostile == "yes") {
gotoAndStop (2);
} else {
gotoAndStop (1);
}
mv = xp - _root._xmouse;
_x = (_x + (mv / 3));
if (36 < _x) {
_x = -36;
} else if (_x < -36) {
_x = 36;
}
xp = _root._xmouse;
};
}
Symbol 1323 MovieClip Frame 1
stop();
Symbol 1323 MovieClip Frame 8
stop();
Symbol 1335 MovieClip Frame 1
stop();
Instance of Symbol 1326 MovieClip "overshield" in Symbol 1337 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._alpha < 50) && (0 < this._alpha)) {
this._alpha = 0;
_parent.sparks.play();
}
}
Instance of Symbol 1328 MovieClip "red" in Symbol 1337 MovieClip Frame 1
onClipEvent (load) {
_root.red2._visible = 0;
_root.red._alpha = 100 - this._xscale;
}
onClipEvent (enterFrame) {
_root.red._alpha = 100 - this._xscale;
if (_root.health >= 0) {
this._xscale = _root.health;
} else {
this._xscale = 0;
_root.red2._visible = 1;
_root.red.gotoAndStop(1);
}
}
Symbol 1359 Button
on (keyPress "n") {
if (_root.nightVision == "no") {
_root.nightVision = "yes";
} else {
_root.nightVision = "no";
}
}
on (keyPress "N") {
if (_root.nightVision == "no") {
_root.nightVision = "yes";
} else {
_root.nightVision = "no";
}
}
on (keyPress "p") {
if (_root.paused == "no") {
_root.paused = "yes";
} else {
_root.paused = "no";
}
}
on (keyPress "P") {
if (_root.paused == "no") {
_root.paused = "yes";
} else {
_root.paused = "no";
}
}
on (keyPress "c") {
if (_root.cloak == "yes") {
_root.cloak = "no";
} else if (_root.cloak == "no") {
_root.cloak = "yes";
}
}
on (keyPress "C") {
if (_root.cloak == "yes") {
_root.cloak = "no";
} else if (_root.cloak == "no") {
_root.cloak = "yes";
}
}
Instance of Symbol 1323 MovieClip in Symbol 1361 MovieClip Frame 1
onClipEvent (load) {
will = "no";
}
onClipEvent (enterFrame) {
find = "no";
t = 0;
while (t < _root.numObj) {
if (eval ("_root.e.s" + t).hitTest(_root.e.t._x + _root.e._x, _root.e.t._y, true)) {
if ((eval ("_root.e.s" + t).hostile == "yes") || (eval ("_root.e.s" + t).hostile == "friend")) {
_root.hostile = eval ("_root.e.s" + t).hostile;
eval ("_root.e.s" + t).rolled = "yes";
find = "yes";
}
} else if (find == "no") {
_root.hostile = "none";
}
t++;
}
if (will == "yes") {
}
tellTarget (this) {
if ((1 < _currentframe) && (_root.vehicle == "On Foot")) {
play();
} else if ((_currentframe == 1) && (_root.vehicle == "On Foot")) {
stop();
} else if (_currentframe == 1) {
play();
}
};
}
Instance of Symbol 1337 MovieClip "healthBar" in Symbol 1361 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
vehicle = _root.vehicle;
mph = Math.round(_root.speed * 2) + "mph";
if ((_root.para == "yes") && (_root.para2 == "no")) {
tips = "Press X to detach parachute.";
} else {
tips = "";
}
};
}
Instance of Symbol 1348 MovieClip "lefta" in Symbol 1361 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.e._x < _root.gps) {
this._alpha = 100;
if ((_root.gps - _root.e._x) < 10000) {
_parent.info = Math.floor((_root.gps - _root.e._x) / 10) + "m";
} else {
_parent.info = (Math.floor((_root.gps - _root.e._x) / 1000) / 10) + "k";
}
} else {
this._alpha = 0;
_parent.info = "";
}
}
Instance of Symbol 1349 MovieClip "righta" in Symbol 1361 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.gps < _root.e._x) {
this._alpha = 100;
if (((-_root.gps) + _root.e._x) < 10000) {
_parent.info2 = Math.floor(((-_root.gps) + _root.e._x) / 10) + "m";
} else {
_parent.info2 = (Math.floor(((-_root.gps) + _root.e._x) / 1000) / 10) + "k";
}
} else {
this._alpha = 0;
_parent.info2 = "";
}
}
Symbol 1363 MovieClip Frame 1
stop();
Instance of Symbol 874 MovieClip in Symbol 1363 MovieClip Frame 1
onClipEvent (load) {
_parent._alpha = 0;
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.paused == "no") {
gotoAndStop (1);
_alpha = 0;
} else if ((_root.paused == "yes") && (_currentframe < 9)) {
play();
_alpha = 100;
}
};
}
Symbol 1363 MovieClip Frame 10
stop();
Instance of Symbol 876 MovieClip "left" in Symbol 1363 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_parent.info == "OBJECTIVES") {
this.gotoAndStop(1);
} else if (_parent.info == "VEHICLES") {
this.gotoAndStop(2);
} else if (_parent.info == "HELP") {
this.gotoAndStop(3);
} else if (_parent.info == "EXIT") {
this.gotoAndStop(4);
}
}
Instance of Symbol 877 MovieClip in Symbol 1363 MovieClip Frame 10
onClipEvent (enterFrame) {
this.title = _parent.left.title;
this.body = _parent.left.body;
}
Instance of Symbol 878 MovieClip in Symbol 1363 MovieClip Frame 10
onClipEvent (load) {
_parent.info = "OBJECTIVES";
}
onClipEvent (enterFrame) {
this.info = _parent.info;
}
Symbol 1365 Button
on (release) {
stopAllSounds();
gotoAndStop (687);
}
Symbol 1388 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1388 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1389 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1389 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1505 MovieClip Frame 1
stop();
Instance of Symbol 1049 MovieClip in Symbol 1505 MovieClip Frame 23
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1505 MovieClip Frame 34
stop();
Symbol 1506 MovieClip Frame 1
stop();
Instance of Symbol 1049 MovieClip in Symbol 1506 MovieClip Frame 23
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1506 MovieClip Frame 34
stop();
Symbol 1507 MovieClip Frame 1
stop();
Instance of Symbol 1049 MovieClip in Symbol 1507 MovieClip Frame 23
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Symbol 1507 MovieClip Frame 34
stop();
Symbol 1508 MovieClip Frame 1
stop();
Instance of Symbol 921 MovieClip in Symbol 1508 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 927 MovieClip in Symbol 1508 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 8;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1508 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1508 MovieClip Frame 12
stop();
Symbol 1509 MovieClip Frame 1
_y = 300;
Instance of Symbol 953 MovieClip in Symbol 1509 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 215;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (3);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (1);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 1510 MovieClip Frame 1
_y = 300;
Instance of Symbol 953 MovieClip in Symbol 1510 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 215;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (3);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (1);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Instance of Symbol 960 MovieClip in Symbol 1511 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1512 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1512 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1513 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1514 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1515 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1516 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1516 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1517 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1518 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1519 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1519 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1520 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1521 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1522 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1523 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1523 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1523 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1523 MovieClip Frame 13
stop();
Symbol 1524 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1524 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Instance of Symbol 1017 MovieClip in Symbol 1525 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
_parent._y = 300;
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Symbol 1530 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1530 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1530 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1530 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1530 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1530 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1530 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1530 MovieClip Frame 6
xspeed = 0;
Symbol 1530 MovieClip Frame 11
stop();
Instance of Symbol 890 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1388 MovieClip "j14" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 145;
}
Instance of Symbol 1389 MovieClip "j16" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -20;
}
Instance of Symbol 895 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1505 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9999);
if ((this._currentframe == 1) && (random(100) == 1)) {
this.play();
}
}
}
Instance of Symbol 1506 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.99);
if ((this._currentframe == 1) && (random(100) == 1)) {
this.play();
}
}
}
Instance of Symbol 1507 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.89);
if ((this._currentframe == 1) && (random(100) == 1)) {
this.play();
}
}
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 911 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 919 MovieClip "build" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
}
Instance of Symbol 1508 MovieClip "s16" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 12000;
}
Instance of Symbol 947 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - 9000;
}
Instance of Symbol 1509 MovieClip "j15" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 20450;
}
Instance of Symbol 1510 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 21050;
}
Instance of Symbol 1511 MovieClip "j0" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -400;
}
Instance of Symbol 1512 MovieClip "j1" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 580;
}
Instance of Symbol 1513 MovieClip "j2" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
}
Instance of Symbol 1514 MovieClip "j3" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 1000;
}
Instance of Symbol 984 MovieClip "j4" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 1900;
}
Instance of Symbol 1515 MovieClip "j5" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
}
Instance of Symbol 1516 MovieClip "j6" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 10000;
}
Instance of Symbol 1517 MovieClip "j7" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 13000;
}
Instance of Symbol 1518 MovieClip "j8" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 6000;
}
Instance of Symbol 1519 MovieClip "j9" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -2000;
}
Instance of Symbol 1520 MovieClip "j10" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -5000;
}
Instance of Symbol 1521 MovieClip "j11" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -6000;
}
Instance of Symbol 992 MovieClip "j12" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -6080;
}
Instance of Symbol 1522 MovieClip "j13" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -9500;
}
Instance of Symbol 1523 MovieClip "s15" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 0;
}
Instance of Symbol 1524 MovieClip "goal" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
_root.orders = "Get in the Heavy Tank";
this._x = _parent.s10._x;
this._y = 300;
this.fireColor = "red";
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if (((this.hitTest(_root.e.s0) && (_root.vehicle == "Heavy Tank")) && (_root.mission == 7)) && (this._x == _parent.s10._x)) {
_root.orders = "Defend The Base";
this._x = 100;
_root.alien1Max = 2;
_root.alien1A = 7 * _root.cEnemy;
_root.alien4Max = 2;
_root.alien4A = 4 * _root.cEnemy;
} else if ((((((_root.alien1Num == 0) && (_root.alien1A == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) && (_root.mission == 7)) && (this._x == 100)) {
_root.alien2Max = 2;
_root.alien2A = 4 * _root.cEnemy;
_root.alien5Max = 1;
_root.alien5A = 4 * _root.cEnemy;
this._x = 100;
_root.mission = _root.mission + 1;
_root.paused = "yes";
} else if ((((((_root.alien2Num == 0) && (_root.alien2A == 0)) && (_root.alien5A == 0)) && (_root.alien5Num == 0)) && (_root.mission == 8)) && (this._x == 100)) {
_root.orders = "Go get the General";
this._x = -10500;
_root.mission = _root.mission + 1;
_root.paused = "yes";
} else if (((this.hitTest(_root.e.s0) && (_root.vehicle == "On Foot")) && (_root.mission == 9)) && (this._x == -10500)) {
_root.orders = "Return to Base";
this._x = 100;
_root.e.d4._visible = 0;
_root.alien1Max = 4;
_root.alien1A = 10 * _root.cEnemy;
} else if ((((this.hitTest(_root.e.s0) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.mission == 9)) && (this._x == 100)) {
_root.orders = "Bring 3 heavy tanks to the drop spot";
_root.mission = _root.mission + 1;
_root.paused = "yes";
_root.e.s2.gotoAndStop(1);
this._x = _root.e.s2._x;
tempx = this._x;
} else if (((_root.vehicle == "Carrier") && (_root.mission == 10)) && (this._x == tempx)) {
this._x = 20000;
} else if (((((((_root.mission == 10) && (Math.abs(20000 - _root.e.s6._x) < 1000)) && (Math.abs(20000 - _root.e.s8._x) < 1000)) && (Math.abs(20000 - _root.e.s10._x) < 1000)) && (_root.e.s6.carry != "yes")) && (_root.e.s8.carry != "yes")) && (_root.e.s10.carry != "yes")) {
_root.alien1Max = 3;
_root.alien1A = 10 * _root.cEnemy;
_root.alien2Max = 1;
_root.alien2A = 8 * _root.cEnemy;
_root.alien3Max = 2;
_root.alien3A = 4 * _root.cEnemy;
_root.alien4Max = 2;
_root.alien4A = 8 * _root.cEnemy;
_root.alien5Max = 2;
_root.alien5A = 6 * _root.cEnemy;
tempCount = 0;
_root.orders = "Stand your ground";
_root.mission = _root.mission + 1;
_root.paused = "yes";
this._x = 20000;
if ((_root.e.s6.manned != "yes") && (tempCount < 2)) {
tempCount = tempCount + 1;
_root.e.s6.manned = "yes";
_root.e.s6.control = "cpu";
_root.e.s6.follow = _root.e.s0;
}
if ((_root.e.s8.manned != "yes") && (tempCount < 2)) {
tempCount = tempCount + 1;
_root.e.s8.manned = "yes";
_root.e.s8.control = "cpu";
_root.e.s8.follow = _root.e.s0;
}
if ((_root.e.s10.manned != "yes") && (tempCount < 2)) {
tempCount = tempCount + 1;
_root.e.s10.manned = "yes";
_root.e.s10.control = "cpu";
_root.e.s10.follow = _root.e.s0;
}
} else if (((((((((((_root.mission == 11) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.alien2A == 0)) && (_root.alien2Num == 0)) && (_root.alien3A == 0)) && (_root.alien3Num == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) && (_root.alien5A == 0)) && (_root.alien5Num == 0)) {
_root.mission = _root.mission + 1;
_root.paused = "yes";
_root.e.s6.follow = _root.e.s6;
_root.e.s8.follow = _root.e.s8;
_root.e.s10.follow = _root.e.s10;
this._x = 100;
_root.alien2Max = 3;
_root.alien2A = 10 * _root.cEnemy;
_root.alien5Max = 3;
_root.alien5A = 6 * _root.cEnemy;
} else if (((((this.hitTest(_root.e.s0) && (_root.mission == 12)) && (_root.alien2A == 0)) && (_root.alien2Num == 0)) && (_root.alien5A == 0)) && (_root.alien5Num == 0)) {
tellTarget (_root) {
gotoAndPlay ("cut3");
};
}
}
Instance of Symbol 1014 MovieClip "s17" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -9900;
}
Instance of Symbol 1525 MovieClip "cop1" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 10250;
}
Instance of Symbol 1526 MovieClip "l0" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.build._x - 100;
}
Instance of Symbol 1527 MovieClip "l1" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.j17 + 10;
}
Instance of Symbol 1525 MovieClip "cop1" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 10250;
}
Instance of Symbol 1525 MovieClip "cop1" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 10250;
}
Instance of Symbol 1529 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -10000;
this._y = 300;
}
Instance of Symbol 1030 MovieClip in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
Instance of Symbol 1057 MovieClip "s7" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = 580;
}
Instance of Symbol 364 MovieClip [f] "s3" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
if (_root.cF420 == "yes") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(10);
}
}
Instance of Symbol 363 MovieClip [carrier] "s2" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1124 MovieClip "s0" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
Instance of Symbol 1139 MovieClip "d2" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.s5;
this.patrol = "yes";
this.xmotion = "right";
}
Instance of Symbol 1140 MovieClip "d1" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.build;
this.patrol = "yes";
this.xmotion = "left";
}
Instance of Symbol 1530 MovieClip "d4" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this._x = -10500;
this._y = 300;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
this.patrol = "no";
this.xmotion = "none";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1185 MovieClip "s25" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1531 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1535 Button
on (release) {
stopAllSounds();
gotoAndStop (925);
}
Instance of Symbol 1540 MovieClip in Symbol 1541 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 13;
}
Instance of Symbol 903 MovieClip in Symbol 1570 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 1571 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 898 MovieClip in Symbol 1572 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 1573 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Symbol 1576 MovieClip Frame 1
stop();
Instance of Symbol 1574 MovieClip in Symbol 1576 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1575 MovieClip in Symbol 1576 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
}
Symbol 1577 MovieClip Frame 1
stop();
Instance of Symbol 1574 MovieClip in Symbol 1577 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1575 MovieClip in Symbol 1577 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 956 MovieClip "ha" in Symbol 1578 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 213;
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1579 MovieClip Frame 1
stop();
Instance of Symbol 103 MovieClip in Symbol 1579 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1580 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1581 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1581 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1581 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1581 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1581 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1581 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1581 MovieClip Frame 13
stop();
Symbol 1582 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1582 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1583 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1583 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1583 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1583 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1583 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1583 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1583 MovieClip Frame 13
stop();
Symbol 1584 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1584 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1584 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1584 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1584 MovieClip Frame 13
stop();
Symbol 1585 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1585 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1585 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1585 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1585 MovieClip Frame 13
stop();
Symbol 1597 MovieClip Frame 1
stop();
stop();
Instance of Symbol 1155 MovieClip in Symbol 1597 MovieClip Frame 1
onClipEvent (load) {
this._alpha = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.pTheorem(_root.e.s0, _parent, 0, -5);
_root.hitCordinate(_parent, _parent, _parent.distance, 0, -5);
tellTarget (_parent) {
_y = (_y + yspeed);
if (_parent._y < high) {
}
_x = (_x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * ((-_xscale) * 0.05)));
};
if (this._alpha < 100) {
this._alpha = this._alpha + 10;
} else {
_root.e.attachMovie("lazerex", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , _parent._x);
setProperty(eval ("_root.e.shellex" + _root.i), _xscale , distance);
setProperty(eval ("_root.e.shellex" + _root.i), _y , _parent._y);
_root.RotateWithTarget(eval ("_root.e.shellex" + _root.i), 360, "yes", -360, 360, _root.e.s0, _parent, 0, -20);
this._alpha = 0;
}
}
}
Instance of Symbol 1590 MovieClip in Symbol 1597 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, 50, 5);
tellTarget (_parent) {
_parent.rolled = "no";
_y = (_y + (yspeed * 0.1));
if (_y < high) {
low = ((10 * _xscale) * 0.01) + 100;
yspeed = yspeed + 1;
} else if (low < _y) {
yspeed = yspeed - 1;
high = ((10 * _xscale) * 0.01) + 100;
}
if (_root.cloak == "no") {
if ((_x + 20) < _root.e.s0._x) {
xmotion = "right";
} else if (_root.e.s0._x < (_x - 20)) {
xmotion = "left";
}
} else {
xmotion = "none";
}
if (0 >= health) {
gotoAndPlay (2);
}
};
}
}
onClipEvent (load) {
tellTarget (_parent) {
yspeed = 1;
high = ((10 * _xscale) * 0.01) + 100;
low = ((10 * _xscale) * 0.01) + 100;
};
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
fly = "yes";
armor = 1;
xspeed = 0;
reload = 0;
ammo = 16;
shot = "no";
carry = "no";
hostile = "yes";
};
}
Symbol 1597 MovieClip Frame 2
_root.alien7Num = _root.alien7Num - 1;
play();
Symbol 1597 MovieClip Frame 10
stop();
Instance of Symbol 1596 MovieClip in Symbol 1597 MovieClip Frame 10
onClipEvent (load) {
_parent._visible = 0;
}
onClipEvent (enterFrame) {
if ((_root.alien7Num < _root.alien7Max) && (0 < _root.alien7A)) {
if (random(2) == 1) {
_parent._x = (_root.e.s0._x + 400) + random(100);
} else {
_parent._x = (_root.e.s0._x - 400) - random(100);
}
_parent._visible = 1;
_root.alien7Num = _root.alien7Num + 1;
_root.alien7A = _root.alien7A - 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 890 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 893 MovieClip "j14" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 180;
}
Instance of Symbol 894 MovieClip "j16" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
}
Instance of Symbol 1558 MovieClip "cloud" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.999);
}
}
Instance of Symbol 895 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1563 MovieClip "bms" in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.999);
}
}
Instance of Symbol 1569 MovieClip "nuke" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._visible = 0;
this._x = 100000 /* 0x0186A0 */;
}
onClipEvent (enterFrame) {
if ((_root.vehicle == "F420") && (_parent.goal._x < _parent.s3._x)) {
this._visible = 1;
_root.time = 10000;
}
if (this._visible == 1) {
_root.time = _root.time - 1;
this._x = _parent.bms._x - 200;
this._xscale = this._xscale * 0.99;
this._yscale = this._yscale * 0.99;
if (this._y < _parent.bms._y) {
this._y = this._y + 1;
}
}
}
Instance of Symbol 899 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -300;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 900 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 901 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 1570 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
onClipEvent (load) {
this._x = 1000;
}
Instance of Symbol 1570 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
onClipEvent (load) {
this._x = 1000;
}
Instance of Symbol 1571 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
onClipEvent (load) {
this._x = 1000;
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 1572 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 5000;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.6);
}
}
Instance of Symbol 1573 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
onClipEvent (load) {
this._x = 10000;
}
Instance of Symbol 1576 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.6);
}
}
Instance of Symbol 1577 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 911 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 947 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - 9000;
}
Instance of Symbol 1578 MovieClip "j17" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -1500;
}
Instance of Symbol 967 MovieClip "j0" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
Instance of Symbol 975 MovieClip "j1" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 750;
}
Instance of Symbol 1580 MovieClip "j2" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -10480;
}
Instance of Symbol 983 MovieClip "j3" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
}
Instance of Symbol 984 MovieClip "j4" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 1900;
}
Instance of Symbol 985 MovieClip "j5" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 986 MovieClip "j6" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 2300;
}
Instance of Symbol 987 MovieClip "j7" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 8000;
}
Instance of Symbol 988 MovieClip "j8" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 7000;
}
Instance of Symbol 989 MovieClip "j9" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -4300;
}
Instance of Symbol 990 MovieClip "j10" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -9700;
}
Instance of Symbol 991 MovieClip "j11" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -5000;
}
Instance of Symbol 992 MovieClip "j12" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -6080;
}
Instance of Symbol 993 MovieClip "j13" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -7500;
}
Instance of Symbol 1581 MovieClip "s15" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 1000;
}
Instance of Symbol 1582 MovieClip "goal" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 330;
this._y = 300;
this.fireColor = "red";
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if (((this.hitTest(_root.e.s0) && (_root.vehicle == "F420")) && (_root.mission == 13)) && (this._x == 330)) {
this._x = _parent.nuke._x;
_root.alien3Max = 4;
_root.alien3A = 4 * _root.cEnemy;
_root.alien1Max = 4;
_root.alien1A = 10 * _root.cEnemy;
_root.orders = "Nuke That Ship";
} else if (((this._x < _root.e.s0._x) && (this._x == 100000)) && (_root.mission == 13)) {
this._x = -500;
_root.alien3Max = 4;
_root.alien3A = 4 * _root.cEnemy;
_root.alien1Max = 4;
_root.alien1A = 10 * _root.cEnemy;
_root.orders = "Get Back to Base";
} else if ((this.hitTest(_root.e.s0) && (this._x == -500)) && (_root.mission == 13)) {
_parent.bms._visible = 0;
_parent.cloud._visible = 1;
this._x = -15000;
_root.paused = "yes";
_root.mission = _root.mission + 1;
_root.orders = "Go to the alien's position";
} else if ((this.hitTest(_root.e.s0) && (this._x == -15000)) && (_root.mission == 14)) {
this._x = -15001;
_root.alien4Max = 4;
_root.alien4A = 4 * _root.cEnemy;
_root.alien1Max = 4;
_root.alien1A = 10 * _root.cEnemy;
_root.orders = "Show them how to really fight";
} else if ((((((((_root.alien3A == 0) && (_root.alien3Num == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (this._x == -15001)) && (_root.mission == 14)) {
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 0;
_root.alien5Max = 4;
_root.alien5A = 4 * _root.cEnemy;
_root.alien4Max = 4;
_root.alien4A = 4 * _root.cEnemy;
_root.alien1Max = 4;
_root.alien1A = 10 * _root.cEnemy;
_root.orders = "Get back to base, forget them!";
} else if ((this.hitTest(_root.e.s0) && (this._x == 0)) && (_root.mission == 15)) {
_root.gotoAndPlay("cut3b");
}
}
Instance of Symbol 1583 MovieClip "s17" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = -5000;
}
Instance of Symbol 1024 MovieClip "l0" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.build._x - 70;
this._y = 248;
}
Instance of Symbol 1025 MovieClip "l1" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.j17 + 10;
this._y = 248;
}
Instance of Symbol 1030 MovieClip in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
Instance of Symbol 1057 MovieClip "s7" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 580;
}
Instance of Symbol 368 MovieClip [dune] "s6" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 320;
}
Instance of Symbol 359 MovieClip [f] "s3" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 330;
}
Instance of Symbol 1124 MovieClip "s0" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
Instance of Symbol 1139 MovieClip "d2" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.s5;
this.patrol = "yes";
this.xmotion = "right";
}
Instance of Symbol 1140 MovieClip "d1" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.build;
this.patrol = "yes";
this.xmotion = "left";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1185 MovieClip "s25" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1584 MovieClip "s33" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 10000;
}
Instance of Symbol 1585 MovieClip "s34" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this._x = 30000;
}
Instance of Symbol 1597 MovieClip "s29" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1597 MovieClip "s30" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1597 MovieClip "s31" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1597 MovieClip "s32" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1598 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1600 Button
on (release) {
stopAllSounds();
gotoAndStop (1059);
}
Symbol 1631 MovieClip Frame 1
stop();
Instance of Symbol 1630 MovieClip in Symbol 1631 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
}
Symbol 1632 MovieClip Frame 1
stop();
Instance of Symbol 1630 MovieClip in Symbol 1632 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
}
Symbol 1633 MovieClip Frame 1
stop();
Instance of Symbol 1630 MovieClip in Symbol 1633 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
}
Symbol 1646 MovieClip Frame 1
stop();
Symbol 1646 MovieClip Frame 9
stop();
Symbol 1650 MovieClip Frame 1
stop();
Symbol 1650 MovieClip Frame 9
stop();
Symbol 1653 MovieClip Frame 1
stop();
Symbol 1653 MovieClip Frame 9
stop();
Symbol 1654 MovieClip Frame 1
stop();
Instance of Symbol 913 MovieClip in Symbol 1654 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (3);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (1);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 1655 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1655 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1656 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1656 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1657 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1657 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1658 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1658 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1659 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1659 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1660 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1660 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1661 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1661 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1662 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1662 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1663 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1663 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1664 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1664 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1672 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1672 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1672 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1672 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1672 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1672 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1672 MovieClip Frame 13
stop();
Symbol 1673 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1673 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1674 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1674 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1674 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1674 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1674 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1674 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1674 MovieClip Frame 13
stop();
Symbol 1677 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1677 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1677 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1677 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1677 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1677 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1677 MovieClip Frame 13
stop();
Symbol 1678 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1678 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1678 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1678 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1678 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1678 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1678 MovieClip Frame 13
stop();
Symbol 1679 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1679 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1679 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1679 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1679 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1679 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1679 MovieClip Frame 13
stop();
Symbol 1680 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1680 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1680 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1680 MovieClip Frame 13
stop();
Symbol 1681 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1681 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1681 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1681 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1681 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1681 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1681 MovieClip Frame 13
stop();
Symbol 1682 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1682 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1682 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1682 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1682 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1682 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1682 MovieClip Frame 13
stop();
Symbol 1686 MovieClip Frame 1
stop();
Symbol 1686 MovieClip Frame 9
stop();
Symbol 1688 MovieClip Frame 1
stop();
Symbol 1688 MovieClip Frame 9
stop();
Symbol 1689 MovieClip Frame 1
stop();
Symbol 1689 MovieClip Frame 9
stop();
Instance of Symbol 1028 MovieClip in Symbol 1690 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((hitTest(_root.e.s0) && (0 < _root.e.s0.health)) && (_root.e.s0.health < 100)) && (_root.vehicle == "On Foot")) {
_root.e.s0.health = 100;
gotoAndStop (31);
}
};
}
Symbol 1690 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 1029 MovieClip in Symbol 1690 MovieClip Frame 31
onClipEvent (load) {
_parent.tn = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
tellTarget (_parent) {
if (500 < tn) {
gotoAndPlay (1);
} else {
tn = tn + 1;
}
};
}
}
Symbol 1691 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1691 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1691 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1691 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1691 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1691 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1691 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1691 MovieClip Frame 11
stop();
Symbol 1692 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1692 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1692 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1692 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1692 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1692 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1692 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1692 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1692 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1692 MovieClip Frame 11
stop();
Symbol 1693 MovieClip Frame 1
stop();
Instance of Symbol 1061 MovieClip "legs" in Symbol 1693 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1693 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1064 MovieClip "d" in Symbol 1693 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1065 MovieClip in Symbol 1693 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 1079 MovieClip in Symbol 1693 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndPlay(11);
}
onClipEvent (enterFrame) {
if (this._yscale < 100) {
this._yscale = this._yscale + 15;
} else if (this._currentframe == 1) {
_root.para = "yes";
_root.para2 = "yes";
}
if (0 < _parent.xspeed) {
this._xscale = -100;
} else if (_parent.xspeed < 0) {
this._xscale = 100;
}
tellTarget (this) {
if (this._currentframe == 1) {
_rotation = (_rotation + motion);
} else {
_rotation = 0;
}
if (5 < _rotation) {
motion = motion - 1;
}
if (_rotation < 5) {
motion = motion + 1;
}
};
}
Instance of Symbol 1080 MovieClip in Symbol 1693 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 8;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.nightFunction(_parent);
if ((_root.vehicle == "On Foot") && (_root.ladderOn == "no")) {
if (_root.cAlienDude == "yes") {
_root.movement(_parent, 50, 5);
} else {
_root.movement(_parent, 6, 1.5);
}
}
if (_root.ladderOn == "no") {
_root.gravity(_parent, 0.1, _parent.legs);
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((_parent._y == _parent.ground) && (0 >= _parent.yspeed)) && (_root.para == "no")) {
_parent.yspeed = -6;
}
}
}
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_root.ladderOn == "no")) {
_root.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , _root._xmouse + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , _root._ymouse);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 8;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
_x = (275 - _parent._x);
if (_root.vehicleIn == "yes") {
_visible = 0;
if ((eval (("_root.e." + _root.vehicleName) + ".fly") == "yes") && (Math.abs(eval (("_root.e." + _root.vehicleName) + ".xspeed")) < 10)) {
_y = (ground - 20);
} else {
xspeed = eval (("_root.e." + _root.vehicleName) + ".xspeed");
_y = eval ("_root.e." + _root.vehicleName)._y;
}
} else {
_root.vehicleName = _name;
_root.health = health;
_visible = 1;
_root.ammo = ammo;
_root.vehicle = "On Foot";
}
if (_root.ladderOn == "no") {
if ((xspeed == 0) || ((_root.para == "yes") && (_y < (ground - 5)))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (2);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (1);
}
} else if ((_root.para == "no") || ((_root.para == "yes") && ((ground - 5) < _y))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (4);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (3);
}
}
} else {
gotoAndStop (5);
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1081 MovieClip in Symbol 1693 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT))) || (Key.isDown(65))) || (Key.isDown(68))) {
_root.ladderOn = "no";
}
if ((_root.vehicleIn == "no") && (_root.para == "no")) {
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
climb.play();
_y = (_y - 3);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else if (Key.isDown(Key.DOWN) || (Key.isDown(83))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
_y = (_y + 6);
climb.gotoAndStop(1);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else {
climb.gotoAndStop(1);
}
}
};
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1693 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1084 MovieClip in Symbol 1693 MovieClip Frame 2
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1100 MovieClip "legs" in Symbol 1693 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1693 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1102 MovieClip in Symbol 1693 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1103 MovieClip in Symbol 1693 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this._xscale = 100;
} else if (0 < _parent.xspeed) {
this._xscale = -100;
}
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1693 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1104 MovieClip in Symbol 1693 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
this._xscale = 100;
}
Instance of Symbol 1116 MovieClip "climb" in Symbol 1693 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Symbol 1693 MovieClip Frame 6
xspeed = 0;
play();
Symbol 1693 MovieClip Frame 11
stop();
_root.red2._visible = 1;
Symbol 1694 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1694 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1694 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1694 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1694 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1694 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1694 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1694 MovieClip Frame 6
xspeed = 0;
Symbol 1694 MovieClip Frame 11
stop();
Symbol 1695 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1695 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1695 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1695 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1695 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1695 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1695 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1695 MovieClip Frame 6
xspeed = 0;
Symbol 1695 MovieClip Frame 11
stop();
Symbol 1696 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1696 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1696 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1696 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1696 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1696 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1696 MovieClip Frame 6
xspeed = 0;
Symbol 1696 MovieClip Frame 11
stop();
Symbol 1697 MovieClip Frame 1
stop();
Instance of Symbol 1125 MovieClip "mh" in Symbol 1697 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1127 MovieClip in Symbol 1697 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
RnumB = random(100);
health = 100;
armor = 10;
xPos = _x;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 1;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if ((_root.paused == "no") && (_parent._visible == 1)) {
_root.nightFunction(_parent);
_root.movement(_parent, 6, 1.5);
_root.gravity(_parent, 0.1, _parent.legs);
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (Math.abs(lockt._x - _x) < 500)) {
_root.e.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.e.shellex" + _root.i), _x , lockt._x);
setProperty(eval ("_root.e.shellex" + _root.i), _y , lockt._y);
setProperty(eval ("_root.e.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if ((20 + random(50)) < reload) {
ammo = 1;
reload = 0;
}
if ((xspeed == 0) && (lastPos == "right")) {
gotoAndStop (2);
} else if ((xspeed == 0) && (lastPos == "left")) {
gotoAndStop (1);
} else if (0 < xspeed) {
lastPos = "right";
gotoAndStop (4);
} else if (xspeed < 0) {
gotoAndStop (3);
lastPos = "left";
}
if (patrol == "yes") {
if ((xPos + 400) < _x) {
xmotion = "left";
} else if (_x < (xPos - 400)) {
xmotion = "right";
}
} else if (((follow._x + 100) + RnumB) < _x) {
xmotion = "left";
} else if (_x < ((follow._x - 100) - RnumB)) {
xmotion = "right";
} else {
xmotion = "none";
}
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1697 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Instance of Symbol 1130 MovieClip "legs" in Symbol 1697 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
Instance of Symbol 1125 MovieClip "mh" in Symbol 1697 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
Instance of Symbol 1128 MovieClip "mh" in Symbol 1697 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _parent.lockt, _parent, 0, 0);
}
}
Symbol 1697 MovieClip Frame 6
xspeed = 0;
Symbol 1697 MovieClip Frame 11
stop();
Instance of Symbol 1628 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1631 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 1631 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 1631 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 1632 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 1632 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 1633 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 1633 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 1638 MovieClip "uc2" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 10000;
}
Instance of Symbol 1646 MovieClip "uc3" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 300;
this._x = 1200;
}
Instance of Symbol 1650 MovieClip "uc4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 300;
this._x = 4000;
}
Instance of Symbol 1653 MovieClip "uc5" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 300;
this._x = 6500;
}
Instance of Symbol 1655 MovieClip "j14" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.cake1._x;
this._y = _parent.cake1._y;
}
Instance of Symbol 1656 MovieClip "j16" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.cake2._x;
this._y = _parent.cake2._y;
}
Instance of Symbol 1657 MovieClip "j0" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 220;
this._x = 5000;
}
Instance of Symbol 1658 MovieClip "j1" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 220;
this._x = 5150;
}
Instance of Symbol 1659 MovieClip "j2" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 218;
this._x = 5320;
}
Instance of Symbol 1660 MovieClip "j3" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 218;
this._x = 5450;
}
Instance of Symbol 1661 MovieClip "j4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 213;
this._x = 5610;
}
Instance of Symbol 1662 MovieClip "j5" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 200;
this._x = 5780;
}
Instance of Symbol 1664 MovieClip "j11" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 200;
this._x = 9000;
}
Instance of Symbol 1665 MovieClip "cake3" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 220;
this._x = 5000;
}
Instance of Symbol 1666 MovieClip "cake4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 220;
this._x = 5150;
}
Instance of Symbol 1667 MovieClip "cake4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 218;
this._x = 5320;
}
Instance of Symbol 1668 MovieClip "cake4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 218;
this._x = 5450;
}
Instance of Symbol 1669 MovieClip "cake4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 213;
this._x = 5610;
}
Instance of Symbol 1670 MovieClip "cake4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 200;
this._x = 5780;
}
Instance of Symbol 1671 MovieClip "cake4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 200;
this._x = 9000;
}
Instance of Symbol 1672 MovieClip "s15" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 700;
}
Instance of Symbol 1673 MovieClip "goal" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 4000;
this._y = 300;
this.fireColor = "red";
_root.orders = "Get to my position now.";
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if (((1250 < _parent.s0._x) && (_root.mission == 16)) && (this._x == 4000)) {
_root.alien1Max = 2;
_root.alien1A = 4;
_root.orders = "Their Everywhere, so keep a look out";
this._x = 4001;
} else if (((2500 < _parent.s0._x) && (_root.mission == 16)) && (this._x == 4001)) {
_root.orders = "Hurry up...";
_root.alien1Max = 4;
_root.alien1A = 8;
this._x = 4002;
} else if ((this.hitTest(_root.e.s0) && (_root.mission == 16)) && (this._x == 4002)) {
_root.mission = _root.mission + 1;
_root.paused = "yes";
_root.orders = "Get to the Aircraft block 2650821";
this._x = 6500;
_parent.d1.follow = _parent.s0;
_parent.d2.follow = _parent.s0;
_parent.d3.follow = _parent.s0;
_parent.d4.follow = _parent.s0;
_parent.d5.follow = _parent.s0;
} else if (((5780 < _parent.s0._x) && (_root.mission == 17)) && (this._x == 6500)) {
this._x = 6501;
_root.alien1Max = 8;
_root.alien1A = 12;
_root.alien4Max = 1;
_root.alien4A = 2;
} else if (((6500 < _parent.s0._x) && (_root.mission == 17)) && (this._x == 6501)) {
this._x = 9000;
_root.alien1Max = 8;
_root.alien1A = 200;
_root.alien4Max = 2;
_root.alien4A = 10;
} else if (((_root.vehicle == "F420") && (_root.mission == 17)) && (this._x == 9000)) {
_root.gotoAndPlay("cut4");
}
}
Instance of Symbol 1674 MovieClip "s17" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 8900;
}
Instance of Symbol 1675 MovieClip "l0" in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
this._y = 250;
this._x = 5020;
}
Instance of Symbol 1677 MovieClip "s29" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 1090;
}
Instance of Symbol 1678 MovieClip "s30" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 1200;
}
Instance of Symbol 1679 MovieClip "s31" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 1900;
}
Instance of Symbol 1680 MovieClip "s32" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 1681 MovieClip "s33" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 3090;
}
Instance of Symbol 1682 MovieClip "s34" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 3900;
}
Instance of Symbol 1686 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (this.hitTest(_parent.s0))) {
this.play();
_parent.uc3.play();
}
}
Instance of Symbol 1687 MovieClip "l3" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._y = 250;
this._x = 9000;
}
Instance of Symbol 1688 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (this.hitTest(_parent.s0))) {
this.play();
_parent.uc4.play();
}
}
onClipEvent (load) {
this._x = 3400;
}
Instance of Symbol 1689 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this._currentframe == 1) && (this.hitTest(_parent.s0))) {
this.play();
_parent.uc5.play();
}
}
onClipEvent (load) {
this._y = 200;
this._x = 5780;
}
Instance of Symbol 1690 MovieClip in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 4000;
}
Instance of Symbol 357 MovieClip [m] "s1" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 6800;
}
Instance of Symbol 1691 MovieClip "s5" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
}
Instance of Symbol 356 MovieClip [light] "s4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 6700;
}
Instance of Symbol 1692 MovieClip "s7" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 5500;
}
Instance of Symbol 355 MovieClip [dune] "s6" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 5000;
}
Instance of Symbol 354 MovieClip [dune] "s9" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 9200;
}
Instance of Symbol 353 MovieClip [dune] "s10" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 6500;
}
Instance of Symbol 352 MovieClip [f] "s3" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 9000;
}
Instance of Symbol 1693 MovieClip "s0" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.uc1.hitArea)) {
_root.aLeft = "no";
} else if (this.hitTest(_parent.uc2.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc3.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc4.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc5.hitArea)) {
_root.aRight = "no";
} else {
_root.aRight = "yes";
_root.aLeft = "yes";
}
}
Instance of Symbol 1694 MovieClip "d1" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 4050;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
this.patrol = "no";
this.xmotion = "none";
}
Instance of Symbol 1695 MovieClip "d3" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 4006;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
this.patrol = "no";
this.xmotion = "none";
}
Instance of Symbol 1696 MovieClip "d2" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 4022;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
this.patrol = "no";
this.xmotion = "none";
}
Instance of Symbol 1697 MovieClip "d4" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this._x = 4115;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
this.patrol = "no";
this.xmotion = "none";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s24" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s25" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s26" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s27" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1698 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1701 MovieClip Frame 1
stop();
Instance of Symbol 1630 MovieClip in Symbol 1701 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.movement(_parent);
if (_parent._x < (-50 - _root.e._x)) {
_parent._x = 565 - _root.e._x;
} else if ((600 - _root.e._x) < _parent._x) {
_parent._x = -25 - _root.e._x;
}
}
Symbol 1703 Button
on (release) {
stopAllSounds();
gotoAndStop (1252);
}
Symbol 1719 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1719 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1720 MovieClip Frame 1
stop();
Instance of Symbol 892 MovieClip in Symbol 1720 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = _parent._y;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 898 MovieClip in Symbol 1721 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 898 MovieClip in Symbol 1722 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 1723 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 1724 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 903 MovieClip in Symbol 1725 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 898 MovieClip in Symbol 1726 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Symbol 1731 MovieClip Frame 1
stop();
Instance of Symbol 1730 MovieClip in Symbol 1731 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
}
onClipEvent (load) {
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 956 MovieClip "ha" in Symbol 1732 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 213;
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 929 MovieClip in Symbol 1734 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Instance of Symbol 960 MovieClip in Symbol 1735 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1736 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1736 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1737 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1738 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1739 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1740 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1740 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1741 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1742 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1743 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1744 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1745 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1745 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 34 MovieClip in Symbol 1749 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
}
};
}
Symbol 1751 MovieClip Frame 1
stop();
Instance of Symbol 1749 MovieClip "dust" in Symbol 1751 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 1750 MovieClip in Symbol 1751 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 220) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 220)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 1751 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Instance of Symbol 64 MovieClip "dust2" in Symbol 1751 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 1752 MovieClip Frame 1
stop();
Instance of Symbol 1749 MovieClip "dust" in Symbol 1752 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 1750 MovieClip in Symbol 1752 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 220) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 220)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 1752 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Instance of Symbol 64 MovieClip "dust2" in Symbol 1752 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 1753 MovieClip Frame 1
stop();
Instance of Symbol 1749 MovieClip "dust" in Symbol 1753 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 1750 MovieClip in Symbol 1753 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 10, 1.1);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 220) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 220)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 1753 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Instance of Symbol 64 MovieClip "dust2" in Symbol 1753 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Symbol 1755 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1755 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1755 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1755 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1755 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1755 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1755 MovieClip Frame 13
stop();
Symbol 1756 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1756 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1757 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1757 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1757 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1757 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1757 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1757 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1757 MovieClip Frame 13
stop();
Symbol 1760 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1760 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1760 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1760 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1760 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1760 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1760 MovieClip Frame 13
stop();
Symbol 1762 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1762 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1762 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1762 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1762 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1762 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1762 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1762 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1762 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1762 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1762 MovieClip Frame 11
stop();
Symbol 1763 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1763 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1763 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1763 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1763 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1763 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1763 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1763 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1763 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1763 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1763 MovieClip Frame 11
stop();
Symbol 1766 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1766 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1766 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1766 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1766 MovieClip Frame 13
stop();
Symbol 1767 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1767 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1767 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1767 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1767 MovieClip Frame 13
stop();
Symbol 1768 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1768 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1768 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1768 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1768 MovieClip Frame 13
stop();
Symbol 1769 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1769 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1769 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1769 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1769 MovieClip Frame 13
stop();
Symbol 1770 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1770 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1770 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1770 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1770 MovieClip Frame 13
stop();
Symbol 1793 MovieClip Frame 1
stop();
Instance of Symbol 744 MovieClip in Symbol 1793 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1776 MovieClip in Symbol 1793 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.1;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1793 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1793 MovieClip Frame 18
stop();
Instance of Symbol 890 MovieClip "water" in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1719 MovieClip "j14" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 1720 MovieClip "j16" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 20000;
}
Instance of Symbol 1720 MovieClip "j4" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 20000;
}
Instance of Symbol 895 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1721 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 500;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 1722 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 901 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 1723 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
onClipEvent (load) {
this._x = -800;
}
Instance of Symbol 1724 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
onClipEvent (load) {
this._x = -500;
}
Instance of Symbol 1725 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
onClipEvent (load) {
this._x = -100;
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 1726 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 1000;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.6);
}
}
Instance of Symbol 1728 MovieClip "uc1" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -7000;
}
Instance of Symbol 911 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 947 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - 9000;
}
Instance of Symbol 1732 MovieClip "j17" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 1734 MovieClip "water1" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 12000;
}
onClipEvent (enterFrame) {
if (12275 < _parent.s0._x) {
this._x = -_parent._x;
}
}
Instance of Symbol 1735 MovieClip "j0" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 1600;
}
Instance of Symbol 1736 MovieClip "j1" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 1750;
}
Instance of Symbol 1737 MovieClip "j2" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 550;
}
Instance of Symbol 1738 MovieClip "j3" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 3100;
}
Instance of Symbol 1739 MovieClip "j5" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 12000;
}
Instance of Symbol 986 MovieClip "j6" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 2300;
}
Instance of Symbol 987 MovieClip "j7" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 8000;
}
Instance of Symbol 988 MovieClip "j8" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 7000;
}
Instance of Symbol 1740 MovieClip "j9" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 4300;
}
Instance of Symbol 1741 MovieClip "j10" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 9700;
}
Instance of Symbol 1742 MovieClip "j11" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 6300;
}
Instance of Symbol 1743 MovieClip "j12" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 6080;
}
Instance of Symbol 1744 MovieClip "j13" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 7500;
}
Instance of Symbol 1745 MovieClip "j15" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 13750;
}
Instance of Symbol 1751 MovieClip "convoy3" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -6700;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 1752 MovieClip "convoy2" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -6500;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 1753 MovieClip "convoy1" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -6300;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 1754 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
this._x = this._x + 20000;
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1755 MovieClip "s15" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 150;
}
Instance of Symbol 1756 MovieClip "goal" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -6500;
this._y = 300;
this.fireColor = "red";
_root.orders = "Get to the convoy";
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if ((this.hitTest(_root.e.s0) && (_root.mission == 18)) && (this._x == -6500)) {
_root.orders = "Defend the convoy until it reaches our base.";
this._x = 0;
_root.alien1Max = 4;
_root.alien1A = 10;
_root.alien4Max = 2;
_root.alien4A = 5;
_root.alien3Max = 1;
_root.alien3A = 2;
_parent.convoy1.follow = _parent.l1;
_parent.convoy2.follow = _parent.convoy1;
_parent.convoy3.follow = _parent.convoy2;
_parent.s4.follow = _parent.convoy3;
} else if (((((((((_root.alien4A == 0) && (_root.alien4Num == 0)) && (_root.alien3A == 0)) && (_root.alien3Num == 0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (-100 < _parent.convoy1._x)) && (_root.mission == 18)) && (this._x == 0)) {
_root.sky = "dawn";
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 5001;
} else if (((2000 < _parent.s0._x) && (_root.mission == 19)) && (this._x == 5001)) {
_root.alien1Max = 4;
_root.alien1A = 6;
this._x = 5000;
} else if ((this.hitTest(_root.e.s0) && (_root.mission == 19)) && (this._x == 5000)) {
_root.alien2Max = 2;
_root.alien2A = 2;
_root.alien5Max = 1;
_root.alien5A = 2;
_parent.s9.follow = _parent.s0;
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 10001;
} else if (((9500 < _parent.s0._x) && (_root.mission == 20)) && (this._x == 10001)) {
_root.alien1Max = 2;
_root.alien1A = 12;
_root.alien3Max = 1;
_root.alien3A = 5;
_root.alien4Max = 1;
_root.alien4A = 8;
_root.alien5Max = 1;
_root.alien5A = 5;
this._x = 10000;
} else if (((_parent.s33._currentframe >= 17) && (_root.mission == 20)) && (this._x == 10000)) {
_parent.s9.follow = _parent.l1;
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 20000;
} else if (((this.hitTest(_parent.s0) && (_root.vehicleIn == "no")) && (_root.mission == 21)) && (this._x == 20000)) {
_parent.s9.follow = _parent.s9;
_root.alien2Max = 1;
_root.alien2A = 3;
_root.alien3Max = 1;
_root.alien3A = 3;
_root.alien5Max = 1;
_root.alien5A = 3;
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 20001;
} else if ((((((((_root.alien5A == 0) && (_root.alien5Num == 0)) && (_root.alien3A == 0)) && (_root.alien3Num == 0)) && (_root.alien2A == 0)) && (_root.alien2Num == 0)) && (_root.mission == 22)) && (this._x == 20001)) {
_root.gotoAndPlay("cut5");
}
}
Instance of Symbol 1757 MovieClip "s17" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 900;
}
Instance of Symbol 1758 MovieClip "l0" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 2010;
this._y = 248;
}
Instance of Symbol 1759 MovieClip "l1" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._y = 248;
}
Instance of Symbol 1760 MovieClip "s16" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -900;
}
Instance of Symbol 1761 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 5000;
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1030 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
Instance of Symbol 1762 MovieClip "s5" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 20000;
}
Instance of Symbol 351 MovieClip [light] "s4" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = -6900;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 1763 MovieClip "s7" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 1500;
}
Instance of Symbol 368 MovieClip [dune] "s6" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 320;
}
Instance of Symbol 350 MovieClip [heavy] "s9" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 364 MovieClip [f] "s3" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
if (_root.cF420 == "yes") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(10);
}
}
Instance of Symbol 349 MovieClip [f] "s10" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 20000;
}
Instance of Symbol 1765 MovieClip in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 20000;
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1693 MovieClip "s0" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.uc1.hitArea)) {
_root.aLeft = "no";
} else if (this.hitTest(_parent.uc2.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc3.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc4.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc5.hitArea)) {
_root.aRight = "no";
} else {
_root.aRight = "yes";
_root.aLeft = "yes";
}
}
Instance of Symbol 1139 MovieClip "d2" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.s5;
this.patrol = "yes";
this.xmotion = "right";
}
Instance of Symbol 1140 MovieClip "d1" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _root.e.build;
this.patrol = "yes";
this.xmotion = "left";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1185 MovieClip "s25" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1766 MovieClip "s29" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 9000;
}
Instance of Symbol 1767 MovieClip "s30" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 9300;
}
Instance of Symbol 1768 MovieClip "s31" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 9600;
}
Instance of Symbol 1769 MovieClip "s32" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 10400;
}
Instance of Symbol 1770 MovieClip "s34" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._x = 10800;
}
Instance of Symbol 1793 MovieClip "s33" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this._y = 300;
this._x = 10000;
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1794 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1798 Button
on (release) {
stopAllSounds();
gotoAndStop (1313);
}
Instance of Symbol 898 MovieClip in Symbol 1801 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
_parent._y = 300;
}
Symbol 1804 MovieClip Frame 1
stop();
Instance of Symbol 1749 MovieClip "dust" in Symbol 1804 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 1803 MovieClip in Symbol 1804 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 4, 1.01);
if (_parent.carry == "no") {
_root.gravity(_parent, 0.2, _parent.tds);
}
_root.pTheorem(_parent.lockt, _parent, 0, 15);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 15);
tellTarget (_parent) {
if (0 < xspeed) {
gotoAndStop (2);
} else if (xspeed < 0) {
gotoAndStop (1);
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Heavy Tank";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if ((follow._x + 20) < _x) {
xmotion = "left";
} else if (_x < (follow._x - 20)) {
xmotion = "right";
} else {
xmotion = "none";
}
}
if (0 >= health) {
gotoAndPlay (3);
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.7 * _root.cArmor;
reload = 0;
ammo = 2;
shot = "no";
carry = "no";
hostile = "friend";
};
}
Instance of Symbol 64 MovieClip "dust" in Symbol 1804 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Instance of Symbol 64 MovieClip "dust2" in Symbol 1804 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = this._xscale;
this._x = this._x;
}
Instance of Symbol 956 MovieClip "ha" in Symbol 1805 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 213;
_root.nightFunction(_parent);
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 929 MovieClip in Symbol 1806 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Instance of Symbol 977 MovieClip in Symbol 1807 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1808 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1809 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1810 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1811 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1813 MovieClip Frame 1
stop();
Instance of Symbol 995 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 995 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 996 MovieClip in Symbol 1813 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10;
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1813 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1813 MovieClip Frame 13
stop();
Symbol 1814 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1814 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1818 MovieClip Frame 1
stop();
Instance of Symbol 1574 MovieClip in Symbol 1818 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1575 MovieClip in Symbol 1818 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
}
Symbol 1819 MovieClip Frame 1
stop();
Instance of Symbol 1574 MovieClip in Symbol 1819 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1575 MovieClip in Symbol 1819 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
}
Instance of Symbol 1028 MovieClip in Symbol 1820 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((hitTest(_root.e.s0) && (0 < _root.e.s0.health)) && (_root.e.s0.health < 100)) && (_root.vehicle == "On Foot")) {
_root.e.s0.health = 100;
gotoAndStop (31);
}
};
}
Symbol 1820 MovieClip Frame 30
gotoAndPlay (1);
Instance of Symbol 1029 MovieClip in Symbol 1820 MovieClip Frame 31
onClipEvent (load) {
_parent.tn = 0;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
tellTarget (_parent) {
if (500 < tn) {
gotoAndPlay (1);
} else {
tn = tn + 1;
}
};
}
}
Symbol 1821 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1821 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1821 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1821 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1821 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1821 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1821 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1821 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1821 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1821 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1821 MovieClip Frame 11
stop();
Symbol 1822 MovieClip Frame 1
stop();
Instance of Symbol 1033 MovieClip "mh" in Symbol 1822 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, _parent.manned, -190, 30, _parent.lockt, _parent, 0, 0);
}
if (_parent.control == "cpu") {
if (this._rotation < -90) {
_parent.gotoAndStop(2);
} else {
_parent.gotoAndStop(1);
}
}
}
Instance of Symbol 1035 MovieClip "dude" in Symbol 1822 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 151 MovieClip in Symbol 1822 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1036 MovieClip in Symbol 1822 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1037 MovieClip in Symbol 1822 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_parent.rolled = "no";
_root.inOut(_parent);
_root.movement(_parent, 0, 0);
_root.pTheorem(_parent.lockt, _parent, 0, 5);
_root.hitCordinate(_parent, _parent.mh, _parent.distance, 0, 5);
tellTarget (_parent) {
if (manned == "no") {
shot = "no";
}
if (((_root._xmouse - _parent._x) < _x) && (control == "human")) {
gotoAndStop (2);
} else if (((_root._xmouse - _parent._x) >= _x) && (control == "human")) {
gotoAndStop (1);
}
if ((shot == "go") && (0 < ammo)) {
_root.attachMovie("shellex2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , hitx);
setProperty(eval ("_root.shellex" + _root.i), _y , hity);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 24;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
if (control == "human") {
_root.ammo = ammo;
_root.vehicle = "Gunner";
_root.vehicleName = _name;
lockt = _root.e.t;
} else if (control == "cpu") {
if (((_root.e.s11._visible == 1) && ((_x - 300) < _root.e.s11._x)) && (_root.e.s11._x < (_x + 300))) {
lockt = _root.e.s11;
shot = "go";
} else if (((_root.e.s12._visible == 1) && ((_x - 300) < _root.e.s12._x)) && (_root.e.s12._x < (_x + 300))) {
lockt = _root.e.s12;
shot = "go";
} else if (((_root.e.s13._visible == 1) && ((_x - 300) < _root.e.s13._x)) && (_root.e.s13._x < (_x + 300))) {
lockt = _root.e.s13;
shot = "go";
} else if (((_root.e.s14._visible == 1) && ((_x - 300) < _root.e.s14._x)) && (_root.e.s14._x < (_x + 300))) {
lockt = _root.e.s14;
shot = "go";
} else if (((_root.e.s18._visible == 1) && ((_x - 300) < _root.e.s18._x)) && (_root.e.s18._x < (_x + 300))) {
lockt = _root.e.s18;
shot = "go";
} else if (((_root.e.s19._visible == 1) && ((_x - 300) < _root.e.s19._x)) && (_root.e.s19._x < (_x + 300))) {
lockt = _root.e.s19;
shot = "go";
} else if (((_root.e.s20._visible == 1) && ((_x - 300) < _root.e.s20._x)) && (_root.e.s20._x < (_x + 300))) {
lockt = _root.e.s20;
shot = "go";
} else if (((_root.e.s21._visible == 1) && ((_x - 300) < _root.e.s21._x)) && (_root.e.s21._x < (_x + 300))) {
lockt = _root.e.s21;
shot = "go";
} else if (((_root.e.s22._visible == 1) && ((_x - 300) < _root.e.s22._x)) && (_root.e.s22._x < (_x + 300))) {
lockt = _root.e.s22;
shot = "go";
} else if (((_root.e.s23._visible == 1) && ((_x - 300) < _root.e.s23._x)) && (_root.e.s23._x < (_x + 300))) {
lockt = _root.e.s23;
shot = "go";
} else if (((_root.e.s26._visible == 1) && ((_x - 300) < _root.e.s26._x)) && (_root.e.s26._x < (_x + 300))) {
lockt = _root.e.s26;
shot = "go";
} else if (((_root.e.s27._visible == 1) && ((_x - 300) < _root.e.s27._x)) && (_root.e.s27._x < (_x + 300))) {
lockt = _root.e.s27;
shot = "go";
} else if (((_root.e.s28._visible == 1) && ((_x - 300) < _root.e.s28._x)) && (_root.e.s28._x < (_x + 300))) {
lockt = _root.e.s28;
shot = "go";
} else if (((_root.e.s24._visible == 1) && ((_x - 300) < _root.e.s24._x)) && (_root.e.s24._x < (_x + 300))) {
lockt = _root.e.s24;
shot = "go";
} else if (((_root.e.s25._visible == 1) && ((_x - 300) < _root.e.s25._x)) && (_root.e.s25._x < (_x + 300))) {
lockt = _root.e.s25;
shot = "go";
} else {
lockt = _root.e.t;
shot = "no";
}
}
if (0 >= health) {
gotoAndPlay (3);
} else if (health < 100) {
health = health + 0.01;
}
};
}
}
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 3;
reload = 0;
sationary = "yes";
ammo = 24;
shot = "no";
hostile = "friend";
};
}
Instance of Symbol 1038 MovieClip "dude" in Symbol 1822 MovieClip Frame 2
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
onClipEvent (load) {
this._xscale = 100;
this._x = 7;
}
Symbol 1822 MovieClip Frame 3
play();
Instance of Symbol 1049 MovieClip in Symbol 1822 MovieClip Frame 3
onClipEvent (load) {
myS = new Sound(_parent);
myS.attachSound("bde");
myS.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS, _root.e.s0._x);
}
Instance of Symbol 1050 MovieClip in Symbol 1822 MovieClip Frame 3
onClipEvent (load) {
myS2 = new Sound(_parent);
myS2.attachSound("squash1");
myS2.start();
}
onClipEvent (enterFrame) {
_root.dopplerEffect(_parent, _parent.myS2, _root.e.s0._x);
}
Symbol 1822 MovieClip Frame 11
stop();
Instance of Symbol 890 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 895 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1801 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 1500;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 901 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 907 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
Instance of Symbol 907 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
Instance of Symbol 908 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 911 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1804 MovieClip "bThing" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 21000;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 1805 MovieClip "j17" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 4000;
}
Instance of Symbol 1806 MovieClip "water1" in Symbol 1823 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent.s0._x < -275) {
this._x = (-_parent._x) + 550;
}
}
Instance of Symbol 967 MovieClip "j0" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
Instance of Symbol 975 MovieClip "j1" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 750;
}
Instance of Symbol 983 MovieClip "j3" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
}
Instance of Symbol 985 MovieClip "j5" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 986 MovieClip "j6" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 2300;
}
Instance of Symbol 1808 MovieClip "j7" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 800;
}
Instance of Symbol 1809 MovieClip "j8" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 2800;
}
Instance of Symbol 1740 MovieClip "j9" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 4300;
}
Instance of Symbol 1810 MovieClip "j10" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 1700;
}
Instance of Symbol 1811 MovieClip "j11" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 5000;
}
Instance of Symbol 992 MovieClip "j12" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = -6080;
}
Instance of Symbol 993 MovieClip "j13" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = -7500;
}
Instance of Symbol 1812 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1814 MovieClip "goal" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 20000;
this._y = 300;
cOut = 1;
this.fireColor = "red";
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if (((this.hitTest(_root.e.s0) && (_root.vehicle == "On Foot")) && (_root.mission == 23)) && (this._x == 20000)) {
_root.paused = "yes";
_root.mission = _root.mission + 1;
_parent.bThing.follow = _parent.thePoint;
_parent.s4.follow = _parent.bThing;
_parent.s6.follow = _parent.bThing;
_parent.s9.follow = _parent.bThing;
} else if ((_root.mission == 24) && (_parent.bThing._x < (_parent.thePoint._x - 50))) {
this._x = _parent.bThing._x;
if ((21500 < _parent.bThing._x) && (cOut == 1)) {
_root.alien1Max = 1;
_root.alien1A = 1;
cOut = cOut + 1;
} else if ((23000 < _parent.bThing._x) && (cOut == 2)) {
_root.alien1Max = 4;
_root.alien1A = 7;
cOut = cOut + 1;
} else if ((23500 < _parent.bThing._x) && (cOut == 3)) {
_root.alien4Max = 2;
_root.alien4A = 6;
cOut = cOut + 1;
} else if ((24000 < _parent.bThing._x) && (cOut == 4)) {
_root.alien1Max = 4;
_root.alien1A = 10;
cOut = cOut + 1;
} else if ((24800 < _parent.bThing._x) && (cOut == 5)) {
_root.alien5Max = 2;
_root.alien5A = 8;
cOut = cOut + 1;
} else if ((26400 < _parent.bThing._x) && (cOut == 6)) {
_root.alien1Max = 3;
_root.alien1A = 8;
_root.alien4Max = 2;
_root.alien4A = 10;
cOut = cOut + 1;
}
} else if ((((((_root.alien4A == 0) && (_root.alien4Num == 0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.mission == 24)) && ((_parent.thePoint._x - 50) < _parent.bThing._x)) {
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 1700;
} else if ((this.hitTest(_root.e.s0) && (_root.mission == 25)) && (this._x == 1700)) {
this._x = 1701;
_root.alien1Max = 3;
_root.alien1A = 8;
_root.alien5Max = 2;
_root.alien5A = 5;
_root.alien4Max = 1;
_root.alien4A = 4;
} else if ((((((((_root.alien4A == 0) && (_root.alien4Num == 0)) && (_root.alien5A == 0)) && (_root.alien5Num == 0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.mission == 25)) && (this._x == 1701)) {
this._x = 28200;
_root.paused = "yes";
_root.mission = _root.mission + 1;
} else if (((this.hitTest(_root.e.s0) && (_root.vehicle == "On Foot")) && (_root.mission == 26)) && (this._x == 28200)) {
_root.gotoAndPlay("cut6");
}
}
Instance of Symbol 1815 MovieClip "l1" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 4010;
}
Instance of Symbol 1817 MovieClip "thePoint" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 28200;
}
Instance of Symbol 1818 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 1500;
}
Instance of Symbol 1819 MovieClip in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 1821 MovieClip "s5" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
}
Instance of Symbol 348 MovieClip [light] "s4" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 20500;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 1822 MovieClip "s7" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 4100;
this.manned = "yes";
this.control = "cpu";
}
Instance of Symbol 347 MovieClip [heavy] "s9" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 20100;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 346 MovieClip [heavy] "s6" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 20300;
this.manned = "yes";
this.control = "cpu";
this.follow = this;
}
Instance of Symbol 345 MovieClip [f] "s3" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this._x = 20000;
}
Instance of Symbol 1124 MovieClip "s0" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1185 MovieClip "s25" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1823 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1831 Button
on (release) {
stopAllSounds();
gotoAndStop (1459);
}
Instance of Symbol 960 MovieClip in Symbol 1860 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1861 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1861 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1862 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1863 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 977 MovieClip in Symbol 1864 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1865 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1866 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1867 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1867 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1868 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1869 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1869 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1870 MovieClip Frame 1
stop();
Instance of Symbol 744 MovieClip in Symbol 1870 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1776 MovieClip in Symbol 1870 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 0.1;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1870 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1870 MovieClip Frame 18
stop();
Symbol 1879 MovieClip Frame 1
stop();
Instance of Symbol 1061 MovieClip "legs" in Symbol 1879 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1879 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1064 MovieClip "d" in Symbol 1879 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1065 MovieClip in Symbol 1879 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 1871 MovieClip in Symbol 1879 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 8;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.nightFunction(_parent);
if ((_root.vehicle == "On Foot") && (_root.ladderOn == "no")) {
if (_root.cAlienDude == "yes") {
_root.movement(_parent, 50, 5);
} else {
_root.movement(_parent, 6, 1.5);
}
}
if (_root.ladderOn == "no") {
_root.gravity(_parent, 0.1, _parent.legs);
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((_parent._y == _parent.ground) && (0 >= _parent.yspeed)) && (_root.para == "no")) {
_parent.yspeed = -6;
}
}
}
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_root.ladderOn == "no")) {
_root.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , _root._xmouse + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , _root._ymouse);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 8;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
_x = (275 - _parent._x);
if (_root.vehicleIn == "yes") {
_visible = 0;
if ((eval (("_root.e." + _root.vehicleName) + ".fly") == "yes") && (Math.abs(eval (("_root.e." + _root.vehicleName) + ".xspeed")) < 10)) {
_y = (ground - 20);
} else {
xspeed = eval (("_root.e." + _root.vehicleName) + ".xspeed");
_y = eval ("_root.e." + _root.vehicleName)._y;
}
} else {
_root.vehicleName = _name;
_root.health = health;
_visible = 1;
_root.ammo = ammo;
_root.vehicle = "On Foot";
}
if (_root.ladderOn == "no") {
if ((xspeed == 0) || ((_root.para == "yes") && (_y < (ground - 5)))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (2);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (1);
}
} else if ((_root.para == "no") || ((_root.para == "yes") && ((ground - 5) < _y))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (4);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (3);
}
}
} else {
gotoAndStop (5);
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1872 MovieClip in Symbol 1879 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT))) || (Key.isDown(65))) || (Key.isDown(68))) {
_root.ladderOn = "no";
}
if ((_root.vehicleIn == "no") && (_root.para == "no")) {
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
climb.play();
_y = (_y - 3);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else if (Key.isDown(Key.DOWN) || (Key.isDown(83))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
_y = (_y + 6);
climb.gotoAndStop(1);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else {
climb.gotoAndStop(1);
}
}
};
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1879 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1084 MovieClip in Symbol 1879 MovieClip Frame 2
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1100 MovieClip "legs" in Symbol 1879 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1879 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1102 MovieClip in Symbol 1879 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1103 MovieClip in Symbol 1879 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this._xscale = 100;
} else if (0 < _parent.xspeed) {
this._xscale = -100;
}
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1879 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1104 MovieClip in Symbol 1879 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
this._xscale = 100;
}
Instance of Symbol 1116 MovieClip "climb" in Symbol 1879 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1116 MovieClip "climb" in Symbol 1879 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Symbol 1879 MovieClip Frame 6
xspeed = 0;
play();
Symbol 1879 MovieClip Frame 11
stop();
_root.red2._visible = 1;
Symbol 1880 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1880 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1880 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1880 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1880 MovieClip Frame 13
stop();
Symbol 1887 MovieClip Frame 1
stop();
Symbol 1887 MovieClip Frame 60
_root.gotoAndPlay("cut7");
Instance of Symbol 1854 MovieClip in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 895 MovieClip in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 911 MovieClip in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1859 MovieClip in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 40000;
}
Instance of Symbol 1860 MovieClip "j0" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -600;
}
Instance of Symbol 1861 MovieClip "j1" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -1750;
}
Instance of Symbol 1862 MovieClip "j2" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 1480;
}
Instance of Symbol 1863 MovieClip "j3" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -3000;
}
Instance of Symbol 1864 MovieClip "j4" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 2900;
}
Instance of Symbol 1865 MovieClip "j5" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -2000;
}
Instance of Symbol 986 MovieClip "j6" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 2300;
}
Instance of Symbol 1866 MovieClip "j7" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 5000;
}
Instance of Symbol 988 MovieClip "j8" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 7000;
}
Instance of Symbol 1867 MovieClip "j9" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -5300;
}
Instance of Symbol 1868 MovieClip "j10" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -7000;
}
Instance of Symbol 991 MovieClip "j11" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -5000;
}
Instance of Symbol 992 MovieClip "j12" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = -6080;
}
Instance of Symbol 1744 MovieClip "j13" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 7500;
}
Instance of Symbol 1869 MovieClip "goal" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
this._y = 300;
cOut = 1;
dOut = 1;
this.fireColor = "red";
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.gps = (-this._x) + 275;
if ((_root.mission == 27) && (this._x == 300)) {
cOut = cOut + 1;
if (cOut == 10) {
_root.alien1Max = 1;
_root.alien1A = 1;
} else if (cOut == 100) {
_root.alien1Max = 4;
_root.alien1A = 8;
} else if (cOut == 200) {
_root.alien1Max = 4;
_root.alien1A = 7;
} else if (cOut == 300) {
_root.alien2Max = 2;
_root.alien2A = 5;
} else if (cOut == 400) {
_root.alien3Max = 2;
_root.alien3A = 5;
} else if (cOut == 500) {
_root.alien4Max = 2;
_root.alien4A = 5;
} else if (cOut == 600) {
_root.alien5Max = 2;
_root.alien5A = 4;
} else if (((((((((((cOut >= 1000) && (_root.alien5A == 0)) && (_root.alien5Num == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) && (_root.alien3A == 0)) && (_root.alien3Num == 0)) && (_root.alien2A == 0)) && (_root.alien2Num == 0)) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) {
_root.alien1Max = 4;
_root.alien1A = 12;
this._x = 50750;
_root.paused = "yes";
_root.mission = _root.mission + 1;
}
} else if ((_root.mission == 28) && (this._x == 50750)) {
if ((10 < _parent.s32.health) && (dOut == 1)) {
dOut = dOut + 1;
_root.alien1Max = 1;
_root.alien1A = 2;
} else if ((_parent.s32.health < 90) && (dOut == 2)) {
dOut = dOut + 1;
_root.alien1Max = 4;
_root.alien1A = 8;
} else if ((_parent.s32.health < 80) && (dOut == 3)) {
dOut = dOut + 1;
_root.alien1Max = 1;
_root.alien1A = 5;
_root.alien4Max = 2;
_root.alien4A = 5;
} else if ((_parent.s32.health < 70) && (dOut == 4)) {
dOut = dOut + 1;
_root.alien1Max = 1;
_root.alien1A = 1;
_root.alien5Max = 2;
_root.alien5A = 4;
} else if ((_parent.s32.health < 50) && (dOut == 5)) {
dOut = dOut + 1;
_root.alien1Max = 4;
_root.alien1A = 10;
_root.alien3Max = 2;
_root.alien3A = 6;
} else if ((_parent.s32.health < 25) && (dOut == 6)) {
dOut = dOut + 1;
_root.alien1Max = 1;
_root.alien1A = 1;
_root.alien2Max = 2;
_root.alien2A = 4;
} else if ((_parent.s32.health < 10) && (dOut == 7)) {
dOut = dOut + 1;
_root.alien4Max = 3;
_root.alien4A = 6;
} else if ((_parent.s32.health < 5) && (dOut == 8)) {
dOut = dOut + 1;
_root.alien1Max = 4;
_root.alien1A = 10;
_root.alien3Max = 2;
_root.alien3A = 4;
}
if (_parent.s32._currentframe >= 17) {
_root.paused = "yes";
_root.mission = _root.mission + 1;
this._x = 0;
}
} else if (((20000 >= _parent.s0._x) && (_root.mission == 29)) && (this._x == 0)) {
_parent.shipScene.play();
this._x = 1;
}
}
}
Instance of Symbol 1870 MovieClip "s32" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 50000;
}
Instance of Symbol 1030 MovieClip in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
Instance of Symbol 368 MovieClip [dune] "s6" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = 320;
}
Instance of Symbol 344 MovieClip [dune] "s10" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.manned = "yes";
this.control = "cpu";
this.follow = _parent.s0;
}
Instance of Symbol 343 MovieClip [heavy] "s9" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 40000;
}
Instance of Symbol 1879 MovieClip "s0" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s20" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1203 MovieClip "s21" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1185 MovieClip "s25" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1880 MovieClip "s29" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 50000;
}
Instance of Symbol 1880 MovieClip "s30" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 50000;
}
Instance of Symbol 1880 MovieClip "s33" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 50000;
}
Instance of Symbol 1880 MovieClip "s34" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 50000;
}
Instance of Symbol 1887 MovieClip "shipScene" in Symbol 1888 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = (-_parent._x) + 400;
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1888 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1892 Button
on (release) {
stopAllSounds();
gotoAndStop (1774);
}
Symbol 1900 MovieClip Frame 1
stop();
Instance of Symbol 969 MovieClip in Symbol 1900 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 284;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Instance of Symbol 960 MovieClip in Symbol 1901 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 259;
_parent._y = 300;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1903 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1903 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1904 MovieClip Frame 1
stop();
Instance of Symbol 1061 MovieClip "legs" in Symbol 1904 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1904 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1064 MovieClip "d" in Symbol 1904 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1065 MovieClip in Symbol 1904 MovieClip Frame 1
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
Instance of Symbol 1871 MovieClip in Symbol 1904 MovieClip Frame 1
onClipEvent (load) {
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 10 * _root.cArmor;
xspeed = 0;
yspeed = 0;
reload = 0;
ammo = 8;
carry = "no";
vehicle = "On Foot";
shot = "no";
hostile = "friend";
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.nightFunction(_parent);
if ((_root.vehicle == "On Foot") && (_root.ladderOn == "no")) {
if (_root.cAlienDude == "yes") {
_root.movement(_parent, 50, 5);
} else {
_root.movement(_parent, 6, 1.5);
}
}
if (_root.ladderOn == "no") {
_root.gravity(_parent, 0.1, _parent.legs);
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((_parent._y == _parent.ground) && (0 >= _parent.yspeed)) && (_root.para == "no")) {
_parent.yspeed = -6;
}
}
}
tellTarget (_parent) {
if (((shot == "go") && (0 < ammo)) && (_root.ladderOn == "no")) {
_root.attachMovie("shotgun2", "shellex" + _root.i, _root.i++);
setProperty(eval ("_root.shellex" + _root.i), _x , _root._xmouse + xspeed);
setProperty(eval ("_root.shellex" + _root.i), _y , _root._ymouse);
setProperty(eval ("_root.shellex" + _root.i), _rotation , random(360));
mh.play();
ammo = ammo - 1;
shot = "no";
} else if (0 >= ammo) {
reload = reload + 1;
}
if (20 < reload) {
ammo = 8;
reload = 0;
}
if ((0 >= ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "no";
} else if ((0 < ammo) && (manned == "yes")) {
setProperty(dude, _visible , 1);
sload = "yes";
} else if (manned == "no") {
sload = "no";
setProperty(dude, _visible , 0);
ammo = 24;
}
_x = (275 - _parent._x);
if (_root.vehicleIn == "yes") {
_visible = 0;
if ((eval (("_root.e." + _root.vehicleName) + ".fly") == "yes") && (Math.abs(eval (("_root.e." + _root.vehicleName) + ".xspeed")) < 10)) {
_y = (ground - 20);
} else {
xspeed = eval (("_root.e." + _root.vehicleName) + ".xspeed");
_y = eval ("_root.e." + _root.vehicleName)._y;
}
} else {
_root.vehicleName = _name;
_root.health = health;
_visible = 1;
_root.ammo = ammo;
_root.vehicle = "On Foot";
}
if (_root.ladderOn == "no") {
if ((xspeed == 0) || ((_root.para == "yes") && (_y < (ground - 5)))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (2);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (1);
}
} else if ((_root.para == "no") || ((_root.para == "yes") && ((ground - 5) < _y))) {
if ((_root._xmouse - _parent._x) < _x) {
gotoAndStop (4);
} else if ((_root._xmouse - _parent._x) >= _x) {
gotoAndStop (3);
}
}
} else {
gotoAndStop (5);
}
if (0 >= health) {
gotoAndPlay (6);
}
};
}
}
Instance of Symbol 1872 MovieClip in Symbol 1904 MovieClip Frame 1
onClipEvent (enterFrame) {
tellTarget (_parent) {
if (((Key.isDown(Key.RIGHT) || (Key.isDown(Key.LEFT))) || (Key.isDown(65))) || (Key.isDown(68))) {
_root.ladderOn = "no";
}
if ((_root.vehicleIn == "no") && (_root.para == "no")) {
if (Key.isDown(Key.UP) || (Key.isDown(87))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
climb.play();
_y = (_y - 3);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else if (Key.isDown(Key.DOWN) || (Key.isDown(83))) {
if (((hitTest(_root.e.l0) || (hitTest(_root.e.l1))) || (hitTest(_root.e.l2))) || (hitTest(_root.e.l3))) {
_root.ladderOn = "yes";
_y = (_y + 6);
climb.gotoAndStop(1);
ground = _y + 5;
xspeed = 0;
if (hitTest(_root.e.l0)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l0._x);
} else if (hitTest(_root.e.l1)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l1._x);
} else if (hitTest(_root.e.l2)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l2._x);
} else if (hitTest(_root.e.l3)) {
_root.e._x = _root.e._x + (_root.e.s0._x - _root.e.l3._x);
}
} else {
_root.ladderOn = "no";
}
} else {
climb.gotoAndStop(1);
}
}
};
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1904 MovieClip Frame 2
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1084 MovieClip in Symbol 1904 MovieClip Frame 2
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1100 MovieClip "legs" in Symbol 1904 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this.gotoAndStop(1);
} else if (0 < _parent.xspeed) {
this.gotoAndStop(2);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1062 MovieClip "mh" in Symbol 1904 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -70, 30, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1102 MovieClip in Symbol 1904 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1103 MovieClip in Symbol 1904 MovieClip Frame 3
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
if (_parent.xspeed < 0) {
this._xscale = 100;
} else if (0 < _parent.xspeed) {
this._xscale = -100;
}
}
Instance of Symbol 1082 MovieClip "mh" in Symbol 1904 MovieClip Frame 4
onClipEvent (load) {
this._x = this._x;
this._yscale = this._yscale;
this._rotation = this._rotation;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.RotateWithTarget(this, 20, "yes", -210, -130, _root.e.t, _parent, 0, 0);
}
}
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1104 MovieClip in Symbol 1904 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 1;
} else {
this._visible = 0;
}
}
onClipEvent (enterFrame) {
this._xscale = 100;
}
Instance of Symbol 1116 MovieClip "climb" in Symbol 1904 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Instance of Symbol 1116 MovieClip "climb" in Symbol 1904 MovieClip Frame 5
onClipEvent (load) {
if (_root.cAlienDude == "yes") {
this._visible = 0;
} else {
this._visible = 1;
}
}
Symbol 1904 MovieClip Frame 6
xspeed = 0;
play();
Symbol 1904 MovieClip Frame 11
stop();
_root.red2._visible = 1;
Symbol 1905 MovieClip Frame 1
stop();
Instance of Symbol 1216 MovieClip in Symbol 1905 MovieClip Frame 1
onClipEvent (load) {
_root.nightFunction(this);
}
onClipEvent (enterFrame) {
_root.nightFunction(this);
}
Instance of Symbol 1219 MovieClip in Symbol 1905 MovieClip Frame 1
onClipEvent (load) {
_parent._y = 300;
_root.numObj = _root.numObj + 1;
tellTarget (_parent) {
health = 100;
armor = 4;
hostile = "yes";
};
}
onClipEvent (enterFrame) {
tellTarget (_parent) {
_parent.rolled = "no";
if (0 >= health) {
play();
}
};
}
Instance of Symbol 929 MovieClip in Symbol 1905 MovieClip Frame 2
onClipEvent (enterFrame) {
tellTarget (_parent) {
damage = 20;
if (hitTest(eval ("_root.e." + _root.vehicleName))) {
Set(eval ("_root.e." + _root.vehicleName) + ".health", eval (eval ("_root.e." + _root.vehicleName) + ".health") - (eval (eval ("_root.e." + _root.vehicleName) + ".armor") * damage));
}
};
}
Symbol 1905 MovieClip Frame 13
stop();
Instance of Symbol 1897 MovieClip in Symbol 1906 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 1185 MovieClip "s24" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1898 MovieClip "uc1" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - 200;
}
Instance of Symbol 1899 MovieClip "uc2" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x + 200;
}
Instance of Symbol 911 MovieClip in Symbol 1906 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 1903 MovieClip "goal" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
this._y = 300;
cOut = 1;
dOut = 1;
this.fireColor = "red";
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.gps = (-this._x) + 275;
if (this._x == 300) {
cOut = cOut + 1;
if (cOut == 10) {
_root.alien1Max = 10;
_root.alien1A = 20;
} else if (cOut == 100) {
_root.alien1A = _root.alien1A + 8;
} else if (cOut == 200) {
_root.alien2Max = 1;
_root.alien2A = 2;
} else if (cOut == 400) {
_root.alien5Max = 1;
_root.alien5A = 1;
} else if (cOut == 600) {
_root.alien3Max = 1;
_root.alien3A = 3;
_root.alien1A = _root.alien1A + 8;
} else if (cOut == 900) {
_root.alien1Max = 10;
_root.alien1A = 20;
} else if (cOut == 1100) {
_root.alien4Max = 1;
_root.alien4A = 2;
} else if (((((((((1100 < cOut) && (_root.alien1A == 0)) && (_root.alien1Num == 0)) && (_root.alien2A == 0)) && (_root.alien2Num == 0)) && (_root.alien4A == 0)) && (_root.alien4Num == 0)) && (_root.alien5A == 0)) && (_root.alien5Num == 0)) {
_root.gotoAndPlay("cut8");
}
}
}
}
Instance of Symbol 364 MovieClip [f] "s3" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
if (_root.cF420 == "yes") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(10);
}
}
Instance of Symbol 1904 MovieClip "s0" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.uc1.hitArea)) {
_root.aLeft = "no";
} else if (this.hitTest(_parent.uc2.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc3.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc4.hitArea)) {
_root.aRight = "no";
} else if (this.hitTest(_parent.uc5.hitArea)) {
_root.aRight = "no";
} else {
_root.aRight = "yes";
_root.aLeft = "yes";
}
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1203 MovieClip "s22" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1203 MovieClip "s23" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(13);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s18" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s20" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s26" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s25" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s28" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s21" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1906 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Instance of Symbol 977 MovieClip in Symbol 1925 MovieClip Frame 1
onClipEvent (load) {
_root.jump = _root.jump + 1;
_parent.h = 290;
_parent._y = 298;
tellTarget (_parent) {
if (_root.land == "dirt") {
gotoAndStop (1);
} else if (_root.land == "lightSand") {
gotoAndStop (2);
} else if (_root.land == "dullSand") {
gotoAndStop (3);
} else if (_root.land == "snow") {
gotoAndStop (4);
} else if (_root.land == "moon") {
gotoAndStop (5);
}
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1933 MovieClip Frame 1
stop();
Instance of Symbol 1927 MovieClip in Symbol 1933 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, _parent.max, _parent.max * 0.5);
tellTarget (_parent) {
if (_x < left) {
xmotion = "right";
} else if (right < _x) {
xmotion = "left";
}
if (0 >= health) {
play();
if (_root.para2 == "yes") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Instance of Symbol 1928 MovieClip in Symbol 1933 MovieClip Frame 1
onClipEvent (load) {
_root.target1 = _root.target1 + 1;
tellTarget (_parent) {
control = "cpu";
manned = "yes";
armor = 100;
_y = 300;
fly = "yes";
left = _x - 200;
right = _x + 200;
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1933 MovieClip Frame 2
play();
_root.tag1Num = _root.tag1Num - 1;
Symbol 1933 MovieClip Frame 4
stop();
Instance of Symbol 1932 MovieClip in Symbol 1933 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.tag1Num < _root.tag1Max) && (0 < _root.tag1A)) {
_root.tag1Num = _root.tag1Num + 1;
_root.tag1A = _root.tag1A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1934 MovieClip Frame 1
stop();
Instance of Symbol 1927 MovieClip in Symbol 1934 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, _parent.max, _parent.max * 0.5);
tellTarget (_parent) {
if (_x < left) {
xmotion = "right";
} else if (right < _x) {
xmotion = "left";
}
if (0 >= health) {
play();
if (_root.para2 == "yes") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Instance of Symbol 1928 MovieClip in Symbol 1934 MovieClip Frame 1
onClipEvent (load) {
_root.target1 = _root.target1 + 1;
tellTarget (_parent) {
control = "cpu";
manned = "yes";
armor = 100;
_y = 300;
fly = "yes";
left = _x - 200;
right = _x + 200;
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1934 MovieClip Frame 2
play();
_root.tag1Num = _root.tag1Num - 1;
Symbol 1934 MovieClip Frame 4
stop();
Instance of Symbol 1932 MovieClip in Symbol 1934 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.tag1Num < _root.tag1Max) && (0 < _root.tag1A)) {
_root.tag1Num = _root.tag1Num + 1;
_root.tag1A = _root.tag1A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1938 MovieClip Frame 14
gotoAndPlay (1);
Instance of Symbol 1941 MovieClip in Symbol 1946 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
armor = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
tellTarget (_parent) {
if (_y < 300) {
_x = (_x + xspeed);
_y = (_y + yspeed);
_xscale = (_xscale * 0.99);
_yscale = (_yscale * 0.99);
xspeed = xspeed * 0.99;
yspeed = yspeed + 0.4;
} else {
play();
}
if (0 >= health) {
play();
if (_root.vehicleIn == "no") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Symbol 1946 MovieClip Frame 2
stop();
Symbol 1946 MovieClip Frame 3
play();
_root.tag2Num = _root.tag2Num - 1;
Symbol 1946 MovieClip Frame 6
stop();
Instance of Symbol 1945 MovieClip in Symbol 1946 MovieClip Frame 6
onClipEvent (enterFrame) {
if ((_root.tag2Num < _root.tag2Max) && (0 < _root.tag2A)) {
_parent._x = _root.e.ssc._x;
_parent._y = _root.e.ssc._y;
_parent._xscale = 100;
_parent._yscale = 100;
_parent.speed = _root.roundnum + 16;
_parent.xspeed = ((_parent.speed * random(25)) * 0.01) + 7.5;
_parent.yspeed = _parent.xspeed - _parent.speed;
_root.tag2Num = _root.tag2Num + 1;
_root.tag2A = _root.tag2A - 1;
_parent.gotoAndPlay(1);
}
}
Symbol 1947 MovieClip Frame 1
stop();
Instance of Symbol 1012 MovieClip in Symbol 1947 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
rolled = "yes";
if (fireColor == "red") {
gotoAndStop (1);
} else if (fireColor == "green") {
gotoAndStop (2);
} else if (fireColor == "blue") {
gotoAndStop (3);
} else if (fireColor == "white") {
gotoAndStop (4);
} else if (fireColor == "black") {
gotoAndStop (5);
} else {
gotoAndStop (6);
}
};
}
Symbol 1948 MovieClip Frame 1
stop();
Instance of Symbol 1927 MovieClip in Symbol 1948 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, _parent.max, _parent.max * 0.5);
tellTarget (_parent) {
if (_x < left) {
xmotion = "right";
} else if (right < _x) {
xmotion = "left";
}
if (0 >= health) {
play();
if (_root.para2 == "yes") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Instance of Symbol 1928 MovieClip in Symbol 1948 MovieClip Frame 1
onClipEvent (load) {
_root.target1 = _root.target1 + 1;
tellTarget (_parent) {
control = "cpu";
manned = "yes";
armor = 100;
_y = 300;
fly = "yes";
left = _x - 200;
right = _x + 200;
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1948 MovieClip Frame 2
play();
_root.tag1Num = _root.tag1Num - 1;
Symbol 1948 MovieClip Frame 4
stop();
Instance of Symbol 1932 MovieClip in Symbol 1948 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.tag1Num < _root.tag1Max) && (0 < _root.tag1A)) {
_root.tag1Num = _root.tag1Num + 1;
_root.tag1A = _root.tag1A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1949 MovieClip Frame 1
stop();
Instance of Symbol 1927 MovieClip in Symbol 1949 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, _parent.max, _parent.max * 0.5);
tellTarget (_parent) {
if (_x < left) {
xmotion = "right";
} else if (right < _x) {
xmotion = "left";
}
if (0 >= health) {
play();
if (_root.para2 == "yes") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Instance of Symbol 1928 MovieClip in Symbol 1949 MovieClip Frame 1
onClipEvent (load) {
_root.target1 = _root.target1 + 1;
tellTarget (_parent) {
control = "cpu";
manned = "yes";
armor = 100;
_y = 300;
fly = "yes";
left = _x - 200;
right = _x + 200;
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1949 MovieClip Frame 2
play();
_root.tag1Num = _root.tag1Num - 1;
Symbol 1949 MovieClip Frame 4
stop();
Instance of Symbol 1932 MovieClip in Symbol 1949 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.tag1Num < _root.tag1Max) && (0 < _root.tag1A)) {
_root.tag1Num = _root.tag1Num + 1;
_root.tag1A = _root.tag1A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1950 MovieClip Frame 1
stop();
Instance of Symbol 1927 MovieClip in Symbol 1950 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, _parent.max, _parent.max * 0.5);
tellTarget (_parent) {
if (_x < left) {
xmotion = "right";
} else if (right < _x) {
xmotion = "left";
}
if (0 >= health) {
play();
if (_root.para2 == "yes") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Instance of Symbol 1928 MovieClip in Symbol 1950 MovieClip Frame 1
onClipEvent (load) {
_root.target1 = _root.target1 + 1;
tellTarget (_parent) {
control = "cpu";
manned = "yes";
armor = 100;
_y = 300;
fly = "yes";
left = _x - 200;
right = _x + 200;
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1950 MovieClip Frame 2
play();
_root.tag1Num = _root.tag1Num - 1;
Symbol 1950 MovieClip Frame 4
stop();
Instance of Symbol 1932 MovieClip in Symbol 1950 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.tag1Num < _root.tag1Max) && (0 < _root.tag1A)) {
_root.tag1Num = _root.tag1Num + 1;
_root.tag1A = _root.tag1A - 1;
_parent.gotoAndStop(1);
}
}
Symbol 1951 MovieClip Frame 1
stop();
Instance of Symbol 1927 MovieClip in Symbol 1951 MovieClip Frame 1
onClipEvent (load) {
tellTarget (_parent) {
health = 100;
};
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
_root.movement(_parent, _parent.max, _parent.max * 0.5);
tellTarget (_parent) {
if (_x < left) {
xmotion = "right";
} else if (right < _x) {
xmotion = "left";
}
if (0 >= health) {
play();
if (_root.para2 == "yes") {
_root.roundkills = _root.roundkills + 1;
}
}
};
}
}
Instance of Symbol 1928 MovieClip in Symbol 1951 MovieClip Frame 1
onClipEvent (load) {
_root.target1 = _root.target1 + 1;
tellTarget (_parent) {
control = "cpu";
manned = "yes";
armor = 100;
_y = 300;
fly = "yes";
left = _x - 200;
right = _x + 200;
};
}
onClipEvent (enterFrame) {
_root.nightFunction(_parent);
}
Symbol 1951 MovieClip Frame 2
play();
_root.tag1Num = _root.tag1Num - 1;
Symbol 1951 MovieClip Frame 4
stop();
Instance of Symbol 1932 MovieClip in Symbol 1951 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((_root.tag1Num < _root.tag1Max) && (0 < _root.tag1A)) {
_root.tag1Num = _root.tag1Num + 1;
_root.tag1A = _root.tag1A - 1;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 890 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 893 MovieClip "j14" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 180;
}
Instance of Symbol 894 MovieClip "j16" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
}
Instance of Symbol 895 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 899 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -300;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 900 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 901 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.98);
}
}
Instance of Symbol 376 MovieClip [tempo] in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.9);
}
}
Instance of Symbol 907 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
Instance of Symbol 907 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.85);
}
}
Instance of Symbol 908 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 375 MovieClip [tempo] in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.8);
}
}
Instance of Symbol 374 MovieClip [tempo] in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 373 MovieClip [tempo] in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.5);
}
}
Instance of Symbol 372 MovieClip [tempo] in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.2);
}
}
Instance of Symbol 909 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -600;
}
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.6);
}
}
Instance of Symbol 910 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused == "no") {
this._x = this._x - (eval (("_root.e." + _root.vehicleName) + ".xspeed") * 0.7);
}
}
Instance of Symbol 911 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (enterFrame) {
this._x = -_parent._x;
}
Instance of Symbol 919 MovieClip "build" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 300;
}
Instance of Symbol 943 MovieClip "s16" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -10000;
}
Instance of Symbol 947 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = this._x - 9000;
}
Instance of Symbol 955 MovieClip "j15" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -10450;
}
Instance of Symbol 967 MovieClip "j0" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 600;
}
Instance of Symbol 975 MovieClip "j1" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 750;
}
Instance of Symbol 1925 MovieClip "j2" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 485;
}
Instance of Symbol 983 MovieClip "j3" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 3000;
}
Instance of Symbol 984 MovieClip "j4" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1900;
}
Instance of Symbol 985 MovieClip "j5" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 2000;
}
Instance of Symbol 986 MovieClip "j6" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 2300;
}
Instance of Symbol 987 MovieClip "j7" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 8000;
}
Instance of Symbol 988 MovieClip "j8" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 7000;
}
Instance of Symbol 989 MovieClip "j9" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -4300;
}
Instance of Symbol 990 MovieClip "j10" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -9700;
}
Instance of Symbol 991 MovieClip "j11" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -5000;
}
Instance of Symbol 992 MovieClip "j12" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -6080;
}
Instance of Symbol 993 MovieClip "j13" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -7500;
}
Instance of Symbol 1933 MovieClip "s29" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1300;
this.gotoAndStop(4);
}
Instance of Symbol 1934 MovieClip "s30" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1320;
this.gotoAndStop(4);
}
Instance of Symbol 1938 MovieClip "shine" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -1000;
this._y = 300;
this._visible = 0;
}
Instance of Symbol 1939 MovieClip "ssc" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 2800;
}
Instance of Symbol 1946 MovieClip "s20" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 1946 MovieClip "s21" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 1946 MovieClip "s22" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 1946 MovieClip "s23" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 1946 MovieClip "s24" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 1946 MovieClip "s25" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(6);
}
Instance of Symbol 1009 MovieClip "s15" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 390;
}
Instance of Symbol 1947 MovieClip "goal" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 330;
this._y = 300;
this.fireColor = "red";
pa = 0;
n = 0;
na = 0;
}
onClipEvent (enterFrame) {
_root.gps = (-this._x) + 275;
if (_root.round == "The Drop") {
if (_root.roundnum == 1) {
if (_root.ready == "yes") {
_root.e._x = 22000;
_root.e.s2._x = -21800;
_root.e.s2.xspeed = 0;
_root.e.s8._x = -21800;
_root.e.s8.xspeed = 0;
_root.e.goal._x = -12000;
_root.e.shine._x = -12000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s8.carry == "yes") {
if (_root.e.goal._x < _root.e.s2._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s8.carry == "no") && (pick1 == "yes")) && (_root.e.s8.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s8) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 2) {
if (_root.ready == "yes") {
_root.e._x = 22000;
_root.e.s2._x = -21800;
_root.e.s2.xspeed = 0;
_root.e.s4._x = -21800;
_root.e.s4.xspeed = 0;
_root.e.goal._x = -12000;
_root.e.shine._x = -12000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s4.carry == "yes") {
if (_root.e.goal._x < _root.e.s2._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s4.carry == "no") && (pick1 == "yes")) && (_root.e.s4.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s4) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 3) {
if (_root.ready == "yes") {
_root.e._x = 22000;
_root.e.s2._x = -21800;
_root.e.s2.xspeed = 0;
_root.e.s1._x = -21800;
_root.e.s1.xspeed = 0;
_root.e.goal._x = -12000;
_root.e.shine._x = -12000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s1.carry == "yes") {
if (_root.e.goal._x < _root.e.s2._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s1.carry == "no") && (pick1 == "yes")) && (_root.e.s1.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s1) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 4) {
if (_root.ready == "yes") {
_root.e._x = -110500;
_root.e.s2._x = 110700 /* 0x01B06C */;
_root.e.s2.xspeed = 0;
_root.e.s10._x = 110700 /* 0x01B06C */;
_root.e.s10.xspeed = 0;
_root.e.goal._x = 100000 /* 0x0186A0 */;
_root.e.shine._x = 100000 /* 0x0186A0 */;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s10.carry == "yes") {
if (_root.e.s2._x < _root.e.goal._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s10.carry == "no") && (pick1 == "yes")) && (_root.e.s10.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s10) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 5) {
if (_root.ready == "yes") {
_root.e._x = 12000;
_root.e.s2._x = -11800;
_root.e.s2.xspeed = 0;
_root.e.s4._x = -11800;
_root.e.s4.xspeed = 0;
_root.e.goal._x = -2000;
_root.e.shine._x = -2000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s4.carry == "yes") {
if (_root.e.goal._x < _root.e.s2._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s4.carry == "no") && (pick1 == "yes")) && (_root.e.s4.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s4) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 6) {
if (_root.ready == "yes") {
_root.e._x = 2000;
_root.e.s2._x = -1800;
_root.e.s2.xspeed = 0;
_root.e.s4._x = -1800;
_root.e.s4.xspeed = 0;
_root.e.goal._x = -13000;
_root.e.shine._x = -13000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s4.carry == "yes") {
if (_root.e.s2._x < _root.e.goal._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s4.carry == "no") && (pick1 == "yes")) && (_root.e.s4.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s4) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 7) {
if (_root.ready == "yes") {
_root.e._x = -2000;
_root.e.s2._x = 2400;
_root.e.s2.xspeed = 0;
_root.e.s10._x = 2400;
_root.e.s10.xspeed = 0;
_root.e.goal._x = 13000;
_root.e.shine._x = 13000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s10.carry == "yes") {
if (_root.e.goal._x < _root.e.s2._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s10.carry == "no") && (pick1 == "yes")) && (_root.e.s10.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s10) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 8) {
if (_root.ready == "yes") {
_root.e._x = 800;
_root.e.s2._x = -400;
_root.e.s2.xspeed = 0;
_root.e.s1._x = -400;
_root.e.s1.xspeed = 0;
_root.e.goal._x = -9500;
_root.e.shine._x = -9500;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
pick2 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s1.carry == "yes") {
if (_root.e.s2._x < _root.e.goal._x) {
_root.roundover = "yes";
}
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s1.carry == "no") && (pick1 == "yes")) && (_root.e.s1.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s1) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 9) {
if (_root.ready == "yes") {
_root.e._x = -10500;
_root.e.s2._x = 10700;
_root.e.s2.xspeed = 0;
_root.e.s10._x = 10700;
_root.e.s10.xspeed = 0;
_root.e.goal._x = 0;
_root.e.shine._x = 0;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s10.carry == "yes") {
if (_root.e.s2._x < _root.e.goal._x) {
_root.roundover = "yes";
}
if (_root.e.s10.carry == "yes") {
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s10.carry == "no") && (pick1 == "yes")) && (_root.e.s10.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s10) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
} else if (_root.roundnum == 10) {
if (_root.ready == "yes") {
_root.e._x = 900;
_root.e.s2._x = -700;
_root.e.s2.xspeed = 0;
_root.e.s10._x = -700;
_root.e.s10.xspeed = 0;
_root.e.goal._x = -10000;
_root.e.shine._x = -10000;
_root.e.shine._visible = 1;
_root.ready = "no";
pick1 = "no";
_root.target1 = 1;
_root.roundkills = 0;
} else {
if (_root.e.s10.carry == "yes") {
if (_root.e.s2._x < _root.e.goal._x) {
_root.roundover = "yes";
}
if (_root.e.s10.carry == "yes") {
if (Math.abs(_root.e.s2.xspeed) < 100) {
pick2 = "no";
} else {
pick2 = "yes";
}
pick1 = "yes";
}
pick1 = "yes";
}
if (((_root.e.s10.carry == "no") && (pick1 == "yes")) && (_root.e.s10.xspeed == 0)) {
if (_root.e.shine.hitTest(_root.e.s10) && (pick2 == "yes")) {
_root.roundkills = 1;
} else {
_root.roundkills = 0;
}
_root.roundover = "yes";
}
}
}
}
if (_root.round == "Ski Shooting") {
if (_root.roundnum == 1) {
if (_root.ready == "no") {
n = n + 1;
if ((80 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 60;
}
} else if (_root.roundnum == 2) {
if (_root.ready == "no") {
n = n + 1;
if ((70 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 50;
}
} else if (_root.roundnum == 3) {
if (_root.ready == "no") {
n = n + 1;
if ((60 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 40;
}
} else if (_root.roundnum == 4) {
if (_root.ready == "no") {
n = n + 1;
if ((50 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 40;
}
} else if (_root.roundnum == 5) {
if (_root.ready == "no") {
n = n + 1;
if ((40 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 30;
}
} else if (_root.roundnum == 6) {
if (_root.ready == "no") {
n = n + 1;
if ((30 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 20;
}
} else if (_root.roundnum == 7) {
if (_root.ready == "no") {
n = n + 1;
if ((20 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 10;
}
} else if (_root.roundnum == 8) {
if (_root.ready == "no") {
n = n + 1;
if ((10 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 0;
}
} else if (_root.roundnum == 9) {
if (_root.ready == "no") {
n = n + 1;
if ((5 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 0;
}
} else if (_root.roundnum == 10) {
if (_root.ready == "no") {
n = n + 1;
if ((0 < n) && (na < 6)) {
n = 0;
na = na + 1;
_root.tag2Max = _root.tag2Max + 1;
_root.tag2A = _root.tag2A + 1;
}
if (((na >= 6) && (0 >= _root.tag2Num)) && (0 >= _root.tag2A)) {
_root.roundover = "yes";
}
}
if (_root.ready == "yes") {
_root.roundkills = 0;
_root.ready = "no";
na = 0;
n = 0;
}
}
}
if (_root.round == "Para Shooting") {
if (_root.para2 == "yes") {
pa = 1;
}
if ((pa == 1) && (_root.para2 != "yes")) {
_root.roundover = "yes";
pa = 0;
}
if (_root.roundnum == 1) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 10;
_parent.s30.max = 10;
_parent.s31.max = 10;
_parent.s32.max = 10;
_parent.s33.max = 10;
_parent.s34.max = 10;
_parent.s29.xmotion = "left";
_parent.s30.xmotion = "left";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "left";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 2) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 16;
_parent.s30.max = 14;
_parent.s31.max = 12;
_parent.s32.max = 10;
_parent.s33.max = 10;
_parent.s34.max = 10;
_parent.s29.xmotion = "left";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "right";
_parent.s33.xmotion = "left";
_parent.s34.xmotion = "right";
_root.ready = "no";
}
} else if (_root.roundnum == 3) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 24;
_parent.s30.max = 20;
_parent.s31.max = 20;
_parent.s32.max = 14;
_parent.s33.max = 10;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "left";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 4) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 30;
_parent.s30.max = 28;
_parent.s31.max = 25;
_parent.s32.max = 30;
_parent.s33.max = 20;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "left";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "right";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 5) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 40;
_parent.s30.max = 26;
_parent.s31.max = 38;
_parent.s32.max = 30;
_parent.s33.max = 25;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "left";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 6) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 36;
_parent.s30.max = 30;
_parent.s31.max = 50;
_parent.s32.max = 13;
_parent.s33.max = 48;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "left";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 7) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 60;
_parent.s30.max = 40;
_parent.s31.max = 38;
_parent.s32.max = 65;
_parent.s33.max = 40;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "left";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 8) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 70;
_parent.s30.max = 65;
_parent.s31.max = 43;
_parent.s32.max = 44;
_parent.s33.max = 58;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "right";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 9) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 80;
_parent.s30.max = 74;
_parent.s31.max = 84;
_parent.s32.max = 58;
_parent.s33.max = 57;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "right";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
} else if (_root.roundnum == 10) {
if (((this._x - _parent.s0._x) < 1000) && (_root.ready == "yes")) {
_root.tag1Max = 6;
_root.tag1A = 6;
_root.roundkills = 0;
_parent.s29.max = 100;
_parent.s30.max = 90;
_parent.s31.max = 70;
_parent.s32.max = 10;
_parent.s33.max = 95;
_parent.s29.xmotion = "right";
_parent.s30.xmotion = "right";
_parent.s31.xmotion = "left";
_parent.s32.xmotion = "left";
_parent.s33.xmotion = "right";
_parent.s34.xmotion = "left";
_root.ready = "no";
}
}
}
}
Instance of Symbol 1014 MovieClip "s17" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = -9900;
}
Instance of Symbol 1024 MovieClip "l0" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.build._x - 70;
this._y = 248;
}
Instance of Symbol 1025 MovieClip "l1" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = _parent.j17 + 10;
this._y = 248;
}
Instance of Symbol 1030 MovieClip in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 200;
}
Instance of Symbol 1057 MovieClip "s7" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 580;
}
Instance of Symbol 368 MovieClip [dune] "s6" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 320;
}
Instance of Symbol 364 MovieClip [f] "s3" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
if (_root.cF420 == "yes") {
this.gotoAndStop(1);
} else {
this.gotoAndStop(10);
}
}
Instance of Symbol 1124 MovieClip "s0" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.control = "human";
this.manned = "yes";
}
Instance of Symbol 1152 MovieClip "s11" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s12" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s13" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1152 MovieClip "s14" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1164 MovieClip "s18" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1164 MovieClip "s19" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(9);
}
Instance of Symbol 1214 MovieClip "s26" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s27" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1214 MovieClip "s28" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(10);
}
Instance of Symbol 1948 MovieClip "s31" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1340;
this.gotoAndStop(4);
}
Instance of Symbol 1949 MovieClip "s32" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1360;
this.gotoAndStop(4);
}
Instance of Symbol 1950 MovieClip "s33" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1380;
this.gotoAndStop(4);
}
Instance of Symbol 1951 MovieClip "s34" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this._x = 1400;
this.gotoAndStop(4);
}
Instance of Symbol 1233 MovieClip "t" in Symbol 1952 MovieClip Frame 1
onClipEvent (load) {
this.distance = 0;
}
onClipEvent (enterFrame) {
if ((0 < _root._ymouse) && (_root._ymouse < 320)) {
this._y = _root._ymouse;
} else if (320 < _root._ymouse) {
this._y = 320;
} else if (0 < _root._ymouse) {
this._y = 0;
}
if ((-50 < _root._xmouse) && (_root._xmouse < 600)) {
this._x = _root._xmouse - _parent._x;
} else if (600 < _root._xmouse) {
this._x = 600 - _parent._x;
} else if (_root._xmouse < -50) {
this._x = -50 - _parent._x;
}
this._x = this._x - eval (("_root.e." + _root.vehicleName) + ".xspeed");
}
Symbol 1959 Button
on (release) {
if (_root.roundkills >= _root.target1) {
_root.roundover = "no";
if (_root.roundnum < 10) {
_root.roundnum = _root.roundnum + 1;
} else {
_root.round = "";
}
_root.ready = "yes";
} else {
_root.roundover = "no";
_root.ready = "yes";
}
if ((_root.round == "Para Shooting") && (10 >= _root.roundnum)) {
_root.e.s0._y = 300;
_root.e.s10._x = -700;
_root.e._x = 1000;
_root.e.goal._x = 1360;
_root.roundkills = 0;
}
}
Symbol 1962 MovieClip Frame 2
stop();
Instance of Symbol 1962 MovieClip in Symbol 1963 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_root.round == "Para Shooting") && (10 >= _root.roundnum)) {
if (_root.roundover == "yes") {
if (_root.roundkills >= 6) {
if (10 >= _root.roundnum) {
this.info = "Round Complete";
} else {
this.info = "Training Complete";
}
} else {
_root.e.s29.health = 0;
_root.e.s30.health = 0;
_root.e.s31.health = 0;
_root.e.s32.health = 0;
_root.e.s33.health = 0;
_root.e.s34.health = 0;
this.info = "Round Failed";
}
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
_parent.mission = ((_root.round + " ") + _root.roundnum) + " / 10";
_parent.kills = _root.roundkills + " Targets";
} else if ((_root.round == "Ski Shooting") && (10 >= _root.roundnum)) {
if (_root.roundover == "yes") {
if (_root.roundkills >= 6) {
if (10 >= _root.roundnum) {
this.info = "Round Complete";
} else {
this.info = "Training Complete";
}
} else {
this.info = "Round Failed";
}
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
_parent.mission = ((_root.round + " ") + _root.roundnum) + " / 10";
_parent.kills = _root.roundkills + " Targets";
} else if ((_root.round == "The Drop") && (10 >= _root.roundnum)) {
if (_root.roundover == "yes") {
if (_root.roundkills >= 1) {
if (10 >= _root.roundnum) {
this.info = "Round Complete";
} else {
this.info = "Training Complete";
}
} else {
this.info = "Round Failed";
}
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
_parent.mission = ((_root.round + " ") + _root.roundnum) + " / 10";
_parent.kills = _root.roundkills + " Targets";
} else {
_parent.mission = "";
_parent.kills = "";
this.gotoAndStop(2);
}
}