Frame 2
var loaded = _root.getBytesLoaded();
var total = _root.getBytesTotal();
ldpct.text = Math.ceil((loaded / total) * 100) + "%";
Frame 3
if (loaded != total) {
gotoAndPlay (2);
}
Frame 4
pldm128947 = new LoadVars();
pldm128947.mv = _level0._url;
pldm128947.md = "dd7c88750b46a26c45c098566f73d378";
pldm128947.mid = 223;
pldm128947.sendAndLoad("http://bot.armorstudios.com/track.php", pldm128947, "POST");
var userdata = SharedObject.getLocal("rufusrescue", "/");
if (userdata.data.gversion != "1.001") {
userdata.data.gversion = "1.001";
userdata.data.level1 = false;
userdata.data.level2 = false;
userdata.data.level3 = false;
userdata.data.level4 = false;
userdata.data.timesplayed = 1;
}
if (userdata.data.volume == undefined) {
userdata.data.volume = 100;
}
_global.user = userdata;
_global.gamePaused = false;
_global.z1 = false;
_global.z2 = false;
_global.z3 = false;
_global.z4 = false;
_global.z5 = false;
_global.z6 = false;
function createJumper(x, y) {
var _local1 = "jumper" + n;
ladders[_local1] = attachMovie("jumper", _local1, n);
ladders[_local1]._x = x;
ladders[_local1]._y = y;
jumperCount++;
n++;
}
function createProp(mesh, x, y, xpower, ypower) {
var _local4 = "prop" + n;
props[_local4] = attachMovie(mesh, _local4, n);
props[_local4]._x = x;
props[_local4]._y = y;
props[_local4].xpow = xpower;
props[_local4].ypow = ypower;
props[_local4].rods = (-random(3)) + random(3);
props[_local4]._rotation = random(361);
props[_local4].onEnterFrame = function () {
if (!_global.gamePaused) {
this._rotation = this._rotation + this.rods;
this._x = this._x + this.xpow;
this._y = this._y + this.ypow;
if (_root.level.hitTest(this._x, this._y, true)) {
_root.createExplosion("expl1", this._x, this._y);
var _local4 = new Sound();
rhit = 1 + random(2);
_local4.attachSound("rubber_tire_impact_hard" + rhit);
_local4.setVolume(_global.user.data.volume);
_local4.start(0, 0);
this.removeMovieClip();
}
}
};
propCount++;
n++;
}
function encreateProp(mesh, x, y, xpower, ypower) {
var _local4 = "prop" + n;
enprops[_local4] = attachMovie(mesh, _local4, n);
enprops[_local4]._x = x;
enprops[_local4]._y = y;
enprops[_local4].xpow = xpower;
enprops[_local4].ypow = ypower;
enprops[_local4].rods = (-random(3)) + random(3);
enprops[_local4]._rotation = random(361);
enprops[_local4].onEnterFrame = function () {
if (!_global.gamePaused) {
this._rotation = this._rotation + this.rods;
this._x = this._x + this.xpow;
this._y = this._y + this.ypow;
for (i in _root.props) {
if ((Math.abs(_root.props[i]._x - this._x) < 15) && (Math.abs(_root.props[i]._y - this._y) < 15)) {
if (_root.props[i].hitTest(this._x, this._y, true)) {
_root.props[i].removeMovieClip();
_root.createExplosion("expl1", this._x, this._y);
this.removeMovieClip();
}
}
}
if (_root.level.hitTest(this._x, this._y, true)) {
_root.createExplosion("expl1", this._x, this._y);
this.removeMovieClip();
}
}
};
enpropCount++;
n++;
}
function createEnemy(mesh, x, y) {
var _local1 = "enemy" + n;
enemies[_local1] = attachMovie(mesh, _local1, n);
enemies[_local1]._x = x;
enemies[_local1]._y = y;
enemyCount++;
n++;
}
function faint() {
fsound = new Sound();
fsound.attachSound("rufushitt");
fsound.setVolume(_global.user.data.volume);
fsound.start(0, 0);
_root.createExplosion("expl2", character._x, character._y - (character._height / 2));
_root.faintcount = _root.fmaxcount;
}
function createExplosion(mesh, x, y) {
var _local1 = "expls" + n;
explosions[_local1] = attachMovie(mesh, _local1, n);
explosions[_local1]._x = x;
explosions[_local1]._y = y;
explCount++;
n++;
}
function moveAll(xSpeed, ySpeed) {
pdot._x = pdot._x - xSpeed;
pdot._y = pdot._y - ySpeed;
pdot2._x = pdot2._x - xSpeed;
pdot2._y = pdot2._y - ySpeed;
pdot3._x = pdot3._x - xSpeed;
pdot3._y = pdot3._y - ySpeed;
pdot4._x = pdot4._x - xSpeed;
pdot4._y = pdot4._y - ySpeed;
for (i in projectiles) {
projectiles[i]._x = projectiles[i]._x - xSpeed;
projectiles[i]._y = projectiles[i]._y - ySpeed;
}
for (i in props) {
props[i]._x = props[i]._x - xSpeed;
props[i]._y = props[i]._y - ySpeed;
}
for (i in enprops) {
enprops[i]._x = enprops[i]._x - xSpeed;
enprops[i]._y = enprops[i]._y - ySpeed;
}
for (i in enemies) {
enemies[i]._x = enemies[i]._x - xSpeed;
enemies[i]._y = enemies[i]._y - ySpeed;
}
for (i in ladders) {
ladders[i]._x = ladders[i]._x - xSpeed;
ladders[i]._y = ladders[i]._y - ySpeed;
}
for (i in explosions) {
explosions[i]._x = explosions[i]._x - xSpeed;
explosions[i]._y = explosions[i]._y - ySpeed;
}
for (i in powerups) {
powerups[i]._x = powerups[i]._x - xSpeed;
powerups[i]._y = powerups[i]._y - ySpeed;
}
for (i in cutscenes) {
cutscenes[i].x = cutscenes[i].x - xSpeed;
cutscenes[i].y = cutscenes[i].y - ySpeed;
}
for (i in breakables) {
breakables[i]._x = breakables[i]._x - xSpeed;
breakables[i]._y = breakables[i]._y - ySpeed;
}
}
function scrollLevel() {
camXSpeed = (-(level._x - ((level._x + (Stage.width / 2)) - ((character._x + _xmouse) / 2)))) / 4;
camYSpeed = (-(level._y - ((level._y + (Stage.height / 2)) - (((character._y - (character._height / 2)) + _ymouse) / 2)))) / 4;
level._x = level._x + Math.round(camXSpeed);
level._y = level._y + Math.round(camYSpeed);
levelmesh._x = levelmesh._x + Math.round(camXSpeed);
levelmesh._y = levelmesh._y + Math.round(camYSpeed);
levelforeground._x = levelforeground._x + Math.round(camXSpeed);
levelforeground._y = levelforeground._y + Math.round(camYSpeed);
character._x = character._x + Math.round(camXSpeed);
character._y = character._y + Math.round(camYSpeed);
moveAll(-Math.round(camXSpeed), -Math.round(camYSpeed));
}
function addpoints(amount, xpos, ypos) {
var _local2 = "expls" + n;
explosions[_local2] = attachMovie("uppoints", _local2, n);
explosions[_local2]._x = xpos;
explosions[_local2]._y = ypos;
explosions[_local2].anime.vtext.text = amount + "!";
_root.score = _root.score + amount;
explCount++;
n++;
}
function clearLevel() {
cursor.removeMovieClip();
character.removeMovieClip();
level.removeMovieClip();
hud.removeMovieClip();
for (i in enemies) {
enemies[i].removeMovieClip();
delete enemies[i];
}
for (i in props) {
props[i].removeMovieClip();
delete props[i];
}
for (i in ladders) {
ladders[i].removeMovieClip();
delete ladders[i];
}
for (i in decals) {
decals[i].removeMovieClip();
delete decals[i];
}
for (i in projectiles) {
projectiles[i].removeMovieClip();
delete projectiles[i];
}
for (i in powerups) {
powerups[i].removeMovieClip();
delete powerups[i];
}
for (i in breakables) {
breakables[i].removeMovieClip();
delete breakables[i];
}
for (i in explosions) {
explosions[i].removeMovieClip();
delete explosions[i];
}
_root.armorgames_holder.removeMovieClip();
}
function won1() {
gotoAndPlay (19);
}
function build() {
with (_root) {
_root.attachMovie("armorgames_holder", "armorgames_holder", 900000);
_root.onEnterFrame = function () {
if (!_global.gamePaused) {
if (_global.z4) {
health = 100;
}
if (_global.z6) {
character._yscale = 40;
}
if (_root._currentframe == zframe) {
if (yspeed < maxgrav) {
yspeed = yspeed + gravity;
}
while (level.hitTest(character._x, character._y, true)) {
character._y = character._y - gravity;
yspeed = -int(yspeed / 2);
jumping = false;
}
if (faintcount > 0) {
fainted = true;
faintcount--;
character.gotoAndStop("fainted");
} else {
fainted = false;
if (character._currentframe == 5) {
character.gotoAndStop(1);
}
}
if (Math.abs(yspeed) < 0.01) {
yspeed = 0;
}
if (level.hitTest(character._x, character._y - character._height, true)) {
if (yspeed < 0) {
yspeed = 0;
}
yspeed++;
}
if (level.hitTest(character._x + 20, character._y - (character._height / 2), true) || (level.hitTest(character._x + 9, character._y - 10, true))) {
character._x = character._x - maxspeed;
xspeed2 = -Math.abs(xspeed2);
moveright = false;
} else {
moveright = true;
}
if (level.hitTest(character._x - 20, character._y - (character._height / 2), true) || (level.hitTest(character._x - 9, character._y - 10, true))) {
character._x = character._x + maxspeed;
xspeed2 = Math.abs(xspeed2);
moveleft = false;
} else {
moveleft = true;
}
if (Key.isDown(87)) {
if (!jumping) {
yspeed = yspeed - jpf1;
if (!injuried) {
character.gotoAndStop("jumping");
}
jumping = true;
}
}
if (Key.isDown(65) && (moveleft)) {
if (!jumping) {
walking = true;
}
character._xscale = -100;
xspeed = -maxspeed;
if (walking) {
if (jumping && (!injuried)) {
character.gotoAndStop("jumping");
} else if (!injuried) {
character.gotoAndStop("walk");
}
}
}
if (Key.isDown(68) && (moveright)) {
if (!jumping) {
walking = true;
}
character._xscale = 100;
xspeed = maxspeed;
if (walking) {
if (jumping && (!injuried)) {
character.gotoAndStop("jumping");
} else if (!injuried) {
character.gotoAndStop("walk");
}
}
}
if ((!Key.isDown(68)) && (!Key.isDown(65))) {
walking = false;
xspeed = 0;
}
if ((((!jumping) && (!walking)) && (!fainted)) && (!injuried)) {
character.gotoAndStop("still");
}
character._y = character._y + yspeed;
character._x = character._x + xspeed;
character._x = character._x + xspeed2;
xspeed2 = xspeed2 * 0.9;
if (Math.abs(xspeed2) < 0.01) {
xspeed2 = 0;
}
scrollLevel();
if (n > 120000) {
n = 1100;
}
cursor._x = _xmouse;
cursor._y = _ymouse;
for (i in _root.enprops) {
if ((Math.abs(_root.enprops[i]._x - character._x) < 75) && (Math.abs(_root.enprops[i]._y - character._y) < 75)) {
if (character.hitTest(_root.enprops[i]._x, _root.enprops[i]._y, true)) {
health = health - 2;
injuried = true;
rhit = random(5) + 1;
character.gotoAndStop("hit");
var _local3 = new Sound();
_local3.attachSound("flesh_impact_bullet" + rhit);
_local3.setVolume(_global.user.data.volume);
_local3.start(0, 0);
yspeed = yspeed + (_root.enprops[i].ypow / 2);
xspeed2 = xspeed2 + (_root.enprops[i].xpow / 2);
_root.createExplosion("expl2", character._x, character._y - (character._height / 2));
_root.enprops[i].removeMovieClip();
}
}
}
if (_root.health <= 0) {
_root.gotoAndPlay(20);
_root.health = 10;
}
}
}
if (_global.gamePaused && (Key.isDown(27))) {
clearLevel();
Mouse.show();
stopAllSounds();
_root._quality = "HIGH";
_global.gamePaused = false;
_root.pausemc.removeMovieClip();
_root.pausescreen.removeMovieClip();
_root.bpdata.dispose();
_root.gotoAndPlay(_global.menuframe);
}
if (Key.isDown(32) && (!holdp)) {
if (!_global.gamePaused) {
_global.gamePaused = true;
Mouse.show();
var _local4 = new flash.display.BitmapData(550, 400, false, 4278190080);
_local4.draw(_root);
_root.attachMovie("empty", "pausescreen", _root.getNextHighestDepth());
pausescreen.attachBitmap(_local4, 1);
var _local5 = new flash.filters.BlurFilter(3, 3, 2);
pfar = new Array(_local5);
pausescreen.filters = pfar;
_root.attachMovie("pausemc", "pausemc", _root.getNextHighestDepth(), {_x:275, _y:200});
menu_s.setVolume(0);
} else {
_global.gamePaused = false;
_root.pausemc.removeMovieClip();
_root.pausescreen.removeMovieClip();
_root.bpdata.dispose();
Mouse.hide();
menu_s.setVolume(_global.user.data.volume);
}
holdp = true;
} else if (!Key.isDown(32)) {
holdp = false;
}
};
_root.onMouseDown = function () {
if (!_global.gamePaused) {
if (_root._currentframe == zframe) {
if (character._xscale == 100) {
xuxx = _root._hangle;
} else {
xuxx = -180 + _root._hangle;
}
if (character._xscale == 100) {
nzx = blspd * Math.cos(xuxx * (Math.PI/180));
nzy = blspd * Math.sin(xuxx * (Math.PI/180));
} else {
nzx = (-blspd) * Math.cos(xuxx * (Math.PI/180));
nzy = (-blspd) * Math.sin(xuxx * (Math.PI/180));
}
_root.createProp("wgun", character._x, character._y + character.arm._y, nzx, nzy);
rshoot_s.start(0, 0);
yspeed = yspeed - (nzy / 12);
xspeed2 = xspeed2 - (nzx / 8);
character.arm.play();
for (i in _root.props) {
if (_root.props[i]._name == undefined) {
delete _root.props[i];
}
}
}
}
};
}
}
Instance of Symbol 177 MovieClip in Frame 5
onClipEvent (enterFrame) {
this.onPress = function () {
getURL ("http://www.armorgames.com", "_blank");
};
}
Frame 7
stop();
var menu_s = new Sound();
menu_s.attachSound("menusong");
menu_s.start(0, 0);
menu_s.setVolume(_global.user.data.volume);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
_global.menuframe = _root._currentframe;
Frame 8
stop();
i = 1;
while (i < 5) {
if (_global.user.data["level" + i] == true) {
_root["st" + i].gotoAndStop(3);
_root["st" + (i + 1)].gotoAndStop(1);
} else {
_root["st" + (i + 1)].gotoAndStop(2);
}
i++;
}
var menu_s = new Sound();
menu_s.attachSound("won_lost");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
Instance of Symbol 212 MovieClip "st1" in Frame 8
on (release) {
_root.nextFrame();
}
Instance of Symbol 215 MovieClip "st2" in Frame 8
on (release) {
if (_global.user.data.level1) {
_root.gotoAndPlay(_root._currentframe + 2);
}
}
Instance of Symbol 217 MovieClip "st3" in Frame 8
on (release) {
if (_global.user.data.level2) {
_root.gotoAndPlay(_root._currentframe + 3);
}
}
Instance of Symbol 220 MovieClip "st4" in Frame 8
on (release) {
if (_global.user.data.level3) {
_root.gotoAndPlay(_root._currentframe + 4);
}
}
Frame 9
stop();
Frame 10
stop();
Frame 11
stop();
Frame 12
stop();
Frame 13
stop();
stopAllSounds();
var menu_s = new Sound();
menu_s.attachSound("prepareloop");
menu_s.start(0, 0);
menu_s.setVolume(_global.user.data.volume);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
Frame 14
stopAllSounds();
stop();
Frame 15
stop();
build();
if (_global.z1) {
var gunpower = 60;
} else {
var gunpower = 30;
}
if (_global.z2) {
var gravity = 0.05;
} else {
var gravity = 0.3;
}
if (_global.z3) {
var maxspeed = 10;
} else {
var maxspeed = 6;
}
var maxgrav = 12;
var xspeed = 0;
var xspeed2 = 0;
stop();
var yspeed = 0;
var blspd = 8;
var jumping = false;
var jpf1 = 10;
var jpf2 = 4;
var herodead = false;
var walking = false;
var trueside = true;
var health = 100;
Mouse.hide();
_root._quality = "LOW";
_root.attachMovie("crosshair", "cursor", 250000);
_root.hud.swapDepths(249000);
var moveright = true;
var moveleft = true;
var ladders = new Object();
var props = new Object();
var enprops = new Object();
n = new Number(0);
jumperCount = new Number(0);
propCount = new Number(0);
enpropCount = new Number(0);
level.cacheAsBitmap = true;
createJumper(jp1._x, jp1._y);
enemies = new Object();
explosions = new Object();
enemyCount = new Number();
explCount = new Number();
createJumper(jp1._x, jp1._y);
createJumper(jp2._x, jp2._y);
var faintcount = 0;
var fmaxcount = 240;
var fainted = false;
var injuried = false;
var score = 0;
createEnemy("thig", en1._x, en1._y);
createEnemy("thig", en2._x, en2._y);
createEnemy("thig", en3._x, en3._y);
createEnemy("thig", en4._x, en4._y);
createEnemy("thig", en5._x, en5._y);
createEnemy("thig", en6._x, en6._y);
createEnemy("thig", en7._x, en7._y);
createEnemy("doppler", edp1._x, edp1._y);
createEnemy("doppler", edp2._x, edp2._y);
createEnemy("doppler", edp3._x, edp3._y);
createEnemy("bomber", en_bomber1._x, en_bomber1._y);
createEnemy("bomber", en_bomber2._x, en_bomber2._y);
createEnemy("bomber", en_bomber3._x, en_bomber3._y);
createEnemy("bomber", en_bomber4._x, en_bomber4._y);
createEnemy("bomber", en_bomber5._x, en_bomber5._y);
createEnemy("bomber", en_bomber6._x, en_bomber6._y);
createEnemy("bomber", en_bomber7._x, en_bomber7._y);
createEnemy("bcartbot", bcten1._x, bcten1._y);
createEnemy("bcartbot", bcten2._x, bcten2._y);
createEnemy("bcartbot", bcten3._x, bcten3._y);
stopAllSounds();
var menu_s = new Sound();
menu_s.attachSound("ingameloop1");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
var zframe = _root._currentframe;
var rshoot_s = new Sound();
rshoot_s.attachSound("rufus_shot");
rshoot_s.setVolume(_global.user.data.volume);
Instance of Symbol 267 MovieClip "pdot" in Frame 15
onClipEvent (enterFrame) {
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_global.user.data.level1 = true;
_global.user.flush();
_root.won1();
}
}
Frame 16
stop();
build();
if (_global.z1) {
var gunpower = 60;
} else {
var gunpower = 30;
}
if (_global.z2) {
var gravity = 0.05;
} else {
var gravity = 0.3;
}
if (_global.z3) {
var maxspeed = 10;
} else {
var maxspeed = 6;
}
var maxgrav = 12;
var xspeed = 0;
var xspeed2 = 0;
stop();
var yspeed = 0;
var blspd = 8;
var jumping = false;
var jpf1 = 10;
var jpf2 = 4;
var herodead = false;
var walking = false;
var trueside = true;
var health = 100;
Mouse.hide();
_root._quality = "LOW";
_root.attachMovie("crosshair", "cursor", 250000);
_root.hud.swapDepths(249000);
var moveright = true;
var moveleft = true;
var ladders = new Object();
var props = new Object();
var enprops = new Object();
n = new Number(0);
jumperCount = new Number(0);
propCount = new Number(0);
enpropCount = new Number(0);
level.cacheAsBitmap = true;
enemies = new Object();
explosions = new Object();
enemyCount = new Number();
explCount = new Number();
var faintcount = 0;
var fmaxcount = 240;
var fainted = false;
var injuried = false;
var score = 0;
stopAllSounds();
var menu_s = new Sound();
menu_s.attachSound("ingameloop4");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
var zframe = _root._currentframe;
var rshoot_s = new Sound();
rshoot_s.attachSound("rufus_shot");
rshoot_s.setVolume(_global.user.data.volume);
Instance of Symbol 267 MovieClip "pdot" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_root.character._x = _root.pdot2._x - 50;
_root.character._y = _root.pdot2._y + 50;
}
}
Instance of Symbol 267 MovieClip "pdot2" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_root.character._x = _root.pdot._x + 220;
_root.character._y = _root.pdot._y + 50;
}
}
Instance of Symbol 267 MovieClip "pdot3" in Frame 16
onClipEvent (enterFrame) {
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_global.user.data.level2 = true;
_global.user.flush();
_root.won1();
}
}
Frame 17
stop();
build();
if (_global.z1) {
var gunpower = 60;
} else {
var gunpower = 30;
}
if (_global.z2) {
var gravity = 0.05;
} else {
var gravity = 0.3;
}
if (_global.z3) {
var maxspeed = 10;
} else {
var maxspeed = 6;
}
var maxgrav = 12;
var xspeed = 0;
var xspeed2 = 0;
stop();
var yspeed = 0;
var blspd = 8;
var jumping = false;
var jpf1 = 10;
var jpf2 = 4;
var herodead = false;
var walking = false;
var trueside = true;
var health = 100;
Mouse.hide();
_root._quality = "LOW";
_root.attachMovie("crosshair", "cursor", 250000);
_root.hud.swapDepths(249000);
var moveright = true;
var moveleft = true;
var ladders = new Object();
var props = new Object();
var enprops = new Object();
n = new Number(0);
jumperCount = new Number(0);
propCount = new Number(0);
enpropCount = new Number(0);
level.cacheAsBitmap = true;
enemies = new Object();
explosions = new Object();
enemyCount = new Number();
explCount = new Number();
var faintcount = 0;
var fmaxcount = 240;
var fainted = false;
var injuried = false;
var score = 0;
stopAllSounds();
var menu_s = new Sound();
menu_s.attachSound("NG1514");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
var zframe = _root._currentframe;
var rshoot_s = new Sound();
rshoot_s.attachSound("rufus_shot");
rshoot_s.setVolume(_global.user.data.volume);
Instance of Symbol 267 MovieClip "pdot" in Frame 17
onClipEvent (enterFrame) {
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_global.user.data.level3 = true;
_global.user.flush();
_root.won1();
}
}
Frame 18
stop();
build();
if (_global.z1) {
var gunpower = 60;
} else {
var gunpower = 30;
}
if (_global.z2) {
var gravity = 0.05;
} else {
var gravity = 0.3;
}
if (_global.z3) {
var maxspeed = 10;
} else {
var maxspeed = 6;
}
var maxgrav = 12;
var xspeed = 0;
var xspeed2 = 0;
stop();
var yspeed = 0;
var blspd = 8;
var jumping = false;
var jpf1 = 10;
var jpf2 = 4;
var herodead = false;
var walking = false;
var trueside = true;
var health = 100;
Mouse.hide();
_root._quality = "LOW";
_root.attachMovie("crosshair", "cursor", 250000);
_root.hud.swapDepths(249000);
var moveright = true;
var moveleft = true;
var ladders = new Object();
var props = new Object();
var enprops = new Object();
n = new Number(0);
jumperCount = new Number(0);
propCount = new Number(0);
enpropCount = new Number(0);
level.cacheAsBitmap = true;
enemies = new Object();
explosions = new Object();
enemyCount = new Number();
explCount = new Number();
var faintcount = 0;
var fmaxcount = 240;
var fainted = false;
var injuried = false;
var score = 0;
var menu_s = new Sound();
stopAllSounds();
menu_s.attachSound("bossmusic");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
menu_s.onSoundComplete = function () {
menu_s.start(0, 0);
};
var zframe = _root._currentframe;
var rshoot_s = new Sound();
rshoot_s.attachSound("rufus_shot");
rshoot_s.setVolume(_global.user.data.volume);
Frame 19
clearLevel();
Mouse.show();
stop();
stopAllSounds();
var menu_s = new Sound();
menu_s.attachSound("done1");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
_root._quality = "HIGH";
Frame 20
clearLevel();
Mouse.show();
stop();
stopAllSounds();
var menu_s = new Sound();
menu_s.attachSound("gameoversound");
menu_s.setVolume(_global.user.data.volume);
menu_s.start(0, 0);
_root._quality = "HIGH";
Symbol 16 MovieClip [jumper] Frame 1
stop();
this.onEnterFrame = function () {
if (this.hitTest(_root.character._x, _root.character._y + 5, true)) {
this.gotoAndPlay(2);
_root.yspeed = -25;
}
if (this.hitTest(_root.character._x, _root.character._y - 2, true)) {
_root.yspeed = _root.yspeed - _root.gravity;
}
};
Symbol 24 MovieClip [bigyay] Frame 130
stop();
_global.user.data.level4 = true;
_global.user.flush();
_root.won1();
this.removeMovieClip();
Symbol 26 MovieClip [rufus] Frame 1
stop();
health = 100;
xspd = 0;
yspd = 0;
sright = true;
mxspd = 2;
damageing = false;
dead = false;
this.onEnterFrame = function () {
yspd = yspd + _root.gravity;
while (_root.level.hitTest(this._x, this._y, true)) {
this._y--;
yspd = -int(yspd / 2);
}
if (_root.level.hitTest(this._x + 10, this._y - (this._height / 2), true)) {
xspd = -mxspd;
this._xscale = -100;
}
if (_root.level.hitTest(this._x - 10, this._y - (this._height / 2), true)) {
xspd = mxspd;
this._xscale = 100;
}
if (this.hitTest(_root.character._x, _root.character._y, true) && (!_root.fainted)) {
_root.yspeed = -7;
_root.health = _root.health - 2;
_root.faint();
}
if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (!_root.fainted)) {
_root.yspeed = -6;
_root.xspeed2 = xspd * 2;
_root.health = _root.health - 2;
_root.faint();
}
this._y = this._y + yspd;
this._x = this._x + xspd;
};
Symbol 35 MovieClip [explo2] Frame 25
stop();
for (i in _root.explosions) {
if (_root.explosions[i]._name == undefined) {
delete _root.explosions[i];
}
}
for (i in _root.enemies) {
if (_root.enemies[i]._name == undefined) {
delete _root.enemies[i];
}
}
this.removeMovieClip();
Symbol 48 MovieClip [explo1] Frame 19
stop();
for (i in _root.explosions) {
if (_root.explosions[i]._name == undefined) {
delete _root.explosions[i];
}
}
for (i in _root.enemies) {
if (_root.enemies[i]._name == undefined) {
delete _root.enemies[i];
}
}
this.removeMovieClip();
Symbol 77 Button
on (release) {
play();
}
Symbol 95 Button
on (release) {
gotoAndPlay (2);
}
Symbol 96 MovieClip Frame 1
stop();
Symbol 96 MovieClip Frame 2
stop();
points = 0;
i = 0;
fallspeed = 1.2;
falltimer = 60;
falltimers = 60;
badfoodtimer = 120;
badfoodtimers = 80;
this.onEnterFrame = function () {
if ((this._currentframe = 2)) {
if (Key.isDown(37)) {
if ((blob._x - (blob._width / 2)) > 0) {
blob._x = blob._x - 2;
}
}
if (Key.isDown(39)) {
if ((blob._x + (blob._width / 2)) < 200) {
blob._x = blob._x + 2;
}
}
falltimer--;
if (falltimer < 0) {
if (falltimers > 20) {
falltimers--;
}
i++;
bfood.duplicateMovieClip("bfood" + i, i, {_y:0, _x:5 + random(190), _rotation:random(360)});
this["bfood" + i].onEnterFrame = function () {
this._y = this._y + fallspeed;
if (this.hitTest(blob)) {
blob._width = blob._width + 0.4;
blob._height = blob._height + 0.4;
points++;
if (fallspeed < 8) {
fallspeed = fallspeed + 0.05;
}
this.removeMovieClip();
}
if (this._y > 200) {
this.removeMovieClip();
}
};
falltimer = falltimers;
}
badfoodtimer--;
if (badfoodtimer < 0) {
if (badfoodtimers > 20) {
badfoodtimers--;
}
i++;
illfood.duplicateMovieClip("illfood" + i, i, {_y:0, _x:5 + random(190), _rotation:random(360)});
this["illfood" + i].onEnterFrame = function () {
this._y = this._y + (fallspeed + 0.1);
if (this.hitTest(blob)) {
blob._width = blob._width - 4;
blob._height = blob._height - 4;
if (fallspeed > 4) {
fallspeed = fallspeed - 0.1;
}
this.removeMovieClip();
}
if (this._y > 200) {
this.removeMovieClip();
}
};
badfoodtimer = badfoodtimers;
}
knpoints.text = points;
if (blob._width < 10) {
gotoAndStop (3);
blob._width = 16;
}
}
};
Symbol 96 MovieClip Frame 3
stop();
Symbol 113 MovieClip [bcartbot] Frame 1
stop();
health = 90;
xspd = 0;
xspd2 = 4;
pathstart = 0;
pathend = 200;
yspd = 0;
mxspd = 2;
damageing = false;
dead = false;
delay = 27;
nowdelay = 0;
ppow = 5;
this.onEnterFrame = function () {
if (!_global.gamePaused) {
if ((Math.abs(this._x - _root.character._x) > 600) || (Math.abs(this._y - _root.character._y) > 440)) {
this.gotoAndStop(3);
} else {
if (this._currentframe != 2) {
this.gotoAndStop(2);
}
yspd = yspd + _root.gravity;
xspd = xspd * 0.92;
if (Math.abs(xspd) < 0.01) {
xspd = 0;
}
while (_root.level.hitTest(this._x, this._y, true)) {
this._y = this._y - _root.gravity;
yspd = -int(yspd / 2);
}
if (_root.level.hitTest(this._x + 25, this._y - (this._height / 2), true)) {
xspd = -Math.abs(xspd);
xspd2 = -3;
}
if (_root.level.hitTest(this._x - 25, this._y - (this._height / 2), true)) {
xspd = Math.abs(xspd);
xspd2 = 3;
}
if (this.hitTest(_root.character._x, _root.character._y, true) && (!_root.fainted)) {
_root.yspeed = -7;
_root.health = _root.health - 7;
_root.faint();
}
if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (!_root.fainted)) {
_root.yspeed = -10;
_root.xspeed2 = xspd * 2;
_root.health = _root.health - 10;
_root.faint();
}
this._y = this._y + yspd;
this._x = this._x + xspd;
this._x = this._x + xspd2;
pathstart = pathstart + (xspd2 + xspd);
if (Math.abs(pathstart) >= pathend) {
pathstart = 0;
xspd2 = -xspd2;
}
if (nowdelay < 5) {
xsource = this._x + this.turret._x;
ysource = this._y + this.turret._y;
heroxsource = _root.character._x;
heroysource = _root.character._y;
movetur = true;
xdist = heroxsource - xsource;
ydist = heroysource - ysource;
hmzang = Math.atan2(ydist, xdist);
ppowx = ppow * Math.cos(hmzang);
ppowy = ppow * Math.sin(hmzang);
dangle = hmzang * 57.2957795130823;
}
if (((dangle > 17) && (dangle < 180)) || ((dangle > -180) && (dangle < 130))) {
turret._rotation = dangle;
if (nowdelay <= 0) {
_root.encreateProp("enbullet1", xsource, ysource, ppowx, ppowy);
for (i in _root.enprops) {
if (_root.enprops[i]._name == undefined) {
delete _root.enprops[i];
}
}
nowdelay = delay;
}
}
nowdelay--;
for (i in _root.props) {
if ((Math.abs(_root.props[i]._x - this._x) < 85) && (Math.abs(_root.props[i]._y - this._y) < 85)) {
if (this.hitTest(_root.props[i]._x, _root.props[i]._y, true)) {
this.health = this.health - _root.gunpower;
damageing = true;
this.gotoAndStop(3);
yspd = yspd + (_root.props[i].ypow / 2);
xspd = xspd + (_root.props[i].xpow / 2);
_root.createExplosion("expl2", _root.props[i]._x, _root.props[i]._y);
_root.props[i].removeMovieClip();
var _local4 = random(200);
this["exp_ssy" + _local4] = new Sound();
this["exp_ssy" + _local4].attachSound("dopplerhit");
this["exp_ssy" + _local4].setVolume(_global.user.data.volume);
this["exp_ssy" + _local4].start(0, 0);
}
}
}
if (this.health < 0) {
_root.addpoints(1337, this._x, this._y);
var _local5 = new Sound();
_local5.attachSound("omgexplode");
_local5.setVolume(_global.user.data.volume);
_local5.start(0, 0);
_root.createExplosion("explo2", this._x, this._y - (this._height / 2));
this.removeMovieClip();
}
}
}
};
Symbol 118 MovieClip [bomber] Frame 1
stop();
health = 130;
xspd = 0;
yspd = 0;
mxspd = 2;
damageing = false;
dead = false;
delay = 35;
nowdelay = 0;
ppow = 5;
this.onEnterFrame = function () {
if (!_global.gamePaused) {
if ((Math.abs(this._x - _root.character._x) > 600) || (Math.abs(this._y - _root.character._y) > 440)) {
this.gotoAndStop(3);
} else {
if (this._currentframe != 2) {
this.gotoAndStop(2);
}
yspd = yspd + _root.gravity;
xspd = xspd * 0.92;
if (Math.abs(xspd) < 0.01) {
xspd = 0;
}
while (_root.level.hitTest(this._x, this._y, true)) {
this._y = this._y - _root.gravity;
yspd = -int(yspd / 2);
}
if (_root.level.hitTest(this._x + 10, this._y - (this._height / 2), true)) {
xspd = -Math.abs(xspd);
}
if (_root.level.hitTest(this._x - 10, this._y - (this._height / 2), true)) {
xspd = Math.abs(xspd);
}
if (this.hitTest(_root.character._x, _root.character._y, true) && (!_root.fainted)) {
_root.yspeed = -7;
_root.health = _root.health - 12;
_root.faint();
}
if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (!_root.fainted)) {
_root.yspeed = -10;
_root.xspeed2 = xspd * 2;
_root.health = _root.health - 7;
_root.faint();
}
this._y = this._y + yspd;
this._x = this._x + xspd;
if (nowdelay <= 0) {
xsource = this._x + this.turret._x;
ysource = this._y + this.turret._y;
heroxsource = _root.character._x;
heroysource = _root.character._y;
movetur = true;
xdist = heroxsource - xsource;
ydist = heroysource - ysource;
hmzang = Math.atan2(ydist, xdist);
ppowx = ppow * Math.cos(hmzang);
ppowy = ppow * Math.sin(hmzang);
dangle = hmzang * 57.2957795130823;
}
if (((dangle > 17) && (dangle < 180)) || ((dangle > -180) && (dangle < 130))) {
turret._rotation = dangle;
if (nowdelay <= 0) {
_root.encreateProp("enbullet1", xsource, ysource, ppowx, ppowy);
for (i in _root.enprops) {
if (_root.enprops[i]._name == undefined) {
delete _root.enprops[i];
}
}
nowdelay = delay;
}
}
nowdelay--;
for (i in _root.props) {
if ((Math.abs(_root.props[i]._x - this._x) < 85) && (Math.abs(_root.props[i]._y - this._y) < 85)) {
if (this.hitTest(_root.props[i]._x, _root.props[i]._y, true)) {
this.health = this.health - _root.gunpower;
damageing = true;
this.gotoAndStop(3);
yspd = yspd + (_root.props[i].ypow / 2);
xspd = xspd + (_root.props[i].xpow / 2);
_root.createExplosion("expl2", _root.props[i]._x, _root.props[i]._y);
_root.props[i].removeMovieClip();
var _local4 = random(200);
this["exp_ssy" + _local4] = new Sound();
this["exp_ssy" + _local4].attachSound("dopplerhit");
this["exp_ssy" + _local4].setVolume(_global.user.data.volume);
this["exp_ssy" + _local4].start(0, 0);
}
}
}
if (this.health < 0) {
_root.addpoints(1350, this._x, this._y);
var _local5 = new Sound();
_local5.attachSound("omgexplode");
_local5.setVolume(_global.user.data.volume);
_local5.start(0, 0);
_root.createExplosion("explo2", this._x, this._y - (this._height / 2));
this.removeMovieClip();
}
}
}
};
Symbol 127 MovieClip [doppler] Frame 1
stop();
health = 110;
xspd = 5;
xdouble = 10;
yspd = 0;
sright = true;
mxspd = 2;
damageing = false;
dead = false;
rage = false;
this.onEnterFrame = function () {
if (!_global.gamePaused) {
if ((Math.abs(this._x - _root.character._x) > 600) || (Math.abs(this._y - _root.character._y) > 400)) {
this.gotoAndStop(4);
} else {
if ((!damageing) && ((this._currentframe != 2) || (this._currentframe != 3))) {
if (!rage) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(3);
}
}
yspd = yspd + _root.gravity;
while (_root.level.hitTest(this._x, this._y, true)) {
this._y--;
yspd = -int(yspd / 2);
}
if (_root.level.hitTest(this._x + 30, this._y - (this._height / 2), true)) {
if (!rage) {
xspd = -mxspd;
} else {
xspd = -xdouble;
}
this._xscale = -100;
}
if (_root.level.hitTest(this._x - 30, this._y - (this._height / 2), true)) {
if (!rage) {
xspd = mxspd;
} else {
xspd = xdouble;
}
this._xscale = 100;
}
if (this.hitTest(_root.character._x, _root.character._y, true) && (!_root.fainted)) {
_root.yspeed = -12;
_root.health = _root.health - 2;
_root.faint();
}
if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (!_root.fainted)) {
_root.yspeed = -10;
_root.xspeed2 = xspd * 2;
_root.health = _root.health - 2;
_root.faint();
}
this._y = this._y + yspd;
this._x = this._x + xspd;
for (i in _root.props) {
if ((Math.abs(_root.props[i]._x - this._x) < 100) && (Math.abs(_root.props[i]._y - this._y) < 100)) {
if (this.hitTest(_root.props[i]._x, _root.props[i]._y, true)) {
this.health = this.health - _root.gunpower;
yspd = yspd + (_root.props[i].ypow / 2);
xspd = xspd + (_root.props[i].xpow / 2);
_root.createExplosion("expl2", _root.props[i]._x, _root.props[i]._y);
_root.props[i].removeMovieClip();
rage = true;
var _local4 = random(200);
this["exp_ssy" + _local4] = new Sound();
this["exp_ssy" + _local4].attachSound("doppler_pain1");
this["exp_ssy" + _local4].setVolume(_global.user.data.volume);
this["exp_ssy" + _local4].start(0, 0);
}
}
}
if (this.health < 0) {
_root.addpoints(540, this._x, this._y);
var _local5 = new Sound();
_local5.attachSound("dopplerdown");
_local5.setVolume(_global.user.data.volume);
_local5.start(0, 0);
_root.createExplosion("explo2", this._x, this._y - (this._height / 2));
this.removeMovieClip();
}
}
}
};
Symbol 131 MovieClip Frame 6
_parent.gotoAndStop(2);
_parent.damageing = false;
Symbol 132 MovieClip [thig] Frame 1
stop();
health = 10;
xspd = 3;
yspd = 0;
sright = true;
mxspd = 2;
damageing = false;
dead = false;
this.onEnterFrame = function () {
if (!_global.gamePaused) {
if ((Math.abs(this._x - _root.character._x) > 600) || (Math.abs(this._y - _root.character._y) > 400)) {
this.gotoAndStop(4);
} else {
if ((!damageing) && (this._currentframe != 2)) {
this.gotoAndStop(2);
}
yspd = yspd + _root.gravity;
while (_root.level.hitTest(this._x, this._y, true)) {
this._y--;
yspd = -int(yspd / 2);
}
if (_root.level.hitTest(this._x + 10, this._y - (this._height / 2), true)) {
xspd = -mxspd;
this._xscale = -100;
}
if (_root.level.hitTest(this._x - 10, this._y - (this._height / 2), true)) {
xspd = mxspd;
this._xscale = 100;
}
if (this.hitTest(_root.character._x, _root.character._y, true) && (!_root.fainted)) {
_root.yspeed = -7;
_root.health = _root.health - 2;
_root.faint();
}
if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (!_root.fainted)) {
_root.yspeed = -6;
_root.xspeed2 = xspd * 2;
_root.health = _root.health - 2;
_root.faint();
}
this._y = this._y + yspd;
this._x = this._x + xspd;
for (i in _root.props) {
if ((Math.abs(_root.props[i]._x - this._x) < 85) && (Math.abs(_root.props[i]._y - this._y) < 85)) {
if (this.hitTest(_root.props[i]._x, _root.props[i]._y, true)) {
this.health = this.health - _root.gunpower;
damageing = true;
this.gotoAndStop(3);
yspd = yspd + (_root.props[i].ypow / 2);
xspd = xspd + (_root.props[i].xpow / 2);
_root.createExplosion("expl2", this._x, this._y);
_root.props[i].removeMovieClip();
}
}
}
if (this.health < 0) {
_root.addpoints(227, this._x, this._y);
var _local4 = new Sound();
_local4.attachSound("rubber_tire_impact_hard3");
_local4.setVolume(_global.user.data.volume);
_local4.start(0, 0);
_root.createExplosion("explo1", this._x, this._y - (this._height / 2));
this.removeMovieClip();
}
}
}
};
Symbol 132 MovieClip [thig] Frame 2
stop();
Symbol 132 MovieClip [thig] Frame 3
stop();
Symbol 132 MovieClip [thig] Frame 4
stop();
Symbol 136 MovieClip [expl1] Frame 14
stop();
for (i in _root.explosions) {
if (_root.explosions[i]._name == undefined) {
delete _root.explosions[i];
}
}
for (i in _root.enemies) {
if (_root.enemies[i]._name == undefined) {
delete _root.enemies[i];
}
}
this.removeMovieClip();
Symbol 139 MovieClip [expl2] Frame 8
stop();
for (i in _root.explosions) {
if (_root.explosions[i]._name == undefined) {
delete _root.explosions[i];
}
}
for (i in _root.enemies) {
if (_root.enemies[i]._name == undefined) {
delete _root.enemies[i];
}
}
this.removeMovieClip();
Symbol 143 MovieClip [uppoints] Frame 35
stop();
this.removeMovieClip();
Symbol 149 MovieClip [sat_e] Frame 1
stop();
health = 350;
xspd = 0;
yspd = 0;
xspd2 = 0;
yspd2 = 0;
mxspd = 2;
damageing = false;
dead = false;
this.onEnterFrame = function () {
if (!_global.gamePaused) {
if ((Math.abs(this._x - _root.character._x) > 600) || (Math.abs(this._y - _root.character._y) > 400)) {
this.gotoAndStop(4);
} else {
if ((!damageing) && (this._currentframe != 2)) {
this.gotoAndStop(2);
}
while (_root.level.hitTest(this._x, this._y, true)) {
this._y = this._y - 1.1;
yspd2 = 0;
}
while (_root.level.hitTest(this._x + 10, this._y - (this._height / 2), true)) {
this._x = this._x - 1.1;
xspd2 = 0;
}
while (_root.level.hitTest(this._x - 10, this._y - (this._height / 2), true)) {
this._x = this._x + 1.1;
xspd2 = 0;
}
while (_root.level.hitTest(this._x, this._y - 20, true)) {
this._y = this._y + 1.1;
yspd2 = 0;
}
if (this._x < _root.character._x) {
xspd = 1;
} else {
xspd = -1;
}
if (this._y < _root.character._y) {
yspd = 1;
} else {
yspd = -1;
}
if (this.hitTest(_root.character._x, _root.character._y, true) && (!_root.fainted)) {
_root.yspeed = -(this.yspd + this.yspd2);
_root.xspeed = -(this.xspd + this.xspd2);
_root.health = _root.health - 5;
_root.faint();
} else if (this.hitTest(_root.character._x, _root.character._y, true) && (_root.fainted)) {
_root.yspeed = -(this.yspd + this.yspd2);
_root.xspeed = -(this.xspd + this.xspd2);
}
if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (!_root.fainted)) {
_root.yspeed = -(this.yspd + this.yspd2);
_root.xspeed = -(this.xspd + this.xspd2);
_root.health = _root.health - 5;
_root.faint();
} else if ((this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) && (_root.fainted)) {
_root.yspeed = -(this.yspd + this.yspd2);
_root.xspeed = -(this.xspd + this.xspd2);
}
this._y = this._y + (yspd + yspd2);
this._x = this._x + (xspd + xspd2);
xspd2 = xspd2 * 0.86;
yspd2 = yspd2 * 0.86;
if (Math.abs(xspd2) < 0.1) {
xspd2 = 0;
}
if (Math.abs(yspd2) < 0.1) {
yspd2 = 0;
}
for (i in _root.props) {
if ((Math.abs(_root.props[i]._x - this._x) < 25) && (Math.abs(_root.props[i]._y - this._y) < 25)) {
if (this.hitTest(_root.props[i]._x, _root.props[i]._y, true)) {
this.health = this.health - _root.gunpower;
damageing = true;
this.gotoAndStop(3);
yspd2 = yspd2 + (_root.props[i].ypow / 2);
xspd2 = xspd2 + (_root.props[i].xpow / 2);
_root.createExplosion("expl2", this._x, this._y);
_root.props[i].removeMovieClip();
rig = 1 + random(3);
var _local4 = new Sound();
_local4.attachSound("metal_solid_impact_soft" + rig);
_local4.setVolume(_global.user.data.volume);
_local4.start(0, 0);
}
}
}
if (this.health < 0) {
_root.addpoints(1259, this._x, this._y);
var _local4 = new Sound();
_local4.attachSound("dopplerdown");
_local4.setVolume(_global.user.data.volume);
_local4.start(0, 0);
this.removeMovieClip();
}
}
}
};
Symbol 177 MovieClip Frame 1
_root.stop();
Symbol 177 MovieClip Frame 245
_root.nextFrame();
Symbol 179 Button
on (press) {
_root.play();
}
Symbol 182 MovieClip Frame 1
stop();
Symbol 182 MovieClip Frame 2
stop();
Symbol 188 MovieClip Frame 1
_root.stop();
Symbol 188 MovieClip Frame 525
stop();
_root.play();
Symbol 195 Button
on (release) {
stopAllSounds();
gotoAndPlay (8);
}
Symbol 198 Button
on (release) {
stopAllSounds();
gotoAndPlay (13);
}
Symbol 201 Button
on (release) {
stopAllSounds();
gotoAndPlay (14);
}
Symbol 205 Button
on (release) {
bot_id = 223;
getURL ("http://bot.armorstudios.com/armorgames.php?bid=" + bot_id, "_blank");
}
Symbol 212 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 3
stop();
Symbol 217 MovieClip Frame 1
stop();
Symbol 217 MovieClip Frame 3
stop();
Symbol 220 MovieClip Frame 1
stop();
Symbol 220 MovieClip Frame 3
stop();
Symbol 222 Button
on (release) {
stopAllSounds();
gotoAndPlay (7);
}
Symbol 225 MovieClip Frame 1
if (!_global.user.data.level4) {
this._visible = false;
}
Symbol 234 Button
on (release) {
stopAllSounds();
gotoAndPlay (15);
}
Symbol 235 Button
on (release) {
stopAllSounds();
gotoAndPlay (8);
}
Symbol 237 Button
on (release) {
gotoAndPlay (16);
}
Symbol 239 Button
on (release) {
gotoAndPlay (17);
}
Symbol 241 Button
on (release) {
gotoAndPlay (18);
}
Symbol 250 Button
on (release) {
if (iptcheats.text == "42") {
if (!_global.z1) {
_global.z1 = true;
iptcheats.text = "cheat1 ON";
} else {
_global.z1 = false;
iptcheats.text = "cheat1 OFF";
}
} else if (iptcheats.text == "omgmoon") {
if (!_global.z2) {
_global.z2 = true;
iptcheats.text = "cheat2 ON";
} else {
_global.z2 = false;
iptcheats.text = "cheat2 OFF";
}
} else if (iptcheats.text == "glaielspeed") {
if (!_global.z3) {
_global.z3 = true;
iptcheats.text = "cheat3 ON";
} else {
_global.z3 = false;
iptcheats.text = "cheat3 OFF";
}
} else if (iptcheats.text == "armorstud") {
if (!_global.z4) {
_global.z4 = true;
iptcheats.text = "cheat4 ON";
} else {
_global.z4 = false;
iptcheats.text = "cheat4 OFF";
}
} else if (iptcheats.text == "pleasedoit") {
if (!_global.z5) {
_global.z5 = true;
iptcheats.text = "all levels unlocked";
_global.user.data.level1 = true;
_global.user.data.level2 = true;
_global.user.data.level3 = true;
_global.user.data.level4 = true;
_global.user.flush();
} else {
_global.z5 = false;
iptcheats.text = "all levels locked";
_global.user.data.level1 = false;
_global.user.data.level2 = false;
_global.user.data.level3 = false;
_global.user.data.level4 = false;
_global.user.flush();
}
} else if (iptcheats.text == "midget") {
if (!_global.z6) {
_global.z6 = true;
iptcheats.text = "cheat6 ON";
} else {
_global.z6 = false;
iptcheats.text = "cheat6 OFF";
}
} else {
iptcheats.text = "INVALID INPUT";
}
}
Symbol 253 Button
on (release) {
_global.user.data.volume = 0;
_global.user.flush();
menu_s.setVolume(_global.user.data.volume);
}
Symbol 257 Button
on (release) {
_global.user.data.volume = 50;
_global.user.flush();
menu_s.setVolume(_global.user.data.volume);
}
Symbol 260 Button
on (release) {
_global.user.data.volume = 100;
_global.user.flush();
menu_s.setVolume(_global.user.data.volume);
}
Symbol 271 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 15
stop();
Symbol 291 MovieClip Frame 15
stop();
_root.injuried = false;
_parent.gotoAndStop(2);
Symbol 294 MovieClip Frame 8
_root.injuried = false;
Symbol 295 MovieClip Frame 1
stop();
Instance of Symbol 271 MovieClip "arm" in Symbol 295 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((!_global.gamePaused) && (!_root.herodead)) {
_root._hangle_rad = (Math.atan2((this._y + _parent._y) - _root._ymouse, (this._x + _parent._x) - _root._xmouse) - ((Math.PI/180) * _parent._rotation)) - Math.PI;
_root._hangle = _root._hangle_rad * 57.2957795130823;
if (_parent._xscale == 100) {
this._rotation = _root._hangle;
} else {
this._rotation = 180 - _root._hangle;
}
}
}
Symbol 295 MovieClip Frame 5
stop();
Symbol 309 MovieClip Frame 1
delay = 30;
sdelay = 0;
this.onEnterFrame = function () {
sdelay--;
if (sdelay <= 0) {
this.hbar._xscale = _root.health;
this.hl = _root.health + "%";
sdelay = delay;
this.hp = _root.score;
}
};
Symbol 314 MovieClip Frame 1
var fpscheck = 60;
Symbol 314 MovieClip Frame 2
var tim = getTimer();
Symbol 314 MovieClip Frame 31
var tim2 = (getTimer() - tim);
fpscheck = Math.ceil(60000 / (2 * tim2));
gotoAndPlay (2);
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 333 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 332 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("doppler", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 321 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("thig", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 317 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("sat_e", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 319 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bcartbot", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Instance of Symbol 323 MovieClip in Symbol 335 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.score == 0) {
_root.createEnemy("bomber", _root.level._x + this._x, _root.level._y + this._y);
this.swapDepths(500000 + random(100));
this.removeMovieClip();
}
}
Symbol 340 MovieClip Frame 8
_parent.gotoAndStop(2);
Symbol 341 MovieClip Frame 1
stop();
var health = 3000;
var maxhealth = health;
var waypoint = 1;
var maxwaypoint = 7;
var speed = 5;
var xspeed = 0;
var yspeed = 0;
var deadx = false;
var deady = false;
var calcang = false;
var settimer = false;
var timer = 0;
var angle = 0;
var virtualx = 0;
var virtualy = 0;
var timers = new Array(0, 300, 30, 60, 30, 60, 60, 60, 160);
this.onEnterFrame = function () {
if (!_global.gamePaused) {
if (waypoint <= maxwaypoint) {
if (Math.abs(this._x - (_root.level._x + _root.level["dest" + waypoint]._x)) < 6) {
deadx = true;
}
if (Math.abs(this._y - (_root.level._y + _root.level["dest" + waypoint]._y)) < 6) {
deady = true;
}
if (!calcang) {
angle = Math.atan2((_root.level._y + _root.level["dest" + waypoint]._y) - this._y, (_root.level._x + _root.level["dest" + waypoint]._x) - this._x);
}
if (!settimer) {
timer = timers[waypoint];
settimer = true;
}
if (!deady) {
yspeed = Math.sin(angle) * speed;
} else {
yspeed = 0;
}
if (!deadx) {
xspeed = Math.cos(angle) * speed;
} else {
xspeed = 0;
}
if (deadx && (deady)) {
timer--;
if (timer <= 0) {
if (waypoint < 3) {
_root.createEnemy("thig", this._x, this._y);
}
waypoint++;
deadx = false;
deady = false;
calcang = false;
settimer = false;
}
}
} else {
angle = Math.atan2(_root.character._y - this._y, _root.character._x - this._x);
if (!settimer) {
timer = timers[waypoint];
settimer = true;
}
yspeed = Math.sin(angle) * speed;
xspeed = Math.cos(angle) * speed;
timer--;
if (timer < 0) {
if (Math.round((health / maxhealth) * 100) < 60) {
_root.createEnemy("sat_e", this._x, this._y);
}
if (speed > 6.6) {
_root.createEnemy("bomber", this._x, this._y);
}
waypoint = 1;
timer = 0;
settimer = false;
}
}
this._x = this._x + xspeed;
this._y = this._y + yspeed;
if (xspeed < 0) {
_xscale = -100;
} else {
_xscale = 100;
}
if (_root.level.hitTest(this._x - (this._width / 2), this._y, true)) {
this._x = this._x + (Math.abs(xspeed) + 1);
}
if (_root.level.hitTest(this._x + (this._width / 2), this._y, true)) {
this._x = this._x - (Math.abs(xspeed) + 1);
}
if (_root.level.hitTest(this._x, this._y - (this._height / 2), true)) {
this._y = this._y + (Math.abs(yspeed) + 1);
}
if (_root.level.hitTest(this._x, this._y + (this._height / 2), true)) {
this._y = this._y - (Math.abs(yspeed) + 1);
}
_root.bf.text = Math.round((health / maxhealth) * 100) + "%";
for (i in _root.props) {
if (this.hitTest(_root.props[i]._x, _root.props[i]._y, true)) {
_root.createExplosion("expl1", _root.props[i]._x, _root.props[i]._y);
_root.props[i].removeMovieClip();
}
if (((_root.props[i].hitTest(this._x + this.p1._x, this._y + this.p1._y, true) || (_root.props[i].hitTest(this._x + this.p2._x, this._y + this.p2._y, true))) || (_root.props[i].hitTest(this._x + this.p3._x, this._y + this.p3._y, true))) || (_root.props[i].hitTest(this._x + this.p4._x, this._y + this.p4._y, true))) {
this.health = this.health - _root.gunpower;
speed = speed + 0.05;
this.gotoAndStop(3);
_root.createExplosion("expl2", this._x + this.p2._x, this._y + this.p2._y);
_root.props[i].removeMovieClip();
}
}
if (this.hitTest(_root.character._x, _root.character._y, true)) {
_root.yspeed = -10;
if (!_root.fainted) {
_root.health = _root.health - 10;
_root.faint();
}
}
if (this.hitTest(_root.character._x, _root.character._y - _root.character._height, true)) {
_root.yspeed = 10;
if (!_root.fainted) {
_root.health = _root.health - 10;
_root.faint();
}
}
if (this.hitTest(_root.character._x - 18, _root.character._y - 10, true) || (this.hitTest(_root.character._x + 18, _root.character._y - 10, true))) {
_root.yspeed = -10;
_root.xspeed2 = xspeed * 2;
if (!_root.fainted) {
_root.health = _root.health - 10;
_root.faint();
}
}
if (this.health < 0) {
_root.addpoints(20563, this._x, this._y);
this.swapDepths(_root.getNextHighestDepth());
_root.attachMovie("bigyay", "bigyay", _root.getNextHighestDepth(), {_x:275, _y:200});
_root.createEnemy("rufus", this._x, this._y);
var _local4 = new Sound();
_local4.attachSound("bossdown");
_local4.setVolume(_global.user.data.volume);
_local4.start(0, 0);
this.removeMovieClip();
}
}
};
Symbol 348 Button
on (release) {
stopAllSounds();
gotoAndPlay (8);
}