Frame 1
_global.bridge = AS2_4399_API.Bridge.getInstance();
var _4399_function_ad_id = "92d6cef76cd06829e088932fe9fd819b";
gameplay = false;
cam.swapDepths(99999);
cam.removeMovieClip();
_x = 0;
_y = 0;
stop();
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);
};
Frame 7
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 6 MovieClip [hit] "act" in Frame 7
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 1262 MovieClip "cam" in Frame 7
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);
_x = (_x - 1);
}
while (cam.hitTest(_root.lvlB)) {
_x = (_x + 1);
_x = (_x + 1);
}
}
}
Instance of Symbol 1266 MovieClip in Frame 7
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 6 MovieClip [hit] "lvlB" in Frame 7
onClipEvent (enterFrame) {
while (_root.hero._x < _x) {
_root.hero._x++;
}
}
Instance of Symbol 6 MovieClip [hit] "lvlE" in Frame 7
onClipEvent (enterFrame) {
while (_root.hero._x > _x) {
_root.hero._x--;
}
}
Instance of Symbol 1284 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 1297 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(90);
}
Instance of Symbol 1311 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(60);
}
Instance of Symbol 1320 MovieClip "explosions" in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 1329 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(70);
}
Instance of Symbol 1349 MovieClip in Frame 7
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(40);
}
Frame 13
gameplay = false;
cam.swapDepths(99999);
cam.removeMovieClip();
_x = 0;
_y = 0;
coins = coins + 50;
stars = stars + 10;
nades = nades + 2;
Instance of Symbol 1373 MovieClip "ching" in Frame 19
onClipEvent (load) {
_root.ching = this;
}
Instance of Symbol 1396 MovieClip in Frame 19
onClipEvent (enterFrame) {
gotoAndStop(_root.speedlvl);
}
Instance of Symbol 1414 MovieClip in Frame 19
onClipEvent (enterFrame) {
gotoAndStop(_root.attacklvl);
}
Instance of Symbol 1435 MovieClip in Frame 19
onClipEvent (enterFrame) {
gotoAndStop(_root.weaponlvl);
}
Instance of Symbol 1442 MovieClip in Frame 19
onClipEvent (enterFrame) {
gotoAndStop(_root.energylvl);
}
Instance of Symbol 1452 MovieClip in Frame 19
onClipEvent (enterFrame) {
gotoAndStop(_root.speciallvl);
}
Instance of Symbol 1471 MovieClip in Frame 19
onClipEvent (enterFrame) {
gotoAndStop(_root.healthlvl);
}
Frame 25
gameplay = false;
cam.swapDepths(99999);
cam.removeMovieClip();
_x = 0;
_y = 0;
Symbol 6 MovieClip [hit] Frame 1
_visible = false;
Symbol 21 MovieClip Frame 1
_rotation = random(360);
lol = random(40) + 80;
_xscale = lol;
_yscale = lol;
Symbol 21 MovieClip Frame 15
_parent.removeMovieClip();
Symbol 22 MovieClip Frame 1
lol = random(40) + 80;
_xscale = lol;
_yscale = lol;
Symbol 22 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 23 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) || (_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);
_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 23 MovieClip [EnergyBall] Frame 5
gotoAndPlay (1);
Symbol 23 MovieClip [EnergyBall] Frame 6
onEnterFrame = null;
_root.energy = _root.energy + 2;
Symbol 33 MovieClip Frame 1
lol = random(40) + 80;
_xscale = lol;
_yscale = lol;
Symbol 33 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 34 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) || (_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);
_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 34 MovieClip [PointBall] Frame 4
gotoAndPlay (1);
Symbol 34 MovieClip [PointBall] Frame 5
onEnterFrame = null;
_root.coins++;
Symbol 37 MovieClip [star] Frame 1
function die() {
this.removeMovieClip();
}
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
power = 32;
speed = 25;
_x = (_x + ((speed * _xscale) / 100));
if (_root.ground.hitTest(_x, _y, true)) {
die();
}
if (!hit.hitTest(_root.screenhit)) {
die();
}
}
};
Symbol 42 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 65 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 6 MovieClip [hit] in Symbol 152 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 152 MovieClip Frame 19
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 152 MovieClip Frame 37
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 152 MovieClip Frame 45
_parent.gotoAndStop("idle");
Instance of Symbol 6 MovieClip [hit] in Symbol 215 MovieClip Frame 19
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 215 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 242 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 15);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 242 MovieClip Frame 19
stop();
Symbol 243 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 62 MovieClip in Symbol 243 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 6 MovieClip [hit] in Symbol 243 MovieClip [e8] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 1) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 243 MovieClip [e8] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 243 MovieClip [e8] Frame 1
/* no clip actions */
Instance of Symbol 91 MovieClip in Symbol 243 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 243 MovieClip [e8] Frame 17
_root.createPts(_x, _y, 40);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 290 MovieClip Frame 13
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(13);
}
}
}
Symbol 290 MovieClip Frame 24
_parent.gotoAndStop("idle");
Symbol 308 MovieClip Frame 19
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "bulletstraight");
Symbol 308 MovieClip Frame 34
_parent.gotoAndStop("idle");
Symbol 328 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 15);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 328 MovieClip Frame 21
stop();
Symbol 329 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 257 MovieClip in Symbol 329 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 6 MovieClip [hit] in Symbol 329 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 1) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 329 MovieClip [e7] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 275 MovieClip in Symbol 329 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 329 MovieClip [e7] Frame 17
_root.createPts(_x, _y, 35);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 329 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();
}
}
}
}
Symbol 333 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();
}
}
};
Symbol 338 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();
}
}
};
Instance of Symbol 6 MovieClip [hit] in Symbol 401 MovieClip Frame 12
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(17);
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 401 MovieClip Frame 29
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(17);
}
}
}
Symbol 401 MovieClip Frame 40
_parent.gotoAndStop("idle");
Instance of Symbol 400 MovieClip in Symbol 401 MovieClip Frame 40
onClipEvent (enterFrame) {
_parent._x = this._x;
}
Symbol 420 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 12);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 420 MovieClip Frame 21
stop();
Symbol 421 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 352 MovieClip in Symbol 421 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 6 MovieClip [hit] in Symbol 421 MovieClip [e6] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 370 MovieClip in Symbol 421 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 421 MovieClip [e6] Frame 13
_root.createPts(_x, _y, 30);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 421 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();
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 470 MovieClip Frame 17
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 470 MovieClip Frame 24
_parent.gotoAndStop("idle");
Symbol 490 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 8);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 490 MovieClip Frame 22
stop();
Symbol 491 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 435 MovieClip in Symbol 491 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 6 MovieClip [hit] in Symbol 491 MovieClip [e5] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(20) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 453 MovieClip in Symbol 491 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 491 MovieClip [e5] Frame 13
_root.createPts(_x, _y, 25);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 491 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 6 MovieClip [hit] in Symbol 542 MovieClip Frame 10
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 542 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 568 MovieClip Frame 14
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "boss1_bullet");
Symbol 568 MovieClip Frame 28
_parent.gotoAndStop("idle");
Symbol 587 MovieClip Frame 13
_root.createLife(_parent._x, _parent._y, 6);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 587 MovieClip Frame 22
stop();
Symbol 588 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 505 MovieClip in Symbol 588 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 6 MovieClip [hit] in Symbol 588 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 1) {
_parent.gotoAndStop("at2");
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 588 MovieClip [e4] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 523 MovieClip in Symbol 588 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 588 MovieClip [e4] Frame 17
_root.createPts(_x, _y, 30);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 588 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();
}
}
}
}
Symbol 638 MovieClip Frame 8
_root.enemyBeam(_parent._x + ((40 * _parent._xscale) / 100), _parent._y - 60, _parent._xscale, "enemystar2");
Symbol 638 MovieClip Frame 21
_parent.gotoAndStop("idle");
Symbol 657 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 657 MovieClip Frame 20
stop();
Symbol 658 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 602 MovieClip in Symbol 658 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 6 MovieClip [hit] in Symbol 658 MovieClip [e3] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(20) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 620 MovieClip in Symbol 658 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 658 MovieClip [e3] Frame 13
_root.createPts(_x, _y, 20);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 658 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 6 MovieClip [hit] in Symbol 738 MovieClip Frame 17
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(14);
}
}
}
Symbol 738 MovieClip Frame 27
_parent.gotoAndStop("idle");
Symbol 775 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 775 MovieClip Frame 20
stop();
Symbol 776 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 681 MovieClip in Symbol 776 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 6 MovieClip [hit] in Symbol 776 MovieClip [e2] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 716 MovieClip in Symbol 776 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 776 MovieClip [e2] Frame 13
_root.createPts(_x, _y, 15);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 776 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();
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 812 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(7);
}
}
}
Symbol 812 MovieClip Frame 22
_parent.gotoAndStop("idle");
Symbol 820 MovieClip Frame 10
_root.createLife(_parent._x, _parent._y, 5);
_root.createExp(_parent._x, _parent._y, 1);
Symbol 820 MovieClip Frame 20
stop();
Symbol 821 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);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb2)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb3)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb4)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb5)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb6)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb7)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb8)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (hit.hitTest(_root.lvlb9)) {
_x = (_x - 1);
_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);
_x = (_x + 1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x - 1);
_x = (_x - 1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x - 1);
_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);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - 40, _y - 40, true)) {
_x = (_x + 1);
_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);
_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 784 MovieClip in Symbol 821 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 6 MovieClip [hit] in Symbol 821 MovieClip [e1] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(5) == 1) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 793 MovieClip in Symbol 821 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 821 MovieClip [e1] Frame 14
_root.createPts(_x, _y, 12);
_root.kills++;
_root.act.kills++;
_root.act.enemiesOnScreen--;
Instance of Symbol 6 MovieClip [hit] in Symbol 821 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();
}
}
}
}
Symbol 833 MovieClip [runsmoke] Frame 1
stop();
Symbol 833 MovieClip [runsmoke] Frame 8
this.removeMovieClip();
Symbol 834 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 835 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 835 MovieClip Frame 3
if (_root.bloodpuddles == false) {
stop();
}
Symbol 835 MovieClip Frame 14
if (random(2) == 1) {
gotoAndPlay ("b2");
}
Symbol 835 MovieClip Frame 15
if (random(2) == 1) {
gotoAndPlay ("b6");
}
Symbol 835 MovieClip Frame 16
if (random(4) >= 2) {
gotoAndPlay ("b3");
}
Symbol 835 MovieClip Frame 17
if (random(2) == 1) {
gotoAndPlay ("b5");
}
Symbol 835 MovieClip Frame 18
if (random(4) >= 2) {
gotoAndPlay ("b4");
}
Symbol 835 MovieClip Frame 29
stop();
Symbol 835 MovieClip Frame 39
stop();
Symbol 835 MovieClip Frame 50
stop();
Symbol 835 MovieClip Frame 60
stop();
Symbol 835 MovieClip Frame 71
stop();
Symbol 835 MovieClip Frame 81
stop();
Symbol 842 MovieClip Frame 7
stop();
Symbol 849 MovieClip Frame 7
stop();
Symbol 856 MovieClip Frame 7
stop();
Symbol 857 MovieClip [bmc] Frame 1
_alpha = 50;
if (!_root.ground.hitTest(_x, _y + 8, true)) {
splat._visible = false;
}
gotoAndStop(random(3) + 1);
Symbol 861 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 866 MovieClip [boss2_bomb] Frame 1
speed = 10;
onEnterFrame = function () {
if (!_root.pau) {
if (!_root.gameplay) {
this.removeMovieClip();
}
_x = (_x + ((_xscale / 100) * speed));
if (!setv) {
timer = 0;
grav = 0;
setv = true;
}
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);
_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 880 MovieClip [ex2] Frame 7
_parent.removeMovieClip();
Symbol 881 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 880 MovieClip [ex2] in Symbol 881 MovieClip [explo] Frame 2
onClipEvent (load) {
_parent._rotation = random(360);
}
Symbol 882 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 885 MovieClip [asdf] Frame 1
_visible = false;
Symbol 895 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 899 MovieClip Frame 1
lol = random(40) + 80;
_xscale = lol;
_yscale = lol;
Symbol 899 MovieClip Frame 9
_parent.removeMovieClip();
Symbol 900 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) || (_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);
_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 900 MovieClip [LifeBall] Frame 7
gotoAndPlay (1);
Symbol 900 MovieClip [LifeBall] Frame 8
onEnterFrame = null;
_root.hero.life = _root.hero.life + 3;
Symbol 907 MovieClip Frame 1
gotoAndStop(random(3) + 1);
Symbol 908 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) || (_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);
_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 908 MovieClip [ExpBall] Frame 7
gotoAndPlay (1);
Symbol 908 MovieClip [ExpBall] Frame 8
onEnterFrame = null;
_root.experience++;
Symbol 910 MovieClip [enemystar2] 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 911 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 924 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 925 Button
on (release) {
gotoAndStop ("how");
}
Symbol 959 Button
on (release) {
gotoAndStop (1);
}
Symbol 961 MovieClip Frame 1
stop();
Symbol 965 MovieClip Frame 2
stopAllSounds();
Symbol 965 MovieClip Frame 4
stop();
Symbol 969 MovieClip Frame 1
_x = 0;
_y = 0;
swapDepths(99999);
gotoAndPlay (2);
Symbol 969 MovieClip Frame 11
this.removeMovieClip();
Symbol 1484 MovieClip [__Packages.AS2_4399_API.Bridge] Frame 0
class AS2_4399_API.Bridge
{
static var _canCreate;
var _4399_ad_id, b3c3d29f19dae588, _saveDataCallBackFunc, _getDataCallBackFunc, _loginCallBackFunc, _getIsLogCallBackFunc, _getListCallBackFunc;
function Bridge () {
if (!_canCreate) {
throw new Error("\u521B\u5EFA\u51FA\u9519,\u8BF7\u4F7F\u7528getInstance()\u65B9\u6CD5\u521B\u5EFA!!!!");
return;
}
_4399_ad_id = "92d6cef76cd06829e088932fe9fd819b";
_root.focusManager.enabled = false;
b3c3d29f19dae588 = true;
this[a5ce41e255a608030c([101, 98, 49, 98, 52, 54, 99, 56, 48, 49, 48, 97, 97, 53, 97, 100])] = _root[a5ce41e255a608030c([95, 117, 114, 108])];
_global[a5ce41e255a608030c([97, 57, 56, 100, 50, 102, 100, 57, 57, 99, 48, 50, 101, 56, 53, 54])] = a5ce41e255a608030c([115, 97, 118, 101, 80, 114, 111, 99, 101, 115, 115, 70, 117, 110, 99]);
this[a5ce41e255a608030c([102, 98, 100, 55, 100, 97, 55, 54, 57, 99, 57, 50, 98, 97, 49, 48])] = this[a5ce41e255a608030c([100, 54, 52, 50, 51, 55, 101, 102, 99, 49, 54, 98, 53, 48, 56, 55])];
this[a5ce41e255a608030c([100, 48, 102, 97, 98, 51, 55, 51, 50, 97, 53, 99, 98, 99, 100, 49])] = _global[a5ce41e255a608030c([78, 97, 78])];
_root[a5ce41e255a608030c([95, 108, 111, 99, 107, 114, 111, 111, 116])] = true;
movieClipTest();
System.security[a5ce41e255a608030c([97, 108, 108, 111, 119, 68, 111, 109, 97, 105, 110])]("*");
System.security[a5ce41e255a608030c([97, 108, 108, 111, 119, 73, 110, 115, 101, 99, 117, 114, 101, 68, 111, 109, 97, 105, 110])]("*");
this[a5ce41e255a608030c([97, 97, 51, 102, 102, 97, 102, 49, 52, 57, 98, 51, 53, 49, 102, 54])]();
}
static function getInstance() {
_canCreate = true;
if (_instance == null) {
_instance = new AS2_4399_API.Bridge();
}
_canCreate = false;
return(_instance);
}
function showGameList() {
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([115, 104, 111, 119, 71, 97, 109, 101, 76, 105, 115, 116]), param:null});
}
function showRefer(score) {
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([111, 112, 101, 110, 73, 110, 116, 101, 103, 114, 97, 108, 87, 105, 110]), param:[score]});
}
function showSort() {
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([111, 112, 101, 110, 83, 111, 114, 116, 87, 105, 110]), param:null});
}
function saveData(title, data, callBackContext, callBackFunc, ui, index) {
if ((ui == null) || (ui == undefined)) {
ui = true;
}
if ((isNaN(index) || (index == null)) || (index == undefined)) {
index = 0;
}
_saveDataCallBackFunc = AS2_4399_API.Delegate.create(callBackContext, callBackFunc);
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([115, 97, 118, 101, 68, 97, 116, 97]), param:[title, data, ui, index]});
}
function getData(callBackContext, callBackFunc, ui, index) {
if ((ui == null) || (ui == undefined)) {
ui = true;
}
if ((isNaN(index) || (index == null)) || (index == undefined)) {
index = 0;
}
_getDataCallBackFunc = AS2_4399_API.Delegate.create(callBackContext, callBackFunc);
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([103, 101, 116, 68, 97, 116, 97]), param:[ui, index]});
}
function openSaveUI(title, data, saveContext, saveFunc, getContext, getFunc) {
_getDataCallBackFunc = AS2_4399_API.Delegate.create(getContext, getFunc);
_saveDataCallBackFunc = AS2_4399_API.Delegate.create(saveContext, saveFunc);
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([103, 101, 116, 76, 105, 115, 116]), param:[title, data]});
}
function setLogInCallBack(callBackContext, callBackFunc) {
_loginCallBackFunc = AS2_4399_API.Delegate.create(callBackContext, callBackFunc);
}
function testCtrl() {
}
function showLogPanel() {
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([115, 104, 111, 119, 76, 111, 103, 80, 97, 110, 101, 108]), param:null});
}
function getIsLog(callBackContext, callBackFunc) {
_getIsLogCallBackFunc = AS2_4399_API.Delegate.create(callBackContext, callBackFunc);
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([105, 115, 76, 111, 103]), param:null});
}
function setMouseVisible(bol) {
this[a5ce41e255a608030c([98, 51, 99, 51, 100, 50, 57, 102, 49, 57, 100, 97, 101, 53, 56, 56])] = bol;
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([115, 101, 116, 77, 111, 117, 115, 101, 86, 105, 115, 105, 98, 108, 101]), param:bol});
}
function d64237efc16b5087(_this) {
if (this[a5ce41e255a608030c([101, 52, 100, 51, 99, 56, 100, 97, 101, 51, 48, 97, 102, 53, 53, 57])]) {
return(undefined);
}
if (_global[a5ce41e255a608030c([105, 115, 78, 97, 78])](this[a5ce41e255a608030c([100, 48, 102, 97, 98, 51, 55, 51, 50, 97, 53, 99, 98, 99, 100, 49])])) {
var num = int(Math.random() * (this[a5ce41e255a608030c([101, 98, 49, 98, 52, 54, 99, 56, 48, 49, 48, 97, 97, 53, 97, 100])].length - 1));
this[a5ce41e255a608030c([100, 48, 102, 97, 98, 51, 55, 51, 50, 97, 53, 99, 98, 99, 100, 49])] = _global[a5ce41e255a608030c([115, 101, 116, 73, 110, 116, 101, 114, 118, 97, 108])](this[a5ce41e255a608030c([101, 98, 54, 101, 49, 50, 102, 102, 54, 52, 53, 56, 51, 51, 99, 55])], 10000, this);
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([116, 101, 115, 116, 67, 116, 114, 108]), param:num});
}
}
function fed9cd2755d7cec4(_this) {
if (_this[a5ce41e255a608030c([97, 49, 50, 98, 49, 51, 51, 98, 56, 102, 98, 101, 49, 55, 53, 100])]) {
return(undefined);
}
_this[a5ce41e255a608030c([102, 98, 100, 55, 100, 97, 55, 54, 57, 99, 57, 50, 98, 97, 49, 48])](_this);
}
function testReturn(ab608cc046f2a6e6) {
}
function f8f09b15319aa987() {
}
function eb6e12ff645833c7(_this) {
this[a5ce41e255a608030c([101, 52, 100, 51, 99, 56, 100, 97, 101, 51, 48, 97, 102, 53, 53, 57])] = true;
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](_this[a5ce41e255a608030c([100, 48, 102, 97, 98, 51, 55, 51, 50, 97, 53, 99, 98, 99, 100, 49])]);
this[a5ce41e255a608030c([100, 48, 102, 97, 98, 51, 55, 51, 50, 97, 53, 99, 98, 99, 100, 49])] = _global[a5ce41e255a608030c([78, 97, 78])];
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](_this.e6da1a6af0171de);
_this.e6da1a6af0171de = _global[a5ce41e255a608030c([78, 97, 78])];
_this[a5ce41e255a608030c([102, 98, 100, 55, 100, 97, 55, 54, 57, 99, 57, 50, 98, 97, 49, 48])] = _this[a5ce41e255a608030c([102, 56, 102, 48, 57, 98, 49, 53, 51, 49, 57, 97, 97, 57, 56, 55])];
_this[a5ce41e255a608030c([100, 98, 102, 53, 48, 51, 55, 51, 57, 53, 98, 99, 54, 48, 54, 101])](_this);
}
function dbf5037395bc606e(_this) {
if (!_global[a5ce41e255a608030c([105, 115, 78, 97, 78])](_this[a5ce41e255a608030c([99, 52, 99, 55, 97, 57, 54, 100, 99, 102, 98, 56, 102, 101, 99, 97])])) {
return(undefined);
}
if (!_global[a5ce41e255a608030c([105, 115, 78, 97, 78])](_this[a5ce41e255a608030c([98, 49, 56, 55, 99, 48, 50, 100, 98, 53, 52, 52, 98, 54, 52, 100])])) {
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](_this[a5ce41e255a608030c([98, 49, 56, 55, 99, 48, 50, 100, 98, 53, 52, 52, 98, 54, 52, 100])]);
_this[a5ce41e255a608030c([98, 49, 56, 55, 99, 48, 50, 100, 98, 53, 52, 52, 98, 54, 52, 100])] = _global[a5ce41e255a608030c([78, 97, 78])];
}
if (_global[a5ce41e255a608030c([105, 115, 78, 97, 78])](_this[a5ce41e255a608030c([99, 52, 99, 55, 97, 57, 54, 100, 99, 102, 98, 56, 102, 101, 99, 97])])) {
_global[a5ce41e255a608030c([115, 100, 97, 115, 100, 102, 97])][a5ce41e255a608030c([95, 118, 105, 115, 105, 98, 108, 101])] = false;
_this[a5ce41e255a608030c([99, 52, 99, 55, 97, 57, 54, 100, 99, 102, 98, 56, 102, 101, 99, 97])] = _global[a5ce41e255a608030c([115, 101, 116, 73, 110, 116, 101, 114, 118, 97, 108])](_this[a5ce41e255a608030c([101, 50, 50, 99, 48, 51, 101, 48, 48, 54, 54, 99, 50, 101, 55, 50])], 120000, _this);
}
}
function e22c03e0066c2e72(_this) {
if (!_global[a5ce41e255a608030c([105, 115, 78, 97, 78])](_this[a5ce41e255a608030c([99, 52, 99, 55, 97, 57, 54, 100, 99, 102, 98, 56, 102, 101, 99, 97])])) {
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](_this[a5ce41e255a608030c([99, 52, 99, 55, 97, 57, 54, 100, 99, 102, 98, 56, 102, 101, 99, 97])]);
_this[a5ce41e255a608030c([99, 52, 99, 55, 97, 57, 54, 100, 99, 102, 98, 56, 102, 101, 99, 97])] = _global[a5ce41e255a608030c([78, 97, 78])];
}
_this[a5ce41e255a608030c([99, 97, 101, 52, 54, 50, 99, 48, 101, 98, 99, 98, 55, 49, 101, 101])] = false;
_this[a5ce41e255a608030c([98, 51, 97, 50, 55, 54, 49, 100, 53, 97, 52, 102, 55, 97, 100, 98])](_this);
_this[a5ce41e255a608030c([98, 49, 56, 55, 99, 48, 50, 100, 98, 53, 52, 52, 98, 54, 52, 100])] = _global[a5ce41e255a608030c([115, 101, 116, 73, 110, 116, 101, 114, 118, 97, 108])](_this[a5ce41e255a608030c([100, 98, 102, 53, 48, 51, 55, 51, 57, 53, 98, 99, 54, 48, 54, 101])], 10000, _this);
}
function movieClipTest() {
if ((_level0 === undefined) && (MovieClip.prototype.oldHitTest === undefined)) {
var realRootForReal = _root;
MovieClip.prototype.oldHitTest = MovieClip.prototype.hitTest;
MovieClip.prototype.hitTest = function (x, y, shapeflag) {
if (arguments.length === 1) {
return(this.oldHitTest(x));
}
var obj = {x:x, y:y};
realRootForReal.localToGlobal(obj);
return(this.oldHitTest(obj.x, obj.y, shapeflag));
};
}
}
function aa3ffaf149b351f6() {
this[a5ce41e255a608030c([99, 51, 55, 56, 54, 52, 102, 102, 52, 52, 55, 57, 101, 51, 52, 98])] = true;
this[a5ce41e255a608030c([99, 101, 52, 99, 57, 102, 52, 50, 101, 50, 102, 102, 97, 97, 54, 51])]();
}
function ce4c9f42e2ffaa63() {
if (!_global[a5ce41e255a608030c([105, 115, 78, 97, 78])](this[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])])) {
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](this[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])]);
}
this[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])] = _global[a5ce41e255a608030c([115, 101, 116, 73, 110, 116, 101, 114, 118, 97, 108])](this[a5ce41e255a608030c([102, 48, 57, 97, 102, 50, 97, 52, 101, 102, 51, 53, 54, 53, 54, 56])], 20, this);
}
function f09af2a4ef356568(d75659655174056e, func) {
if (d75659655174056e[a5ce41e255a608030c([98, 102, 99, 57, 101, 102, 98, 99, 51, 57, 55, 57, 48, 53, 54, 56])] >= d75659655174056e.ea9e2aece3ec241a) {
d75659655174056e[a5ce41e255a608030c([99, 51, 55, 56, 54, 52, 102, 102, 52, 52, 55, 57, 101, 51, 52, 98])] = false;
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](d75659655174056e[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])]);
d75659655174056e[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])] = _global[a5ce41e255a608030c([78, 97, 78])];
}
d75659655174056e[a5ce41e255a608030c([98, 102, 99, 57, 101, 102, 98, 99, 51, 57, 55, 57, 48, 53, 54, 56])]++;
if (_root[a5ce41e255a608030c([111, 112, 97, 113, 117, 101, 66, 97, 99, 107, 103, 114, 111, 117, 110, 100])] != undefined) {
d75659655174056e[a5ce41e255a608030c([101, 100, 99, 97, 102, 49, 51, 100, 98, 97, 51, 98, 50, 102, 50, 99])](_root[a5ce41e255a608030c([111, 112, 97, 113, 117, 101, 66, 97, 99, 107, 103, 114, 111, 117, 110, 100])]);
_root[a5ce41e255a608030c([111, 112, 97, 113, 117, 101, 66, 97, 99, 107, 103, 114, 111, 117, 110, 100])] = undefined;
_global[a5ce41e255a608030c([99, 108, 101, 97, 114, 73, 110, 116, 101, 114, 118, 97, 108])](d75659655174056e[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])]);
d75659655174056e[a5ce41e255a608030c([101, 54, 51, 99, 50, 57, 48, 52, 53, 99, 56, 97, 50, 55, 53, 102])] = _global[a5ce41e255a608030c([78, 97, 78])];
d75659655174056e[a5ce41e255a608030c([101, 49, 48, 53, 53, 54, 49, 50, 53, 98, 57, 57, 57, 101, 52, 52])] = true;
d75659655174056e[a5ce41e255a608030c([99, 51, 55, 56, 54, 52, 102, 102, 52, 52, 55, 57, 101, 51, 52, 98])] = false;
}
}
function edcaf13dba3b2f2c(a89bc777c9e57736) {
this[a5ce41e255a608030c([97, 102, 52, 48, 53, 49, 102, 102, 55, 50, 49, 57, 97, 48, 56, 56])] = a5ce41e255a608030c([65, 83, 51, 95, 52, 51, 57, 57]) + a89bc777c9e57736;
this[a5ce41e255a608030c([102, 57, 54, 53, 49, 51, 49, 52, 57, 48, 100, 51, 52, 98, 51, 101])] = a5ce41e255a608030c([65, 83, 50, 95, 52, 51, 57, 57]) + a89bc777c9e57736;
if (this[a5ce41e255a608030c([97, 48, 56, 49, 102, 49, 48, 55, 56, 99, 51, 52, 56, 53, 55, 98])] == null) {
this[a5ce41e255a608030c([97, 48, 56, 49, 102, 49, 48, 55, 56, 99, 51, 52, 56, 53, 55, 98])] = new LocalConnection();
}
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([115, 101, 116, 77, 111, 117, 115, 101, 86, 105, 115, 105, 98, 108, 101]), param:b3c3d29f19dae588});
this[a5ce41e255a608030c([97, 48, 56, 49, 102, 49, 48, 55, 56, 99, 51, 52, 56, 53, 55, 98])][a5ce41e255a608030c([99, 111, 110, 110, 101, 99, 116])](this[a5ce41e255a608030c([102, 57, 54, 53, 49, 51, 49, 52, 57, 48, 100, 51, 52, 98, 51, 101])]);
this[a5ce41e255a608030c([97, 48, 56, 49, 102, 49, 48, 55, 56, 99, 51, 52, 56, 53, 55, 98])][a5ce41e255a608030c([114, 101, 99, 101, 105, 118, 101, 72, 97, 110, 100, 108, 101, 114])] = AS2_4399_API.Delegate.create(this, this[a5ce41e255a608030c([100, 56, 99, 49, 97, 98, 97, 53, 99, 51, 56, 100, 48, 54, 50, 51])]);
this[a5ce41e255a608030c([100, 51, 53, 49, 54, 100, 57, 99, 56, 55, 49, 50, 52, 98, 100, 52])]({func:a5ce41e255a608030c([99, 111, 110, 110, 101, 99, 116]), param:null});
}
function d8c1aba5c38d0623(obj) {
if ((obj != null) && (obj.func != null)) {
if (obj.func == _global[a5ce41e255a608030c([97, 57, 56, 100, 50, 102, 100, 57, 57, 99, 48, 50, 101, 56, 53, 54])]) {
this[a5ce41e255a608030c([115, 97, 118, 101, 80, 114, 111, 99, 101, 115, 115, 70, 117, 110, 99])](obj.param[0], obj.param[1]);
return(undefined);
}
this[obj.func](obj.param);
}
}
function saveProcessFunc(type, ret) {
if (type == "isLog") {
_getIsLogCallBackFunc(ret);
} else if (type == "logreturn") {
_loginCallBackFunc(ret);
} else if (type == "getuserdata") {
_getDataCallBackFunc(ret);
} else if (type == "saveuserdata") {
_saveDataCallBackFunc(ret);
} else if (type == "getuserdatalist") {
_getListCallBackFunc(ret);
}
}
function d3516d9c87124bd4(obj) {
if (this[a5ce41e255a608030c([97, 48, 56, 49, 102, 49, 48, 55, 56, 99, 51, 52, 56, 53, 55, 98])] != null) {
this[a5ce41e255a608030c([97, 48, 56, 49, 102, 49, 48, 55, 56, 99, 51, 52, 56, 53, 55, 98])].send(this[a5ce41e255a608030c([97, 102, 52, 48, 53, 49, 102, 102, 55, 50, 49, 57, 97, 48, 56, 56])], a5ce41e255a608030c([114, 101, 99, 101, 105, 118, 101, 72, 97, 110, 100, 108, 101, 114]), obj);
}
}
function b3a2761d5a4f7adb(d75659655174056e) {
}
static function a5ce41e255a608030c(ab608cc046f2a6e6) {
var aff90c9978347f;
aff90c9978347f = "";
var i = 0;
while (i < ab608cc046f2a6e6.length) {
aff90c9978347f = aff90c9978347f + String.fromCharCode(ab608cc046f2a6e6[i]);
i++;
}
return(aff90c9978347f);
}
function setFocusManager() {
_root.focusManager.enabled = false;
}
var bfc9efbc39790568 = 0;
var ea9e2aece3ec241a = 1000;
var bf443b797ef8a66b = 20;
static var _instance = null;
}
Symbol 1485 MovieClip [__Packages.AS2_4399_API.Delegate] Frame 0
class AS2_4399_API.Delegate extends Object
{
var func;
function Delegate (f) {
super();
func = f;
}
static function create(obj, func) {
var f = function () {
var target = arguments.callee.target;
var func = arguments.callee.func;
return(func.apply(target, arguments));
};
f.target = obj;
f.func = func;
return(f);
}
function createDelegate(obj) {
return(create(obj, func));
}
}
Symbol 974 MovieClip Frame 1
_visible = false;
Symbol 975 MovieClip Frame 2
_x = 0;
_y = 0;
d = 0;
_name = "blood";
stop();
Symbol 981 MovieClip Frame 1
_visible = false;
Instance of Symbol 6 MovieClip [hit] in Symbol 981 MovieClip Frame 2
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65) || (Key.isDown(68))) {
if (_root.hero.justwalked) {
_root.hero.gotoAndStop("run");
}
}
}
}
Symbol 981 MovieClip Frame 9
stop();
_parent.justwalked = false;
Symbol 984 MovieClip Frame 1
_visible = false;
Symbol 1025 MovieClip Frame 1
gotoAndStop(_root.weapon + 1);
onEnterFrame = function () {
gotoAndStop(_root.weapon + 1);
};
Symbol 1042 MovieClip Frame 7
_root.sounds("step");
Symbol 1043 MovieClip Frame 1
_visible = false;
Symbol 1043 MovieClip Frame 8
_parent.justwalked = false;
stop();
Symbol 1056 MovieClip Frame 6
_root.sounds("step");
Symbol 1056 MovieClip Frame 7
_root.herosmokerun();
Symbol 1083 MovieClip Frame 1
k = true;
Symbol 1083 MovieClip Frame 5
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1083 MovieClip Frame 5
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1083 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(74)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 1083 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 1083 MovieClip Frame 12
k = true;
Symbol 1083 MovieClip Frame 16
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1083 MovieClip Frame 16
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1083 MovieClip Frame 20
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(74)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 1083 MovieClip Frame 24
_parent.gotoAndStop("idle");
Symbol 1083 MovieClip Frame 25
k = true;
Symbol 1083 MovieClip Frame 29
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1083 MovieClip Frame 29
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1083 MovieClip Frame 32
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(74)) {
if (!_parent.k) {
_parent.gotoAndPlay("p1");
}
}
}
}
Symbol 1083 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 1084 MovieClip Frame 1
k = true;
Symbol 1084 MovieClip Frame 5
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 5
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (12 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 1084 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 1084 MovieClip Frame 15
k = true;
Symbol 1084 MovieClip Frame 21
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 21
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (12 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 24
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 1084 MovieClip Frame 28
_parent.gotoAndStop("idle");
Symbol 1084 MovieClip Frame 29
k = true;
Symbol 1084 MovieClip Frame 35
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 35
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (14 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 38
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p4");
}
}
}
}
Symbol 1084 MovieClip Frame 43
_parent.gotoAndStop("idle");
Symbol 1084 MovieClip Frame 44
k = true;
Symbol 1084 MovieClip Frame 50
_root.hero.xplus = _root.hero.xplus + 10;
_root.herosmokerun();
_root.sounds("wizz");
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 50
onClipEvent (load) {
_xscale = (_xscale + (_root.weapon * 7));
_root.herohit = this;
power = (16 + _root.attackpow) + (_root.weapon * 2);
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1084 MovieClip Frame 54
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p1");
}
}
}
}
Symbol 1084 MovieClip Frame 55
_parent.gotoAndStop("idle");
Symbol 1093 MovieClip Frame 5
_parent.gotoAndStop("idle");
Instance of Symbol 6 MovieClip [hit] in Symbol 1112 MovieClip Frame 14
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Symbol 1112 MovieClip Frame 28
_parent.gotoAndStop("idle");
Instance of Symbol 6 MovieClip [hit] in Symbol 1123 MovieClip Frame 14
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1123 MovieClip Frame 20
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.attackpow;
}
Symbol 1123 MovieClip Frame 29
_parent.gotoAndStop("idle");
Symbol 1131 MovieClip Frame 2
_root.d++;
_root.attachMovie("fb", "lol" + _root.d, _root.d);
_root.energy = _root.energy - 5;
_root.sounds("explosion");
Symbol 1131 MovieClip Frame 8
if (!Key.isDown(83)) {
_parent.gotoAndStop("idle");
} else {
gotoAndPlay (1);
}
Symbol 1143 MovieClip Frame 7
_root.ninjaStar(_root.hero._x + ((_root.hero._xscale / 100) * 40), _root.hero._y - 60);
Symbol 1143 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 1145 MovieClip Frame 10
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 1145 MovieClip Frame 16
_parent.gotoAndStop("idle");
Symbol 1185 MovieClip Frame 22
_root.shakey = _root.shakey + (30 + _root.specialLevel);
_root.explode(_root.hero._x, _root.hero._y, 1);
Instance of Symbol 6 MovieClip [hit] in Symbol 1185 MovieClip Frame 22
onClipEvent (load) {
_root.herohit = this;
power = 40 + _root.specialLevel;
}
Symbol 1185 MovieClip Frame 44
_parent.gotoAndStop("idle");
Symbol 1195 MovieClip Frame 15
stop();
_root.cam.die.play();
Symbol 1196 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);
_y = (_y - 1);
}
while (_root.ground.hitTest(_x + wid, _y - (high / 3), true)) {
_x = (_x - 1);
_x = (_x - 1);
}
while (_root.ground.hitTest(_x - wid, _y - (high / 3), true)) {
_x = (_x + 1);
_x = (_x + 1);
}
if (_root.ground.hitTest(_x, _y - (high / 2), true)) {
jump = false;
grav = 10;
_y = (_y + 1);
_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(65)) {
_xscale = -100;
gotoAndStop ("run");
}
if (Key.isDown(68)) {
_xscale = 100;
gotoAndStop ("run");
}
Instance of Symbol 980 MovieClip in Symbol 1196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (Key.isDown(75)) {
_parent.shoot();
}
if (Key.isDown(74)) {
_parent.attack();
}
if (Key.isDown(65) && (!_parent.justwalked)) {
_parent._xscale = -100;
_root.herosmokerun();
_parent.gotoAndStop("walk");
}
if (Key.isDown(68) && (!_parent.justwalked)) {
_parent._xscale = 100;
_root.herosmokerun();
_parent.gotoAndStop("walk");
}
if (Key.isDown(87)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1196 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(85) && (_root.stars > 0)) {
_parent.gotoAndStop("star");
}
if (Key.isDown(73) && (_root.nades > 0)) {
_parent.gotoAndStop("bomb");
}
if (Key.isDown(83) && (_root.energy > 0)) {
_parent.gotoAndStop("block");
}
}
}
Symbol 1196 MovieClip Frame 6
justwalked = true;
runningJump = false;
running = false;
Instance of Symbol 1042 MovieClip in Symbol 1196 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (Key.isDown(75)) {
_parent.shoot();
}
if (Key.isDown(87)) {
} else if (Key.isDown(83)) {
} else if (Key.isDown(65)) {
} else if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("idle");
}
if (Key.isDown(65)) {
_parent._x = _parent._x - (_parent.speed / 2);
_parent._xscale = -100;
}
if (Key.isDown(68)) {
_parent._x = _parent._x + (_parent.speed / 2);
_parent._xscale = 100;
}
if (_parent.grav > 10) {
_parent.jj = true;
_parent.gotoAndStop("jump");
}
if (Key.isDown(74)) {
_parent.attack();
}
if (Key.isDown(87)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
}
}
Symbol 1196 MovieClip Frame 11
runningJump = true;
running = true;
justwalked = false;
Instance of Symbol 1056 MovieClip in Symbol 1196 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (Key.isDown(75)) {
_parent.shoot();
}
if (Key.isDown(87)) {
} else if (Key.isDown(83)) {
} else if (Key.isDown(65)) {
} else if (Key.isDown(68)) {
} else {
_parent.gotoAndStop("idle");
}
if (Key.isDown(65)) {
_parent._x = _parent._x - _parent.speed;
_parent._xscale = -100;
}
if (Key.isDown(68)) {
_parent._x = _parent._x + _parent.speed;
_parent._xscale = 100;
}
if (Key.isDown(74)) {
_parent.attack();
}
if (_parent.grav > 10) {
_parent.jj = true;
_parent.gotoAndStop("jump");
}
if (Key.isDown(87) && (_parent.grav < 5)) {
_parent.jump = true;
_parent.gotoAndStop("jump");
}
}
}
Instance of Symbol 1083 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 1084 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Symbol 1196 MovieClip Frame 25
if (!jj) {
jump = true;
_root.sounds("wizz");
_y = (_y - 20);
grav = 1;
_root.landsmoke(true);
}
ukey = true;
Instance of Symbol 1089 MovieClip in Symbol 1196 MovieClip Frame 25
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_root.power == "hermes") {
if (Key.isDown(87) && (!_parent.ukey)) {
_parent.jump = false;
_parent.grav = 3;
_parent.gotoAndStop("dubjump");
}
if (!Key.isDown(87)) {
_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(65)) {
_parent._xscale = -100;
_parent._x = _parent._x - (_parent.speed / 3);
}
if (Key.isDown(68)) {
_parent._xscale = 100;
_parent._x = _parent._x + (_parent.speed / 3);
}
}
}
Symbol 1196 MovieClip Frame 30
justwalked = false;
_root.landsmoke();
_root.shakey = _root.shakey + 8;
Instance of Symbol 1093 MovieClip in Symbol 1196 MovieClip Frame 30
onClipEvent (enterFrame) {
if (!_root.pau) {
play();
_parent._x = _parent._x + ((_parent._xscale / 100) * poospeed);
poospeed--;
} else {
stop();
}
}
onClipEvent (load) {
poospeed = 5;
}
Symbol 1196 MovieClip Frame 35
_root.energy = _root.energy - 15;
Instance of Symbol 1112 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 6 MovieClip [hit] in Symbol 1196 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.energy < 5) {
_parent.gotoAndStop("idle");
}
}
Symbol 1196 MovieClip Frame 42
_root.energy = _root.energy - 30;
Instance of Symbol 1123 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 1131 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 1143 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Instance of Symbol 1145 MovieClip in Symbol 1196 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(74)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Symbol 1196 MovieClip Frame 66
blocking = true;
_root.energy--;
Instance of Symbol 1149 MovieClip in Symbol 1196 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(83)) {
_parent.gotoAndStop("idle");
}
if (!_root.pau) {
t++;
if (t > 10) {
_root.energy--;
t = 0;
}
if (_root.energy <= 1) {
_parent.gotoAndStop("idle");
}
if (Key.isDown(75)) {
if (Key.isDown(74)) {
_parent.special();
}
}
if (_currentframe < 55) {
if (Key.isDown(65)) {
_parent._xscale = -100;
} else if (Key.isDown(68)) {
_parent._xscale = 100;
}
}
}
}
Symbol 1200 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 1200 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1218 MovieClip Frame 1
onEnterFrame = function () {
stars = "x" + _root.stars;
bombs = "x" + _root.nades;
energy = _root.energy + "/200";
};
Instance of Symbol 1206 MovieClip in Symbol 1218 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.hero.life / _root.maxLife) * 100);
}
Instance of Symbol 1217 MovieClip in Symbol 1218 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.energy > 49) {
_visible = true;
} else {
_visible = false;
}
}
Symbol 1223 MovieClip Frame 1
wavetext = ("\u7B2C " + _root.wave) + " \u5173";
Symbol 1225 MovieClip Frame 43
stop();
Symbol 1227 MovieClip Frame 1
onEnterFrame = function () {
kills = ("\u6253\u8D25\uFF1A" + _root.kills) + "\u4EBA";
};
Symbol 1230 MovieClip Frame 1
onEnterFrame = function () {
kills = "\u91D1\u5E01\uFF1A" + _root.coins;
};
Symbol 1247 MovieClip Frame 1
stop();
Symbol 1247 MovieClip Frame 85
stop();
_root.gotoAndStop("win");
Symbol 1249 MovieClip Frame 1
stop();
Symbol 1249 MovieClip Frame 30
_root.gotoAndStop("die");
Symbol 1256 Button
on (release) {
_root.gameplay = false;
_root.gotoAndStop("menu");
}
Symbol 1261 Button
on (release) {
play();
}
Symbol 1262 MovieClip Frame 1
_root.pau = false;
stop();
Instance of Symbol 6 MovieClip [hit] in Symbol 1262 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
} else {
key = false;
}
if (Key.isDown(80)) {
if (!key) {
_parent.play();
key = true;
}
}
}
Symbol 1262 MovieClip Frame 2
_root.pau = true;
_root.shakex = 0;
_root.shakey = 0;
stop();
Symbol 1271 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 1284 MovieClip Frame 1
stop();
_visible = false;
_name = "grunts";
f = 13;
Symbol 1297 MovieClip Frame 1
stop();
_name = "wacks";
_visible = false;
f = 13;
Symbol 1311 MovieClip Frame 1
stop();
_name = "gunshots";
_visible = false;
f = 13;
Symbol 1320 MovieClip Frame 1
stop();
_name = "explosions";
_visible = false;
f = 7;
Symbol 1329 MovieClip Frame 1
f = 7;
stop();
_visible = false;
_name = "steps";
Symbol 1333 MovieClip Frame 2
stopAllSounds();
Symbol 1333 MovieClip Frame 4
stop();
Symbol 1336 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 1349 MovieClip Frame 1
stop();
_name = "wizzes";
_visible = false;
f = 13;
Symbol 1366 Button
on (release) {
_root.gotoAndStop("shop");
}
Symbol 1368 Button
on (release) {
_root.gotoAndStop("game");
}
Symbol 1373 MovieClip Frame 1
stop();
Symbol 1376 MovieClip Frame 1
stop();
Symbol 1380 MovieClip Frame 1
onEnterFrame = function () {
kills = _root.stars + "\u4E2A\u77F3\u5934";
};
Symbol 1383 MovieClip Frame 1
onEnterFrame = function () {
kills = _root.nades + "\u4E2A\u70B8\u5F39";
};
Symbol 1390 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.speedlvl = 3;
}
}
Symbol 1395 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.speedlvl = 4;
}
}
Symbol 1402 Button
on (release) {
if (_root.coins > 149) {
_root.coins = _root.coins - 150;
_root.attacklvl = 2;
_root.ching.gotoAndPlay(2);
}
}
Symbol 1407 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.attacklvl = 3;
}
}
Symbol 1410 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.attacklvl = 4;
}
}
Symbol 1418 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.weaponlvl = 2;
}
}
Symbol 1422 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.weaponlvl = 3;
}
}
Symbol 1427 Button
on (release) {
if (_root.coins > 399) {
_root.coins = _root.coins - 400;
_root.weaponlvl = 4;
}
}
Symbol 1432 Button
on (release) {
if (_root.coins > 449) {
_root.coins = _root.coins - 450;
_root.weaponlvl = 5;
}
}
Symbol 1439 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.energylvl = 2;
}
}
Symbol 1446 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.speciallvl = 2;
}
}
Symbol 1448 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.speciallvl = 3;
}
}
Symbol 1450 Button
on (release) {
if (_root.coins > 349) {
_root.coins = _root.coins - 350;
_root.speciallvl = 4;
}
}
Symbol 1460 Button
on (release) {
if (_root.coins > 64) {
_root.coins = _root.coins - 65;
_root.nades = _root.nades + 5;
}
}
Symbol 1461 Button
on (release) {
if (_root.coins > 64) {
_root.coins = _root.coins - 65;
_root.stars = _root.stars + 10;
}
}
Symbol 1465 Button
on (release) {
if (_root.coins > 199) {
_root.coins = _root.coins - 200;
_root.healthlvl = 2;
}
}
Symbol 1467 Button
on (release) {
if (_root.coins > 249) {
_root.coins = _root.coins - 250;
_root.healthlvl = 3;
}
}
Symbol 1469 Button
on (release) {
if (_root.coins > 299) {
_root.coins = _root.coins - 300;
_root.healthlvl = 4;
}
}
Symbol 1474 MovieClip Frame 1
stopAllSounds();
Symbol 1474 MovieClip Frame 4
stop();
Symbol 1480 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 1483 Button
on (release) {
_root.gotoAndStop("game");
}