Frame 1
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 zombat() {
d++;
_root.attachMovie("zombie", "zb" + d, d);
_root["zb" + d]._x = zombies._x + athere._x;
_root["zb" + d]._y = zombies._y + athere._y;
}
function blobShot(xx, yy, sca) {
d++;
attachMovie("blob_bubble", "b2l" + d, d);
this["b2l" + d]._x = xx;
this["b2l" + d]._y = yy;
this["b2l" + d]._xscale = sca;
}
function msg(mess) {
messag = mess;
cam.mess.play();
}
function makeHealth(xx, yy, sca) {
d++;
attachMovie("health", "h" + d, d);
this["h" + d]._x = xx;
}
function gren(xx, yy, sca) {
if (granades > 0) {
d++;
attachMovie("gren", "c" + d, d);
this["c" + d]._x = hero._x;
this["c" + d]._y = hero._y;
this["c" + d]._xscale = hero._xscale;
}
}
function cannonshot(xx, yy, sca) {
if (!_root.pau) {
d++;
attachMovie("cannonball", "cb" + d, d);
this["cb" + d]._x = xx + ((sca / 100) * 70);
this["cb" + d]._y = yy;
this["cb" + d]._xscale = sca;
}
}
function win(curlvl) {
gotoAndStop ("win");
gaming = false;
_x = 0;
_y = 0;
cam.removeMovieClip();
tttext = ("Congrats! You beat level " + curlvl) + "!";
if (curlvl == 1) {
if ((!lvl2_un) == true) {
tttext = tttext + newline;
tttext = tttext + "And you unlocked level 2!";
}
}
if (curlvl == 2) {
if ((!lvl3_un) == true) {
tttext = tttext + newline;
tttext = tttext + "And you unlocked level 3!";
}
}
if (curlvl == 3) {
if ((!lvl4_un) == true) {
tttext = tttext + newline;
tttext = tttext + "And you unlocked level 4!";
}
}
if (curlvl == 4) {
if ((!lvl5_un) == true) {
tttext = tttext + newline;
tttext = tttext + "And you unlocked level 5!";
}
}
if (curlvl == 5) {
if ((!arc_un) == true) {
tttext = tttext + "\rCongrats on beating adventure mode!\r";
tttext = tttext + "And you unlocked Shawman Standoff!";
}
}
if (curlvl == 1) {
lvl2_un = true;
}
if (curlvl == 2) {
lvl3_un = true;
}
if (curlvl == 3) {
lvl4_un = true;
}
if (curlvl == 4) {
lvl5_un = true;
}
if (curlvl == 5) {
arc_un = true;
}
}
function die() {
gotoAndStop ("die");
if ((!arcade) && (!arcade2)) {
tttext = ("Ouch! You died on level " + curlvl) + "!";
}
gaming = false;
_x = 0;
_y = 0;
cam.removeMovieClip();
if (arcade) {
tttext = "You died! Oh man!";
}
if (arcade2) {
tttext = "You died! Oh man! Those shawmen can really hurt.";
}
}
function octoShot(xx, yy, sca) {
d++;
attachMovie("octo_shot", "o2l" + d, d);
this["o2l" + d]._x = xx;
this["o2l" + d]._y = yy;
this["o2l" + d]._xscale = sca;
}
function eshoot(xx, yy, sca) {
d++;
attachMovie("enemy_bullet", "b2l" + d, d);
this["b2l" + d]._x = xx;
this["b2l" + d]._y = yy;
this["b2l" + d]._xscale = sca;
}
function hbul(xx, yy, sca) {
d++;
attachMovie("Hero_bulllet", "b2l" + d, d);
this["b2l" + d]._x = xx;
this["b2l" + d]._y = yy;
this["b2l" + d]._xscale = sca;
}
function boss1Shot(xx, yy, sca) {
d++;
attachMovie("boss1_shot", "b2l" + d, d);
this["b2l" + d]._x = xx;
this["b2l" + d]._y = yy;
this["b2l" + d]._xscale = sca;
}
function zombieShot(xx, yy, sca) {
d++;
attachMovie("zombie_bullet", "z2l" + d, d);
this["z2l" + d]._x = xx;
this["z2l" + d]._y = yy;
this["z2l" + d]._xscale = sca;
}
function explode(xx, yy, exploder) {
d++;
attachMovie("explo", "ex" + d, d);
this["ex" + d]._x = xx;
this["ex" + d]._y = yy;
_root.shakex = _root.shakex + (random(20) - 10);
_root.shakey = _root.shakey + (random(10) - 5);
}
weapon = 3;
shakeon = true;
shakeintense = 1.4;
aimx = 0;
effects_on = true;
aimy = 0;
b = 0;
d = 0;
shakeon = true;
shakeintense = 1.4;
effects_on = true;
_quality = "medium";
gameVolume = 100;
lvl1_un = true;
lvl2_un = false;
lvl3_un = false;
lvl4_un = false;
lvl5_un = false;
arc_un = false;
sponsor = "http://www.slumgames.com";
function __com_mochibot__(swfid, mc, lv, trk) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
var pv;
mb = "__mochibot__";
mbc = "mochibot.com";
g = (_global ? (_global) : (_level0._root));
if (g[mb + swfid]) {
return(g[mb + swfid]);
}
s = System.security;
x = mc._root.getSWFVersion;
fv = (x ? (mc.getSWFVersion()) : ((_global ? 6 : 5)));
if (!s) {
s = {};
}
sb = s.sandboxType;
if (sb == "localWithFile") {
return(null);
}
x = s.allowDomain;
if (x) {
s.allowDomain(mbc);
}
x = s.allowInsecureDomain;
if (x) {
s.allowInsecureDomain(mbc);
}
pv = ((fv == 5) ? (getVersion()) : (System.capabilities.version));
u = (((((((((((("http://" + mbc) + "/my/core.swf?mv=8&fv=") + fv) + "&v=") + escape(pv)) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "")) + (trk ? "&t=1" : "");
lv = ((fv > 6) ? (mc.getNextHighestDepth()) : ((g[mb + "level"] ? (g[mb + "level"] + 1) : (lv))));
g[mb + "level"] = lv;
if (fv == 5) {
res = "_level" + lv;
if (!eval (res)) {
loadMovieNum (u, lv);
}
} else {
res = mc.createEmptyMovieClip(mb + swfid, lv);
res.loadMovie(u);
}
return(res);
}
__com_mochibot__("ff9395c1", this, 10301, true);
Frame 2
stop();
Frame 3
cam._x = 0;
cam._y = 0;
gaming = false;
cam.removeMovieClip();
_x = 0;
_y = 0;
stop();
grenades = 3;
arcade = false;
arcade2 = false;
weapon = 3;
kn = 0;
kills = 0;
score = 0;
stopAllSounds();
Instance of Symbol 418 MovieClip in Frame 3
onClipEvent (enterFrame) {
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(random(99999) + 10000);
_root.cam.removeMovieClip();
}
Instance of Symbol 957 MovieClip "boss" in Frame 4
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 957 MovieClip "boss" in Frame 4
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Frame 8
gotoAndStop (15);
Frame 9
stop();
weapon = 1;
kn = 0;
kills = 0;
score = 0;
curlvl = 1;
grenades = 3;
Instance of Symbol 965 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (!poop) {
_root.msg("Hey there! You've deciceded to rob a pirate hideout. Get to the cannon and shoot only those past yout with A. Move with the arrows. good luck!");
poop = true;
}
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
weapon = 1;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 1;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 2;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
weapon = 2;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 5;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
weapon = 3;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 1;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 1;
}
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 570 MovieClip in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 570 MovieClip in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 1;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 9
onClipEvent (load) {
weapon = 1;
}
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 9
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.msg("Press A to swipe at enemies. Press S to pick up their weapons once they've died.");
this.swapDepths(9999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.msg("It's a good idea to run behind enemies to kill them. try it. ;D");
this.swapDepths(9999);
this.removeMovieClip();
}
}
}
Instance of Symbol 997 MovieClip in Frame 9
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 1009 MovieClip in Frame 9
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(90);
}
Instance of Symbol 1023 MovieClip in Frame 9
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(40);
}
Instance of Symbol 1036 MovieClip in Frame 9
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(60);
}
Instance of Symbol 1044 MovieClip in Frame 9
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(80);
}
Instance of Symbol 1052 MovieClip in Frame 9
onClipEvent (load) {
lol = new Sound(this);
lol.setVolume(70);
}
Instance of Symbol 1055 MovieClip in Frame 9
onClipEvent (enterFrame) {
if (active) {
_visible = true;
_x = _root.aimx;
_y = _root.aimy;
} else {
_x = 0;
_y = 0;
_visible = false;
}
if (_root.cannon) {
active = true;
} else {
active = false;
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit1" in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 3) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit2" in Frame 9
onClipEvent (enterFrame) {
if (_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 6) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit3" in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 8) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit4" in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 12) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit5" in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.nextLvl(1);
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._y--;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 9
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.win(1);
}
}
Instance of Symbol 1057 MovieClip in Frame 9
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 1106 MovieClip "cam" in Frame 9
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Frame 15
stop();
weapon = 1;
kn = 0;
kills = 0;
score = 0;
d = 0;
curlvl = 2;
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 1130 MovieClip in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 15
onClipEvent (load) {
weapon = 5;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 15
onClipEvent (load) {
weapon = 1;
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 15
onClipEvent (load) {
weapon = 3;
}
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 15
onClipEvent (load) {
weapon = 3;
}
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 738 MovieClip "hero" in Frame 15
onClipEvent (enterFrame) {
if (!poop) {
_root.msg("Zombies?1? Kill them All!");
poop = true;
}
}
Instance of Symbol 957 MovieClip "boss" in Frame 15
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 110 MovieClip [hit] "lvlbottom" in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._y--;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._x++;
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit1" in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 3) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit2" in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 6) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit3" in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 10) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit4" in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.boss.dead) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit5" in Frame 15
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.nextLvl(1);
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 15
onClipEvent (enterFrame) {
if (hitTest(_root.hero.hit)) {
_root.win(2);
}
}
Instance of Symbol 1057 MovieClip in Frame 15
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 1106 MovieClip "cam" in Frame 15
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
while (hitTest(_root.lvlbotoom)) {
_y = (_y-1);
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Frame 21
stop();
weapon = 2;
kn = 0;
kills = 0;
score = 0;
curlvl = 3;
Instance of Symbol 375 MovieClip [Enemy] in Frame 21
onClipEvent (load) {
weapon = 3;
}
Instance of Symbol 248 MovieClip [zombie] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 21
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._x++;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._y--;
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit1" in Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 4) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit2" in Frame 21
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 9) {
_root.cam.go.play();
_root.win(3);
}
}
}
Instance of Symbol 1106 MovieClip "cam" in Frame 21
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Instance of Symbol 1057 MovieClip in Frame 21
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;
}
}
}
Frame 28
stop();
weapon = 3;
kn = 0;
kills = 0;
score = 0;
curlvl = 4;
Instance of Symbol 248 MovieClip [zombie] in Frame 28
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 248 MovieClip [zombie] in Frame 28
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 375 MovieClip [Enemy] in Frame 28
onClipEvent (load) {
weapon = 5;
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 28
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 28
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 292 MovieClip [Blobby] in Frame 28
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 28
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._x++;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 28
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._y--;
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit1" in Frame 28
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.kills >= 4) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit3" in Frame 28
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (poop) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 1106 MovieClip "cam" in Frame 28
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Instance of Symbol 1057 MovieClip in Frame 28
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;
}
}
}
Frame 35
stop();
weapon = 4;
kn = 0;
kills = 0;
score = 0;
curlvl = 5;
Instance of Symbol 957 MovieClip "boss" in Frame 35
onClipEvent (load) {
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 35
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._x++;
}
}
}
Instance of Symbol 110 MovieClip [hit] in Frame 35
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.cam)) {
_root.cam._y--;
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit3" in Frame 35
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.boss.dead) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit2" in Frame 35
onClipEvent (enterFrame) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
}
Instance of Symbol 110 MovieClip [hit] "lvlhit1" in Frame 35
onClipEvent (enterFrame) {
if (!_root.pau) {
while (hitTest(_root.hero.hit)) {
_root.hero._x--;
}
while (hitTest(_root.cam)) {
_root.cam._x--;
}
if (_root.boss222.dead) {
_root.cam.go.play();
this.swapDepths(99999);
this.removeMovieClip();
}
}
}
Instance of Symbol 1106 MovieClip "cam" in Frame 35
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Instance of Symbol 1057 MovieClip in Frame 35
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;
}
}
}
Frame 41
arcade = true;
weapon = 2;
kn = 0;
kills = 0;
score = 0;
Instance of Symbol 1239 MovieClip in Frame 41
onClipEvent (load) {
msg = "Welcome to arcade mode! Survive as long as you can, and use those cannons to your advantage!";
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 600;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 700;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 600;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_currentframe == 1) {
_x = ((_root.hero._x + random(60)) - 30);
_y = ((_root.hero._y + random(60)) - 30);
}
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 700;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 500;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1228 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_currentframe == 1) {
_x = ((_root.hero._x + random(60)) - 30);
_y = ((_root.hero._y + random(60)) - 30);
}
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1106 MovieClip "cam" in Frame 41
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Instance of Symbol 1057 MovieClip in Frame 41
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 1055 MovieClip in Frame 41
onClipEvent (enterFrame) {
if (active) {
_visible = true;
_x = _root.aimx;
_y = _root.aimy;
} else {
_x = 0;
_y = 0;
_visible = false;
}
if (_root.cannon) {
active = true;
} else {
active = false;
}
}
Frame 47
arcade2 = true;
weapon = 3;
kn = 0;
kills = 0;
score = 0;
Instance of Symbol 1239 MovieClip in Frame 47
onClipEvent (load) {
msg = "Welcome to shawman standoff. Dont bother trying to kill him. The fun is actually to see how long you can survive him. :D";
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 600;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 700;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 600;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_currentframe == 1) {
_x = ((_root.hero._x + random(60)) - 30);
_y = ((_root.hero._y + random(60)) - 30);
}
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 700;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 500;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1228 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_currentframe == 1) {
_x = ((_root.hero._x + random(60)) - 30);
_y = ((_root.hero._y + random(60)) - 30);
}
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1226 MovieClip in Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
timer = 400;
time = random(timer);
asdf = true;
}
if (hitTest(_root.screenhit)) {
time++;
}
if (time > timer) {
play();
time = 0;
}
}
}
Instance of Symbol 1106 MovieClip "cam" in Frame 47
onClipEvent (load) {
_x = _root.hero._x;
_y = _root.hero._y;
_root.gaming = true;
}
onClipEvent (enterFrame) {
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xd = _root.aimx - (_root.vehic._x / 2);
if (!_root.cannon) {
xdist = (_root.hero._x + (_root.hero._xscale / 10)) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.hero._y - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
} else {
xdist = (xd + _root.hero._xscale) - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = (_root.aimy - _y) - 50;
ydist = ydist / yspeed;
_y = (_y + ydist);
}
}
}
onClipEvent (unload) {
_root.gaming = false;
}
Instance of Symbol 1057 MovieClip in Frame 47
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;
}
}
}
Frame 54
cam._x = 0;
cam._y = 0;
gaming = false;
cam.removeMovieClip();
_x = 0;
_y = 0;
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(1234);
_root.cam.removeMovieClip();
tttext = tttext + ("\rAnd your final score was :" + _root.score);
Instance of Symbol 1260 MovieClip in Frame 54
onClipEvent (enterFrame) {
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(random(99999) + 10000);
_root.cam.removeMovieClip();
}
Instance of Symbol 110 MovieClip [hit] in Frame 54
onClipEvent (enterFrame) {
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(1234);
_root.cam.removeMovieClip();
}
Frame 58
cam._x = 0;
cam._y = 0;
gaming = false;
cam.removeMovieClip();
_x = 0;
_y = 0;
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(1234);
_root.cam.removeMovieClip();
tttext = tttext + ("\rAnd your final score was :" + _root.score);
Instance of Symbol 1282 MovieClip in Frame 58
onClipEvent (enterFrame) {
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(random(99999) + 10000);
_root.cam.removeMovieClip();
}
Frame 62
cam._x = 0;
cam._y = 0;
gaming = false;
cam.removeMovieClip();
_x = 0;
_y = 0;
_root.gaming = false;
_root._x = 0;
_root._y = 0;
_root.cam.swapDepths(1234);
_root.cam.removeMovieClip();
Symbol 63 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 63 MovieClip Frame 3
if (_root.bloodpuddles == false) {
stop();
}
Symbol 63 MovieClip Frame 14
if (random(2) == 1) {
gotoAndPlay ("b2");
}
Symbol 63 MovieClip Frame 15
if (random(2) == 1) {
gotoAndPlay ("b6");
}
Symbol 63 MovieClip Frame 16
if (random(4) >= 2) {
gotoAndPlay ("b3");
}
Symbol 63 MovieClip Frame 17
if (random(2) == 1) {
gotoAndPlay ("b5");
}
Symbol 63 MovieClip Frame 18
if (random(4) >= 2) {
gotoAndPlay ("b4");
}
Symbol 63 MovieClip Frame 29
stop();
Symbol 63 MovieClip Frame 39
stop();
Symbol 63 MovieClip Frame 50
stop();
Symbol 63 MovieClip Frame 60
stop();
Symbol 63 MovieClip Frame 71
stop();
Symbol 63 MovieClip Frame 81
stop();
Symbol 65 MovieClip Frame 1
_xscale = 0;
_yscale = 0;
randNum = random(99999);
_visible = false;
Symbol 65 MovieClip Frame 2
d = ((_parent._y + 555) * 99999) - randNum;
_parent.swapDepths(d);
if (!_root.gaming) {
_parent.swapDepths(random(999999));
_parent.removeMovieClip();
}
Symbol 65 MovieClip Frame 3
gotoAndPlay (2);
Symbol 77 MovieClip Frame 23
stop();
Symbol 90 MovieClip Frame 25
stop();
Symbol 104 MovieClip Frame 27
stop();
Symbol 105 MovieClip [blood_mc] Frame 1
_root.sounds("wack");
if (!_root.effects_on) {
this.removeMovieClip();
}
gotoAndStop(random(3) + 1);
Symbol 110 MovieClip [hit] Frame 1
_visible = false;
Symbol 114 MovieClip Frame 1
lmao = "+" + _parent.lol;
Symbol 119 MovieClip [Health_mc] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!setV) {
speed = (_xscale / 100) * 30;
setV = true;
}
_x = (_x + speed);
speed = speed / 1.2;
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
}
};
Symbol 119 MovieClip [Health_mc] Frame 28
stop();
Instance of Symbol 110 MovieClip [hit] in Symbol 119 MovieClip [Health_mc] Frame 28
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
lol = random(4) + 10;
_root.hero.life = _root.hero.life + lol;
_parent.lol = lol;
_parent.play();
}
}
}
Symbol 119 MovieClip [Health_mc] Frame 29
_xscale = 100;
Symbol 119 MovieClip [Health_mc] Frame 51
swapDepths(9999);
this.removeMovieClip();
stop();
Symbol 126 MovieClip [gren] Frame 1
_x = _root.hero._x;
_y = (_root.hero._y + 2);
Instance of Symbol 125 MovieClip in Symbol 126 MovieClip [gren] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (!asdf) {
grav = random(10) + 20;
grav = grav * -1;
go = random(5) + 15;
speed = random(30) + 20;
asdf = true;
}
_y = (_y + grav);
speed--;
go--;
_rotation = (_rotation + speed);
if (go > 0) {
_parent._x = _parent._x + ((_parent._xscale / 100) * go);
}
if (_y < 0) {
_root.explode(_parent._x, _parent._y);
_parent.swapDepths(9999);
_parent.removeMovieClip();
}
}
}
Symbol 131 MovieClip [enemy_bullet] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!setv) {
speed = random(6) + ((18 * _xscale) / 100);
setv = true;
}
if (!ss) {
_x = (_x - speed);
} else {
swapDepths(9999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndStop ("pop");
ss = true;
}
}
};
Instance of Symbol 110 MovieClip [hit] in Symbol 131 MovieClip [enemy_bullet] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (!shit)) {
_root.hero.hurt(6, _parent._xscale * -1);
_parent.ss = true;
_parent.gotoAndStop("pop");
shit = true;
}
if (hitTest(_root.herohit)) {
_parent.ss = true;
_parent.gotoAndStop("pop");
}
}
}
Symbol 134 MovieClip [cannonball] Frame 1
onEnterFrame = function () {
if (!se) {
lolx = _root.aimx;
loly = _root.aimy;
grav = -7;
se = true;
}
if (!_root.pau) {
xspeed = 8;
yspeed = 5;
xdist = lolx - _x;
xdist = xdist / xspeed;
_x = (_x + xdist);
ydist = loly - _y;
ydist = ydist / yspeed;
_y = (_y + ydist);
ball._y = ball._y + grav;
grav++;
}
};
Instance of Symbol 133 MovieClip "ball" in Symbol 134 MovieClip [cannonball] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.grav > 12) {
_root.explode(_parent._x, _parent._y, this);
_parent.swapDepths(99999);
_parent.removeMovieClip();
}
}
}
Symbol 144 MovieClip [boss1_shot] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!setv) {
speed = random(6) + ((18 * _xscale) / 100);
setv = true;
}
if (!ss) {
_x = (_x - speed);
} else {
swapDepths(9999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
this.swapDepths(9999);
this.removeMovieClip();
ss = true;
}
}
};
Instance of Symbol 110 MovieClip [hit] in Symbol 144 MovieClip [boss1_shot] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (!shit)) {
_root.hero.hurt(10, _parent._xscale * -1);
_parent.ss = true;
_parent.gotoAndStop("pop");
shit = true;
}
if (hitTest(_root.herohit)) {
_parent.ss = true;
_parent.gotoAndStop("pop");
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 163 MovieClip [explo] Frame 1
onClipEvent (enterFrame) {
_root.herohit = this;
power = 40;
}
Symbol 163 MovieClip [explo] Frame 3
_root.sounds("explosion");
Symbol 163 MovieClip [explo] Frame 34
stop();
swapDepths(9999);
this.removeMovieClip();
Symbol 164 MovieClip [Hero_bulllet] Frame 1
function die() {
_root.bullett = false;
swapDepths(99999);
this.removeMovieClip();
}
onEnterFrame = function () {
_root.bullett = this;
if (!_root.pau) {
if (!hitTest(_root.screenhit)) {
die();
}
if (!FUCKKKKKK) {
speed = 20;
power = 15;
FUCKKKKKK = true;
}
_x = (_x + ((_xscale / 100) * speed));
if (_root.ground.hitTest(_x, _y, true)) {
die();
}
}
};
onUnload = function () {
_root.bullettt = false;
};
Symbol 169 MovieClip [zombie_bullet] Frame 1
onEnterFrame = function () {
if (!_root.pau) {
if (!setv) {
speed = random(6) + ((18 * _xscale) / 100);
setv = true;
}
if (!ss) {
_x = (_x - speed);
} else {
swapDepths(9999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndStop ("pop");
ss = true;
}
}
};
Instance of Symbol 110 MovieClip [hit] in Symbol 169 MovieClip [zombie_bullet] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (!shit)) {
_root.hero.hurt(6, _parent._xscale * -1);
_parent.ss = true;
_parent.gotoAndStop("pop");
shit = true;
}
if (hitTest(_root.herohit)) {
_parent.ss = true;
_parent.gotoAndStop("pop");
}
}
}
Symbol 184 MovieClip Frame 50
if (random(2) == 1) {
gotoAndPlay (10);
}
Symbol 189 MovieClip Frame 1
gotoAndStop(Math.round(_parent._parent.life / 10) + 1);
onEnterFrame = function () {
gotoAndStop(Math.round(_parent._parent.life / 10) + 1);
};
Symbol 192 MovieClip Frame 1
_visible = false;
onEnterFrame = function () {
if (!_root.pau) {
if (hitTest(_root.herohit)) {
_parent.hurt(_root.herohit.power, true);
if (_root.herohit.slideback) {
_parent.slideback = _parent.slideback + _root.herohit.power;
_parent.sbb();
}
}
if (hitTest(_root.b0.hit)) {
_parent.hurt(_root.b0.power);
_root.b0.die();
}
if (hitTest(_root.b1.hit)) {
_parent.hurt(_root.b1.power);
_root.b1.die();
}
if (hitTest(_root.b2.hit)) {
_parent.hurt(_root.b2.power);
_root.b2.die();
}
if (hitTest(_root.b3.hit)) {
_parent.hurt(_root.b3.power);
_root.b3.die();
}
if (hitTest(_root.b4.hit)) {
_parent.hurt(_root.b4.power);
_root.b4.die();
}
if (hitTest(_root.b5.hit)) {
_parent.hurt(_root.b5.power);
_root.b5.die();
}
if (hitTest(_root.b6.hit)) {
_parent.hurt(_root.b6.power);
_root.b6.die();
}
if (hitTest(_root.b7.hit)) {
_parent.hurt(_root.b7.power);
_root.b7.die();
}
if (hitTest(_root.b8.hit)) {
_parent.hurt(_root.b8.power);
_root.b8.die();
}
if (hitTest(_root.b9.hit)) {
_parent.hurt(_root.b9.power);
_root.b9.die();
}
if (hitTest(_root.b10.hit)) {
_parent.hurt(_root.b10.power);
_root.b10.die();
}
if (hitTest(_root.b11.hit)) {
_parent.hurt(_root.b11.power);
_root.b11.die();
}
if (hitTest(_root.b12.hit)) {
_parent.hurt(_root.b12.power);
_root.b12.die();
}
if (hitTest(_root.b13.hit)) {
_parent.hurt(_root.b13.power);
_root.b13.die();
}
if (hitTest(_root.b14.hit)) {
_parent.hurt(_root.b14.power);
_root.b14.die();
}
if (hitTest(_root.b15.hit)) {
_parent.hurt(_root.b15.power);
_root.b15.die();
}
if (hitTest(_root.b16.hit)) {
_parent.hurt(_root.b16.power);
_root.b16.die();
}
if (hitTest(_root.b17.hit)) {
_parent.hurt(_root.b17.power);
_root.b17.die();
}
if (hitTest(_root.b18.hit)) {
_parent.hurt(_root.b18.power);
_root.b18.die();
}
if (hitTest(_root.b19.hit)) {
_parent.hurt(_root.b19.power);
_root.b19.die();
}
if (hitTest(_root.b21.hit)) {
_parent.hurt(_root.b21.power);
_root.b21.die();
}
if (hitTest(_root.b20.hit)) {
_parent.hurt(_root.b20.power);
_root.b20.die();
}
if (hitTest(_root.explo)) {
_parent.hurt(25);
}
if (hitTest(_root.bullett.hit)) {
_parent.hurt(_root.bullett.power);
_root.bullett.die();
}
}
};
Symbol 210 MovieClip Frame 5
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 210 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(8, _parent._parent._xscale * -1);
}
}
}
Symbol 210 MovieClip Frame 13
_parent.gotoAndStop("idle");
Symbol 238 MovieClip Frame 8
_root.zombieShot(_parent._x, _parent._y, _parent._xscale);
_root.sounds("wizz");
Symbol 238 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 246 MovieClip Frame 1
lmao = random(90) + 20;
_xscale = lmao;
_yscale = lmao;
onEnterFrame = function () {
if (!setu) {
gotoAndStop(random(7) + 1);
speed = random(20) - 10;
if (random(2) == 1) {
speed = speed * -1;
}
up = random(15) + 8;
t = 0;
tt = random(40) + 70;
setu = true;
}
if (!_root.pau) {
if (_root.ground.hitTest((_x + _parent._x) + _parent._parent._x, (_parent._y + _parent._parent._y) + _y, true)) {
speed = 0;
}
t++;
if (t > tt) {
_alpha = (_alpha - 5);
}
if (_alpha <= 0) {
swapDepths(99999);
this.removeMovieClip();
}
up--;
if (_y <= 0) {
_y = (_y - up);
} else {
up = up * -1;
up = up / 2;
while (_y > 0) {
_y = (_y-1);
}
}
while (_y == 0) {
_y = (_y-1);
}
_rotation = (_rotation + (speed * 2));
_x = (_x + speed);
speed = speed / 1.2;
}
};
Symbol 248 MovieClip [zombie] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
gotoAndStop (1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale * -1;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
gotoAndStop (1);
red = 255;
tintfade = 100;
slideback = slideback + lifeminus;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x + ((slideback * _xscale) / 100));
if (!hitTest(_root.screenhit)) {
htt++;
}
if (!setvars) {
_root.kn++;
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = random(30) + 30;
speed = random(3) + 3;
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, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_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 190 MovieClip in Symbol 248 MovieClip [zombie] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 248 MovieClip [zombie] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(18) > 16) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 248 MovieClip [zombie] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 2) {
_parent.gotoAndStop("shoot");
}
}
}
}
Instance of Symbol 201 MovieClip in Symbol 248 MovieClip [zombie] Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(500) < 380) {
_parent._y = _parent._y + _parent.dir;
}
if (random(35) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(100) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(13) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(13) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 248 MovieClip [zombie] Frame 20
_root.kills++;
die();
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
Symbol 254 MovieClip [octo_shot] Frame 1
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (!setv) {
speed = random(6) + ((18 * _xscale) / 100);
setv = true;
}
if (!ss) {
_x = (_x - speed);
} else {
swapDepths(9999);
this.removeMovieClip();
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndStop ("pop");
ss = true;
}
}
};
Instance of Symbol 110 MovieClip [hit] in Symbol 254 MovieClip [octo_shot] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (!shit)) {
_root.hero.hurt(7, _parent._xscale * -1);
_parent.ss = true;
_parent.gotoAndStop("pop");
shit = true;
}
if (hitTest(_root.herohit)) {
_parent.ss = true;
_parent.gotoAndStop("pop");
}
}
}
Symbol 264 MovieClip Frame 6
_parent.swapDepths(9999);
_parent.removeMovieClip();
Symbol 265 MovieClip [blob_bubble] Frame 1
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (!setv) {
speed = random(6) + ((18 * _xscale) / 100);
setv = true;
}
if (!ss) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x, _y, true)) {
gotoAndStop ("pop");
ss = true;
}
}
};
Instance of Symbol 110 MovieClip [hit] in Symbol 265 MovieClip [blob_bubble] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (!shit)) {
_root.hero.hurt(7, _parent._xscale * -1);
_parent.ss = true;
_parent.gotoAndStop("pop");
shit = true;
}
if (hitTest(_root.herohit)) {
_parent.ss = true;
_parent.gotoAndStop("pop");
}
}
}
Symbol 284 MovieClip Frame 12
_root.blobShot(_parent._x, _parent._y, _parent._xscale);
Symbol 284 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 291 MovieClip Frame 17
stop();
Symbol 292 MovieClip [Blobby] Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
gotoAndStop (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++;
gotoAndStop (1);
red = 255;
tintfade = 100;
slideback = slideback + lifeminus;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x + ((slideback * _xscale) / 100));
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!hitTest(_root.screenhit)) {
htt++;
}
if (!setvars) {
_root.kn++;
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = random(30) + 40;
speed = random(5) + 3;
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, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_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 271 MovieClip in Symbol 292 MovieClip [Blobby] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 292 MovieClip [Blobby] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(18) > 16) {
_parent.gotoAndStop("att");
}
}
}
}
Instance of Symbol 271 MovieClip in Symbol 292 MovieClip [Blobby] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == -100) {
_parent._x = _parent._x + _parent.speed;
} else {
_parent._x = _parent._x - _parent.speed;
}
if (random(500) < 380) {
_parent._y = _parent._y + _parent.dir;
}
if (random(35) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(80) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(10) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(10) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 292 MovieClip [Blobby] Frame 13
_root.kills++;
die();
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
Symbol 302 MovieClip Frame 1
gotoAndStop(_parent._parent.weapon);
if (_parent._parent.weapon == undefined) {
gotoAndStop(_parent._parent._parent.weapon);
}
Instance of Symbol 110 MovieClip [hit] in Symbol 337 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_xscale = (_xscale + (_parent.weapon * 2));
_root.hero.hurt(3 + _parent._parent.weapon, _parent._parent._xscale * -1);
}
}
}
Symbol 337 MovieClip Frame 8
_root.sounds("wizz");
Symbol 337 MovieClip Frame 12
if (random(10) > 5) {
gotoAndPlay ("26");
}
if (random(5) == 1) {
_parent.gotoAndStop("idle");
}
Symbol 337 MovieClip Frame 18
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 337 MovieClip Frame 18
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_xscale = (_xscale + (_parent.weapon * 2));
_root.hero.hurt(4 + _parent._parent.weapon, _parent._parent._xscale * -1);
}
}
}
Symbol 337 MovieClip Frame 25
if (random(5) == 1) {
_parent.gotoAndStop("idle");
}
Symbol 337 MovieClip Frame 31
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 337 MovieClip Frame 31
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero._xscale = _parent._xscale;
_root.hero.slideback = _root.hero.slideback + 5;
_root.hero.hurt(6 + _parent._parent.weapon, _parent._parent._xscale * -1);
}
}
}
Symbol 337 MovieClip Frame 36
_parent.gotoAndStop("idle");
Symbol 350 MovieClip Frame 5
_root.eshoot(_parent._x + ((_parent._xscale / 100) * 50), _parent._y, _parent._xscale);
_root.gunshots.gotoAndStop(4);
Symbol 350 MovieClip Frame 11
_parent.gotoAndStop("idle");
Symbol 374 MovieClip Frame 47
stop();
Instance of Symbol 110 MovieClip [hit] in Symbol 374 MovieClip Frame 47
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.itemGrabber)) {
_root.weapon = _parent._parent.weapon;
_parent.nextFrame();
}
}
}
Symbol 374 MovieClip Frame 48
_root.shakey = _root.shakey + 10;
Symbol 375 MovieClip [Enemy] Frame 1
function sbb() {
_xscale = (_root.hero._xscale * -1);
}
function hurt(lifeminus) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
gotoAndStop (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++;
gotoAndStop (1);
red = 255;
tintfade = 100;
slideback = slideback + lifeminus;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
if (!setvars) {
stop();
_root.kn++;
red = 0;
tintfade = 0;
col = new Color(this);
life = random(30) + 70;
speed = random(5) + 4;
dir = speed / 3;
grav = 0;
setvars = true;
}
onEnterFrame = function () {
if (!_root.pau) {
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_y = (_y-1);
}
}
}
};
moveBack = false;
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 305 MovieClip in Symbol 375 MovieClip [Enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 375 MovieClip [Enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (_parent.weapon != 5)) {
if (random(30) > 25) {
_parent.gotoAndStop("attack");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 375 MovieClip [Enemy] Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit) && (_parent.weapon == 5)) {
if (random(15) > 13) {
_parent.gotoAndStop("shoot");
}
}
}
}
Instance of Symbol 313 MovieClip in Symbol 375 MovieClip [Enemy] Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(500) < 380) {
_parent._y = _parent._y + _parent.dir;
}
if (random(35) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(100) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(13) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(13) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 375 MovieClip [Enemy] Frame 20
_root.kills++;
die();
Symbol 378 MovieClip [cube] Frame 1
_y = (random(50) - 25);
_x = (_parent.pc * 2.365);
lol = random(50) + 100;
_xscale = lol;
_yscale = lol;
Symbol 378 MovieClip [cube] Frame 16
this.removeMovieClip();
Symbol 385 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 390 MovieClip Frame 1
_xscale = 0;
Symbol 391 MovieClip Frame 1
_root.stop();
b = 0;
timer = 0;
onEnterFrame = function () {
b++;
timer++;
if (timer >= 3) {
attachMovie("cube", "cube" + b, b);
timer = 0;
}
pc = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
loltext = Math.round(pc) + "% loaded";
if (pc == 100) {
gotoAndStop (2);
}
};
stop();
Instance of Symbol 390 MovieClip "bar" in Symbol 391 MovieClip Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Symbol 391 MovieClip Frame 2
_parent.gotoAndStop(2);
Symbol 397 Button
on (release) {
_root.play();
}
Symbol 398 MovieClip Frame 1
stop();
Symbol 402 Button
on (release) {
getURL ("http://www.slumgames.com", "_blank");
}
Symbol 415 MovieClip Frame 81
_root.play();
Symbol 418 MovieClip Frame 5
stop();
Symbol 429 Button
on (release) {
gotoAndStop ("adv");
}
Symbol 434 Button
on (release) {
gotoAndStop ("arcade");
}
Symbol 439 Button
on (release) {
gotoAndStop ("how");
}
Symbol 444 Button
on (release) {
gotoAndStop ("opt");
}
Symbol 451 Button
on (release) {
getURL (_root.sponsor, "_blank");
}
Symbol 453 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 455 Button
on (release) {
getURL (_root.sponsor, "_blank");
}
Symbol 459 Button
on (release) {
getURL ("http://www.crazyawesomeyeah.com", "_blank");
}
Symbol 461 Button
on (release) {
getURL ("http://xenoxx.newgrounds.com/", "_blank");
}
Symbol 472 Button
on (release) {
gotoAndStop ("menu");
}
Symbol 483 Button
on (release) {
_root.gotoAndStop("lvl1");
}
Symbol 486 Button
on (release) {
if (_root.lvl2_un) {
_root.gotoAndStop("lvl2");
}
}
Symbol 492 MovieClip Frame 1
if (_root.lvl2_un) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Symbol 494 Button
on (release) {
if (_root.lvl3_un) {
_root.gotoAndStop("lvl3");
}
}
Symbol 496 MovieClip Frame 1
if (_root.lvl3_un) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Symbol 498 Button
on (release) {
if (_root.lvl4_un) {
_root.gotoAndStop("lvl4");
}
}
Symbol 500 MovieClip Frame 1
if (_root.lvl4_un) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Symbol 501 Button
on (release) {
if (_root.arc_un) {
_root.gotoAndStop("arcade2");
}
}
Symbol 504 MovieClip Frame 1
if (_root.arc_un) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Symbol 506 Button
on (release) {
if (_root.lvl5_un) {
_root.gotoAndStop("lvl5");
}
}
Symbol 508 MovieClip Frame 1
if (_root.lvl5_un) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
Symbol 518 Button
on (release) {
_root.gotoAndStop("arc");
}
Symbol 519 MovieClip Frame 1
stop();
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.effects_on) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.effects_on = true;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.effects_on) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.effects_on = false;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.shakeon) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.shakeon = true;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.shakeon) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.shakeon = false;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root._quality == "high") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "high";
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root._quality == "medium") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "medium";
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root._quality == "low") {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root._quality = "low";
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
_root.llol = new Sound(_root);
_root.llol.setVolume(_root.gameVolume);
if (_root.gameVolume == 0) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 0;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gameVolume == 25) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 25;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gameVolume == 50) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 50;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gameVolume == 75) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 75;
}
Instance of Symbol 467 MovieClip in Symbol 519 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.gameVolume == 100) {
_alpha = 100;
} else {
_alpha = 0;
}
}
on (release) {
_root.gameVolume = 100;
}
Symbol 540 MovieClip Frame 11
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 540 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(8, _parent._parent._xscale * -1);
}
}
}
Symbol 540 MovieClip Frame 18
_parent.gotoAndStop("idle");
Symbol 552 MovieClip Frame 6
_root.octoShot(_parent._x, _parent._y, _parent._xscale);
Symbol 552 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 569 MovieClip Frame 19
stop();
Symbol 570 MovieClip Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
gotoAndStop (1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale * -1;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
gotoAndStop (1);
red = 255;
tintfade = 100;
slideback = slideback + lifeminus;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
onEnterFrame = function () {
if (!_root.pau) {
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x + ((slideback * _xscale) / 100));
if (!hitTest(_root.screenhit)) {
htt++;
}
if (!setvars) {
_root.kn++;
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = random(30) + 70;
speed = random(5) + 3;
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, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_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 524 MovieClip in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(18) > 16) {
_parent.gotoAndStop("attack");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 570 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(18) > 16) {
_parent.gotoAndStop("shoot");
}
}
}
}
Instance of Symbol 524 MovieClip in Symbol 570 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == -100) {
_parent._x = _parent._x + _parent.speed;
} else {
_parent._x = _parent._x - _parent.speed;
}
if (random(500) < 380) {
_parent._y = _parent._y + _parent.dir;
}
if (random(35) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(80) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(10) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(10) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 570 MovieClip Frame 19
_root.kills++;
die();
Symbol 574 MovieClip Frame 1
_visible = false;
Symbol 587 MovieClip Frame 1
stop();
Instance of Symbol 574 MovieClip in Symbol 587 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent.active) {
if (!_root.pau) {
if (!asdf) {
tim = 0;
asdf = true;
}
tim++;
if (tim > 250) {
_parent.play();
}
}
}
}
Symbol 587 MovieClip Frame 35
_root.shakey = _root.shakey + 30;
_root.fall1.play();
Symbol 587 MovieClip Frame 54
_root.shakey = _root.shakey + 30;
_root.fall2.play();
Symbol 587 MovieClip Frame 72
_root.shakey = _root.shakey + 30;
_root.fall3.play();
Symbol 587 MovieClip Frame 95
_root.shakey = _root.shakey + 30;
_root.fall4.play();
Symbol 587 MovieClip Frame 109
_root.shakey = _root.shakey + 30;
_root.fall5.play();
Symbol 603 MovieClip Frame 1
stop();
_alpha = 100;
_name = "hb";
Instance of Symbol 601 MovieClip in Symbol 603 MovieClip Frame 2
onClipEvent (enterFrame) {
_xscale = ((_parent._parent.life / _parent.life) * 100);
}
Symbol 603 MovieClip Frame 30
_alpha = 90;
Symbol 603 MovieClip Frame 31
_alpha = 80;
Symbol 603 MovieClip Frame 32
_alpha = 70;
Symbol 603 MovieClip Frame 33
_alpha = 60;
Symbol 603 MovieClip Frame 34
_alpha = 50;
Symbol 603 MovieClip Frame 35
_alpha = 40;
Symbol 603 MovieClip Frame 36
_alpha = 30;
Symbol 603 MovieClip Frame 37
_alpha = 20;
Symbol 603 MovieClip Frame 38
_alpha = 10;
Symbol 603 MovieClip Frame 39
_alpha = 0;
Symbol 612 MovieClip Frame 3
_root.sounds("wizz");
Symbol 612 MovieClip Frame 24
_root.boss1Shot(_parent._x, _parent._y, _parent._xscale);
_root.sounds("explosion");
Symbol 612 MovieClip Frame 41
_parent.gotoAndStop("idle");
Symbol 613 MovieClip Frame 1
function sbb() {
_xscale = _root.hero._xscale;
}
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
gotoAndStop (1);
randN = random(9999);
_root.attachMovie("Blood_mc", "b" + randN, randN);
_root["b" + randN]._x = _x;
_root["b" + randN]._xscale = _xscale * -1;
_root["b" + randN]._y = _y;
_root.shakex = _root.shakex + lifeminus;
_root.special++;
gotoAndStop (1);
red = 255;
tintfade = 100;
slideback = slideback + lifeminus;
life = life - lifeminus;
hb.play();
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x + ((slideback * _xscale) / 100));
if (!hitTest(_root.screenhit)) {
htt++;
}
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (!setvars) {
_root.kn++;
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = 500;
speed = random(3) + 3;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (life <= 0) {
gotoAndStop ("die");
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (act1) {
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_y = (_y-1);
}
}
if (life <= 0) {
gotoAndStop ("die");
}
}
};
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 110 MovieClip [hit] in Symbol 613 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(30) == 2) {
_parent.gotoAndStop("shoot");
}
}
}
}
Instance of Symbol 599 MovieClip in Symbol 613 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 603 MovieClip "hb" in Symbol 613 MovieClip Frame 1
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
t++;
if (t == 3) {
life = _parent.life;
}
_xscale = _parent._xscale;
}
Instance of Symbol 605 MovieClip in Symbol 613 MovieClip Frame 5
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(500) < 380) {
_parent._y = _parent._y + _parent.dir;
}
if (random(35) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(100) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(13) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(13) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 613 MovieClip Frame 13
_root.explode(_x, _y);
_root.lvl3hit.poop = true;
_root.win(4);
this.swapDepths(99999);
this.removeMovieClip();
Symbol 623 MovieClip Frame 1
gotoAndStop(_root.weapon);
onEnterFrame = function () {
gotoAndStop(_root.weapon);
};
Symbol 637 MovieClip Frame 8
_root.sounds("step");
Symbol 680 MovieClip Frame 8
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 8
onClipEvent (load) {
_root.herohit = this;
power = 8 + _root.weapon;
_xscale = (_xscale + (_root.weapon * 2));
}
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 9
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p2");
}
}
}
}
Symbol 680 MovieClip Frame 15
_parent.gotoAndStop("idle");
Symbol 680 MovieClip Frame 21
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 21
onClipEvent (load) {
_root.herohit = this;
power = 9 + _root.weapon;
_xscale = (_xscale + (_root.weapon * 2));
}
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 22
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p3");
}
}
}
}
Symbol 680 MovieClip Frame 27
_parent.gotoAndStop("idle");
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 33
onClipEvent (load) {
_root.herohit = this;
power = 10 + _root.weapon;
_xscale = (_xscale + (_root.weapon * 2));
}
Symbol 680 MovieClip Frame 34
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 37
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
if (!_parent.k) {
_parent.gotoAndPlay("p4");
}
}
}
}
Symbol 680 MovieClip Frame 42
_parent.gotoAndStop("idle");
Symbol 680 MovieClip Frame 47
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 680 MovieClip Frame 47
onClipEvent (load) {
_root.herohit = this;
power = 11 + _root.weapon;
_xscale = (_xscale + (_root.weapon * 2));
}
Symbol 680 MovieClip Frame 52
_parent.gotoAndStop("idle");
Symbol 704 MovieClip Frame 6
_root.hbul(_parent._x + ((_parent._xscale / 100) * 50), _parent._y, _parent._xscale);
_root.gunshots.gotoAndStop(4);
Symbol 704 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 713 MovieClip Frame 5
_root.gren();
Symbol 713 MovieClip Frame 12
_parent.gotoAndStop("idle");
Symbol 737 MovieClip Frame 65
stop();
_root.die();
Symbol 738 MovieClip Frame 1
function hurt(lifeminus, hitter) {
if (lifeminus > 0) {
gotoAndStop (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 * 1.5);
if (hitter) {
_xscale = hitter;
}
_root.vehic.gotoAndStop(1);
_root.vehic.life--;
_root.vehic = false;
_root.cannon = false;
frames = ["hurt1", "hurt2", "hurt3"];
life = life - lifeminus;
slideback = slideback + (lifeminus * 2);
if (!blob) {
gotoAndStop(frames[random(frames.length)]);
if (lifeminus > 15) {
gotoAndStop ("fall");
}
}
}
}
function attack() {
if (_root.weapon == 5) {
gotoAndStop ("shoot");
} else {
gotoAndStop ("att");
}
}
function special() {
if (_root.special >= 50) {
_root.special = _root.special - 50;
gotoAndStop ("special");
}
}
iced = false;
onEnterFrame = function () {
if (!_root.pau) {
_x = (_x + ((slideback * _xscale) / 100));
slideback = slideback / 1.2;
if (life > 100) {
life = 100;
}
if (life < 0) {
life = 0;
}
gametime++;
if (gametime > 50) {
life = life + 2;
}
if (!fuckdicks) {
stop();
gaintime = 0;
slideback = 0;
grav = 0;
speed = 12;
life = 100;
item = false;
fuckdicks = true;
}
if (life <= 0) {
gotoAndStop ("die");
}
if (power < 100) {
power = power + 0.1;
}
if (power > 100) {
power = 100;
}
if (power < 0) {
power = 0;
}
if (!jump) {
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_y = (_y-1);
}
}
if (vehic) {
gotoAndStop ("vehic");
}
}
};
Instance of Symbol 626 MovieClip in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(83)) {
_parent.pickup = true;
} else {
_parent.pickup = false;
}
if (Key.isDown(32)) {
if (_root.grenades > 0) {
_parent.gotoAndStop("grenade");
}
}
if (Key.isDown(65)) {
_parent.attack();
}
if (Key.isDown(38)) {
_parent.gotoAndStop("run");
}
if (Key.isDown(40)) {
_parent.gotoAndStop("run");
}
if (Key.isDown(37)) {
_parent.gotoAndStop("run");
}
if (Key.isDown(39)) {
_parent.gotoAndStop("run");
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 738 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
_root.itemGrabber = this;
} else {
_root.itemGrabber = false;
}
}
}
Instance of Symbol 637 MovieClip in Symbol 738 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(32)) {
if (_root.grenades > 0) {
_parent.gotoAndStop("grenade");
}
}
if (Key.isDown(83)) {
_parent.pickup = true;
} else {
_parent.pickup = false;
}
if (Key.isDown(38)) {
} else if (Key.isDown(40)) {
} else if (Key.isDown(37)) {
} else if (Key.isDown(39)) {
} else {
_parent.gotoAndStop("idle");
}
if (Key.isDown(38)) {
_parent._y = _parent._y - (_parent.speed / 2);
}
if (Key.isDown(40)) {
_parent._y = _parent._y + (_parent.speed / 2);
}
if (Key.isDown(37)) {
_parent._x = _parent._x - _parent.speed;
_parent._xscale = -100;
}
if (Key.isDown(39)) {
_parent._x = _parent._x + _parent.speed;
_parent._xscale = 100;
}
if (Key.isDown(65)) {
_parent.attack();
}
}
}
Instance of Symbol 680 MovieClip in Symbol 738 MovieClip Frame 11
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(37)) {
_parent._xscale = -100;
}
if (Key.isDown(39)) {
_parent._xscale = 100;
}
if (Key.isDown(32)) {
if (_root.grenades > 0) {
_parent.gotoAndStop("grenade");
}
}
}
}
Instance of Symbol 704 MovieClip in Symbol 738 MovieClip Frame 15
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(37)) {
_parent._xscale = -100;
}
if (Key.isDown(39)) {
_parent._xscale = 100;
}
if (Key.isDown(32)) {
if (_root.grenades > 0) {
_parent.gotoAndStop("grenade");
}
}
}
}
Instance of Symbol 713 MovieClip in Symbol 738 MovieClip Frame 20
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
k = false;
}
if (!_root.pau) {
if (Key.isDown(83)) {
if (Key.isDown(65)) {
_parent.special();
}
}
if (Key.isDown(37)) {
_parent._xscale = -100;
}
if (Key.isDown(39)) {
_parent._xscale = 100;
}
if (Key.isDown(32)) {
if (_root.grenades > 0) {
_parent.gotoAndStop("grenade");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 738 MovieClip Frame 26
onClipEvent (enterFrame) {
if (!_parent.vehic) {
_parent.gotoAndStop("idle");
}
}
Symbol 757 MovieClip Frame 1
stop();
Symbol 757 MovieClip Frame 8
_root.cannonshot(_parent._x, _parent._y, _parent._xscale);
Symbol 761 MovieClip Frame 1
stop();
Instance of Symbol 110 MovieClip [hit] in Symbol 761 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (Key.isDown(65)) {
_parent._parent.cannon.play();
_parent.play();
}
}
}
Symbol 766 MovieClip Frame 1
stop();
if (!se) {
life = 4;
}
onEnterFrame = function () {
if (!_root.pau) {
if (Key.isDown(83)) {
ke = true;
} else {
ke = false;
}
if (life <= 0) {
_root.explode(_x, _y, this);
this.removeMovieClip();
}
}
};
Instance of Symbol 110 MovieClip [hit] in Symbol 766 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (Key.isDown(83) && (!_parent.ke)) {
_root.hero.vehic = true;
_root.cannon = true;
_parent.ke = true;
_root.hero._x = _parent._x;
_root.hero._y = _parent._y;
_parent.gotoAndStop("shoot");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 766 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
_root.vehic = this;
_root.cannon = true;
if (!se) {
_root.aimx = _parent._x;
_root.aimy = _parent._y;
se = true;
}
if (_root.aimx > _parent._x) {
_parent._xscale = 100;
_root.hero._xscale = 100;
}
_root.hero._x = _parent._x;
_root.hero._y = _parent._y;
if (_root.aimx < _parent._x) {
_parent._xscale = -100;
_root.hero._xscale = -100;
}
while (_root.aimx > (_parent._x + 500)) {
_root.aimx--;
}
while (_root.aimx < (_parent._x + 100)) {
_root.aimx++;
}
while (_root.aimy > (_parent._y + 70)) {
_root.aimy--;
}
while (_root.aimy < (_parent._y - 70)) {
_root.aimy++;
}
if (Key.isDown(38)) {
_root.aimy = _root.aimy - 7;
}
if (Key.isDown(40)) {
_root.aimy = _root.aimy + 7;
}
if (Key.isDown(37)) {
_root.aimx = _root.aimx - 12;
}
if (Key.isDown(39)) {
_root.aimx = _root.aimx + 12;
}
if (Key.isDown(83) && (!_parent.ke)) {
_root.vehic = false;
_root.hero.vehic = false;
_root.cannon = false;
_root.hero._x = _parent._x;
_root.hero._y = _parent._y;
_parent.gotoAndStop("idle");
}
}
}
Symbol 811 MovieClip Frame 7
_root.sounds("wizz");
Symbol 840 MovieClip Frame 7
_root.sounds("wizz");
Instance of Symbol 110 MovieClip [hit] in Symbol 840 MovieClip Frame 7
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(9, _parent._parent._xscale * -1);
}
}
}
Symbol 840 MovieClip Frame 14
_parent.gotoAndStop(1);
Symbol 854 MovieClip Frame 34
_root.bolt1.play();
Symbol 854 MovieClip Frame 40
_root.bolt2.play();
Symbol 854 MovieClip Frame 45
_root.bolt3.play();
Symbol 854 MovieClip Frame 48
_root.bolt4.play();
Symbol 854 MovieClip Frame 50
_root.bolt5.play();
Symbol 854 MovieClip Frame 52
_parent.gotoAndStop("idle");
Symbol 864 MovieClip Frame 21
_root.explode(_parent._x, _parent._y);
Symbol 864 MovieClip Frame 56
_root.win(5);
Symbol 865 MovieClip Frame 1
function sbb() {
_xscale = (_root.hero._xscale * -1);
}
function hurt(lifeminus) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
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;
life = life - lifeminus;
hb.play();
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
if (!setvars) {
stop();
_root.kn++;
red = 0;
tintfade = 0;
col = new Color(this);
life = 500;
speed = random(5) + 5;
dir = speed / 3;
grav = 0;
setvars = true;
}
onEnterFrame = function () {
if (!_root.pau) {
if (life <= 0) {
gotoAndStop ("die");
}
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
if (act1) {
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_y = (_y-1);
}
}
}
};
moveBack = false;
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 824 MovieClip in Symbol 865 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 865 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
if (random(18) > 16) {
_parent.gotoAndStop("at1");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 865 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (!setv) {
timer = 0;
time = 500;
setv = true;
}
timer++;
if (timer > time) {
time = time - 5;
timer = 0;
_parent.gotoAndStop("shoot");
}
}
}
}
Instance of Symbol 603 MovieClip "hb" in Symbol 865 MovieClip Frame 1
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
t++;
if (t == 3) {
life = _parent.life;
}
_xscale = _parent._xscale;
}
Instance of Symbol 833 MovieClip in Symbol 865 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(500) < 360) {
_parent._y = _parent._y + _parent.dir;
}
if (random(40) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(100) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(13) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(13) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 904 MovieClip Frame 7
_root.boss1Shot(_parent._x, _parent._y, _parent._xscale);
_root.sounds("wizz");
Symbol 904 MovieClip Frame 14
_parent.gotoAndStop("idle");
Symbol 927 MovieClip Frame 14
_root.zombies.play();
_root.zombies2.play();
Symbol 927 MovieClip Frame 31
_parent.gotoAndStop("idle");
Symbol 956 MovieClip Frame 54
stop();
Symbol 957 MovieClip Frame 1
function sbb() {
_xscale = (_root.hero._xscale * -1);
}
function hurt(lifeminus) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
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;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
hb.play();
}
}
function dirChange() {
dir = dir * -1;
}
if (!setvars) {
stop();
_root.kn++;
red = 0;
tintfade = 0;
col = new Color(this);
life = 400;
speed = random(5) + 4;
dir = speed / 3;
grav = 0;
setvars = true;
}
onEnterFrame = function () {
if (!_root.pau) {
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_y = (_y-1);
}
}
}
};
moveBack = false;
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 876 MovieClip in Symbol 957 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 957 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (!setv) {
timer = 0;
time = 500;
setv = true;
}
timer++;
if (timer > time) {
time = time - 5;
timer = 0;
_parent.gotoAndStop("raise");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 957 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (hitTest(_root.hero.hit)) {
if (random(15) > 13) {
_parent.gotoAndStop("shoot");
}
}
}
}
}
Instance of Symbol 603 MovieClip "hb" in Symbol 957 MovieClip Frame 1
onClipEvent (load) {
t = 0;
}
onClipEvent (enterFrame) {
t++;
if (t == 3) {
life = _parent.life;
}
_xscale = _parent._xscale;
}
Instance of Symbol 887 MovieClip in Symbol 957 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(500) < 360) {
_parent._y = _parent._y + _parent.dir;
}
if (random(40) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(100) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(13) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(13) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 957 MovieClip Frame 21
dead = true;
Symbol 978 MovieClip Frame 1
_visible = false;
Symbol 981 MovieClip Frame 2
_root.stopAllSOunds();
stopAllSounds();
Symbol 981 MovieClip Frame 5
stop();
Symbol 984 MovieClip Frame 3
_parent.gotoAndStop(1);
Symbol 997 MovieClip Frame 1
stop();
_visible = false;
_name = "grunts";
f = 13;
Symbol 1009 MovieClip Frame 1
stop();
_name = "wacks";
_visible = false;
f = 13;
Symbol 1023 MovieClip Frame 1
stop();
_name = "wizzes";
_visible = false;
f = 13;
Symbol 1036 MovieClip Frame 1
stop();
_name = "gunshots";
_visible = false;
f = 13;
Symbol 1044 MovieClip Frame 1
stop();
_name = "explosions";
_visible = false;
f = 7;
Symbol 1052 MovieClip Frame 1
f = 7;
stop();
_visible = false;
_name = "steps";
Symbol 1062 MovieClip Frame 1
if (!_root.pau) {
_root.screenhit._x = _parent._x;
_root.screenhit._y = _parent._y;
_root.BG._y = _parent._y / 2;
_root.BG._x = _parent._x / 2;
if (_root.shakeon) {
shakex = _root.shakex;
shakey = _root.shakey;
} else {
shakex = 0;
shakey = 0;
}
_root._x = ((_parent._x * -1) + 400) + shakex;
_root._y = ((_parent._y * -1) + 200) + shakey;
}
Symbol 1062 MovieClip Frame 2
if (!_root.pau) {
gotoAndPlay (1);
}
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1081 MovieClip Frame 1
w = "wave: " + _root.lvla.wave;
Symbol 1081 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1084 MovieClip Frame 1
_root.waveShow = this;
stop();
_visible = false;
Symbol 1084 MovieClip Frame 2
_visible = true;
Symbol 1084 MovieClip Frame 3
_visible = true;
Symbol 1084 MovieClip Frame 4
_visible = true;
Symbol 1091 MovieClip Frame 1
stop();
_visible = false;
Symbol 1091 MovieClip Frame 2
_visible = true;
Symbol 1093 MovieClip Frame 1
_xscale = 0;
_yscale = 0;
Symbol 1098 Button
on (release) {
getURL (_root.sponsor, "_blank");
}
Symbol 1103 Button
on (release) {
play();
}
Symbol 1104 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 1105 Button
on (release) {
getURL (_root.sponsor, "_blank");
}
Symbol 1106 MovieClip Frame 1
cam._visible = false;
_root.pau = false;
stop();
onEnterFrame = function () {
if (!_root.gaming) {
this.swapDepths(9999999);
this.removeMovieClip();
}
if (!swap) {
swapDepths(99999999999);
swap = true;
}
life.life = ("life: " + Math.round(_root.hero.life)) + "%";
rage.life = "rage: " + Math.round(_root.rage);
exp.life = (("exp: " + _root.experience) + "/") + _root.nextlvl;
head.lvl = "lvl: " + _root.level;
sclol = "score: " + Math.round(_root.score);
l = ("life: " + _root.hero.life) + " / 100";
};
Instance of Symbol 1074 MovieClip "mess" in Symbol 1106 MovieClip Frame 1
onClipEvent (load) {
play();
}
Instance of Symbol 1093 MovieClip in Symbol 1106 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!p) {
if (Key.isDown(80)) {
_parent.play();
p = true;
}
}
if (!Key.isDown(80)) {
p = false;
}
}
Symbol 1106 MovieClip Frame 2
stop();
_root.pau = true;
Symbol 1129 MovieClip Frame 1
lmao = random(90) + 20;
_xscale = lmao;
_yscale = lmao;
onEnterFrame = function () {
if (!setu) {
timer = 0;
gotoAndStop(random(13) + 1);
speed = random(20) - 10;
if (random(2) == 1) {
speed = speed * -1;
}
up = random(15) + 8;
t = 0;
tt = random(40) + 70;
setu = true;
}
if (!_root.pau) {
timer++;
if (timer > 150) {
onEnterFrame = null;
}
if (_root.ground.hitTest((_x + _parent._x) + _parent._parent._x, (_parent._y + _parent._parent._y) + _y, true)) {
speed = 0;
}
up--;
if (_y <= 0) {
_y = (_y - up);
} else {
up = up * -1;
up = up / 2;
while (_y > 0) {
_y = (_y-1);
}
}
while (_y == 0) {
_y = (_y-1);
}
_rotation = (_rotation + (speed * 2));
_x = (_x + speed);
speed = speed / 1.2;
}
};
Symbol 1130 MovieClip Frame 1
function hurt(lifeminus, bullet) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
gotoAndStop (1);
_root.shakex = _root.shakex + lifeminus;
_root.special++;
gotoAndStop (1);
red = 255;
tintfade = 100;
slideback = slideback + lifeminus;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
}
}
stop();
onEnterFrame = function () {
if (!_root.pau) {
if (!setvars) {
_root.kn++;
col = new Color(this);
red = 0;
tintfade = 0;
stop();
life = random(20) + 30;
speed = random(3) + 3;
dir = speed / 2;
grav = 0;
setvars = true;
}
if (life > 0) {
gotoAndStop(life);
} else {
if (!pooop) {
die();
pooop = true;
}
gotoAndStop ("die");
}
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
if (!hitTest(_root.screenhit)) {
htt++;
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
}
};
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);
};
Symbol 1130 MovieClip Frame 68
function die() {
_root.d++;
_root.attachMovie("Health_mc", "h" + _root.d, _root.d);
_root["h" + _root.d]._xscale = _xscale;
_root["h" + _root.d]._x = _x;
_root["h" + _root.d]._y = _y;
}
Symbol 1141 MovieClip Frame 1
gotoAndStop(random(4) + 1);
Symbol 1144 MovieClip Frame 1
_visible = false;
Symbol 1147 MovieClip Frame 2
_root.stopAllSounds();
stopAllSounds();
Symbol 1147 MovieClip Frame 4
stop();
Symbol 1165 MovieClip Frame 1
stop();
swapDepths(((random(9999) + random(9999)) + random(9999)) + random(9999));
Symbol 1165 MovieClip Frame 5
_root.shakey = _root.shakey + 25;
Instance of Symbol 110 MovieClip [hit] in Symbol 1165 MovieClip Frame 5
onClipEvent (load) {
_root.athere = this;
_root.zombat();
}
Symbol 1165 MovieClip Frame 12
_root.shakey = _root.shakey + 25;
Instance of Symbol 110 MovieClip [hit] in Symbol 1165 MovieClip Frame 12
onClipEvent (load) {
_root.athere = this;
_root.zombat();
}
Symbol 1165 MovieClip Frame 20
_root.shakey = _root.shakey + 25;
Instance of Symbol 110 MovieClip [hit] in Symbol 1165 MovieClip Frame 20
onClipEvent (load) {
_root.athere = this;
_root.zombat();
}
Symbol 1165 MovieClip Frame 27
_root.shakey = _root.shakey + 25;
Instance of Symbol 110 MovieClip [hit] in Symbol 1165 MovieClip Frame 27
onClipEvent (load) {
_root.athere = this;
_root.zombat();
}
Symbol 1178 MovieClip Frame 1
gotoAndStop(random(10) + 1);
Symbol 1201 MovieClip Frame 1
_name = "ground";
_visible = false;
Symbol 1204 MovieClip Frame 2
stopAllSounds();
Symbol 1204 MovieClip Frame 5
stop();
Symbol 1217 MovieClip Frame 1
stop();
Instance of Symbol 110 MovieClip [hit] in Symbol 1217 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._x = _root.hero._x;
_parent._y = _root.hero._y;
}
Instance of Symbol 110 MovieClip [hit] in Symbol 1217 MovieClip Frame 2
onClipEvent (enterFrame) {
_parent._x = _root.hero._x;
_parent._y = _root.hero._y - 2;
}
Symbol 1217 MovieClip Frame 52
_root.shakey = _root.shakey + 20;
_root.sounds("explosion");
Instance of Symbol 110 MovieClip [hit] in Symbol 1217 MovieClip Frame 52
onClipEvent (enterFrame) {
if (!_root.pau) {
if (hitTest(_root.hero.hit)) {
_root.hero.hurt(15);
}
}
}
Symbol 1226 MovieClip Frame 1
stop();
Symbol 1226 MovieClip Frame 4
_root.d++;
_root.attachMovie("Blobby", "blo" + _root.d, _root.d);
_root["blo" + _root.d]._x = _x;
_root["blo" + _root.d]._y = _y;
_root.shakey = _root.shakey + 20;
Symbol 1228 MovieClip Frame 1
stop();
Symbol 1228 MovieClip Frame 4
_root.d++;
_root.attachMovie("Enemy", "blo" + _root.d, _root.d);
_root["blo" + _root.d]._x = _x;
_root["blo" + _root.d]._y = _y;
_root["blo" + _root.d].weapon = random(5) + 1;
_root.shakey = _root.shakey + 20;
Symbol 1231 MovieClip Frame 2
stopAllSounds();
Symbol 1231 MovieClip Frame 7
stop();
Symbol 1237 MovieClip Frame 1
_visible = false;
_name = "ground";
Symbol 1239 MovieClip Frame 4
_root.msg(msg);
stop();
Symbol 1241 MovieClip Frame 1
stop();
Symbol 1241 MovieClip Frame 4
_root.d++;
_root.attachMovie("zombie", "blo" + _root.d, _root.d);
_root["blo" + _root.d]._x = _x;
_root["blo" + _root.d]._y = _y;
_root["blo" + _root.d].weapon = random(5) + 1;
_root.shakey = _root.shakey + 20;
Symbol 1244 MovieClip Frame 2
stopAllSounds();
Symbol 1244 MovieClip Frame 5
stop();
Symbol 1253 MovieClip Frame 14
_root.zombies.play();
_root.zombies2.play();
Symbol 1253 MovieClip Frame 31
_parent.gotoAndStop("idle");
Symbol 1254 MovieClip Frame 1
function sbb() {
_xscale = (_root.hero._xscale * -1);
}
function hurt(lifeminus) {
if (lifeminus > 0) {
if (!bullet) {
if (_root.hero._x < _x) {
_xscale = -100;
} else {
_xscale = 100;
}
}
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;
life = life - lifeminus;
_root.score = _root.score + lifeminus;
}
}
function dirChange() {
dir = dir * -1;
}
if (!setvars) {
stop();
_root.kn++;
red = 0;
tintfade = 0;
col = new Color(this);
life = 9999999999;
speed = random(5) + 4;
dir = speed / 3;
grav = 0;
setvars = true;
}
onEnterFrame = function () {
if (!_root.pau) {
while (hit.hitTest(_root.lvlhit1)) {
if (_x > _root.lvlhit1._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit1._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit2)) {
if (_x > _root.lvlhit2._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit2._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit3)) {
if (_x > _root.lvlhit3._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit3._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit4)) {
if (_x > _root.lvlhit4._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit4._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit5)) {
if (_x > _root.lvlhit5._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit5._x) {
_x = (_x-1);
}
}
while (hit.hitTest(_root.lvlhit6)) {
if (_x > _root.lvlhit6._x) {
_x = (_x+1);
}
if (_x < _root.lvlhit6._x) {
_x = (_x-1);
}
}
if (red > 0) {
red = red / 1.5;
}
if (tintfade > 0) {
tintfade = tintfade / 1.5;
}
col.setTint(red, 0, 0, tintfade);
if (!sb) {
slideback = 0;
sb = true;
}
slideback = slideback / 1.2;
_x = (_x - ((slideback * _xscale) / 100));
if (act1) {
if (life <= 0) {
gotoAndStop ("die");
}
while (_root.ground.hitTest(_x + 40, _y, true)) {
_x = (_x-1);
}
while (_root.ground.hitTest(_x - 40, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x, _y - 10, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x, _y + 10, true)) {
_y = (_y-1);
}
}
}
};
moveBack = false;
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 876 MovieClip in Symbol 1254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (_root.hero._x < (_parent._x - 35)) {
if (random(30) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 35)) {
if (random(30) == 1) {
_parent._xscale = -100;
}
}
if (random(12) == 1) {
_parent.gotoAndStop("run");
}
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 110 MovieClip [hit] in Symbol 1254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (!setv) {
timer = 0;
time = 350;
setv = true;
}
timer++;
if (timer > time) {
time = time - 5;
timer = 0;
_parent.gotoAndStop("raise");
}
}
}
}
Instance of Symbol 110 MovieClip [hit] in Symbol 1254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.active) {
if (hitTest(_root.hero.hit)) {
if (random(15) > 13) {
_parent.gotoAndStop("shoot");
}
}
}
}
}
Instance of Symbol 887 MovieClip in Symbol 1254 MovieClip Frame 6
onClipEvent (enterFrame) {
if (!_root.pau) {
if (_parent.hit.hitTest(_root.hero.hit) && (random(30) == 1)) {
_parent.gotoAndStop("idle");
}
if (_root.hero._x < (_parent._x - 40)) {
if (random(15) == 1) {
_parent._xscale = 100;
}
}
if (_root.hero._x > (_parent._x + 40)) {
if (random(15) == 1) {
_parent._xscale = -100;
}
}
if (_parent._xscale == 100) {
_parent._x = _parent._x - _parent.speed;
} else {
_parent._x = _parent._x + _parent.speed;
}
if (random(500) < 360) {
_parent._y = _parent._y + _parent.dir;
}
if (random(40) == 1) {
_parent.gotoAndStop("idle");
}
}
if (random(100) == 1) {
_parent.dirChange();
}
if (_root.hero._y > _parent._y) {
if (_parent.dir <= 0) {
if (random(13) == 2) {
_parent.dirChange();
}
}
}
if (_root.hero._y < _parent._y) {
if (_parent.dir >= 0) {
if (random(13) == 1) {
_parent.dirChange();
}
}
}
if (hitTest(_root.screenhit)) {
_parent._visible = true;
_parent.active = true;
_parent.act1 = true;
} else {
_parent._visible = false;
_parent.active = false;
_parent.gotoAndStop("idle");
}
}
Symbol 1254 MovieClip Frame 21
dead = true;
Symbol 1273 MovieClip Frame 20
stop();
Symbol 1274 Button
on (release) {
getURL ("http://www.slumgames.com", "_blank");
}
Symbol 1276 Button
on (release) {
gotoAndStop ("menu");
}