Frame 2
stop();
Frame 3
stamp = new Sound();
stamp.attachSound("stamp");
stop();
Frame 168
stamp.start();
Frame 204
stamp.start();
Frame 243
stamp.start();
Frame 274
stopAllSounds();
playa.onRelease = function () {
_root.play();
};
inst.onRelease = function () {
_root.sts.play();
};
this.stop();
Frame 276
attachMovie("hero", "heroman", 633333);
playadead = false;
und = false;
refy = false;
make = true;
drar = false;
ten = false;
lnchy = false;
staple = false;
bad2 = false;
go1 = false;
go2 = false;
go3 = false;
bad4 = false;
exhit = false;
gomin1 = 80;
gomin2 = 160;
gomin3 = 240;
bad3 = false;
go31 = false;
go32 = false;
go33 = false;
gomin31 = 100;
gomin32 = 200;
gomin33 = 300;
z = 200000 /* 0x030D40 */;
t = 0;
count = 0;
e = 42222;
var gone;
var mute = false;
gone = false;
o = 563125 /* 0x0897B5 */;
ink = 100;
hit = false;
oo = 2000;
d = 366666 /* 0x05984A */;
scores = 0;
cl = 1;
gogo3 = 50;
pp = (b = (u = (j = (kkk = (w = (k = (tt = (h = (m = (gogo = (a = 1)))))))))));
scrolls = 0;
score = (weap = 0);
weapon = "";
var bam = new Sound();
var mab = new Sound();
var charge = new Sound();
var pd = new Sound();
var dra = new Sound();
var tune = new Sound();
tune.attachSound("music");
tune.start(0, 9999);
dra.attachSound("dra");
bam.attachSound("bam");
mab.attachSound("mab");
charge.attachSound("charge");
pd.attachSound("pd");
var cash = new Sound();
cash.attachSound("cash");
var kapow = new Sound();
kapow.attachSound("kaboom2");
btime = 75;
var rampage = new Sound();
rampage.attachSound("rampage");
var boing = new Sound();
boing.attachSound("boing");
var popper = new Sound();
popper.attachSound("popper");
var pow = new Sound();
pow.attachSound("pow");
var spell = new Sound();
spell.attachSound("spell");
weap = 1;
weapon = "wall";
startDrag ("heroman", true);
Mouse.hide();
Instance of Symbol 65 MovieClip "backround" in Frame 276
onClipEvent (enterFrame) {
if (_root.count > 0) {
if (Key.isDown(65)) {
_root.kapow.start();
_root.fll = true;
}
if (Key.isDown(68)) {
_root.kapow.start();
_root.frl = true;
}
if (Key.isDown(83)) {
_root.kapow.start();
_root.fdl = true;
}
if (Key.isDown(87)) {
_root.kapow.start();
_root.ful = true;
}
}
}
Instance of Symbol 37 MovieClip [bline] "bline" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
}
Instance of Symbol 326 MovieClip "ash" in Frame 276
onClipEvent (enterFrame) {
if (this._x > 600) {
removeMovieClip(this);
}
if (this._x > 0) {
this._alpha = this._alpha - 1.5;
this.play();
if (this._alpha < 10) {
this._x = 650;
}
}
}
Instance of Symbol 334 MovieClip "mine" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (this._currentframe == 10) {
if (this.hitTest(_root.bad21)) {
if (_root.bad21._currentframe == 1) {
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
_root.bad21.gotoAndPlay(2);
}
}
if (this.hitTest(_root.bad22)) {
if (_root.bad22._currentframe == 1) {
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
_root.bad22.gotoAndPlay(2);
}
}
if (this.hitTest(_root.bad23)) {
if (_root.bad23._currentframe == 1) {
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
_root.bad23.gotoAndPlay(2);
}
}
if (this.hitTest(_root.bad31)) {
if (_root.bad31._currentframe < 26) {
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
_root.bad31.gotoAndPlay(26);
}
}
if (this.hitTest(_root.bad32)) {
if (_root.bad32._currentframe < 26) {
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
_root.bad32.gotoAndPlay(26);
}
}
if (this.hitTest(_root.bad33)) {
if (_root.bad33._currentframe < 26) {
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
_root.bad33.gotoAndPlay(26);
}
}
i = 0;
while (i < _root.arraysize) {
if (hitTest(_root["bad" + _root.array[i]])) {
if (_root["bad" + _root.array[i]]._currentframe == 1) {
_root["bad" + _root.array[i]].gotoAndPlay(2);
this.gotoAndPlay(11);
_root.backround.play();
_root.kapow.start();
_root.heroman.play();
if (i == 10) {
_root.refy = true;
_root.ref = true;
}
}
}
i++;
}
}
}
Instance of Symbol 336 MovieClip "block" in Frame 276
onClipEvent (enterFrame) {
if (_root.mute == true) {
stopAllSounds();
}
}
Instance of Symbol 32 MovieClip [rline] "rline" in Frame 276
onClipEvent (enterFrame) {
if (_root.count <= 0) {
_root.fired = false;
_root.fu = false;
_root.fd = false;
_root.fr = false;
_root.fl = false;
_root.count = 0;
_root.lnchy = false;
}
if (_root.fired == true) {
if (this._x > 560) {
removeMovieClip(this);
_root.count--;
_root.cl--;
}
if (this._x < -5) {
removeMovieClip(this);
_root.count--;
_root.cl--;
}
if (this._y > 405) {
removeMovieClip(this);
_root.cl--;
_root.count--;
}
if (this._y < -5) {
removeMovieClip(this);
_root.cl--;
_root.count--;
}
i = 0;
while (i <= _root.arraysize) {
if (hitTest(_root["bad" + _root.array[i]])) {
_root["bad" + _root.array[i]].move = 0;
_root.hit = true;
if (_root.ten == true) {
_root.refy = true;
}
}
i++;
}
}
if (_root.fu == true) {
_root.lnchy = true;
this.gotoAndStop(2);
}
if (_root.fd == true) {
_root.lnchy = true;
this.gotoAndStop(3);
}
if (_root.fr == true) {
_root.lnchy = true;
this.gotoAndStop(4);
}
if (_root.fl == true) {
_root.lnchy = true;
this.gotoAndStop(5);
}
}
Instance of Symbol 339 MovieClip in Frame 276
onClipEvent (load) {
numcount = 0;
cumule = 0;
}
onClipEvent (enterFrame) {
Object.prototype.getFPS = function () {
if (signal == true) {
time = getTimer();
} else {
tempo = int(1000 / (getTimer() - time));
}
signal = !signal;
return(tempo);
};
this.createEmptyMovieClip("fps", this.getNextHighestDepth());
fps.onEnterFrame = function () {
numcount++;
currfps = getFPS();
fpps = "FPS. " + currfps;
cumule = cumule + currfps;
fppsavg = "avg. " + (Math.round((cumule / numcount) * 10) / 10);
};
}
Instance of Symbol 352 MovieClip "bad1t" in Frame 276
onClipEvent (load) {
ft = 80;
ref = false;
und = false;
if (_name == "bad1t") {
_root.array = new Array();
_root.arraysize = 1;
ticks = 60;
i = 1;
h = 1;
} else {
this._x = 25 + random(475);
this._y = -50;
speed = 2;
move = 1;
}
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
speed = speed + 0.15;
if (this._currentframe == 1) {
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
removeMovieClip(this);
_root.heroman.play();
}
}
if (_name == "bad1t") {
if (_root.make == false) {
h++;
}
if (_root.und == true) {
ticks = ft - 1;
_root.und = false;
}
if (_root.make == true) {
ticks++;
if (ticks > ft) {
if (ft > 55) {
ft = ft - 4;
}
if (i > 9) {
_root.arraysize = 1;
i = 1;
_root.make = true;
}
this.duplicateMovieClip("bad" + i, i + 10);
_parent["bad" + i].name = i;
_root.array[_root.arraysize] = i;
_root.arraysize++;
i++;
ticks = 0;
}
}
} else if (this._currentframe == 1) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(2);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._y = this._y - 15;
speed = 1.5;
_root.boing.start();
break;
}
q++;
}
var o = _root.j;
while (o >= 0) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(2);
if (_root.ten == true) {
_root.refy = true;
}
}
break;
}
o--;
}
if (this.name == undefined) {
removeMovieClip(this);
this._x = 600;
this._y = -50;
_root.und = true;
}
if (move == 1) {
_y = (_y + speed);
if (_y > 410) {
if (this.name == 10) {
_root.ten = false;
}
move = 0;
}
} else {
var i = 0;
while (i < _root.arraysize) {
if (_root.array[i] == name) {
jj = i;
while (jj < (_root.arraysize - 1)) {
_root.array[jj] = _root.array[jj + 1];
jj++;
}
delete _root.array[_root.arraysize];
i = _root.arraysize;
}
i++;
}
removeMovieClip("");
}
}
}
Instance of Symbol 382 MovieClip "bad23" in Frame 276
onClipEvent (load) {
shoot = 1;
q = 1;
speed = 2;
a = 1;
this._x = -50;
this._y = 100 + random(300);
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (_root.bad2 == true) {
if (_root.go3 == true) {
if (speed < 9) {
speed = speed + (random(8) / 10);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._x = this._x - 35;
speed = 1;
_root.boing.start();
break;
}
q++;
}
shoot = shoot + 1;
if (this._currentframe == 1) {
if (shoot >= (20 + random(10))) {
a++;
_root.pow.start();
duplicateMovieClip (_root.eb, "eb" + a, 800 + a);
eval ("_root.eb" + a)._x = this._x;
eval ("_root.eb" + a)._y = this._y;
shoot = 0;
}
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
this.gotoAndPlay(3);
_root.heroman.play();
}
}
if (this._currentframe == 1) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(2);
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(2);
_root.popper.start();
break;
}
}
o++;
}
if (this._currentframe == 1) {
_x = (_x + speed);
if (_x > 550) {
this.gotoAndStop(22);
}
}
}
}
}
}
Instance of Symbol 385 MovieClip "eb" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
_root.eb._x = 300;
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
removeMovieClip(this);
_root.boing.start();
}
q++;
}
if (this.hitTest(_root.heroman)) {
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
removeMovieClip(this);
_root.heroman.play();
_root.backround.play();
}
this._x = this._x + 15;
if (this._x > 510) {
removeMovieClip(this);
}
}
Instance of Symbol 386 MovieClip "bad22" in Frame 276
onClipEvent (load) {
shoot = 1;
q = 1;
speed = 2;
a = 1;
this._x = -50;
this._y = 100 + random(300);
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (_root.bad2 == true) {
if (_root.go2 == true) {
if (speed < 9) {
speed = speed + (random(8) / 10);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._x = this._x - 35;
speed = 1;
_root.boing.start();
break;
}
q++;
}
shoot = shoot + 1;
if (this._currentframe == 1) {
if (shoot >= (20 + random(10))) {
a++;
_root.pow.start();
duplicateMovieClip (_root.eb, "eb" + a, 800 + a);
eval ("_root.eb" + a)._x = this._x;
eval ("_root.eb" + a)._y = this._y;
shoot = 0;
}
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
this.gotoAndPlay(3);
_root.heroman.play();
}
}
if (this._currentframe == 1) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(2);
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(2);
_root.popper.start();
break;
}
}
o++;
}
if (this._currentframe == 1) {
_x = (_x + speed);
if (_x > 550) {
this.gotoAndStop(22);
}
}
}
}
}
}
Instance of Symbol 387 MovieClip "bad21" in Frame 276
onClipEvent (load) {
shoot = 1;
q = 1;
speed = 2;
a = 1;
this._x = -50;
this._y = 100 + random(300);
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (_root.bad2 == true) {
if (_root.go1 == true) {
if (speed < 9) {
speed = speed + (random(8) / 10);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._x = this._x - 35;
speed = 1;
_root.boing.start();
break;
}
q++;
}
shoot = shoot + 1;
if (this._currentframe == 1) {
if (shoot >= (20 + random(10))) {
a++;
_root.pow.start();
duplicateMovieClip (_root.eb, "eb" + a, 800 + a);
eval ("_root.eb" + a)._x = this._x;
eval ("_root.eb" + a)._y = this._y;
shoot = 0;
}
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
this.gotoAndPlay(3);
_root.heroman.play();
}
}
if (this._currentframe == 1) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(2);
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(2);
_root.popper.start();
break;
}
}
o++;
}
if (this._currentframe == 1) {
_x = (_x + speed);
if (_x > 550) {
this.gotoAndStop(22);
}
}
}
}
}
}
Instance of Symbol 394 MovieClip "wb" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
removeMovieClip(this);
}
}
o++;
}
_root.wb._y = 550;
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
removeMovieClip(this);
_root.boing.start();
}
q++;
}
if (this.hitTest(_root.heroman)) {
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
removeMovieClip(this);
_root.heroman.play();
_root.backround.play();
}
if (this._y < 405) {
if (this._x < _root.heroman._x) {
this._x = this._x + 5;
}
if (this._x > _root.heroman._x) {
this._x = this._x - 5;
}
if (this._y < _root.heroman._y) {
this._y = this._y + 3;
}
if (this._y > _root.heroman._y) {
this._y = this._y - 3;
}
}
}
Instance of Symbol 268 MovieClip "bad31" in Frame 276
onClipEvent (load) {
score = score + 3;
shoot = 1;
q = 1;
speed = 0.5;
a = 1;
this._x = 550;
this._y = random(300);
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (_root.bad3 == true) {
if (_root.go31 == true) {
if (speed < 4) {
speed = speed + (random(4) / 10);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._x = this._x + 35;
speed = 1;
_root.boing.start();
break;
}
q++;
}
if (this._currentframe == 2) {
if (this._x < 550) {
_root.spell.start();
}
}
if (this._currentframe == 7) {
if (this._x < 550) {
_root.a++;
duplicateMovieClip (_root.wb, "wb" + _root.a, 800 + _root.a);
eval ("_root.wb" + _root.a)._x = this._x;
eval ("_root.wb" + _root.a)._y = this._y + 65;
}
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
this.gotoAndPlay(26);
_root.heroman.play();
}
}
if (this._currentframe < 26) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(26);
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(26);
_root.popper.start();
break;
}
}
o++;
}
if (this._currentframe < 26) {
this._x = this._x - speed;
if (this._x < -200) {
this.gotoAndPlay(26);
}
}
}
}
}
}
Instance of Symbol 395 MovieClip "bad32" in Frame 276
onClipEvent (load) {
shoot = 1;
q = 1;
speed = 0.5;
a = 1;
this._x = 550;
this._y = random(300);
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (_root.bad3 == true) {
if (_root.go32 == true) {
if (speed < 4) {
speed = speed + (random(4) / 10);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._x = this._x + 35;
speed = 1;
_root.boing.start();
break;
}
q++;
}
if (this._currentframe == 2) {
if (this._x < 550) {
_root.spell.start();
}
}
if (this._currentframe == 7) {
if (this._x < 550) {
_root.a++;
duplicateMovieClip (_root.wb, "wb" + _root.a, 800 + _root.a);
eval ("_root.wb" + _root.a)._x = this._x;
eval ("_root.wb" + _root.a)._y = this._y + 65;
}
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
this.gotoAndPlay(26);
_root.heroman.play();
}
}
if (this._currentframe < 26) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(26);
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(26);
_root.popper.start();
break;
}
}
o++;
}
if (this._currentframe < 26) {
this._x = this._x - speed;
if (this._x < -200) {
this.gotoAndPlay(26);
}
}
}
}
}
}
Instance of Symbol 396 MovieClip "bad33" in Frame 276
onClipEvent (load) {
shoot = 1;
q = 1;
speed = 0.5;
a = 1;
this._x = 550;
this._y = 300;
}
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (_root.bad3 == true) {
if (_root.go33 == true) {
if (speed < 4) {
speed = speed + (random(4) / 10);
}
var q = 1;
while (q <= _root.t) {
if (this.hitTest(eval ("_root.bline" + q))) {
removeMovieClip(eval ("_root.bline" + q));
this._x = this._x + 35;
speed = 1;
_root.boing.start();
break;
}
q++;
}
if (this._currentframe == 2) {
if (this._x < 550) {
_root.spell.start();
}
}
if (this._currentframe == 7) {
if (this._x < 550) {
_root.a++;
duplicateMovieClip (_root.wb, "wb" + _root.a, 800 + _root.a);
eval ("_root.wb" + _root.a)._x = this._x;
eval ("_root.wb" + _root.a)._y = this._y + 65;
}
if (this.hitTest(_root.heroman)) {
_root.backround.play();
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
this.gotoAndPlay(26);
_root.heroman.play();
}
}
if (this._currentframe < 26) {
if (this.hitTest(_root.staples)) {
this.gotoAndPlay(26);
}
var o = 1;
while (o <= _root.j) {
if (this.hitTest(eval ("_root.rline" + o))) {
if (eval ("_root.rline" + o)._currentframe != 1) {
this.gotoAndPlay(26);
_root.popper.start();
break;
}
}
o++;
}
if (this._currentframe < 26) {
this._x = this._x - speed;
if (_x < -200) {
this.gotoAndPlay(26);
}
}
}
}
}
}
Instance of Symbol 286 MovieClip "p1" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (this.hitTest(_root.heroman)) {
_root.ink = 100;
removeMovieClip(this);
this._x = 600;
_root.cash.start();
}
}
Instance of Symbol 292 MovieClip "p2" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (this.hitTest(_root.heroman)) {
_root.heroman._alpha = _root.heroman._alpha + 25;
removeMovieClip(this);
this._x = 600;
_root.cash.start();
}
}
Instance of Symbol 296 MovieClip "p3" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (this.hitTest(_root.heroman)) {
_root.score = _root.score + 5;
removeMovieClip(this);
this._x = 600;
_root.cash.start();
}
}
Instance of Symbol 299 MovieClip "p4" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (this.hitTest(_root.heroman)) {
_root.score = _root.score + 10;
removeMovieClip(this);
this._x = 600;
_root.cash.start();
}
}
Instance of Symbol 304 MovieClip "p5" in Frame 276
onClipEvent (enterFrame) {
if (_root.playadead == true) {
this._x = 600;
}
if (this.hitTest(_root.heroman)) {
_root.staple = true;
_root.staples._x = -30;
_root.staples._y = random(400);
if (_root.staple == true) {
_root.rampage.start(0, 1);
}
this._x = 600;
removeMovieClip(this);
}
}
Instance of Symbol 302 MovieClip "staples" in Frame 276
onClipEvent (enterFrame) {
if (_root.staple == true) {
this._x = this._x + 10;
this._y = this._y + (5 - random(10));
}
if (this._x > 560) {
_root.staple = false;
this._x = 600;
this._y = 550;
}
}
Instance of Symbol 397 MovieClip "hero" in Frame 276
onClipEvent (load) {
this.attachMovie("hero", "hero", 11000);
}
Frame 277
var rex;
var dt;
var misus;
var go;
var misds;
var misls;
var misrs;
var nextdepth;
var md;
var fire;
var changeone;
if (Key.isDown(77)) {
if (changeone != true) {
changeone = true;
if (mute == false) {
mute = true;
} else {
mute = false;
tune.start();
}
}
} else {
changeone = false;
}
if (_root.bad2 == true) {
_root.gogo++;
if (_root.gogo == _root.gomin1) {
if (_root.gomin1 > 30) {
_root.gomin1 = _root.gomin1 - 5;
}
_root.go1 = true;
}
if (_root.gogo == _root.gomin2) {
if (_root.gomin2 > 110) {
_root.gomin2 = _root.gomin2 - 5;
}
_root.go2 = true;
}
if (_root.gogo == _root.gomin3) {
if (_root.gomin3 > 180) {
_root.gomin3 = _root.gomin3 - 5;
}
_root.go3 = true;
_root.gogo = 1;
}
}
if (_root.bad3 == true) {
_root.gogo3++;
if (_root.gogo3 == _root.gomin31) {
_root.go31 = true;
}
if (_root.gogo3 == _root.gomin32) {
_root.go32 = true;
}
if (_root.gogo3 == _root.gomin33) {
_root.go33 = true;
}
}
if (score > 7) {
bad2 = true;
}
if (score > 20) {
bad3 = true;
}
if (score > 40) {
bad4 = true;
}
if (_root.heroman._alpha <= 25) {
gotoAndStop (279);
}
bad1t.onEnterFrame = function () {
this._y = this._y - 4;
};
bad1r.onEnterFrame = function () {
this._x = this._x + 4;
};
if (k <= b) {
k++;
}
if (k > b) {
k = 0;
}
if (ink < 100) {
ink = ink + 0.2;
}
inkbar._yscale = ink;
if (weap == 1) {
weapon = "wall";
}
if (weap == 2) {
weapon = "missile";
}
if (weap == 3) {
weapon = "mine";
}
if (Key.isDown(49)) {
weapon = "wall";
weap = 1;
}
if (Key.isDown(50)) {
weapon = "missile";
weap = 2;
}
if (Key.isDown(51)) {
weapon = "mines";
weap = 3;
}
if (Key.isDown(87)) {
_root.fu = true;
_root.fired = true;
} else if (Key.isDown(83)) {
_root.fd = true;
_root.fired = true;
} else if (Key.isDown(65)) {
_root.fl = true;
_root.fired = true;
} else if (Key.isDown(68)) {
_root.fr = true;
_root.fired = true;
}
if (j <= 1) {
misus = false;
misds = false;
misrs = false;
misls = false;
j = 1;
}
county.onEnterFrame = function () {
_root.btime = _root.btime + 1;
eval ("_root.bline" + _root.t)._alpha = eval ("_root.bline" + _root.t)._alpha - 0.2;
if ((eval ("_root.bline" + _root.t)._alpha = 0)) {
removeMovieClip(eval ("_root.bline" + _root.t));
}
_root.bad1t._x = 650;
_root.bad1t._y = -15;
onMouseDown = function () {
_root.dt = true;
if (_root.weap == 3) {
if (_root.ink > 15) {
m++;
o++;
if (fire == true) {
ink = ink - 15;
duplicateMovieClip ("_root.mine", "mine" + _root.m, _root.o);
eval ("_root.mine" + _root.m)._x = heroman._x;
eval ("_root.mine" + _root.m)._y = heroman._y;
eval ("_root.mine" + _root.m)._alpha = 100;
_root.drar = true;
}
}
}
};
onMouseUp = function () {
_root.dt = false;
};
onMouseMove = function () {
if (_root.dt == true) {
_root.z--;
if (_root.ink > 1) {
if (_root.weap == 1) {
duplicateMovieClip ("_root.bline", "bline" + _root.t, _root.z);
eval ("_root.bline" + _root.t)._x = heroman._x;
eval ("_root.bline" + _root.t)._y = heroman._y;
eval ("_root.bline" + _root.t)._alpha = 100;
_root.t = _root.t + 1;
_root.drar = true;
_root.ink = _root.ink - 0.8;
}
if (_root.weap == 2) {
_root.ink = _root.ink - 2.8;
_root.j++;
_root.z--;
_root.w++;
_root.e--;
_root.cl++;
if (_root.j > 50) {
_root.j = 1;
}
duplicateMovieClip ("_root.rline", "rline" + _root.j, _root.z);
eval ("_root.rline" + _root.j)._x = heroman._x;
eval ("_root.rline" + _root.j)._y = heroman._y;
_root.count++;
_root.drar = true;
}
}
}
};
stop();
};
Frame 278
gotoAndPlay (277);
Frame 279
stopAllSounds();
playadead = true;
iii = 1;
while (iii < 25) {
removeMovieClip(eval ("bad1" + iii));
eval ("bad1" + iii)._x = 700;
iii++;
}
bad21._y = 600;
bad22._y = 600;
bad23._y = 600;
bad31._x = 700;
bad32._x = 700;
bad33._x = 700;
bbb = 1;
while (bbb < 125) {
removeMovieClip(eval ("rline" + bbb));
eval ("rline" + bbb)._x = 700;
bbb++;
}
heroman._alpha = 100;
heroman.stopDrag();
heroman._x = 650;
Mouse.show();
stop();
Symbol 25 MovieClip Frame 1
if (_root.ful == true) {
this.gotoAndPlay(3);
}
if (_root.fdl == true) {
this.gotoAndPlay(3);
this._rotation = 180;
}
if (_root.fll == true) {
this._rotation = 270;
this.gotoAndPlay(3);
}
if (_root.frl == true) {
this._rotation = 90;
this.gotoAndPlay(3);
}
Symbol 25 MovieClip Frame 2
if (_root.ful == true) {
this.gotoAndPlay(3);
}
if (_root.fdl == true) {
this.gotoAndPlay(3);
this._rotation = 180;
}
if (_root.fll == true) {
this._rotation = 270;
this.gotoAndPlay(3);
}
if (_root.frl == true) {
this._rotation = 90;
this.gotoAndPlay(3);
}
gotoAndPlay (1);
Symbol 25 MovieClip Frame 16
if (_root.ful == true) {
_root.ful = false;
}
if (_root.fdl == true) {
_root.fdl = false;
}
if (_root.fll == true) {
_root.fll = false;
}
if (_root.frl == true) {
_root.frl = false;
}
this._rotation = 0;
Symbol 25 MovieClip Frame 18
_root.fu = false;
_root.fl = false;
_root.fd = false;
_root.fr = false;
gotoAndPlay (1);
Symbol 26 MovieClip [hero] Frame 1
stop();
if (this._alpha <= 25) {
_root.gotoAndStop(4);
}
Symbol 26 MovieClip [hero] Frame 22
gotoAndStop (1);
Symbol 32 MovieClip [rline] Frame 1
stop();
Symbol 32 MovieClip [rline] Frame 2
this.onEnterFrame = function () {
this._y = this._y - 25;
};
Symbol 32 MovieClip [rline] Frame 3
this.onEnterFrame = function () {
this._y = this._y + 25;
};
Symbol 32 MovieClip [rline] Frame 4
this.onEnterFrame = function () {
this._x = this._x + 25;
};
Symbol 32 MovieClip [rline] Frame 5
this.onEnterFrame = function () {
this._x = this._x - 25;
};
Symbol 37 MovieClip [bline] Frame 3
this._alpha = this._alpha - 1;
Symbol 37 MovieClip [bline] Frame 245
i = i - 1;
removeMovieClip(this);
Symbol 47 Button
on (release) {
getURL ("http://www.peejaroni.com", "blank");
}
Symbol 52 Button
on (release) {
getURL ("http://www.flashninjaclan.com", "blank");
}
Symbol 59 Button
on (release) {
_root.play();
}
Symbol 60 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndStop ("loaded");
}
Symbol 60 MovieClip Frame 2
gotoAndPlay (1);
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 22
gotoAndStop (1);
Symbol 69 MovieClip Frame 59
_root.play();
Symbol 71 Button
on (release) {
getURL ("http://www.flashninjaclan.com", "blank");
}
Symbol 74 Button
on (release) {
_root.gotoAndStop(274);
}
Symbol 114 MovieClip Frame 62
stop();
Instance of Symbol 82 MovieClip in Symbol 115 MovieClip Frame 1
on (release) {
getURL ("http://www.peejaroni.com", "blank");
}
Instance of Symbol 110 MovieClip in Symbol 115 MovieClip Frame 205
on (release) {
getURL ("http://www.peejaroni.com", "blank");
}
Instance of Symbol 114 MovieClip in Symbol 115 MovieClip Frame 228
on (release) {
getURL ("http://www.flash-theater.org", "_blank");
}
Symbol 115 MovieClip Frame 364
_root.play();
Symbol 115 MovieClip Frame 387
this.stop();
Symbol 162 Button
on (release) {
_root.play();
}
Symbol 163 Button
on (release) {
_root.sts.play();
}
Symbol 167 Button
on (release) {
getURL ("http://www.flashninjaclan.com", "blank");
}
Symbol 171 Button
on (release) {
_root.sts.play();
}
Symbol 172 Button
on (release) {
_root.sts.play();
}
Symbol 210 Button
on (release) {
_root.sts.play();
}
Symbol 268 MovieClip Frame 1
p = 1;
Symbol 268 MovieClip Frame 24
if (p > 3) {
this.play();
} else {
this.gotoAndPlay(15);
p++;
}
Symbol 268 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 268 MovieClip Frame 26
_root.popper.start();
Symbol 268 MovieClip Frame 46
this.gotoAndPlay(1);
this._x = 575;
this._y = random(300);
speed = 2;
_root.go31 = false;
_root.score = _root.score + 3;
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Symbol 274 MovieClip Frame 1
if (_root.bad4 == true) {
this.play;
}
if (_root.exhit == true) {
_root.heroman._alpha = _root.heroman._alpha - 5;
_root.exhit = false;
}
Symbol 274 MovieClip Frame 2
if (_root.bad4 == false) {
this.gotoAndPlay(1);
}
this._x = 10 + random(530);
this._y = 10 + random(380);
Symbol 274 MovieClip Frame 25
_root.charge.start();
Symbol 274 MovieClip Frame 49
_root.bam.start();
Instance of Symbol 273 MovieClip in Symbol 274 MovieClip Frame 49
onClipEvent (enterFrame) {
if (this.hitTest(_root.heroman)) {
_root.exhit = true;
_root.heroman.play();
this._parent.gotoAndPlay(75);
}
}
Symbol 274 MovieClip Frame 75
_root.mab.start();
Symbol 274 MovieClip Frame 108
_root.pd.start();
Symbol 316 MovieClip Frame 1
stop();
Symbol 316 MovieClip Frame 2
stop();
Symbol 316 MovieClip Frame 3
stop();
Symbol 316 MovieClip Frame 4
stop();
Symbol 316 MovieClip Frame 5
stop();
Symbol 316 MovieClip Frame 6
stop();
Instance of Symbol 274 MovieClip in Symbol 316 MovieClip Frame 6
onClipEvent (enterFrame) {
this._x = 45;
this._y = 341;
this._xscale = 25;
this._yscale = 25;
}
Symbol 316 MovieClip Frame 7
stop();
Symbol 316 MovieClip Frame 8
stop();
Symbol 318 MovieClip Frame 2
gotoAndPlay (1);
Symbol 326 MovieClip Frame 1
stop();
Symbol 334 MovieClip Frame 1
_root.fire = false;
Symbol 334 MovieClip Frame 9
_root.fire = true;
Symbol 334 MovieClip Frame 10
stop();
Symbol 334 MovieClip Frame 11
this.play();
Symbol 334 MovieClip Frame 30
Symbol 334 MovieClip Frame 31
removeMovieClip(this);
Symbol 340 Button
on (release) {
_root.weap = 3;
_root.weapon = "mine";
}
Symbol 341 Button
on (release) {
_root.weap = 1;
_root.weapon = "wall";
}
Symbol 342 Button
on (release) {
_root.weap = 2;
_root.weapon = "missile";
}
Symbol 348 MovieClip Frame 25
this.stop();
Symbol 352 MovieClip Frame 1
if (this.hitTest(_root.heroman)) {
_root.kapow.start();
_root.heroman._alpha = _root.heroman._alpha - 5;
removeMovieClip(this);
_root.heroman.play();
}
this.gotoAndStop(1);
Symbol 352 MovieClip Frame 8
_root.popper.start();
_root.score++;
Instance of Symbol 326 MovieClip "ash" in Symbol 352 MovieClip Frame 22
onClipEvent (enterFrame) {
if (this._x > 600) {
removeMovieClip(this);
}
if (this._x > 0) {
this._alpha = this._alpha - 1;
this.play();
if (this._alpha < 20) {
this._x = 650;
removeMovieClip(this);
}
}
}
Symbol 352 MovieClip Frame 28
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Symbol 352 MovieClip Frame 86
removeMovieClip(this);
Instance of Symbol 326 MovieClip "ash" in Symbol 352 MovieClip Frame 86
onClipEvent (enterFrame) {
if (this._x > 600) {
removeMovieClip(this);
}
if (this._x > 0) {
this._alpha = this._alpha - 1;
this.play();
if (this._alpha < 20) {
this._x = 650;
removeMovieClip(this);
}
}
}
Symbol 382 MovieClip Frame 1
stop();
Symbol 382 MovieClip Frame 2
_root.score = _root.score + 2;
_root.popper.start();
Symbol 382 MovieClip Frame 22
this.gotoAndStop(1);
this._x = -50;
this._y = 100 + random(300);
speed = 2;
_root.go3 = false;
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Instance of Symbol 384 MovieClip in Symbol 385 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(80)) {
if (Key.isDown(74)) {
_root.weapon = "Written and Drawn by PJ Santos";
}
}
}
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 2
_root.score = _root.score + 2;
_root.popper.start();
Symbol 386 MovieClip Frame 22
this.gotoAndStop(1);
this._x = -50;
this._y = 100 + random(300);
speed = 2;
_root.go2 = false;
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Symbol 387 MovieClip Frame 1
stop();
Symbol 387 MovieClip Frame 2
_root.score = _root.score + 2;
_root.popper.start();
Symbol 387 MovieClip Frame 22
this.gotoAndStop(1);
this._x = -50;
this._y = 100 + random(300);
speed = 2;
_root.go1 = false;
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Symbol 395 MovieClip Frame 1
p = 1;
Symbol 395 MovieClip Frame 24
if (p > 3) {
this.play();
} else {
this.gotoAndPlay(15);
p++;
}
Symbol 395 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 395 MovieClip Frame 26
_root.popper.start();
Symbol 395 MovieClip Frame 46
this.gotoAndPlay(1);
this._x = 575;
this._y = random(300);
speed = 2;
_root.go32 = false;
_root.score = _root.score + 3;
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Symbol 396 MovieClip Frame 1
p = 1;
Symbol 396 MovieClip Frame 24
if (p > 3) {
this.play();
} else {
this.gotoAndPlay(15);
p++;
}
Symbol 396 MovieClip Frame 25
this.gotoAndPlay(1);
Symbol 396 MovieClip Frame 26
_root.popper.start();
Symbol 396 MovieClip Frame 46
this.gotoAndPlay(1);
this._x = 575;
this._y = random(300);
speed = 2;
_root.go33 = false;
_root.gogo3 = 1;
_root.a = 1;
_root.score = _root.score + 3;
rew = random(50);
if (rew == 10) {
duplicateMovieClip (_root.p1, "p1" + _root.kkk, 666 + _root.kkk);
_root.kkk++;
_root.p1._x = this._x;
_root.p1._y = this._y;
}
if (rew == 11) {
duplicateMovieClip (_root.p2, "p2" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p2._x = this._x;
_root.p2._y = this._y;
}
if (rew == 12) {
duplicateMovieClip (_root.p3, "p3" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p3._x = this._x;
_root.p3._y = this._y;
}
if (rew == 13) {
duplicateMovieClip (_root.p4, "p4" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p4._x = this._x;
_root.p4._y = this._y;
}
if (rew == 14) {
duplicateMovieClip (_root.p5, "p5" + _root.kkk, 666 + kkk);
_root.kkk++;
_root.p5._x = this._x;
_root.p5._y = this._y;
}
Symbol 410 Button
on (release) {
nukescore = _root.score;
nukename = _root.plname;
loadVariablesNum ("http://www.flashninjaclan.com/games/drawman/newscores.php", 0, "POST");
_root.sub._alpha = 0;
_root.sub._x = _root.sub._x + 300;
}
Symbol 414 Button
on (release) {
_root.gotoAndPlay(1);
}
Symbol 415 Button
on (release) {
getURL ("http://www.flashninjaclan.com");
}
Symbol 418 Button
on (release) {
getURL ("http://www.flashninjaclan.com/games/drawman/topscores.php", "_blank");
}