Frame 1
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("e5bb5bd5", this, 10301, true);
function sounds(sType) {
if (sType == "explosion") {
explosions.gotoAndStop(random(explosions.f) + 1);
}
if (sType == "wizz") {
wizzes.gotoAndStop(random(wizzes.f) + 1);
}
if (sType == "hGun") {
gunshots.gotoAndStop(Number(weapon) + 1);
}
if (sType == "wack") {
wacks.gotoAndStop(random(wacks.f) + 1);
}
if (sType == "grunt") {
grunts.gotoAndStop(random(grunts.f) + 1);
}
if (sType == "step") {
steps.gotoAndStop(random(steps.f) + 1);
}
}
function createPts(xx, yy, pbamount) {
d++;
pbballs = 0;
pbBallAmount = 0;
pbballs = pbballs + pbamount;
while (pbballs > pbBallAmount) {
d++;
attachMovie("PointBall", "pb" + d, d);
this["pb" + d]._x = xx;
this["pb" + d]._y = yy;
pbBallAmount++;
}
}
function createEnergy(xx, yy, pbamount) {
d++;
pbballs = 0;
pbBallAmount = 0;
pbballs = pbballs + pbamount;
while (pbballs > pbBallAmount) {
d++;
attachMovie("EnergyBall", "eb" + d, d);
this["eb" + d]._x = xx;
this["eb" + d]._y = yy;
pbBallAmount++;
}
}
function ninjaStar(xx, yy) {
if (stars > 0) {
d++;
b++;
if (b > 10) {
b = 1;
}
attachMovie("star", "b" + b, d);
this["b" + b]._x = xx;
this["b" + b]._y = yy;
this["b" + b]._xscale = hero._xscale;
stars--;
}
}
function explode(xx, yy, etype) {
d++;
_root.sounds("explosion");
shakex = shakex + 20;
attachMovie("explo", "e" + d, d);
this["e" + d]._x = xx;
this["e" + d]._y = yy;
this["e" + d].gotoAndStop(etype);
}
function b2shoot(xx, yy, scale) {
d++;
attachMovie("boss2_bomb", "b2b" + d, d);
this["b2b" + d]._x = xx;
this["b2b" + d]._y = yy;
this["b2b" + d]._xscale = scale;
}
function herosmokerun() {
d++;
attachMovie("runsmoke", "rs" + d, d);
this["rs" + d]._x = hero._x;
this["rs" + d]._y = hero._y;
this["rs" + d]._xscale = hero._xscale;
}
function enemyBeam(xx, yy, scale, eType) {
d++;
attachMovie(eType, eType + d, d);
this[eType + d]._x = xx;
this[eType + d]._y = yy;
this[eType + d]._xscale = scale;
}
function landsmoke(poopee) {
if (poopee == true) {
lol = 10;
} else {
lol = 0;
}
d++;
attachMovie("landsmoke", "rs" + d, d);
this["rs" + d]._x = hero._x;
this["rs" + d]._y = (hero._y + lol) + 10;
this["rs" + d]._xscale = hero._xscale;
poopee = false;
}
function createLife(xx, yy, lbamount) {
d++;
lifeballs = 0;
lifeBallAmount = 0;
lifeballs = lifeballs + lbamount;
while (lifeballs > lifeBallAmount) {
d++;
attachMovie("LifeBall", "lb" + d, d);
this["lb" + d]._x = xx;
this["lb" + d]._y = yy;
lifeBallAmount++;
}
}
function createExp(xx, yy, lbamount) {
d++;
expballs = 0;
expBallAmount = 0;
expballs = expballs + lbamount;
while (expballs > expBallAmount) {
d++;
attachMovie("ExpBall", "eb" + d, d);
this["eb" + d]._x = xx;
this["eb" + d]._y = yy;
expBallAmount++;
}
}
d = 0;
b = 0;
attackpow = 1;
speedlvl = 1;
attacklvl = 1;
energylvl = 1;
speciallvl = 1;
weaponlvl = 1;
healthlvl = 1;
coins = 0;
kills = 0;
specialLevel = 20;
maxLife = 300;
weapon = 4;
power = 1;
nades = 7;
stars = 15;
wave = 1;
energy = 100;
stars = 10;
effects_on = true;
shakex = 0;
shakey = 0;
shakeon = true;
shakeintense = 1.4;
gameVolume = 100;
sou = new Sound(this);
_quality = "high";
onEnterFrame = function () {
sou.setVolume(gameVolume);
};
stop();
Frame 2
stop();
Frame 7
gameplay = false;
cam.swapDepths(99999);
cam.removeMovieClip();
_x = 0;
_y = 0;
stop();
Frame 13
stop();
if (_root.healthlvl == 2) {
_root.maxLife = 400;
}
if (_root.healthlvl == 3) {
_root.maxLife = 500;
}
if (_root.healthlvl == 4) {
_root.maxLife = 600;
}
gameplay = true;
Instance of Symbol 25 MovieClip [hit] "act" in Frame 13
onClipEvent (load) {
killsNeeded = 5 + Math.round(_root.wave * 1.5);
enemiesAllowed = 2 + Math.round(_root.wave * 0.5);
enemiesOnScreen = 0;
timer = 100;
kills = 0;
timeAmount = 250 - (18 * Math.round(_root.wave * 0.6));
trace(killsNeeded);
trace(enemiesAllowed);
trace(timeAmount);
if (_root.wave > 0) {
enemies = ["e1", "e2"];
}
if (_root.wave >= 2) {
enemies = ["e1", "e2", "e3"];
}
if (_root.wave >= 4) {
enemies = ["e1", "e2", "e3", "e4"];
}
if (_root.wave >= 6) {
enemies = ["e1", "e2", "e3", "e4", "e5"];
}
if (_root.wave >= 8) {
enemies = ["e1", "e2", "e3", "e4", "e5", "e6"];
}
if (_root.wave >= 9) {
enemies = ["e1", "e2", "e3", "e4", "e5", "e6", "e7"];
}
if (_root.wave >= 11) {
enemies = ["e1", "e2", "e3", "e4", "e5", "e6", "e7", "e8"];
}
trace(enemies);
}
onClipEvent (enterFrame) {
if (!_root.pau) {
_root.weapon = _root.weaponlvl - 1;
_root.power = _root.energylvl;
_root.specialLevel = _root.speciallvl * 15;
_root.attackpow = _root.attacklvl * 7;
if (kills > killsNeeded) {
_root.wave++;
_root.cam.win.play();
killsNeeded = 999999 /* 0x0F423F */;
}
if (timeAmount < 80) {
timeAmount = 80;
}
timer++;
if (timer > timeAmount) {
if (enemiesOnScreen < enemiesAllowed) {
enemiesOnScreen++;
_root.d++;
_root.attachMovie(enemies[random(enemies.length)], "e" + _root.d, _root.d);
_root["e" + _root.d]._x = (_root.cam._x + random(700)) - 350;
_root["e" + _root.d]._y = _root.cam._y - 200;
timeAmount = timeAmount - 10;
}
timer = 0;
}
}
}
Instance of Symbol 1021 MovieClip "cam" in Frame 13
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
swapDepths(_root.d + 500);
xspeed = 4;
yspeed = 3;
xdist = (_root.hero._x + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 100;
ydist = ydist / yspeed;
_y = (_y + ydist);
while (cam.hitTest(_root.lvlE)) {
_x = (_x-1);
}
while (cam.hitTest(_root.lvlB)) {
_x = (_x+1);
}
}
}
Instance of Symbol 1024 MovieClip in Frame 13
onClipEvent (load) {
_root.shakex = 0;
_root.shakey = 0;
_visible = false;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.shakeon) {
_root.shakex = _root.shakex * -1;
_root.shakex = _root.shakex / _root.shakeintense;
_root.shakey = _root.shakey * -1;
_root.shakey = _root.shakey / _root.shakeintense;
} else {
_root.shakex = 0;
_root.shakey = 0;
}
}
}
Instance of Symbol 25 MovieClip [hit] "lvlB" in Frame 13
onClipEvent (enterFrame) {
while (_root.hero._x < _x) {
_root.hero._x++;
}
}
Instance of Symbol 25 MovieClip [hit] "lvlE" in Frame 13
onClipEvent (enterFrame) {
while (_root.hero._x > _x) {
_root.hero._x--;
}
}
Instance of Symbol 1040 MovieClip in Frame 13
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 1052 MovieClip in Frame 13
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(90);
}
Instance of Symbol 1065 MovieClip in Frame 13
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(60);
}
Instance of Symbol 1073 MovieClip "explosions" in Frame 13
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 1081 MovieClip in Frame 13
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(70);
}
Instance of Symbol 1099 MovieClip in Frame 13
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(40);
}
Frame 19
gameplay = false;
cam.swapDepths(99999);
cam.removeMovieClip();
_x = 0;
_y = 0;
coins = coins + 50;
stars = stars + 10;
nades = nades + 2;
Instance of Symbol 1122 MovieClip "ching" in Frame 25
onClipEvent (load) {
_root.ching = this;
}
Instance of Symbol 1154 MovieClip in Frame 25
onClipEvent (enterFrame) {
gotoAndStop(_root.speedlvl);
}
Instance of Symbol 1166 MovieClip in Frame 25
onClipEvent (enterFrame) {
gotoAndStop(_root.attacklvl);
}
Instance of Symbol 1179 MovieClip in Frame 25
onClipEvent (enterFrame) {
gotoAndStop(_root.weaponlvl);
}
Instance of Symbol 1186 MovieClip in Frame 25
onClipEvent (enterFrame) {
gotoAndStop(_root.energylvl);
}
Instance of Symbol 1195 MovieClip in Frame 25
onClipEvent (enterFrame) {
gotoAndStop(_root.speciallvl);
}
Instance of Symbol 1209 MovieClip in Frame 25
onClipEvent (enterFrame) {
gotoAndStop(_root.healthlvl);
}
Frame 31
gameplay = false;
cam.swapDepths(99999);
cam.removeMovieClip();
_x = 0;
_y = 0;
Symbol 23 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 25 MovieClip [hit] Frame 1
_visible = false;
Symbol 33 MovieClip Frame 1
_rotation = random(360);
lol = random(40) + 80;
_xscale = lol;
_yscale = lol;
Symbol 33 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 36 MovieClip Frame 14
stop();
Symbol 37 MovieClip [ExpBall] Frame 1
if (!zxcv) {
if (random(6) == 3) {
this.removeMovieClip();
}
zxcv = true;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hit.hitTest(_root.hero.hit)) {
if (powerup._currentframe == 1) {
_root.nades = _root.nades + 1;
gotoAndStop ("get");
}
if (powerup._currentframe == 2) {
_root.stars = _root.stars + 2;
gotoAndStop ("get");
}
if (powerup._currentframe == 3) {
_root.energy = _root.energy + 10;
gotoAndStop ("get");
}
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 37 MovieClip [ExpBall] Frame 7
gotoAndPlay (1);
Symbol 37 MovieClip [ExpBall] Frame 8
onEnterFrame = null;
_root.experience++;
Symbol 40 MovieClip [LifeBall] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
gotoAndStop ("get");
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 40 MovieClip [LifeBall] Frame 7
gotoAndPlay (1);
Symbol 40 MovieClip [LifeBall] Frame 8
onEnterFrame = null;
_root.hero.life = _root.hero.life + 3;
Symbol 49 MovieClip [asdf] Frame 1
_visible = false;
Symbol 50 MovieClip [grenade] Frame 1
function die() {
_root.shakey = _root.shakey + 15;
_root.sounds("explosion");
_root.explode(_x, _y, 2);
this.removeMovieClip();
}
stop();
grav = random(4) + 6;
grav = grav * -1;
power = 45;
poop = random(50) - 25;
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
gren._rotation = gren._rotation + poop;
_y = (_y + grav);
grav++;
_x = (_x + ((_xscale / 100) * 10));
if (_root.ground.hitTest(_x, _y, true)) {
if (shooter) {
play();
} else {
die();
}
}
if (shooter) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(15);
die();
}
}
}
};
Symbol 55 MovieClip [fb] Frame 1
function die() {
this.removeMovieClip();
}
_xscale = _root.hero._xscale;
_x = (_root.hero._x + ((_xscale / 100) * 80));
_y = (_root.hero._y - 70);
power = 20;
speed = 35;
names = ["b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8", "b9", "b10", "b11", "b12", "b13", "b14", "b15", "b16", "b17", "b18", "b19", "b20"];
this._name = [names[random(names.length)]];
trace(_name);
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
die();
}
if (mod == "up") {
if (!ass) {
_root.b++;
if (_root.b > 20) {
_root.b = 1;
}
ass = true;
}
_y = (_y - 4);
if (!asdfadf) {
if (_xscale == 100) {
_rotation = (_rotation - 10);
} else {
_rotation = (_rotation + 10);
}
asdfadf = true;
}
} else if (mod == "down") {
if (!ass) {
_root.b++;
if (_root.b > 20) {
_root.b = 1;
}
ass = true;
}
_y = (_y + 4);
if (!asdfadf) {
if (_xscale == 100) {
_rotation = (_rotation + 10);
} else {
_rotation = (_rotation - 10);
}
asdfadf = true;
}
} else if (!ass) {
_root.b++;
if (_root.b > 20) {
_root.b = 1;
}
ass = true;
}
_x = (_x + ((_xscale / 100) * 18));
if (!hitTest(_root.screenhit)) {
die();
}
}
};
Symbol 106 MovieClip [ex1] Frame 47
_parent.removeMovieClip();
Symbol 119 MovieClip [ex2] Frame 26
_parent.removeMovieClip();
Symbol 120 MovieClip [explo] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (!shit) {
timer = 0;
shit = true;
}
if (timer <= 1) {
_root.explo = hit;
}
if (timer == 2) {
_root.explo = false;
}
timer++;
}
};
Instance of Symbol 119 MovieClip [ex2] in Symbol 120 MovieClip [explo] Frame 2
onClipEvent (load) {
_parent._rotation = random(360);
}
Symbol 127 MovieClip [boss2_bomb] Frame 1
speed = 10;
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hitTest(_root.herohit) && (!fuck)) {
speed = speed * -1;
fuck = true;
}
_x = (_x + ((_xscale / 100) * speed));
if (!setv) {
timer = 0;
grav = 0;
setv = true;
}
grav++;
_y = (_y + grav);
timer++;
if (timer > 50) {
if (!lmfao) {
_root.explode(_x, _y, 2);
_visible = false;
lmfao = true;
}
if (_root.hero.hit.hitTest(hit) && (timer < 53)) {
if (!hitted) {
_root.hero.hurt(20);
hitted = true;
}
}
}
if (timer > 52) {
this.swapDepths(99999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
grav = grav * -1;
}
while (_root.ground.hitTest(_x, _y, true)) {
_y = (_y-1);
}
if (hitt.hitTest(_root.hero.hit)) {
_root.hero.hurt(20);
hitted = true;
_root.explode(_x, _y, 2);
this.swapDepths(99999);
this.removeMovieClip();
}
if (hitted) {
_root.explode(_x, _y, 2);
this.swapDepths(99999);
this.removeMovieClip();
}
}
};
Symbol 130 MovieClip [boss1_bullet] Frame 1
speed = 20;
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hitTest(_root.herohit) && (fuck)) {
_xscale = (_xscale * -1);
b = random(19) + 2;
this._name = ["b" + b];
fuck = true;
}
if (!shit) {
t = 0;
power = 10;
shit = true;
}
t++;
if (t > 100) {
this.removeMovieClip();
}
_x = (_x + ((_xscale / 100) * speed));
if (_root.ground.hitTest(_x, _y, true)) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9);
this.removeMovieClip();
}
}
};
Symbol 193 MovieClip Frame 1
timer = 0;
onEnterFrame = function () {
if (!_root.pau) {
timer++;
if (timer > 100) {
_alpha = (_alpha - 10);
}
if (_alpha <= 0) {
swapDepths(99999);
this.removeMovieClip();
}
}
};
Symbol 193 MovieClip Frame 3
if (_root.bloodpuddles == false) {
stop();
}
Symbol 193 MovieClip Frame 14
if (random(2) == 1) {
gotoAndPlay ("b2");
}
Symbol 193 MovieClip Frame 15
if (random(2) == 1) {
gotoAndPlay ("b6");
}
Symbol 193 MovieClip Frame 16
if (random(4) >= 2) {
gotoAndPlay ("b3");
}
Symbol 193 MovieClip Frame 17
if (random(2) == 1) {
gotoAndPlay ("b5");
}
Symbol 193 MovieClip Frame 18
if (random(4) >= 2) {
gotoAndPlay ("b4");
}
Symbol 193 MovieClip Frame 29
stop();
Symbol 193 MovieClip Frame 39
stop();
Symbol 193 MovieClip Frame 50
stop();
Symbol 193 MovieClip Frame 60
stop();
Symbol 193 MovieClip Frame 71
stop();
Symbol 193 MovieClip Frame 81
stop();
Symbol 205 MovieClip Frame 23
stop();
Symbol 218 MovieClip Frame 25
stop();
Symbol 232 MovieClip Frame 27
stop();
Symbol 233 MovieClip [bmc] Frame 1
_alpha = 50;
if (!_root.ground.hitTest(_x, _y + 8, true)) {
splat._visible = false;
}
gotoAndStop(random(3) + 1);
Symbol 234 MovieClip [Blood_mc] Frame 1
_root.blood.d++;
_root.blood.attachMovie("bmc", "bmc" + _root.blood.d, _root.blood.d);
_root.blood["bmc" + _root.blood.d]._x = _x;
_root.blood["bmc" + _root.blood.d]._xscale = _xscale;
_root.blood["bmc" + _root.blood.d]._y = _y;
Symbol 257 MovieClip [runsmoke] Frame 31
this.removeMovieClip();
Symbol 269 MovieClip Frame 29
stop();
Symbol 287 MovieClip Frame 33
_parent.swapDepths(99999);
_parent.removeMovieClip();
Symbol 288 MovieClip [landsmoke] Frame 7
stop();
Symbol 299 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.herohit)) {
if (_root.hero.raging) {
_parent.hurt(_root.herohit.power + 4, true);
} else {
_parent.hurt(_root.herohit.power, true);
}
}
if (hitTest(_root.b0)) {
_parent.hurt(_root.b0.power);
_root.b0.die();
}
if (hitTest(_root.b1)) {
_parent.hurt(_root.b1.power);
_root.b1.die();
}
if (hitTest(_root.b2)) {
_parent.hurt(_root.b2.power);
_root.b2.die();
}
if (hitTest(_root.b3)) {
_parent.hurt(_root.b3.power);
_root.b3.die();
}
if (hitTest(_root.b4)) {
_parent.hurt(_root.b4.power);
_root.b4.die();
}
if (hitTest(_root.b5)) {
_parent.hurt(_root.b5.power);
_root.b5.die();
}
if (hitTest(_root.b6)) {
_parent.hurt(_root.b6.power);
_root.b6.die();
}
if (hitTest(_root.b7)) {
_parent.hurt(_root.b7.power);
_root.b7.die();
}
if (hitTest(_root.b8)) {
_parent.hurt(_root.b8.power);
_root.b8.die();
}
if (hitTest(_root.b9)) {
_parent.hurt(_root.b9.power);
_root.b9.die();
}
if (hitTest(_root.b10)) {
_parent.hurt(_root.b10.power);
_root.b10.die();
}
if (hitTest(_root.b11)) {
_parent.hurt(_root.b11.power);
_root.b11.die();
}
if (hitTest(_root.b12)) {
_parent.hurt(_root.b12.power);
_root.b12.die();
}
if (hitTest(_root.b13)) {
_parent.hurt(_root.b13.power);
_root.b13.die();
}
if (hitTest(_root.b14)) {
_parent.hurt(_root.b14.power);
_root.b14.die();
}
if (hitTest(_root.b15)) {
_parent.hurt(_root.b15.power);
_root.b15.die();
}
if (hitTest(_root.b16)) {
_parent.hurt(_root.b16.power);
_root.b16.die();
}
if (hitTest(_root.b17)) {
_parent.hurt(_root.b17.power);
_root.b17.die();
}
if (hitTest(_root.b18)) {
_parent.hurt(_root.b18.power);
_root.b18.die();
}
if (hitTest(_root.b19)) {
_parent.hurt(_root.b19.power);
_root.b19.die();
}
if (hitTest(_root.b21)) {
_parent.hurt(_root.b21.power);
_root.b21.die();
}
if (hitTest(_root.b20)) {
_parent.hurt(_root.b20.power);
_root.b20.die();
}
if (hitTest(_root.explo)) {
_parent.hurt(25);
}
}
};
Instance of Symbol 25 MovieClip [hit] in Symbol 309 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(7);
}
}
}
Symbol 309 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 318 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 318 MovieClip Frame 25
stop();
Symbol 319 MovieClip [e1] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.createPts(_x, _y, random(3));
_root.createEnergy(_x, _y, random(2));
hb.play();
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 80 + (_root.wave * 10);
speed = 5;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 297 MovieClip in Symbol 319 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 319 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 304 MovieClip in Symbol 319 MovieClip [e1] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 319 MovieClip [e1] Frame 14
_root.createPts(_x, _y, 12);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 319 MovieClip [e1] Frame 14
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 336 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 336 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 345 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 345 MovieClip Frame 25
stop();
Symbol 346 MovieClip [e2] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.createEnergy(_x, _y, random(2));
_root.createPts(_x, _y, random(2));
hb.play();
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 100 + (_root.wave * 10);
speed = 6;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 324 MovieClip in Symbol 346 MovieClip [e2] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 346 MovieClip [e2] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 329 MovieClip in Symbol 346 MovieClip [e2] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 346 MovieClip [e2] Frame 13
_root.createPts(_x, _y, 15);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 346 MovieClip [e2] Frame 13
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Symbol 348 MovieClip [enemystar] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (!shit) {
t = 0;
shit = true;
}
t++;
if (t > 100) {
this.removeMovieClip();
}
_x = (_x + ((_xscale / 100) * 20));
if (_root.ground.hitTest(_x, _y, true)) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9);
this.removeMovieClip();
}
}
};
Symbol 366 MovieClip Frame 8
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "enemystar");
Symbol 366 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 375 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 375 MovieClip Frame 25
stop();
Symbol 376 MovieClip [e3] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.createPts(_x, _y, random(3));
_root.createEnergy(_x, _y, random(2));
hb.play();
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 100 + (_root.wave * 10);
speed = 6;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 351 MovieClip in Symbol 376 MovieClip [e3] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 376 MovieClip [e3] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(20) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 356 MovieClip in Symbol 376 MovieClip [e3] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 376 MovieClip [e3] Frame 13
_root.createPts(_x, _y, 20);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 376 MovieClip [e3] Frame 13
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 391 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 391 MovieClip Frame 20
_parent.gotoAndStop("idle");
Symbol 418 MovieClip Frame 22
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "boss1_bullet");
Symbol 418 MovieClip Frame 34
_parent.gotoAndStop("idle");
Symbol 439 MovieClip Frame 19
_root.createLife(_parent._x, _parent._y, 6);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 439 MovieClip Frame 31
stop();
Symbol 440 MovieClip [e4] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.createEnergy(_x, _y, random(2));
_root.createPts(_x, _y, random(2));
hb.play();
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 150 + (_root.wave * 10);
speed = 7;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 381 MovieClip in Symbol 440 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 440 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 1) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 440 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 386 MovieClip in Symbol 440 MovieClip [e4] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 440 MovieClip [e4] Frame 17
_root.createPts(_x, _y, 30);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 440 MovieClip [e4] Frame 17
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 457 MovieClip Frame 10
onClipEvent (load) {
if (!_root.pau) {
_root.b2shoot(((_x * _parent._parent._xscale) / 100) + _parent._parent._x, (_y + _parent._y) + _parent._parent._y, _parent._parent._xscale);
}
}
Symbol 457 MovieClip Frame 26
_parent.gotoAndStop("idle");
Symbol 466 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 8);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 466 MovieClip Frame 37
stop();
Symbol 467 MovieClip [e5] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
hb.play();
_root.createPts(_x, _y, random(3));
_root.createEnergy(_x, _y, random(2));
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 130 + (_root.wave * 10);
speed = 7;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 446 MovieClip in Symbol 467 MovieClip [e5] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 467 MovieClip [e5] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(20) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 451 MovieClip in Symbol 467 MovieClip [e5] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 467 MovieClip [e5] Frame 13
_root.createPts(_x, _y, 25);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 467 MovieClip [e5] Frame 13
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 487 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(17);
}
}
}
Symbol 487 MovieClip Frame 26
_parent.gotoAndStop("idle");
Symbol 498 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 12);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 498 MovieClip Frame 27
stop();
Symbol 499 MovieClip [e6] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
hb.play();
_root.createPts(_x, _y, random(3));
_root.createEnergy(_x, _y, random(2));
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 200 + (_root.wave * 10);
speed = 6;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 476 MovieClip in Symbol 499 MovieClip [e6] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 499 MovieClip [e6] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 481 MovieClip in Symbol 499 MovieClip [e6] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 499 MovieClip [e6] Frame 13
_root.createPts(_x, _y, 30);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 499 MovieClip [e6] Frame 13
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Symbol 502 MovieClip [bulletslant] Frame 1
speed = 20;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.herohit) && (!fuck)) {
_xscale = (_xscale * -1);
b = random(19) + 2;
this._name = ["b" + b];
fuck = true;
}
_y = (_y + ((_yscale / 100) * 7));
if (!shit) {
t = 0;
power = 10;
shit = true;
}
t++;
if (t > 100) {
this.removeMovieClip();
}
_x = (_x + ((_xscale / 100) * speed));
if (_root.ground.hitTest(_x, _y, true)) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9);
this.removeMovieClip();
}
}
};
Symbol 503 MovieClip [bulletstraight] Frame 1
speed = 20;
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hitTest(_root.herohit) && (fuck)) {
_xscale = (_xscale * -1);
b = random(19) + 2;
this._name = ["b" + b];
fuck = true;
}
if (!shit) {
t = 0;
power = 10;
shit = true;
}
t++;
if (t > 100) {
this.removeMovieClip();
}
_x = (_x + ((_xscale / 100) * speed));
if (_root.ground.hitTest(_x, _y, true)) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9);
this.removeMovieClip();
}
}
};
Instance of Symbol 25 MovieClip [hit] in Symbol 521 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(13);
}
}
}
Symbol 521 MovieClip Frame 23
_parent.gotoAndStop("idle");
Symbol 557 MovieClip Frame 25
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "bulletstraight");
Symbol 557 MovieClip Frame 45
_parent.gotoAndStop("idle");
Symbol 569 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 15);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 569 MovieClip Frame 25
stop();
Symbol 570 MovieClip [e7] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
_root.createPts(_x, _y, random(3));
_root.createEnergy(_x, _y, random(2));
hb.play();
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 210 + (_root.wave * 10);
speed = 7;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 509 MovieClip in Symbol 570 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 570 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 1) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 570 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 514 MovieClip in Symbol 570 MovieClip [e7] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 570 MovieClip [e7] Frame 17
_root.createPts(_x, _y, 35);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 25 MovieClip [hit] in Symbol 570 MovieClip [e7] Frame 17
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 587 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 587 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 594 MovieClip Frame 7
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 30, _parent._xscale, "bulletstraight");
Symbol 594 MovieClip Frame 16
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 30, _parent._xscale, "boss1_bullet");
Symbol 594 MovieClip Frame 25
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 30, _parent._xscale, "bulletstraight");
Symbol 594 MovieClip Frame 41
_parent.gotoAndStop("idle");
Symbol 604 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 15);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 604 MovieClip Frame 16
stop();
Symbol 605 MovieClip [e8] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
_root.sounds("wack");
hb.play();
_root.createPts(_x, _y, random(3));
_root.createEnergy(_x, _y, random(2));
_xscale = (_root.hero._xscale * -1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
red = 255;
tintfade = 100;
slideback = slideback + (lifeminus / 2);
life = life - (lifeminus / 1.5);
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.swapDepths(9999);
this.removeMovieClip();
}
while (hit.hitTest(_root.lvlb1)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x-1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x-1);
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
_y = (_y + grav);
if (!setvars) {
_root.kn++;
lawl = random(50);
if (lawl >= 26) {
weapon = true;
} else {
weapon = false;
}
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 250 + (_root.wave * 10);
speed = 8;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y - 40, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x+1);
}
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
Instance of Symbol 576 MovieClip in Symbol 605 MovieClip [e8] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x > (_parent._x + 40)) {
if (random(20) == 1) {
_parent._xscale = 100;
_parent.gotoAndStop("run");
}
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(20) == 1) {
_parent._xscale = -100;
_parent.gotoAndStop("run");
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 605 MovieClip [e8] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 1) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 605 MovieClip [e8] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 605 MovieClip [e8] Frame 1
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
t++;
if (t > 100) {
_parent._alpha = _parent._alpha - 5;
if (_parent._alpha <= 0) {
_parent.removeMovieClip();
}
}
}
}
Instance of Symbol 582 MovieClip in Symbol 605 MovieClip [e8] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent._xscale == -100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(100) == 1) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x > (_parent._x + 50)) {
if (random(10) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x < (_parent._x - 50)) {
if (random(10) == 1) {
_parent._xscale = -100;
}
}
if (random(150) == 1) {
_parent._xscale = _parent._xscale * -1;
}
if (hitTest(_root.screenhit)) {
_parent.active = true;
} else {
_parent.active = false;
}
if (!_parent.active) {
_parent.gotoAndStop("idle");
}
}
}
Symbol 605 MovieClip [e8] Frame 17
_root.createPts(_x, _y, 40);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Symbol 610 MovieClip [eb] Frame 1
function die() {
this.removeMovieClip();
}
_xscale = _root.hero._xscale;
_x = (_root.hero._x + ((_xscale / 100) * 50));
_y = (_root.hero._y - 70);
power = 15;
speed = 35;
names = ["b1", "b2", "b3", "b4", "b5", "b6", "b7", "b8", "b9", "b10", "b11", "b12", "b13", "b14", "b15", "b16", "b17", "b18", "b19", "b20"];
this._name = [names[random(names.length)]];
trace(_name);
onEnterFrame = function () {
if (!_root.pau) {
if (_root.ground.hitTest(_x, _y, true)) {
die();
}
if (mod == "up") {
if (!ass) {
_root.b++;
if (_root.b > 20) {
_root.b = 1;
}
ass = true;
}
_y = (_y - 4);
if (!asdfadf) {
if (_xscale == 100) {
_rotation = (_rotation - 10);
} else {
_rotation = (_rotation + 10);
}
asdfadf = true;
}
} else if (mod == "down") {
if (!ass) {
_root.b++;
if (_root.b > 20) {
_root.b = 1;
}
ass = true;
}
_y = (_y + 4);
if (!asdfadf) {
if (_xscale == 100) {
_rotation = (_rotation + 10);
} else {
_rotation = (_rotation - 10);
}
asdfadf = true;
}
} else if (!ass) {
_root.b++;
if (_root.b > 20) {
_root.b = 1;
}
ass = true;
}
_x = (_x + ((_xscale / 100) * 18));
if (!hitTest(_root.screenhit)) {
die();
}
}
};
Symbol 611 MovieClip [star] Frame 1
function die() {
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
power = 16;
speed = 25;
_x = (_x + ((speed * _xscale) / 100));
if (_root.ground.hitTest(_x, _y, true)) {
die();
}
if (!hit.hitTest(_root.screenhit)) {
die();
}
}
};
Symbol 619 MovieClip [PointBall] Frame 1
if (!asdf) {
if (random(2) == 1) {
this.removeMovieClip();
}
asdf = true;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hitTest(_root.hero.hit)) {
gotoAndStop ("get");
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 619 MovieClip [PointBall] Frame 4
gotoAndPlay (1);
Symbol 619 MovieClip [PointBall] Frame 5
onEnterFrame = null;
_root.coins++;
Symbol 628 MovieClip [EnergyBall] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
if (hit.hitTest(_root.hero.hit)) {
gotoAndStop ("get");
}
if (!setVars) {
speed = random(20) - 10;
grav = (random(7) + 7) * -1;
timer = 0;
setVars = true;
}
timer++;
if (timer > 140) {
_xscale = (_xscale - 10);
_yscale = (_yscale - 10);
}
if ((timer > 150) or (_xscale == 0)) {
this.removeMovieClip();
}
_x = (_x + speed);
if ((speed > 0) && (speed < 1)) {
speed = 0;
}
if ((speed < 0) && (speed > -1)) {
speed = 0;
}
if (speed > 0.5) {
speed = speed - 0.2;
}
if (speed < -0.5) {
speed = speed + 0.2;
}
_y = (_y + grav);
if (!_root.ground.hitTest(_x, _y, true)) {
grav++;
} else {
grav = grav * -1;
grav = grav / 2;
}
while (_root.ground.hitTest(_x, _y - 4, true)) {
_y = (_y-1);
}
if (_root.ground.hitTest(_x + 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x - 7, _y - 25, true)) {
speed = speed * -1;
}
if (_root.ground.hitTest(_x, _y - 35, true) && (grav < 0)) {
grav = grav * -1;
}
}
};
Symbol 628 MovieClip [EnergyBall] Frame 5
gotoAndPlay (1);
Symbol 628 MovieClip [EnergyBall] Frame 6
onEnterFrame = null;
_root.energy = _root.energy + 2;
Symbol 647 Button
on (release) {
getURL ("http://www.39games.com", "_blank");
}
Symbol 655 Button
on (release) {
_root.play();
}
Symbol 656 MovieClip Frame 1
function startMovie() {
_root.play();
}
_root.stop();
stop();
onEnterFrame = function () {
if (!loadingComplete) {
var _local2 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local2;
if (_local2 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
};
Symbol 656 MovieClip Frame 2
gotoAndPlay (1);
Symbol 656 MovieClip Frame 3
stop();
Symbol 676 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 676 MovieClip Frame 2
gotoAndPlay (1);
Symbol 689 MovieClip Frame 88
_root.play();
Symbol 705 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 706 Button
on (release) {
gotoAndStop ("how");
}
Symbol 707 Button
on (release) {
getURL ("http://www.39games.com", "_blank");
}
Symbol 708 Button
on (release) {
gotoAndStop ("opt");
}
Symbol 709 Button
on (release) {
gotoAndStop ("credits");
}
Symbol 714 Button
on (release) {
gotoAndStop (1);
}
Symbol 723 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 724 MovieClip Frame 1
stop();
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.effects_on) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.effects_on = true;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (!_root.effects_on) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.effects_on = false;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.shakeon) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.shakeon = true;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (!_root.shakeon) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.shakeon = false;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root._quality == "high") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "high";
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root._quality == "medium") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "medium";
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root._quality == "low") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "low";
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gameVolume == 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 0;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gameVolume == 25) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 25;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gameVolume == 50) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 50;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gameVolume == 75) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 75;
}
Instance of Symbol 721 MovieClip in Symbol 724 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.gameVolume == 100) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 100;
}
Symbol 727 MovieClip Frame 2
stopAllSounds();
Symbol 727 MovieClip Frame 4
stop();
Symbol 730 MovieClip Frame 1
_x = 0;
_y = 0;
swapDepths(99999);
gotoAndPlay (2);
Symbol 730 MovieClip Frame 11
this.removeMovieClip();
Symbol 737 MovieClip Frame 1
_visible = false;
Symbol 738 MovieClip Frame 2
_x = 0;
_y = 0;
d = 0;
_name = "blood";
stop();
Symbol 740 MovieClip Frame 1
_visible = false;
Symbol 740 MovieClip Frame 2
stop();
_visible = false;
Symbol 745 MovieClip Frame 1
gotoAndStop(_root.weapon + 1);
onEnterFrame = function () {
gotoAndStop(_root.weapon + 1);
};
Symbol 758 MovieClip Frame 1
_visible = false;
Instance of Symbol 25 MovieClip [hit] in Symbol 758 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(37) || (Key.isDown(39))) {
if (_root.hero.justwalked) {
_root.hero.gotoAndStop("run");
}
}
}
}
Symbol 758 MovieClip Frame 9
stop();
_parent.justwalked = false;
Symbol 760 MovieClip Frame 1
_visible = false;
Symbol 765 MovieClip Frame 7
_root.sounds("step");
Symbol 767 MovieClip Frame 1
_visible = false;
Symbol 767 MovieClip Frame 8
_parent.justwalked = false;
stop();
Symbol 773 MovieClip Frame 6
_root.sounds("step");
Symbol 773 MovieClip Frame 7
_root.herosmokerun();
Symbol 797 MovieClip Frame 1
k = true;
Symbol 797 MovieClip Frame 5
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 797 MovieClip Frame 5
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 25 MovieClip [hit] in Symbol 797 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 797 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 797 MovieClip Frame 15
k = true;
Symbol 797 MovieClip Frame 19
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 797 MovieClip Frame 19
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 25 MovieClip [hit] in Symbol 797 MovieClip Frame 23
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 797 MovieClip Frame 30
_parent.gotoAndStop("idle");
Symbol 797 MovieClip Frame 31
k = true;
Symbol 797 MovieClip Frame 35
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 797 MovieClip Frame 35
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 25 MovieClip [hit] in Symbol 797 MovieClip Frame 38
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p1");
}
}
}
}
Symbol 797 MovieClip Frame 44
_parent.gotoAndStop("idle");
Symbol 856 MovieClip Frame 1
k = true;
Symbol 856 MovieClip Frame 5
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 5
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (12 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 856 MovieClip Frame 15
_parent.gotoAndStop("idle");
Symbol 856 MovieClip Frame 16
k = true;
Symbol 856 MovieClip Frame 22
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 22
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (12 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 25
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 856 MovieClip Frame 33
_parent.gotoAndStop("idle");
Symbol 856 MovieClip Frame 34
k = true;
Symbol 856 MovieClip Frame 40
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 40
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (14 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 43
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p4");
}
}
}
}
Symbol 856 MovieClip Frame 50
_parent.gotoAndStop("idle");
Symbol 856 MovieClip Frame 51
k = true;
Symbol 856 MovieClip Frame 57
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 57
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (16 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 25 MovieClip [hit] in Symbol 856 MovieClip Frame 61
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p1");
}
}
}
}
Symbol 856 MovieClip Frame 69
_parent.gotoAndStop("idle");
Symbol 863 MovieClip Frame 5
_parent.gotoAndStop("idle");
Symbol 873 MovieClip Frame 22
_root.d++;
_root.attachMovie("eb", "lol" + _root.d, _root.d);
_root.energy = _root.energy - 5;
_root.sounds("explosion");
Symbol 873 MovieClip Frame 32
_parent.gotoAndStop("idle");
Symbol 887 MovieClip Frame 17
_root.d++;
_root.attachMovie("fb", "lol" + _root.d, _root.d);
_root["lol" + _root.d].mod = "up";
_root.energy = _root.energy - 5;
_root.sounds("explosion");
Symbol 887 MovieClip Frame 18
_root.d++;
_root.attachMovie("fb", "lol" + _root.d, _root.d);
_root["lol" + _root.d].mod = "down";
Symbol 887 MovieClip Frame 19
_root.d++;
_root.attachMovie("fb", "lol" + _root.d, _root.d);
Symbol 887 MovieClip Frame 25
_parent.gotoAndStop("idle");
Symbol 899 MovieClip Frame 2
_root.d++;
_root.attachMovie("fb", "lol" + _root.d, _root.d);
_root.energy = _root.energy - 5;
_root.sounds("explosion");
Symbol 899 MovieClip Frame 8
if (!Key.isDown(83)) {
_parent.gotoAndStop("idle");
} else {
gotoAndPlay (1);
}
Symbol 909 MovieClip Frame 7
_root.ninjaStar(_root.hero._x + ((_root.hero._xscale / 100) * 40), _root.hero._y - 60);
Symbol 909 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 917 MovieClip Frame 8
if (_root.nades > 0) {
_root.nades--;
_root.d++;
poop = random(11) + 11;
_root.attachMovie("grenade", "b" + poop, _root.d);
_root["b" + poop]._x = _root.hero._x + ((_root.hero._xscale / 100) * 65);
_root["b" + poop]._y = _root.hero._y - 50;
_root["b" + poop]._xscale = _root.hero._xscale;
}
_root.sounds("wizz");
Symbol 917 MovieClip Frame 20
_parent.gotoAndStop("idle");
Instance of Symbol 923 MovieClip in Symbol 929 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = random(360);
}
Symbol 939 MovieClip Frame 19
_root.shakey = _root.shakey + (30 + _root.specialLevel);
_root.explode(_root.hero._x, _root.hero._y, 1);
Instance of Symbol 25 MovieClip [hit] in Symbol 939 MovieClip Frame 19
onClipEvent (load) {
_root.herohit = this;
power = 20 + _root.specialLevel;
}
Symbol 939 MovieClip Frame 37
_parent.gotoAndStop("idle");
Symbol 957 MovieClip Frame 26
stop();
_root.cam.die.play();
Symbol 958 MovieClip Frame 1
function hurt(lf) {
if (!blocking) {
_root.sounds("wack");
_root.sounds("grunt");
life = life - lf;
_root.shakex = _root.shakex + lf;
if (lf > 5) {
xplus = xplus - (lf * 2.5);
}
if (grav <= 2) {
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale;
_root["b" + randN]._y = _y;
}
rrr = 255;
amou = 100;
hall = false;
} else {
xplus = xplus - (lf * 2.5);
}
}
function attack() {
if (_root.weapon == 0) {
gotoAndStop ("att1");
} else {
gotoAndStop ("att2");
}
}
function shoot() {
if (_root.energy >= 5) {
if (_root.power == 1) {
gotoAndStop ("shoot1");
}
if (_root.power == 2) {
gotoAndStop ("shoot2");
}
if (_root.power == 3) {
gotoAndStop ("shoot3");
}
}
}
function special() {
if (_root.energy > 49) {
_root.energy = _root.energy - 50;
gotoAndStop ("special");
}
}
runningJump = false;
running = false;
onEnterFrame = function () {
if (!_root.pau) {
if (!setv) {
stop();
power = 100;
justwalked = false;
life = _root.maxLife;
htt = 0;
xplus = 0;
jumph = 18;
grav = 0;
speed = 14;
rrr = 0;
amou = 0;
high = 90;
wid = 35;
setv = true;
}
speed = 10 + (_root.speedlvl * 2);
if (_root.energy > 200) {
_root.energy = 200;
}
if (_root.energy <= 0) {
_root.energy = 0;
}
if (life > _root.maxLife) {
life = _root.maxLife;
}
if (life <= 0) {
life = 0;
gotoAndStop ("die");
}
_y = (_y + grav);
xplus = xplus / 1.6;
_x = (_x + ((_xscale / 100) * xplus));
amou = amou / 1.6;
col.setTint(rrr, 0, 0, amou);
if (!_root.ground.hitTest(_x, _y, true)) {
grav = grav + 1.5;
} else {
grav = 0;
}
while (_root.ground.hitTest(_x, _y, true)) {
jump = false;
_y = (_y-1);
}
while (_root.ground.hitTest(_x + wid, _y - (high / 3), true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - wid, _y - (high / 3), true)) {
_x = (_x+1);
}
if (_root.ground.hitTest(_x, _y - (high / 2), true)) {
jump = false;
grav = 10;
_y = (_y+1);
}
if (jump) {
_y = (_y - jumph);
}
if (!hall) {
htt++;
amou = -50;
if (htt > 15) {
hall = true;
htt = 0;
}
}
}
};
col = new Color(this);
Color.prototype.setTint = function (r, g, b, amount) {
var _local2 = new Object();
_local2.ra = (_local2.ga = (_local2.ba = 100 - amount));
var _local3 = amount / 100;
_local2.rb = r * _local3;
_local2.gb = g * _local3;
_local2.bb = b * _local3;
this.setTransform(_local2);
};
jj = false;
runningJump = false;
running = false;
blocking = false;
if (Key.isDown(37)) {
_xscale = -100;
gotoAndStop ("run");
}
if (Key.isDown(39)) {
_xscale = 100;
gotoAndStop ("run");
}
Instance of Symbol 756 MovieClip in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(83)) {
_parent.shoot();
}
if (Key.isDown(65)) {
_parent.attack();
}
if (Key.isDown(37) && (!_parent.justwalked)) {
_parent._xscale = -100;
_root.herosmokerun();
_parent.gotoAndStop("walk");
}
if (Key.isDown(39) && (!_parent.justwalked)) {
_parent._xscale = 100;
_root.herosmokerun();
_parent.gotoAndStop("walk");
}
if (Key.isDown(38)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 958 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(68) && (_root.stars > 0)) {
_parent.gotoAndStop("star");
}
if (Key.isDown(70) && (_root.nades > 0)) {
_parent.gotoAndStop("bomb");
}
if (Key.isDown(40) && (_root.energy > 0)) {
_parent.gotoAndStop("block");
}
}
}
Symbol 958 MovieClip Frame 6
justwalked = true;
runningJump = false;
running = false;
Instance of Symbol 765 MovieClip in Symbol 958 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(83)) {
_parent.shoot();
}
if (Key.isDown(38)) {
} else if (Key.isDown(40)) {
} else if (Key.isDown(37)) {
} else if (Key.isDown(39)) {
} else {
_parent.gotoAndStop("idle");
}
if (Key.isDown(37)) {
_parent._x = _parent._x - (_parent.speed / 2);
_parent._xscale = -100;
}
if (Key.isDown(39)) {
_parent._x = _parent._x + (_parent.speed / 2);
_parent._xscale = 100;
}
if (_parent.grav > 10) {
_parent.jj = true;
_parent.gotoAndStop("jump");
}
if (Key.isDown(65)) {
_parent.attack();
}
if (Key.isDown(38)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
}
}
Symbol 958 MovieClip Frame 11
runningJump = true;
running = true;
justwalked = false;
Instance of Symbol 773 MovieClip in Symbol 958 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(83)) {
_parent.shoot();
}
if (Key.isDown(38)) {
} else if (Key.isDown(40)) {
} else if (Key.isDown(37)) {
} else if (Key.isDown(39)) {
} else {
_parent.gotoAndStop("idle");
}
if (Key.isDown(37)) {
_parent._x = _parent._x - _parent.speed;
_parent._xscale = -100;
}
if (Key.isDown(39)) {
_parent._x = _parent._x + _parent.speed;
_parent._xscale = 100;
}
if (Key.isDown(65)) {
_parent.attack();
}
if (_parent.grav > 10) {
_parent.jj = true;
_parent.gotoAndStop("jump");
}
if (Key.isDown(38) && (_parent.grav < 5)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
}
}
Instance of Symbol 797 MovieClip in Symbol 958 MovieClip Frame 15
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 856 MovieClip in Symbol 958 MovieClip Frame 20
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Symbol 958 MovieClip Frame 25
if (!jj) {
jump = true;
_root.sounds("wizz");
_y = (_y - 20);
grav = 1;
_root.landsmoke(true);
}
ukey = true;
Instance of Symbol 860 MovieClip in Symbol 958 MovieClip Frame 25
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.power == "hermes") {
if (Key.isDown(38) && (!_parent.ukey)) {
_parent.jump = false;
_parent.grav = 3;
_parent.gotoAndStop("dubjump");
}
if (!Key.isDown(38)) {
_parent.ukey = false;
}
}
if (!_parent.runningJump) {
_root.hero._x = _root.hero._x + ((_root.hero._xscale / 100) * 2);
} else {
_root.hero._y = _root.hero._y - 2;
_root.hero._x = _root.hero._x + ((_root.hero._xscale / 100) * 7);
}
if (_parent.grav == 0) {
_parent.gotoAndStop("land");
}
if (Key.isDown(37)) {
_parent._xscale = -100;
_parent._x = _parent._x - (_parent.speed / 3);
}
if (Key.isDown(39)) {
_parent._xscale = 100;
_parent._x = _parent._x + (_parent.speed / 3);
}
}
}
Symbol 958 MovieClip Frame 30
justwalked = false;
_root.landsmoke();
_root.shakey = _root.shakey + 8;
Instance of Symbol 863 MovieClip in Symbol 958 MovieClip Frame 30
onClipEvent (enterFrame) {
if (!_root.pau) {
play();
_parent._x = _parent._x + ((_parent._xscale / 100) * poospeed);
poospeed--;
} else {
stop();
}
}
onClipEvent (load) {
poospeed = 5;
}
Instance of Symbol 873 MovieClip in Symbol 958 MovieClip Frame 35
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 25 MovieClip [hit] in Symbol 958 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.energy < 5) {
_parent.gotoAndStop("idle");
}
}
Instance of Symbol 887 MovieClip in Symbol 958 MovieClip Frame 42
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 899 MovieClip in Symbol 958 MovieClip Frame 49
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 909 MovieClip in Symbol 958 MovieClip Frame 56
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 917 MovieClip in Symbol 958 MovieClip Frame 60
onClipEvent (load) {
speed = 10;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Symbol 958 MovieClip Frame 66
blocking = true;
_root.energy--;
Instance of Symbol 929 MovieClip in Symbol 958 MovieClip Frame 66
onClipEvent (load) {
speed = 10;
t = 0;
}
onClipEvent (enterFrame) {
if (_parent.running) {
if (!fuck) {
_root.herosmokerun();
fuck = true;
}
if (speed > -1) {
speed--;
_parent._x = _parent._x + ((_parent._xscale / 100) * speed);
}
}
if (!Key.isDown(40)) {
_parent.gotoAndStop("idle");
}
if (!_root.pau) {
t++;
if (t > 10) {
_root.energy--;
t = 0;
}
if (_root.energy <= 1) {
_parent.gotoAndStop("idle");
}
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(37)) {
_parent._xscale = -100;
} else if (Key.isDown(39)) {
_parent._xscale = 100;
}
}
}
}
Symbol 962 MovieClip Frame 1
_root.screenhit._x = _parent._x;
_root.screenhit._y = _parent._y;
_root.BG._y = _parent._y / 2;
_root.BG._x = _parent._x / 2;
_visible = false;
if (_root.shakeon) {
shakex = _root.shakex;
shakey = _root.shakey;
} else {
shakex = 0;
shakey = 0;
}
_root._x = ((_parent._x * -1) + 350) + shakex;
_root._y = ((_parent._y * -1) + 225) + shakey;
Symbol 962 MovieClip Frame 2
gotoAndPlay (1);
Symbol 979 MovieClip Frame 1
onEnterFrame = function () {
stars = "x" + _root.stars;
bombs = "x" + _root.nades;
energy = _root.energy + "/200";
};
Instance of Symbol 967 MovieClip in Symbol 979 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.hero.life / _root.maxLife) * 100);
}
Instance of Symbol 978 MovieClip in Symbol 979 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.energy > 49) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 981 MovieClip Frame 1
wavetext = "Wave: " + _root.wave;
Symbol 984 MovieClip Frame 43
stop();
Symbol 988 MovieClip Frame 1
onEnterFrame = function () {
kills = _root.kills + " kills";
};
Symbol 990 MovieClip Frame 1
onEnterFrame = function () {
kills = _root.coins + " coins";
};
Symbol 996 MovieClip Frame 1
stop();
Symbol 996 MovieClip Frame 114
stop();
_root.gotoAndStop("win");
Symbol 998 MovieClip Frame 1
stop();
Symbol 998 MovieClip Frame 30
_root.gotoAndStop("die");
Symbol 1019 Button
on (release) {
play();
}
Symbol 1020 Button
on (release) {
_root.gameplay = false;
_root.gotoAndStop("menu");
}
Symbol 1021 MovieClip Frame 1
_root.pau = false;
stop();
Instance of Symbol 25 MovieClip [hit] in Symbol 1021 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
} else {
key = false;
}
if (Key.isDown(80)) {
if (!key) {
_parent.play();
key = true;
}
}
}
Symbol 1021 MovieClip Frame 2
_root.pau = true;
_root.shakex = 0;
_root.shakey = 0;
stop();
Symbol 1027 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 1040 MovieClip Frame 1
stop();
_visible = false;
_name = "grunts";
f = 13;
Symbol 1052 MovieClip Frame 1
stop();
_name = "wacks";
_visible = false;
f = 13;
Symbol 1065 MovieClip Frame 1
stop();
_name = "gunshots";
_visible = false;
f = 13;
Symbol 1073 MovieClip Frame 1
stop();
_name = "explosions";
_visible = false;
f = 7;
Symbol 1081 MovieClip Frame 1
f = 7;
stop();
_visible = false;
_name = "steps";
Symbol 1084 MovieClip Frame 2
stopAllSounds();
Symbol 1084 MovieClip Frame 4
stop();
Symbol 1086 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 1099 MovieClip Frame 1
stop();
_name = "wizzes";
_visible = false;
f = 13;
Symbol 1109 Button
on (release) {
_root.gotoAndStop("shop");
}
Symbol 1113 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 1122 MovieClip Frame 1
stop();
Symbol 1125 MovieClip Frame 1
stop();
Symbol 1138 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 1
onEnterFrame = function () {
kills = _root.stars + " stars";
};
Symbol 1142 MovieClip Frame 1
onEnterFrame = function () {
kills = _root.nades + " bombs";
};
Symbol 1145 Button
on (release) {
if (_root.coins > 99) {
_root.coins = _root.coins - 100;
_root.speedlvl = 2;
}
}
Symbol 1148 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.speedlvl = 3;
}
}
Symbol 1151 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.speedlvl = 4;
}
}
Symbol 1157 Button
on (release) {
if (_root.coins > 149) {
_root.coins = _root.coins - 150;
_root.attacklvl = 2;
}
}
Symbol 1160 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.attacklvl = 3;
}
}
Symbol 1163 Button
on (release) {
if (_root.coins > 349) {
_root.coins = _root.coins - 350;
_root.attacklvl = 4;
}
}
Symbol 1168 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.weaponlvl = 2;
}
}
Symbol 1170 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.weaponlvl = 3;
}
}
Symbol 1173 Button
on (release) {
if (_root.coins > 399) {
_root.coins = _root.coins - 400;
_root.weaponlvl = 4;
}
}
Symbol 1176 Button
on (release) {
if (_root.coins > 449) {
_root.coins = _root.coins - 450;
_root.weaponlvl = 5;
}
}
Symbol 1181 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.energylvl = 2;
}
}
Symbol 1183 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 350;
_root.energylvl = 3;
}
}
Symbol 1188 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.speciallvl = 2;
}
}
Symbol 1190 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.speciallvl = 3;
}
}
Symbol 1192 Button
on (release) {
if (_root.coins > 349) {
_root.coins = _root.coins - 350;
_root.speciallvl = 4;
}
}
Symbol 1198 Button
on (release) {
if (_root.coins > 24) {
_root.coins = _root.coins - 25;
_root.nades = _root.nades + 5;
}
}
Symbol 1199 Button
on (release) {
if (_root.coins > 24) {
_root.coins = _root.coins - 25;
_root.stars = _root.stars + 10;
}
}
Symbol 1202 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.healthlvl = 2;
}
}
Symbol 1204 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.healthlvl = 3;
}
}
Symbol 1206 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.healthlvl = 4;
}
}
Symbol 1225 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 1229 Button
on (release) {
_root.gotoAndStop("game");
}