Frame 1
Stage.showMenu = false;
stop();
_quality = "Medium";
Instance of Symbol 161 MovieClip in Frame 1
onClipEvent (enterFrame) {
_root.percent = Math.round((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
this.gotoAndStop(_root.percent);
}
Frame 180
stopAllSounds();
_root.gotoAndPlay("logo");
Instance of Symbol 202 MovieClip "cursor" in Frame 181
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Frame 359
stop();
_root.levelh = 1;
_root.levelhea = 1;
_root.levelni = 1;
_root.deaths = 0;
_root.sheepskilled = 0;
_root.ufoskilled = 0;
_root.speedfixquality = "NOTDONE";
Instance of Symbol 241 MovieClip "_root.earthlogo" in Frame 359
onClipEvent (load) {
fps = 20;
delay = 1000 / fps;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (getTimer() > resetTime) {
this.nextFrame();
resetTime = getTimer() + delay;
}
}
Frame 371
_root.gotoAndStop("officalmenu");
Frame 372
function __com_mochibot__(swfid, mc, lv) {
var x;
var g;
var s;
var fv;
var sb;
var u;
var res;
var mb;
var mbc;
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);
}
u = ((((((((((("http://" + mbc) + "/my/core.swf?mv=5&fv=") + fv) + "&v=") + escape(getVersion())) + "&swfid=") + escape(swfid)) + "&l=") + lv) + "&f=") + mc) + (sb ? ("&sb=" + sb) : "");
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__("72618aaf", this, 10301);
stop();
_root.GETLOST = true;
_root.speedfixbusy = false;
_root.speedfixon = true;
_root.gameactive = true;
startTime = getTimer();
onEnterFrame = function () {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
if (elapsedHours < 10) {
hours = "0" + elapsedHours.toString();
} else {
hours = elapsedHours.toString();
}
if (elapsedM < 10) {
minutes = "0" + elapsedM.toString();
} else {
minutes = elapsedM.toString();
}
if (elapsedS < 10) {
seconds = "0" + elapsedS.toString();
} else {
seconds = elapsedS.toString();
}
if (elapsedH < 10) {
hundredths = "0" + elapsedH.toString();
} else {
hundredths = elapsedH.toString();
}
_root.timer_txt = (((((hours + ":") + minutes) + ":") + seconds) + ":") + hundredths;
};
_quality = "High";
Instance of Symbol 281 MovieClip in Frame 372
on (rollOver) {
_root.cursor.gotoAndStop(3);
}
on (rollOut) {
_root.cursor.gotoAndStop(1);
}
Instance of Symbol 202 MovieClip "cursor" in Frame 372
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Frame 373
stop();
_root.sf_logo.play();
Frame 374
stop();
Frame 375
stop();
Frame 376
stop();
_root.GETLOST = true;
Instance of Symbol 538 MovieClip in Frame 376
on (rollOver) {
if (_root.levelh == 1) {
if (_root.levelni == 1) {
if (_root.levelhea == 1) {
_root.cursor.gotoAndStop(2);
}
}
}
}
on (rollOut) {
if (_root.levelh == 1) {
if (_root.levelni == 1) {
if (_root.levelhea == 1) {
_root.cursor.gotoAndStop(1);
}
}
}
}
onClipEvent (enterFrame) {
if (_root.levelh == 2) {
if (_root.levelni == 2) {
if (_root.levelhea == 2) {
this.gotoAndStop(2);
}
}
}
}
on (press) {
if (_root.levelh == 2) {
if (_root.levelni == 2) {
if (_root.levelhea == 2) {
_root.levelplayed = 4;
_root.gotoAndPlay("scenario");
}
}
}
}
Instance of Symbol 504 MovieClip "gborder" in Frame 376
onClipEvent (enterFrame) {
if (_root.levelh == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 504 MovieClip "gborder" in Frame 376
onClipEvent (enterFrame) {
if (_root.levelhea == 2) {
this.gotoAndStop(2);
}
}
Instance of Symbol 504 MovieClip "gborder" in Frame 376
onClipEvent (enterFrame) {
if (_root.levelni == 2) {
this.gotoAndStop(2);
}
}
Frame 377
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.specialhas = "none";
_root.tridenteffects = "none";
_quality = "High";
_quality = _root.speedfixquality;
Instance of Symbol 545 MovieClip in Frame 377
onClipEvent (enterFrame) {
if (_root.levelplayed == 1) {
this.gotoAndStop(1);
}
if (_root.levelplayed == 2) {
this.gotoAndStop(2);
}
if (_root.levelplayed == 3) {
this.gotoAndStop(3);
}
}
Instance of Symbol 202 MovieClip "cursor" in Frame 377
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Instance of Symbol 614 MovieClip in Frame 416
onClipEvent (enterFrame) {
if (_root.levelplayed == 1) {
this.gotoAndStop(1);
}
if (_root.levelplayed == 2) {
this.gotoAndStop(2);
}
if (_root.levelplayed == 3) {
this.gotoAndStop(3);
}
}
Frame 502
if (_root.levelplayed == 1) {
_root.gotoAndStop("level_hell");
}
if (_root.levelplayed == 2) {
_root.gotoAndStop("level_heaven");
}
if (_root.levelplayed == 3) {
_root.gotoAndStop("level_nightice");
}
Frame 503
_root.bodycount = 0;
_root.score = 0;
_root.rage = 0;
_root.lightning = 0;
_root.fire = 0;
_root.nano = 0;
_root.health = 100;
Stage.showMenu;
_root.sff = 10;
_root.GETLOST = false;
stop();
_root.leveldone = false;
_root.paused = false;
_root.eos = 0;
_root.maxeos = 10;
_quality = _root.speedfixquality;
Instance of Symbol 618 MovieClip "sheepmaker" in Frame 503
onClipEvent (load) {
_root.sheep._visible = false;
sheepCounter = -2000;
delay = 4000;
resetTime = getTimer() + delay;
_root.sff = 0;
}
onClipEvent (enterFrame) {
if (getTimer() > resetTime) {
if (_root.eos < _root.maxeos) {
if (_root.portal._visible == false) {
sheepCounter++;
_root.sheep.duplicateMovieClip("sheep" + sheepCounter, sheepCounter);
_root["sheep" + sheepCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 3500;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 2000;
}
if (_root.bodycount > 15) {
delay = 1800;
}
if (_root.bodycount > 20) {
delay = 1500;
_root.sff = 3;
}
}
Instance of Symbol 620 MovieClip in Frame 503
onClipEvent (load) {
_root.laser._visible = false;
laserCounter = 1;
delay = _root.sheepmaker.delay + 16000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.eos < _root.maxeos) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
Instance of Symbol 630 MovieClip "laser" in Frame 503
onClipEvent (load) {
velocity = 0;
gravity = 2;
friction = 0.01;
if (this._name != "laser") {
this._x = random(800);
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
velocity = velocity + gravity;
velocity = velocity - (friction * velocity);
_y = (_y + velocity);
if (_y > _root.fakeplatform._y) {
_y = _root.fakeplatform._y;
velocity = velocity * -0.9;
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 632 MovieClip "ufomakerl" in Frame 503
onClipEvent (load) {
_root.ufo._visible = false;
ufoCounter = 489939 /* 0x0779D3 */;
delay = 40000;
resetTime = getTimer() + delay;
ufoos = 0;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.eos < _root.maxeos) {
if (ufoos == 0) {
if (_root.bodycount > 60) {
if (getTimer() > resetTime) {
ufoCounter++;
_root.ufo.duplicateMovieClip("ufo" + ufoCounter, ufoCounter);
_root["ufo" + ufoCounter]._visible = true;
_root.eos++;
ufoos++;
resetTime = getTimer() + delay;
}
}
}
}
}
}
Instance of Symbol 634 MovieClip in Frame 503
onClipEvent (load) {
_root.worm._visible = false;
wormCounter = -5000;
delay = 4000;
resetTime = getTimer() + delay;
_root.sff = 0;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.eos < _root.maxeos) {
if (getTimer() > resetTime) {
wormCounter++;
_root.worm.duplicateMovieClip("worm" + wormCounter, wormCounter);
_root["worm" + wormCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 4500;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 4000;
}
if (_root.bodycount > 15) {
delay = 3400;
}
if (_root.bodycount > 20) {
delay = 3000;
_root.sff = 3;
}
}
Instance of Symbol 636 MovieClip in Frame 503
onClipEvent (load) {
_root.skull._visible = false;
skullCounter = 10000;
delay = 30000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
skullCounter++;
_root.skull.duplicateMovieClip("skull" + skullCounter, skullCounter);
_root["skull" + skullCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
Instance of Symbol 820 MovieClip "devil" in Frame 503
onClipEvent (load) {
startspeed = 20;
gravity = 30;
jumping = 0;
speed = 6;
_root.walking = false;
jumping = false;
velocity = 30;
jumpSpeed = 10;
_root.jumpallowed = false;
_root.busy = false;
_root.attacking = false;
_root.ragestatus = 1;
oldx = _xscale;
status = 1;
transforming = false;
_root.invunerable = false;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.specialhas = "none";
_root.tridenteffects = "none";
_root.flinching = false;
_root.flinchtime = "expired";
_root.dkalive = true;
_root.gameactive = true;
_root.summonedyet = false;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (transforming == false) {
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = 100;
} else {
if (_root.flinching == false) {
}
if (transforming == false) {
if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = -100;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (jumping == false) {
if (_root.specialbar == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(3);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (Key.isDown(38) && (jumping == 0)) {
jumping = 1;
starttime = getTimer() / 1000;
startpos = _y;
this.gotoAndStop(4);
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping == 1) {
time = (getTimer() / 1000) - starttime;
_y = (_y - (startspeed - (gravity * time)));
if (_y > startpos) {
_y = startpos;
jumping = 0;
}
}
}
}
}
onClipEvent (keyUp) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.rage > 100) {
_root.ragestatus = 2;
_root.rage = 100;
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.specialhas == "none") {
if (_root.tridenteffects == "none") {
if (status == 1) {
if (_root.rage > 99) {
if (Key.isDown(68)) {
status = 2;
transforming = true;
_root.busy = true;
this.gotoAndStop(5);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (_root.specialattack == "normal") {
if (status == 2) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(8);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (transforming == false) {
if (Key.isDown(38)) {
this.gotoAndStop(9);
_root.walking = true;
}
}
}
}
}
}
}
onClipEvent (keyUp) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 2) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(6);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(6);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.lightning > 14) {
_root.specialhas = "lightning";
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.fire > 14) {
_root.specialhas = "fire";
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.nano > 14) {
_root.specialhas = "nano";
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (!_root.summonedyet) {
if (_root.flinching == false) {
if (_root.specialhas == "lightning") {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(83)) {
this.gotoAndStop(10);
}
}
}
}
}
}
}
if (!_root.summonedyet) {
if (!_root.paused) {
if (_root.specialhas == "fire") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(11);
}
}
}
}
}
}
}
if (!_root.summonedyet) {
if (!_root.paused) {
if (_root.specialhas == "nano") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(12);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.specialattack == "lightning") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(13);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "fire") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(14);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "nano") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(15);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 2) {
if (transforming == false) {
_root.rage = _root.rage - 0.5;
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping == false) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(1);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(4);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.health < 1) {
this.gotoAndStop("dead");
_root.flinching = true;
_root.dkalive = false;
_root.devil._alpha = 100;
}
}
}
onClipEvent (enterFrame) {
if (_x > 900) {
_x = 900;
}
if (_x < 0) {
_x = 0;
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (!_root.leveldone) {
if (_root.bodycount > 50) {
_root.portal.play();
_root.portal._visible = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 22) {
if (_xscale == 100) {
if (!Key.isDown(39)) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x + speed);
}
}
}
}
}
if (_xscale == -100) {
if (!Key.isDown(37)) {
if (this._currentframe == 22) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x - speed);
}
}
}
}
}
}
Instance of Symbol 821 MovieClip "portal" in Frame 503
onClipEvent (load) {
_visible = false;
end = new Sound();
end.attachSound("endlev");
delay = 0;
done = false;
}
onClipEvent (enterFrame) {
if (_visible) {
if (!done) {
if (_root.devil.rangeb.hitTest(this._x, this._y, true)) {
delay = delay + 1;
end.start();
_root.paused = true;
_root.sfxb.play();
done = true;
}
}
}
}
Instance of Symbol 826 MovieClip "skull" in Frame 503
onClipEvent (load) {
_root.cursed = false;
velocity = 0;
gravity = 5;
done = false;
friction = 0.01;
if (this._name != "skull") {
this._x = random(800);
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
velocity = velocity + gravity;
velocity = velocity - (friction * velocity);
_y = (_y + velocity);
if (_y > _root.fakeplatform._y) {
_y = _root.fakeplatform._y;
velocity = velocity * -0.9;
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (!done) {
if (this.hitTest(_root.devil.range)) {
this.gotoAndPlay(2);
done = true;
}
}
}
}
Instance of Symbol 886 MovieClip "stats" in Frame 503
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 953 MovieClip "worm" in Frame 503
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 5) {
sheepdir = random(2);
} else {
sheepdir = 0;
}
speed = random(2) + 3;
alive = true;
if (sheepdir == 0) {
this._x = 1000;
}
if (sheepdir == 1) {
this._x = -400;
_xscale = -100;
}
this._y = 403;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (_root.bodycount > 4) {
if (_visible) {
if (sheepdir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
if (_root.bodycount > 7) {
if (_visible) {
if (sheepdir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 910) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.status == 2) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == true) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 990 MovieClip "sheep" in Frame 503
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 19) {
sheepdir = random(2);
} else {
sheepdir = 0;
}
speed = random(2) + 3;
alive = true;
if (sheepdir == 0) {
this._x = 921;
}
if (sheepdir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 403;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (_visible) {
if (sheepdir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
if (_visible) {
if (sheepdir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 910) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.status == 2) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == true) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 1013 MovieClip "ufo" in Frame 503
onClipEvent (load) {
firedelay = 10000;
fireTime = getTimer() + firedelay;
delay = 2000;
newdirectionTime = getTimer() + delay;
timehas = 2000;
move = random(5);
xspeed = random(1) + 3;
yspeed = random(2) + 3;
_root.attackframe = false;
if (_root.bodycount > 125) {
dir = random(2);
} else {
dir = 0;
}
speed = 0.5;
alive = true;
if (dir == 0) {
this._x = 921;
}
if (dir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 100;
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
if (dir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 600) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.hitTest(this._x, _y, true)) {
alive = false;
this.gotoAndStop(3);
this.causeofdeath = "rage";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.invunerable == false) {
if (this.hitTest(_root.devil.spin.range)) {
alive = false;
this.gotoAndStop(3);
this.causeofdeath = "arial";
}
}
}
}
onClipEvent (enterFrame) {
if (getTimer() > newdirectionTime) {
move = random(5);
newdirectionTime = getTimer() + delay;
}
}
onClipEvent (enterFrame) {
if (alive) {
if (getTimer() > fireTime) {
fireTime = getTimer() + firedelay;
this.gotoAndStop(2);
}
}
}
onClipEvent (enterFrame) {
if (move == 0) {
_x = (_x + xspeed);
}
if (move == 1) {
_x = (_x - xspeed);
}
if (move == 2) {
_y = (_y + yspeed);
}
if (move == 3) {
_y = (_y - yspeed);
}
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (_x > 900) {
_x = 900;
move = random(3);
}
}
if (dir == 1) {
if (_x < 0) {
_x = 9;
move = random(3);
}
}
if (_y > 200) {
_y = 200;
move = random(3);
}
if (_y < 0) {
_y = 0;
move = random(3);
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 202 MovieClip "cursor" in Frame 503
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (load) {
startTime = getTimer();
}
onClipEvent (enterFrame) {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
if (elapsedHours < 10) {
hours = "0" + elapsedHours.toString();
} else {
hours = elapsedHours.toString();
}
if (elapsedM < 10) {
minutes = "0" + elapsedM.toString();
} else {
minutes = elapsedM.toString();
}
if (elapsedS < 10) {
seconds = "0" + elapsedS.toString();
} else {
seconds = elapsedS.toString();
}
if (elapsedH < 10) {
hundredths = "0" + elapsedH.toString();
} else {
hundredths = elapsedH.toString();
}
_root.timer_txt = (((((hours + ":") + minutes) + ":") + seconds) + ":") + hundredths;
}
Frame 504
_root.bodycount = 0;
_root.score = 0;
_root.rage = 0;
_root.lightning = 0;
_root.fire = 0;
_root.nano = 0;
_root.health = 100;
Stage.showMenu;
_root.sff = 10;
_root.GETLOST = false;
stop();
_root.leveldone = false;
_root.paused = false;
_root.eos = 0;
_root.maxeos = 7;
_quality = _root.speedfixquality;
Instance of Symbol 1016 MovieClip "angelmaker" in Frame 504
onClipEvent (load) {
_root.angel._visible = false;
angelCounter = 10000;
delay = 4000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.eos < _root.maxeos) {
if (getTimer() > resetTime) {
angelCounter++;
_root.angel.duplicateMovieClip("angel" + angelCounter, angelCounter);
_root["angel" + angelCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 3800;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 3500;
}
if (_root.bodycount > 15) {
delay = 3000;
}
if (_root.bodycount > 20) {
delay = 2500;
_root.sff = 3;
}
if (_root.bodycount > 30) {
delay = 2000;
_root.sff = 4;
}
if (_root.bodycount > 40) {
delay = 1700;
_root.sff = 6;
}
if (_root.bodycount > 50) {
if (_root.fpsTicks < 22) {
_quality = "Low";
_root.sff = 6;
}
}
}
Instance of Symbol 1018 MovieClip in Frame 504
onClipEvent (load) {
_root.halo._visible = false;
haloCounter = 5000;
delay = _root.angelmaker.delay + 1000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.eos < _root.maxeos) {
if (_root.bodycount > 29) {
if (getTimer() > resetTime) {
haloCounter++;
_root.halo.duplicateMovieClip("halo" + haloCounter, haloCounter);
_root["halo" + haloCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
}
Instance of Symbol 620 MovieClip in Frame 504
onClipEvent (load) {
_root.laser._visible = false;
laserCounter = 1;
delay = 19000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
Instance of Symbol 630 MovieClip "laser" in Frame 504
onClipEvent (load) {
velocity = 0;
gravity = 2;
friction = 0.01;
if (this._name != "laser") {
this._x = random(800);
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
velocity = velocity + gravity;
velocity = velocity - (friction * velocity);
_y = (_y + velocity);
if (_y > _root.fakeplatform._y) {
_y = _root.fakeplatform._y;
velocity = velocity * -0.9;
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 1040 MovieClip "dino" in Frame 504
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 10) {
dir = random(2);
} else {
dir = 0;
}
speed = random(7) + 5;
alive = true;
if (dir == 0) {
this._x = 921;
}
if (dir == 1) {
this._x = -300;
_xscale = -100;
}
this._y = 330;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (this.walk.shouldwalk) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
if (this.walk.shouldwalk) {
if (dir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 1000) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.range.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (!_root.devil.jumping) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
if (_root.dkalive == true) {
if (alive == true) {
if (_root.devil.jumping) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 618 MovieClip "dinomaker" in Frame 504
onClipEvent (load) {
_root.dino._visible = false;
dinoCounter = 0;
delay = 4000;
resetTime = getTimer() + delay;
_root.sff = 0;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.eos < _root.maxeos) {
if (getTimer() > resetTime) {
dinoCounter++;
_root.dino.duplicateMovieClip("dino" + dinoCounter, dinoCounter);
_root["dino" + dinoCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 3800;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 3200;
}
if (_root.bodycount > 50) {
if (_root.fpsTicks < 22) {
_quality = "Low";
_root.sff = 6;
}
}
}
Instance of Symbol 821 MovieClip "portal" in Frame 504
onClipEvent (load) {
_visible = false;
end = new Sound();
end.attachSound("endlev");
delay = 0;
done = false;
}
onClipEvent (enterFrame) {
if (_visible) {
if (!done) {
if (_root.devil.rangeb.hitTest(this._x, this._y, true)) {
delay = delay + 1;
end.start();
_root.paused = true;
_root.sfxb.play();
done = true;
}
}
}
}
Instance of Symbol 820 MovieClip "devil" in Frame 504
onClipEvent (load) {
startspeed = 20;
gravity = 30;
jumping = 0;
speed = 6;
_root.walking = false;
jumping = false;
velocity = 30;
jumpSpeed = 10;
_root.jumpallowed = false;
_root.busy = false;
_root.attacking = false;
_root.ragestatus = 1;
oldx = _xscale;
status = 1;
transforming = false;
_root.invunerable = false;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.specialhas = "none";
_root.tridenteffects = "none";
_root.flinching = false;
_root.flinchtime = "expired";
_root.dkalive = true;
_root.gameactive = true;
_root.summonedyet = false;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (transforming == false) {
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = 100;
} else {
if (_root.flinching == false) {
}
if (transforming == false) {
if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = -100;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (jumping == false) {
if (_root.specialbar == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(3);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (Key.isDown(38) && (jumping == 0)) {
jumping = 1;
starttime = getTimer() / 1000;
startpos = _y;
this.gotoAndStop(4);
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping == 1) {
time = (getTimer() / 1000) - starttime;
_y = (_y - (startspeed - (gravity * time)));
if (_y > startpos) {
_y = startpos;
jumping = 0;
}
}
}
}
}
onClipEvent (keyUp) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.rage > 100) {
_root.ragestatus = 2;
_root.rage = 100;
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.specialhas == "none") {
if (_root.tridenteffects == "none") {
if (status == 1) {
if (_root.rage > 99) {
if (Key.isDown(68)) {
status = 2;
transforming = true;
_root.busy = true;
this.gotoAndStop(5);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (_root.specialattack == "normal") {
if (status == 2) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(8);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (transforming == false) {
if (Key.isDown(38)) {
this.gotoAndStop(9);
_root.walking = true;
}
}
}
}
}
}
}
onClipEvent (keyUp) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 2) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(6);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(6);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.lightning > 14) {
_root.specialhas = "lightning";
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.fire > 14) {
_root.specialhas = "fire";
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.nano > 14) {
_root.specialhas = "nano";
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (!_root.summonedyet) {
if (_root.flinching == false) {
if (_root.specialhas == "lightning") {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(83)) {
this.gotoAndStop(10);
}
}
}
}
}
}
}
if (!_root.summonedyet) {
if (!_root.paused) {
if (_root.specialhas == "fire") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(11);
}
}
}
}
}
}
}
if (!_root.summonedyet) {
if (!_root.paused) {
if (_root.specialhas == "nano") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(12);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.specialattack == "lightning") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(13);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "fire") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(14);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "nano") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(15);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 2) {
if (transforming == false) {
_root.rage = _root.rage - 0.5;
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping == false) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(1);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(4);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.health < 1) {
this.gotoAndStop("dead");
_root.flinching = true;
_root.dkalive = false;
_root.devil._alpha = 100;
}
}
}
onClipEvent (enterFrame) {
if (_x > 900) {
_x = 900;
}
if (_x < 0) {
_x = 0;
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (!_root.leveldone) {
if (_root.bodycount > 50) {
_root.portal.play();
_root.portal._visible = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 22) {
if (_xscale == 100) {
if (!Key.isDown(39)) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x + speed);
}
}
}
}
}
if (_xscale == -100) {
if (!Key.isDown(37)) {
if (this._currentframe == 22) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x - speed);
}
}
}
}
}
}
Instance of Symbol 886 MovieClip "stats" in Frame 504
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 1057 MovieClip "angel" in Frame 504
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 10) {
dir = random(2);
} else {
dir = 0;
}
speed = random(2) + 3;
alive = true;
if (dir == 0) {
this._x = 921;
}
if (dir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 330;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
if (dir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 600) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (!_root.devil.jumping) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
if (_root.dkalive == true) {
if (alive == true) {
if (_root.devil.jumping) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 1066 MovieClip "halo" in Frame 504
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 89) {
dir = random(2);
} else {
dir = 0;
}
speed = random(2) + 3;
alive = true;
if (dir == 0) {
this._x = 921;
}
if (dir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 350;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
if (dir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 600) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (!_root.devil.jumping) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.range.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
if (_root.dkalive == true) {
if (alive == true) {
if (_root.devil.jumping) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 636 MovieClip in Frame 504
onClipEvent (load) {
_root.skull._visible = false;
skullCounter = 10000;
delay = 30000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
skullCounter++;
_root.skull.duplicateMovieClip("skull" + skullCounter, skullCounter);
_root["skull" + skullCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
Instance of Symbol 826 MovieClip "skull" in Frame 504
onClipEvent (load) {
_root.cursed = false;
velocity = 0;
gravity = 5;
done = false;
friction = 0.01;
if (this._name != "skull") {
this._x = random(800);
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
velocity = velocity + gravity;
velocity = velocity - (friction * velocity);
_y = (_y + velocity);
if (_y > _root.fakeplatform._y) {
_y = _root.fakeplatform._y;
velocity = velocity * -0.9;
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (!done) {
if (this.hitTest(_root.devil.range)) {
this.gotoAndPlay(2);
done = true;
}
}
}
}
Instance of Symbol 202 MovieClip "cursor" in Frame 504
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (load) {
startTime = getTimer();
}
onClipEvent (enterFrame) {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
if (elapsedHours < 10) {
hours = "0" + elapsedHours.toString();
} else {
hours = elapsedHours.toString();
}
if (elapsedM < 10) {
minutes = "0" + elapsedM.toString();
} else {
minutes = elapsedM.toString();
}
if (elapsedS < 10) {
seconds = "0" + elapsedS.toString();
} else {
seconds = elapsedS.toString();
}
if (elapsedH < 10) {
hundredths = "0" + elapsedH.toString();
} else {
hundredths = elapsedH.toString();
}
_root.timer_txt = (((((hours + ":") + minutes) + ":") + seconds) + ":") + hundredths;
}
Frame 505
_root.bodycount = 0;
_root.score = 0;
_root.rage = 0;
_root.lightning = 0;
_root.fire = 0;
_root.nano = 0;
_root.health = 100;
Stage.showMenu;
_root.sff = 15;
_root.GETLOST = false;
stop();
_root.leveldone = false;
_root.paused = false;
_root.eos = 0;
_root.maxeos = 7;
_quality = _root.speedfixquality;
Instance of Symbol 620 MovieClip in Frame 505
onClipEvent (load) {
_root.laser._visible = false;
laserCounter = 1;
delay = _root.sheepmaker.delay + 16000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
laserCounter++;
_root.laser.duplicateMovieClip("laser" + laserCounter, laserCounter);
_root["laser" + laserCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
Instance of Symbol 630 MovieClip "laser" in Frame 505
onClipEvent (load) {
velocity = 0;
gravity = 2;
friction = 0.01;
if (this._name != "laser") {
this._x = random(800);
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
velocity = velocity + gravity;
velocity = velocity - (friction * velocity);
_y = (_y + velocity);
if (_y > _root.fakeplatform._y) {
_y = _root.fakeplatform._y;
velocity = velocity * -0.9;
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 634 MovieClip in Frame 505
onClipEvent (load) {
_root.worm._visible = false;
wormCounter = -5000;
delay = 4000;
resetTime = getTimer() + delay;
_root.sff = 0;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.eos < _root.maxeos) {
if (getTimer() > resetTime) {
wormCounter++;
_root.worm.duplicateMovieClip("worm" + wormCounter, wormCounter);
_root["worm" + wormCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 4500;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 4000;
}
if (_root.bodycount > 15) {
delay = 3400;
}
if (_root.bodycount > 20) {
delay = 3000;
_root.sff = 3;
}
}
Instance of Symbol 953 MovieClip "worm" in Frame 505
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 5) {
sheepdir = random(2);
} else {
sheepdir = 0;
}
speed = random(2) + 3;
alive = true;
if (sheepdir == 0) {
this._x = 1000;
}
if (sheepdir == 1) {
this._x = -400;
_xscale = -100;
}
this._y = 415;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (_root.bodycount > 4) {
if (_visible) {
if (sheepdir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
if (_root.bodycount > 7) {
if (_visible) {
if (sheepdir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 910) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.status == 2) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == true) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 618 MovieClip "sheepmaker" in Frame 505
onClipEvent (load) {
_root.sheep._visible = false;
sheepCounter = -2000;
delay = 4000;
resetTime = getTimer() + delay;
_root.sff = 0;
}
onClipEvent (enterFrame) {
if (getTimer() > resetTime) {
if (_root.eos < _root.maxeos) {
if (_root.portal._visible == false) {
sheepCounter++;
_root.sheep.duplicateMovieClip("sheep" + sheepCounter, sheepCounter);
_root["sheep" + sheepCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 3500;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 2000;
}
if (_root.bodycount > 15) {
delay = 1800;
}
if (_root.bodycount > 20) {
delay = 1500;
_root.sff = 3;
}
}
Instance of Symbol 821 MovieClip "portal" in Frame 505
onClipEvent (load) {
_visible = false;
end = new Sound();
end.attachSound("endlev");
delay = 0;
done = false;
}
onClipEvent (enterFrame) {
if (_visible) {
if (!done) {
if (_root.devil.rangeb.hitTest(this._x, this._y, true)) {
delay = delay + 1;
end.start();
_root.paused = true;
_root.sfxb.play();
done = true;
}
}
}
}
Instance of Symbol 820 MovieClip "devil" in Frame 505
onClipEvent (load) {
startspeed = 20;
gravity = 30;
jumping = 0;
speed = 6;
_root.walking = false;
jumping = false;
velocity = 30;
jumpSpeed = 10;
_root.jumpallowed = false;
_root.busy = false;
_root.attacking = false;
_root.ragestatus = 1;
oldx = _xscale;
status = 1;
transforming = false;
_root.invunerable = false;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.specialhas = "none";
_root.tridenteffects = "none";
_root.flinching = false;
_root.flinchtime = "expired";
_root.dkalive = true;
_root.gameactive = true;
_root.summonedyet = false;
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (transforming == false) {
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = 100;
} else {
if (_root.flinching == false) {
}
if (transforming == false) {
if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = -100;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (jumping == false) {
if (_root.specialbar == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(3);
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (Key.isDown(38) && (jumping == 0)) {
jumping = 1;
starttime = getTimer() / 1000;
startpos = _y;
this.gotoAndStop(4);
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping == 1) {
time = (getTimer() / 1000) - starttime;
_y = (_y - (startspeed - (gravity * time)));
if (_y > startpos) {
_y = startpos;
jumping = 0;
}
}
}
}
}
onClipEvent (keyUp) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.rage > 100) {
_root.ragestatus = 2;
_root.rage = 100;
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.specialhas == "none") {
if (_root.tridenteffects == "none") {
if (status == 1) {
if (_root.rage > 99) {
if (Key.isDown(68)) {
status = 2;
transforming = true;
_root.busy = true;
this.gotoAndStop(5);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (_root.specialattack == "normal") {
if (status == 2) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(8);
}
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (transforming == false) {
if (Key.isDown(38)) {
this.gotoAndStop(9);
_root.walking = true;
}
}
}
}
}
}
}
onClipEvent (keyUp) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 2) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(6);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(6);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.lightning > 14) {
_root.specialhas = "lightning";
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.fire > 14) {
_root.specialhas = "fire";
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.nano > 14) {
_root.specialhas = "nano";
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (!_root.summonedyet) {
if (_root.flinching == false) {
if (_root.specialhas == "lightning") {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(83)) {
this.gotoAndStop(10);
}
}
}
}
}
}
}
if (!_root.summonedyet) {
if (!_root.paused) {
if (_root.specialhas == "fire") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(11);
}
}
}
}
}
}
}
if (!_root.summonedyet) {
if (!_root.paused) {
if (_root.specialhas == "nano") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(12);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.specialattack == "lightning") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(13);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "fire") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(14);
}
}
}
}
}
}
if (!_root.paused) {
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "nano") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(15);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.flinching == false) {
if (status == 2) {
if (transforming == false) {
_root.rage = _root.rage - 0.5;
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping == false) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(1);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
if (!_root.paused) {
if (_root.flinching == false) {
if (jumping) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(4);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.health < 1) {
this.gotoAndStop("dead");
_root.flinching = true;
_root.dkalive = false;
_root.devil._alpha = 100;
}
}
}
onClipEvent (enterFrame) {
if (_x > 900) {
_x = 900;
}
if (_x < 0) {
_x = 0;
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
}
onClipEvent (enterFrame) {
if (!_root.paused) {
if (!_root.leveldone) {
if (_root.bodycount > 50) {
_root.portal.play();
_root.portal._visible = true;
}
}
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 22) {
if (_xscale == 100) {
if (!Key.isDown(39)) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x + speed);
}
}
}
}
}
if (_xscale == -100) {
if (!Key.isDown(37)) {
if (this._currentframe == 22) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x - speed);
}
}
}
}
}
}
Instance of Symbol 886 MovieClip "stats" in Frame 505
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 1016 MovieClip "angelmaker" in Frame 505
onClipEvent (load) {
_root.angel._visible = false;
angelCounter = 10000;
delay = 5000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
if (_root.bodycount > 5) {
angelCounter++;
_root.angel.duplicateMovieClip("angel" + angelCounter, angelCounter);
_root["angel" + angelCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.bodycount > 5) {
delay = 4500;
_root.sff = 0;
}
if (_root.bodycount > 10) {
delay = 3500;
}
if (_root.bodycount > 15) {
delay = 3200;
}
if (_root.bodycount > 20) {
delay = 3200;
_root.sff = 3;
}
if (_root.bodycount > 30) {
delay = 3200;
_root.sff = 4;
}
if (_root.bodycount > 40) {
delay = 3200;
_root.sff = 6;
}
if (_root.bodycount > 50) {
if (_root.fpsTicks < 22) {
_quality = "Low";
_root.sff = 6;
}
}
}
Instance of Symbol 1018 MovieClip in Frame 505
onClipEvent (load) {
_root.halo._visible = false;
haloCounter = 3000;
delay = _root.angelmaker.delay + 1000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (_root.bodycount > 29) {
if (getTimer() > resetTime) {
haloCounter++;
_root.halo.duplicateMovieClip("halo" + haloCounter, haloCounter);
_root["halo" + haloCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
}
Instance of Symbol 1057 MovieClip "angel" in Frame 505
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 10) {
dir = random(2);
} else {
dir = 0;
}
speed = random(2) + 3;
alive = true;
if (dir == 0) {
this._x = 921;
}
if (dir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 300;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
if (dir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 600) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attack - lightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attack - fire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 1066 MovieClip "halo" in Frame 505
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 89) {
dir = random(2);
} else {
dir = 0;
}
speed = random(2) + 3;
alive = true;
if (dir == 0) {
this._x = 921;
}
if (dir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 330;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (dir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
if (dir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 600) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attack - lightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attack - fire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 990 MovieClip "sheep" in Frame 505
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 19) {
sheepdir = random(2);
} else {
sheepdir = 0;
}
speed = random(2) + 3;
alive = true;
if (sheepdir == 0) {
this._x = 921;
}
if (sheepdir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 403;
this.swapDepths(_root.devil);
stab = new Sound();
stab.attachSound("HIt_The_Enemy");
fire = new Sound();
fire.attachSound("fireball");
lightning = new Sound();
lightning.attachSound("electricshock");
nano = new Sound();
nano.attachSound("somesound");
}
onClipEvent (enterFrame) {
if (_visible) {
if (sheepdir == 0) {
if (alive == true) {
this._x = this._x - speed;
if (this._x < -50) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
if (_visible) {
if (sheepdir == 1) {
if (alive == true) {
this._x = this._x + speed;
if (this._x > 910) {
_.swapDepths(0);
this.removeMovieClip();
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (_root.attacking == true) {
if (this.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "stabbed";
}
}
}
if (_root.invunerable == true) {
if (this._visible == true) {
if (_root.devil.status == 2) {
if (_root.devil.hitTest(this._x, _y, true)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "rage";
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == false) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive == true) {
if (alive == true) {
if (this._visible == true) {
if (_root.invunerable == false) {
if (_root.attackframe == false) {
if (_root.devil.jumping == true) {
if (_root.devil.range.hitTest(this._x, _y, true)) {
if (_root.flinchtime == "expired") {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo1";
}
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "combo2";
}
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.spin.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "arial";
}
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
if (this.hitTest(_root.devil.attacklightning.lightningtrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "lightning";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attackfire.firetrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "fire";
}
}
if (this._visible == true) {
if (this.hitTest(_root.devil.attacknano.nanotrident.range)) {
this.gotoAndStop(2);
alive = false;
this.causeofdeath = "nano";
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.cursed) {
alive = false;
this.gotoAndStop(2);
this.causeofdeath = "unknown";
}
}
}
Instance of Symbol 636 MovieClip in Frame 505
onClipEvent (load) {
_root.skull._visible = false;
skullCounter = 10000;
delay = 30000;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (_root.portal._visible == false) {
if (getTimer() > resetTime) {
skullCounter++;
_root.skull.duplicateMovieClip("skull" + skullCounter, skullCounter);
_root["skull" + skullCounter]._visible = true;
resetTime = getTimer() + delay;
}
}
}
Instance of Symbol 826 MovieClip "skull" in Frame 505
onClipEvent (load) {
_root.cursed = false;
velocity = 0;
gravity = 5;
done = false;
friction = 0.01;
if (this._name != "skull") {
this._x = random(800);
}
}
onClipEvent (enterFrame) {
if (this._visible == true) {
velocity = velocity + gravity;
velocity = velocity - (friction * velocity);
_y = (_y + velocity);
if (_y > _root.fakeplatform._y) {
_y = _root.fakeplatform._y;
velocity = velocity * -0.9;
}
}
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (!done) {
if (this.hitTest(_root.devil.range)) {
this.gotoAndPlay(2);
done = true;
}
}
}
}
Instance of Symbol 202 MovieClip "cursor" in Frame 505
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
onClipEvent (load) {
startTime = getTimer();
}
onClipEvent (enterFrame) {
elapsedTime = getTimer() - startTime;
elapsedHours = Math.floor(elapsedTime / 3600000);
remaining = elapsedTime - (elapsedHours * 3600000);
elapsedM = Math.floor(remaining / 60000);
remaining = remaining - (elapsedM * 60000);
elapsedS = Math.floor(remaining / 1000);
remaining = remaining - (elapsedS * 1000);
elapsedH = Math.floor(remaining / 10);
if (elapsedHours < 10) {
hours = "0" + elapsedHours.toString();
} else {
hours = elapsedHours.toString();
}
if (elapsedM < 10) {
minutes = "0" + elapsedM.toString();
} else {
minutes = elapsedM.toString();
}
if (elapsedS < 10) {
seconds = "0" + elapsedS.toString();
} else {
seconds = elapsedS.toString();
}
if (elapsedH < 10) {
hundredths = "0" + elapsedH.toString();
} else {
hundredths = elapsedH.toString();
}
_root.timer_txt = (((((hours + ":") + minutes) + ":") + seconds) + ":") + hundredths;
}
Frame 506
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.specialhas = "none";
_root.tridenteffects = "none";
_quality = "High";
Instance of Symbol 202 MovieClip "cursor" in Frame 506
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Frame 2340
_root.gotoAndStop("final_boss");
Frame 2341
_root.health = 100;
_root.y = 1;
_root.x = 9;
_root.dkspeed = 4;
_quality = "Low";
_root.deathkidhealth = 100;
delay = 20;
resetTime = getTimer() + delay;
_root.shake = false;
so = 10;
onEnterFrame = function (simpleTest) {
if (_root.shake) {
if (getTimer() > resetTime) {
wait = getTimer();
xdir = random(2);
ydir = random(2);
if (xdir == 0) {
_root._x = _root._x - 5;
}
if (xdir == 1) {
_root._x = _root._x + 5;
}
if (ydir == 0) {
_root._y = _root._y - 5;
}
if (xdir == 1) {
_root._y = _root._y + 5;
}
if (wait > 2000) {
}
resetTime = getTimer() + delay;
}
}
};
_quality = "Low";
Instance of Symbol 1106 MovieClip "theleverthing" in Frame 2341
onClipEvent (enterFrame) {
if (this.hitTest(_root.deathkid.framefour)) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 1153 MovieClip "deathkid" in Frame 2341
onClipEvent (load) {
_root.animationdone = false;
_root.jbalive = true;
_root.jackhealth = 100;
_root.icanhurtdevil = true;
_root.sfx1on = false;
_root.sfx1._visible = false;
sfx1Counter = random(100670) - 2920;
_root.bullet._visible = false;
bulletCounter = 0;
_root.blockhit = false;
_root.blocking = false;
form = 1;
_root.dkdalive = true;
deathkidbusy = false;
_root.deathkidhurt = 0;
_root.throwknives = false;
knifeCounter = random(100670) - 2920;
_root.knife._visible = false;
_root.deathkidjumpoff = false;
speed = _root.dkspeed;
_root.deathwalk = false;
_root.energyball._visible = false;
energyballCounter = random(100670) - 2920;
_root.deathkidfire = false;
_root.scythe._visible = false;
scytheCounter = random(100670) - 2920;
_root.scythethrow = false;
_root.lunge = 0;
_root.lunging = false;
_root.dkdepth = this.getDepth();
this.gotoAndStop(2);
_root.deathkidjump = false;
if (!touch) {
falling = true;
}
if (touch) {
falling = false;
}
gravity = 5;
velocity = 20;
fallSpeed = gravity;
jumping = 10;
}
onClipEvent (enterFrame) {
if (_x < _root.devil._x) {
dir = 1;
_xscale = 100;
}
if (_x > _root.devil._x) {
dir = 2;
_xscale = -100;
}
}
onClipEvent (enterFrame) {
if (_root.deathwalk) {
if (dir == 1) {
_x = (_x + speed);
}
}
if (_root.deathwalk) {
if (dir == 2) {
_x = (_x - speed);
}
}
}
onClipEvent (enterFrame) {
if (_root.deathkidfire) {
energyballCounter++;
_root.energyball.duplicateMovieClip("energyball" + energyballCounter, energyballCounter);
_root["energyball" + energyballCounter]._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.scythethrow) {
scytheCounter++;
_root.scythe.duplicateMovieClip("scythe" + scytheCounter, scytheCounter);
_root["scythe" + scytheCounter]._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.throwknives) {
knifeCounter++;
_root.knife.duplicateMovieClip("knife" + knifeCounter, knifeCounter);
_root["knife" + knifeCounter]._visible = true;
}
}
onClipEvent (enterFrame) {
if (_root.sfx1on) {
sfx1Counter++;
_root.sfx1.duplicateMovieClip("sfx1" + sfx1Counter, sfx1Counter);
_root["sfx1" + sfx1Counter]._visible = true;
}
}
onClipEvent (enterFrame) {
if (falling) {
_y = (_y + fallSpeed);
fallSpeed = fallSpeed + 1;
touch = false;
}
}
onClipEvent (enterFrame) {
if (_root.platform.hitTest(this._x, _y, true)) {
touch = true;
falling = false;
velocity = 10;
jumping = 0;
fallSpeed = gravity;
_y = (_root.platform._y - 20);
_root.deathkidplatform = "high";
}
}
onClipEvent (enterFrame) {
if (_root.platformb.hitTest(this._x, _y, true)) {
touch = true;
falling = false;
velocity = 10;
jumping = 0;
fallSpeed = gravity;
_root.deathkidplatform = "low";
}
}
onClipEvent (enterFrame) {
if (!_root.platform.hitTest(this._x, _y, true)) {
if (!_root.platformb.hitTest(this._x, _y, true)) {
if (jumping == 0) {
touch = false;
falling = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.deathkidjump) {
if (jumping == 0) {
if (touch) {
jumping = 1;
}
}
}
if (jumping == 1) {
_y = (_y - (velocity * (gravity / 2)));
velocity = velocity - 0.5;
}
if (jumping == 1) {
if (_root.platformlevel == "below") {
if (this._x < _root.platform._x) {
this._x = this._x + (speed + 10);
}
}
}
if (jumping == 1) {
if (_root.platformlevel == "below") {
if (this._x > _root.platform._x) {
this._x = this._x - (speed + 10);
}
}
}
if (jumping == 1) {
if (_root.platformlevel == "above") {
if (_root.deathkid._x > _root.devil._x) {
this._x = this._x + (speed + 5);
}
}
if (jumping == 1) {
if (_root.platformlevel == "above") {
if (_root.deathkid._x < _root.devil._x) {
this._x = this._x - (speed + 5);
}
}
}
if (jumping == 1) {
if (_root.deathkidplatform == "low") {
if (_root.deathkid._x > _root.platform._x) {
this._x = this._x - (speed + 5);
}
}
if (jumping == 1) {
if (_root.deathkidplatform == "low") {
if (_root.deathkid._x < _root.platform._x) {
this._x = this._x + (speed + 5);
}
}
}
if (jumping == 1) {
if (_root.deathkidplatform == "high") {
if (_root.platformlevel == "same") {
if (_root.deathkid._x < _root.devil._x) {
this._x = this._x - (speed + 5);
}
}
}
if (jumping == 1) {
if (_root.deathkidplatform == "high") {
if (_root.platformlevel == "same") {
if (_root.deathkid._x > _root.devil._x) {
this._x = this._x + (speed + 5);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (touch) {
distance = Math.ceil(_root.deathkid._y - _root.platformb._y);
}
if (distance > -23) {
_y = (_root.platformb._y - 30);
}
}
onClipEvent (enterFrame) {
if (_root.deathkidplatform == _root.devilkidplatform) {
_root.platformlevel = "same";
}
if (_root.deathkidplatform == "high") {
if (_root.devilkidplatform == "low") {
_root.platformlevel = "above";
}
}
if (_root.deathkidplatform == "low") {
if (_root.devilkidplatform == "high") {
_root.platformlevel = "below";
}
}
}
onClipEvent (enterFrame) {
if (_x > 900) {
_x = 900;
}
if (_x < 0) {
_x = 0;
}
}
onClipEvent (enterFrame) {
if (form == 1) {
if (_root.platformb.hitTest(this._x, _y, true)) {
if (_root.conveyorbelton) {
_x = (_x - 4);
this.gotoAndStop(8);
}
}
}
if (form == 2) {
if (_root.platformb.hitTest(this._x, _y, true)) {
if (_root.conveyorbelton) {
_x = (_x - 4);
this.gotoAndStop(15);
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (!_root.blocking) {
if (!_root.deathkidbusy) {
if (_root.attacking == true) {
if (this.range.hitTest(_root.devil.stab.trident)) {
_root.deathkid.gotoAndStop(10);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (!_root.blocking) {
if (!_root.deathkidbusy) {
if (_root.attacking == true) {
if (this.range.hitTest(_root.devil.spin.range)) {
_root.deathkid.gotoAndStop(10);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (!_root.blocking) {
if (!_root.justhit) {
if (!_root.deathkidbusy) {
if (_root.attacking == true) {
if (this.range.hitTest(_root.devil.combo1)) {
_root.deathkid.gotoAndStop(10);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (!_root.justhit) {
if (!_root.blocking) {
if (!_root.deathkidbusy) {
if (_root.attacking == true) {
if (this.range.hitTest(_root.devil.combo2)) {
_root.deathkid.gotoAndStop(10);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (_root.attacking == true) {
if (_root.blocking) {
if (_root.blockhit) {
if (this.range.hitTest(_root.devil.stab.trident)) {
bulletCounter++;
_root.bullet.duplicateMovieClip("bullet" + bulletCounter, bulletCounter);
_root["bullet" + bulletCounter]._visible = true;
noise = random(3);
_root.donesofar = true;
if (noise == 0) {
ting = new Sound();
ting.attachSound("ting");
ting.setVolume(90);
ting.start();
noise = undefined;
}
if (noise == 1) {
ting2 = new Sound();
ting2.attachSound("ting2");
ting2.setVolume(90);
ting2.start();
noise = undefined;
}
if (noise == 2) {
ting3 = new Sound();
ting3.attachSound("ting3");
ting3.setVolume(90);
ting3.start();
noise = undefined;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.dkdalive) {
if (form == 1) {
this.gotoAndStop("dktrans");
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (_root.attacking == true) {
if (_root.blocking) {
if (_root.blockhit) {
if (this.range.hitTest(_root.devil.combo1)) {
bulletCounter++;
_root.bullet.duplicateMovieClip("bullet" + bulletCounter, bulletCounter);
_root["bullet" + bulletCounter]._visible = true;
noise = random(3);
_root.donesofar = true;
if (noise == 0) {
ting = new Sound();
ting.attachSound("ting");
ting.setVolume(90);
ting.start();
noise = undefined;
}
if (noise == 1) {
ting2 = new Sound();
ting2.attachSound("ting2");
ting2.setVolume(90);
ting2.start();
noise = undefined;
}
if (noise == 2) {
ting3 = new Sound();
ting3.attachSound("ting3");
ting3.setVolume(90);
ting3.start();
noise = undefined;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (_root.attacking == true) {
if (_root.blocking) {
if (_root.blockhit) {
if (this.range.hitTest(_root.devil.combo2)) {
bulletCounter++;
_root.bullet.duplicateMovieClip("bullet" + bulletCounter, bulletCounter);
_root["bullet" + bulletCounter]._visible = true;
noise = random(3);
_root.donesofar = true;
if (noise == 0) {
ting = new Sound();
ting.attachSound("ting");
ting.setVolume(90);
ting.start();
noise = undefined;
}
if (noise == 1) {
ting2 = new Sound();
ting2.attachSound("ting2");
ting2.setVolume(90);
ting2.start();
noise = undefined;
}
if (noise == 2) {
ting3 = new Sound();
ting3.attachSound("ting3");
ting3.setVolume(90);
ting3.start();
noise = undefined;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (form == 1) {
if (_root.attacking == true) {
if (_root.blocking) {
if (_root.blockhit) {
if (this.range.hitTest(_root.devil.spin.range)) {
bulletCounter++;
_root.bullet.duplicateMovieClip("bullet" + bulletCounter, bulletCounter);
_root["bullet" + bulletCounter]._visible = true;
noise = random(3);
_root.donesofar = true;
if (noise == 0) {
ting = new Sound();
ting.attachSound("ting");
ting.setVolume(90);
ting.start();
noise = undefined;
}
if (noise == 1) {
ting2 = new Sound();
ting2.attachSound("ting2");
ting2.setVolume(90);
ting2.start();
noise = undefined;
}
if (noise == 2) {
ting3 = new Sound();
ting3.attachSound("ting3");
ting3.setVolume(90);
ting3.start();
noise = undefined;
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (!_root.devil.jumping) {
if (form == 1) {
if (_root.icanhurtdevil) {
if (_root.flinchtime == "expired") {
if (this.range.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (form == 1) {
if (_root.icanhurtdevil) {
if (_root.flinchtime == "expired") {
if (this.range.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.jbalive) {
if (form == 2) {
if (!_root.deathkidbusy) {
if (_root.attacking == true) {
if (this.range.hitTest(_root.devil.stab.trident)) {
this.gotoAndStop(17);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.jbalive) {
if (form == 2) {
if (_root.dkalive) {
if (_root.icanhurtdevil) {
if (_root.flinchtime == "expired") {
if (this.range.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (!_root.jbalive) {
_root.deathkid.gotoAndStop(18);
}
}
Instance of Symbol 1164 MovieClip "energyball" in Frame 2341
onClipEvent (load) {
if (_visible) {
if (_root.sizechance == 2) {
big = true;
} else {
big = false;
}
if (!big) {
ball = new Sound();
ball.attachSound("energyballs");
ball.start();
}
}
if (_root.deathkid.dir == 1) {
Speed = 20;
this._x = _root.deathkid._x + 80;
}
if (_root.deathkid.dir == 2) {
Speed = -20;
this._x = _root.deathkid._x - 80;
}
this._y = _root.deathkid._y - 100;
if (_root.sizechance == 2) {
if (_root.deathkid.dir == 1) {
_height = 100;
_width = 100;
Speed = 0;
bigball = new Sound();
bigball.attachSound("bigball");
bigball.setVolume(150);
bigball.start();
big = true;
Speed = Speed + 1;
dir = "right";
}
}
if (_root.sizechance == 2) {
if (_root.deathkid.dir == 2) {
_height = 100;
_width = 100;
Speed = 0;
bigball = new Sound();
bigball.attachSound("bigball");
bigball.setVolume(150);
bigball.start();
big = true;
Speed = Speed - 1;
dir = "left";
}
}
}
onClipEvent (enterFrame) {
this._x = this._x + Speed;
if (big) {
if (dir == "right") {
Speed = Speed + 1;
}
}
if (big) {
if (dir == "left") {
Speed = Speed - 1;
}
}
if (dir == "right") {
if (_visible) {
if (_x > 1000) {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
if (dir == "left") {
if (_visible) {
if (_x < -100) {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.flinchtime == "expired") {
if (_visible) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.flinchtime == "expired") {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
Instance of Symbol 1166 MovieClip "scythe" in Frame 2341
onClipEvent (load) {
if (_root.deathkid.dir == 1) {
_xscale = 100;
}
if (_root.deathkid.dir == 2) {
_xscale = -100;
}
if (_root.deathkid.dir == 1) {
this._x = _root.deathkid._x + 377;
}
if (_root.deathkid.dir == 2) {
this._x = _root.deathkid._x - 377;
}
this._y = _root.deathkid._y - 100;
speed = 30;
done = false;
if (_visible) {
time = 0;
ss = new Sound();
ss.attachSound("throwknife");
ss.start();
}
}
onClipEvent (enterFrame) {
if (_xscale == 100) {
_x = (_x + speed);
if (_x > (_root.deathkid._x + 200)) {
speed = speed - 1;
if (speed < -20) {
if (_root.deathkid._xscale == 100) {
if (!done) {
if (this.hitTest(_root.deathkid)) {
this.gotoAndPlay(2);
done = true;
speed = 0;
}
}
}
}
}
}
if (_xscale == -100) {
_x = (_x - speed);
if (_x < (_root.deathkid._x - 200)) {
speed = speed - 1;
if (speed < -20) {
if (_root.deathkid._xscale == -100) {
if (!done) {
if (this.hitTest(_root.deathkid)) {
this.gotoAndPlay(2);
done = true;
speed = 0;
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
Instance of Symbol 1167 MovieClip "deathkidwalk" in Frame 2341
onClipEvent (load) {
dkcCounter = 1;
if (_root.deathkid._x < _root.devil._x) {
_x = (_root.deathkid._x + 90);
_xscale = 100;
}
if (_root.deathkid._x > _root.devil._x) {
_x = (_root.deathkid._x - 90);
_xscale = -100;
}
_y = (_root.deathkid._y - 120);
_alpha = 80;
}
onClipEvent (enterFrame) {
if (_visible) {
if (this.hitTest(_root.deathkid)) {
_visible = true;
} else {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
_alpha = (_alpha - 10);
if (_alpha < 10) {
this.swapDepths(0);
this.removeMovieClip();
if (_root.deathkidwalk == false) {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
}
Instance of Symbol 1168 MovieClip "platform" in Frame 2341
onClipEvent (enterFrame) {
m_bounds = new Object();
m_bounds = this.getBounds(_root);
if (hitTest(_root.devil)) {
if (_root.devil.b_edge <= m_bounds.Ymin) {
_root.devil._y = m_bounds.Ymax - 15;
_root.devil.platform = "on";
}
if ((_root.devil.t_edge - 12) <= m_bounds.Ymax) {
_root.devil.vel_y = 0;
}
}
}
Instance of Symbol 1170 MovieClip "knife" in Frame 2341
onClipEvent (load) {
if (_name != "knife") {
_y = _root.deathkid._y;
_x = _root.deathkid._x;
y = 25;
x = 20;
shotSpeed = Math.round(Math.random() * (y - x)) + x;
shotTime = getTimer();
deltaX = _x - _root.devil._x;
deltaY = _y - _root.devil._y;
angle = -Math.atan2(deltaX, deltaY);
ySpeed = shotSpeed * Math.cos(angle);
xSpeed = shotSpeed * Math.sin(angle);
}
}
onClipEvent (enterFrame) {
if (_name != "knife") {
_y = (_y - ySpeed);
_x = (_x + xSpeed);
_rotation = (_rotation + 50);
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_visible) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
Instance of Symbol 1180 MovieClip "bullet" in Frame 2341
onClipEvent (load) {
spark = random(2);
if (spark == 0) {
this.gotoAndStop(1);
}
if (spark == 1) {
this.gotoAndStop(2);
}
this._x = _root.deathkid._x + 30;
this._y = _root.deathkid._y - 100;
}
Instance of Symbol 1190 MovieClip "sfx1" in Frame 2341
onClipEvent (load) {
image = random(3);
if (image == 0) {
this.gotoAndStop(1);
}
if (image == 1) {
this.gotoAndStop(2);
}
if (image == 2) {
this.gotoAndStop(3);
}
if (_visible) {
if (_root.sizechance == 2) {
big = true;
} else {
big = false;
}
if (!big) {
fireball = new Sound();
fireball.attachSound("fireball");
fireball.start();
}
}
if (_root.deathkid.dir == 1) {
Speed = 25;
this._x = _root.deathkid._x + 80;
_xscale = -100;
}
if (_root.deathkid.dir == 2) {
Speed = -25;
this._x = _root.deathkid._x - 80;
_xscale = 100;
}
this._y = _root.deathkid._y - 100;
}
onClipEvent (enterFrame) {
this._x = this._x + Speed;
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.flinchtime == "expired") {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.flinchtime == "expired") {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
Instance of Symbol 1217 MovieClip "devil" in Frame 2341
onClipEvent (load) {
if (!touch) {
falling = true;
}
if (touch) {
falling = false;
}
gravity = 5;
velocity = 20;
fallSpeed = gravity;
jumping = 10;
speed = 5;
_root.walking = false;
jumping = false;
jumping = false;
_root.jumpallowed = false;
_root.busy = false;
_root.attacking = false;
_root.ragestatus = 1;
oldx = _xscale;
status = 1;
transforming = false;
_root.invunerable = false;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.specialhas = "none";
_root.tridenteffects = "none";
_root.flinching = false;
_root.flinchtime = "expired";
_root.dkalive = true;
_root.gameactive = true;
_root.conveyorbelton = false;
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (transforming == false) {
if (Key.isDown(39)) {
_x = (_x + speed);
_xscale = 100;
} else {
if (_root.flinching == false) {
}
if (transforming == false) {
if (Key.isDown(37)) {
_x = (_x - speed);
_xscale = -100;
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(2);
}
}
}
}
}
if (_root.flinching == false) {
if (status == 1) {
if (jumping == false) {
if (_root.specialbar == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(3);
}
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (falling) {
_y = (_y + fallSpeed);
fallSpeed = fallSpeed + 1;
touch = false;
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.platform.hitTest(this._x, _y, true)) {
touch = true;
falling = false;
velocity = 10;
jumping = 0;
fallSpeed = gravity;
_y = (_root.platform._y - 20);
_root.devilkidplatform = "high";
}
}
}
onClipEvent (enterFrame) {
if (_root.platformb.hitTest(this._x, _y, true)) {
touch = true;
falling = false;
velocity = 10;
jumping = 0;
fallSpeed = gravity;
_root.devilkidplatform = "low";
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (!_root.platform.hitTest(this._x, _y, true)) {
if (!_root.platformb.hitTest(this._x, _y, true)) {
if (jumping == 0) {
touch = false;
falling = true;
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (Key.isDown(38)) {
if (jumping == 0) {
if (touch) {
jumping = 1;
this.gotoAndStop(4);
}
}
}
}
if (jumping == 1) {
_y = (_y - (velocity * (gravity / 2)));
velocity = velocity - 0.5;
}
}
onClipEvent (enterFrame) {
if (touch) {
distance = Math.ceil(_root.char._y - _root.platformb._y);
}
if (distance > -23) {
_y = (_root.platformb._y - 30);
}
}
onClipEvent (keyUp) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(1);
}
}
}
}
if (status == 1) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(1);
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (_root.rage > 100) {
_root.ragestatus = 2;
_root.rage = 100;
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (_root.specialhas == "none") {
if (_root.tridenteffects == "none") {
if (status == 1) {
if (_root.rage > 99) {
if (Key.isDown(68)) {
status = 2;
transforming = true;
_root.busy = true;
this.gotoAndStop(5);
}
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (_root.busy == false) {
if (_root.specialattack == "normal") {
if (status == 2) {
if (Key.isDown(39)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.isDown(37)) {
if (jumping == false) {
this.gotoAndStop(7);
}
}
}
}
}
}
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (_root.walking == false) {
if (Key.isDown(65)) {
this.gotoAndStop(8);
}
}
}
}
}
}
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (transforming == false) {
if (Key.isDown(38)) {
this.gotoAndStop(9);
_root.walking = true;
}
}
}
}
}
}
onClipEvent (keyUp) {
if (_root.flinching == false) {
if (status == 2) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 39) {
this.gotoAndStop(6);
}
}
}
}
}
if (status == 2) {
if (_root.flinching == false) {
if (_root.specialattack == "normal") {
if (_root.busy == false) {
if (Key.getCode() == 37) {
this.gotoAndStop(6);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.lightning > 14) {
_root.specialhas = "lightning";
}
}
}
if (status == 1) {
if (_root.flinching == false) {
if (_root.fire > 14) {
_root.specialhas = "fire";
}
}
}
if (status == 1) {
if (_root.flinching == false) {
if (_root.nano > 14) {
_root.specialhas = "nano";
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (_root.specialhas == "lightning") {
if (_root.busy == false) {
if (status == 1) {
if (Key.isDown(83)) {
this.gotoAndStop(10);
}
}
}
}
}
if (_root.specialhas == "fire") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(11);
}
}
}
}
}
if (_root.specialhas == "nano") {
if (_root.flinching == false) {
if (status == 1) {
if (_root.busy == false) {
if (Key.isDown(83)) {
this.gotoAndStop(12);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (status == 1) {
if (_root.specialattack == "lightning") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(13);
}
}
}
}
}
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "fire") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(14);
}
}
}
}
}
if (status == 1) {
if (_root.flinching == false) {
if (_root.specialattack == "nano") {
if (_root.busy == false) {
if (Key.isDown(65)) {
this.gotoAndStop(15);
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinching == false) {
if (status == 2) {
if (transforming == false) {
_root.rage = _root.rage - 0.5;
}
}
}
if (_root.flinching == false) {
if (jumping == false) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(1);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
if (_root.flinching == false) {
if (jumping) {
if (_root.rage < 0) {
_root.rage = 0;
_root.specialhas = "none";
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
this.gotoAndStop(4);
transforming = false;
_root.busy = false;
status = 1;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.health < 1) {
this.gotoAndStop("dead");
_root.flinching = true;
_root.dkalive = false;
_root.devil._alpha = 100;
}
}
onClipEvent (enterFrame) {
if (_x > 900) {
_x = 900;
}
if (_x < 0) {
_x = 0;
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.platformb.hitTest(this._x, _y, true)) {
if (_root.conveyorbelton) {
_x = (_x - 7);
}
}
}
}
onClipEvent (enterFrame) {
if (this._currentframe == 22) {
if (_xscale == 100) {
if (!Key.isDown(39)) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x + speed);
}
}
}
}
}
if (_xscale == -100) {
if (!Key.isDown(37)) {
if (this._currentframe == 22) {
if (!_root.paused) {
if (_root.flinching == false) {
_x = (_x - speed);
}
}
}
}
}
}
Instance of Symbol 1230 MovieClip "blbar1" in Frame 2341
onClipEvent (enterFrame) {
this.gotoAndStop(100 - _root.deathkidhealth);
}
onClipEvent (enterFrame) {
if (_root.dkdalive) {
if (this._currentFrame > 99) {
_root.dkdalive = false;
_root.deathkid.gotoAndStop("dktrans");
_root.blbar1._visible = false;
}
}
}
Instance of Symbol 1239 MovieClip in Frame 2341
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.deathkid.form == 2) {
_visible = true;
}
}
onClipEvent (enterFrame) {
if (_visible) {
this.gotoAndStop(100 - _root.jackhealth);
}
}
Instance of Symbol 202 MovieClip "cursor" in Frame 2341
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Instance of Symbol 1242 MovieClip "dieplatform" in Frame 2341
onClipEvent (load) {
_visible = false;
}
Frame 2342
_quality = "High";
Instance of Symbol 202 MovieClip "cursor" in Frame 2342
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Frame 8316
stop();
Frame 8317
stop();
_root.GETLOST = true;
_root.devil.swapDepths(0);
_root.devil.removeMovieClip();
_root.gameactive = false;
Instance of Symbol 202 MovieClip "cursor" in Frame 8317
onClipEvent (enterFrame) {
setProperty(this, _x , _root._xmouse);
setProperty(this, _y , _root._ymouse);
Mouse.hide();
}
Frame 8318
stop();
var lTime = 0;
var frameCount = 0;
_root.onEnterFrame = function () {
timesf = getTimer();
frameCount++;
if ((getTimer() - lTime) >= 1000) {
lTime = getTimer();
_root.fps = frameCount;
frameCount = 0;
}
};
hbg._alpha = 0;
Instance of Symbol 618 MovieClip "sheepmaker" in Frame 8318
onClipEvent (load) {
_root.sheep._visible = false;
sheepCounter = 7000;
delay = 20;
resetTime = getTimer() + delay;
_root.sff = 0;
_root.eos = 0;
_root.maxeos = 30;
}
onClipEvent (enterFrame) {
if (getTimer() > resetTime) {
if (_root.eos < _root.maxeos) {
sheepCounter++;
_root.sheep.duplicateMovieClip("sheep" + sheepCounter, sheepCounter);
_root["sheep" + sheepCounter]._visible = true;
_root.eos++;
resetTime = getTimer() + delay;
}
}
}
Instance of Symbol 990 MovieClip "sheep" in Frame 8318
onClipEvent (load) {
_root.attackframe = false;
if (_root.bodycount > 19) {
sheepdir = random(2);
} else {
sheepdir = 0;
}
speed = random(2) + 3;
alive = true;
if (sheepdir == 0) {
this._x = 921;
}
if (sheepdir == 1) {
this._x = -330;
_xscale = -100;
}
this._y = 600;
}
onClipEvent (enterFrame) {
if (_root.GETLOST) {
_visible = false;
this.swapDepths(0);
this.removeMovieClip();
}
}
Instance of Symbol 1296 MovieClip "wait" in Frame 8318
onClipEvent (load) {
_root.sfprogress = 0;
}
onClipEvent (enterFrame) {
_root.sfprogress = _root.sfprogress + 1;
}
Instance of Symbol 1302 MovieClip "sfbar" in Frame 8318
onClipEvent (load) {
progress = 0;
_root.SFDONE = false;
}
onClipEvent (enterFrame) {
if (progress < 101) {
if (_root.wait.number > 0) {
this.gotoAndStop(progress);
progress = progress + 1;
}
}
}
Frame 8319
stop();
stopAllSounds();
Instance of Symbol 202 MovieClip "cursor" in Frame 8319
onClipEvent (enterFrame) {
this._x = _root._xmouse;
this._y = _root._ymouse;
Mouse.hide();
}
Symbol 20 MovieClip [sf] Frame 1
_root.qlc = 0;
var lTime = 0;
var frameCount = 0;
if (_root.speedfixon == true) {
_root.onEnterFrame = function () {
timesf = getTimer();
frameCount++;
if ((getTimer() - lTime) >= 1000) {
lTime = getTimer();
_root.fps = frameCount;
frameCount = 0;
if (timesf > 3000) {
if (_quality == "HIGH") {
if (_root.fpsTicks <= minmed) {
_quality = "Low";
}
if (_root.fpsTicks <= minhigh) {
_quality = "Medium";
}
if (_root.fpsTicks > minhigh) {
_quality = "High";
}
}
if (timesf > 3000) {
if (_root.speedfixon == true) {
if (_quality == "MEDIUM") {
if (_root.fpsTicks <= minmed) {
_quality = "Low";
}
if (_root.fpsTicks <= minhigh) {
_quality = "Medium";
}
if (_root.fpsTicks > (minhigh + _root.sff)) {
_quality = "High";
}
}
}
}
if (timesf > 3000) {
if (_root.speedfixon == true) {
if (_quality == "LOW") {
if (_root.fpsTicks <= (minmed + _root.sff)) {
_quality = "Low";
}
if (_root.fpsTicks <= (minhigh + _root.sff)) {
_quality = "Medium";
}
if (_root.fpsTicks > (minhigh + _root.sff)) {
_quality = "High";
}
if (_root.fpsTicks < timeOut) {
if (_root.gameactive) {
trace("timeOut");
}
}
}
}
}
if (timesf > 3000) {
if (_root.speedfixon == true) {
if (_quality == "MEDIUM") {
if (_root.fpsTicks >= minlow) {
_quality = "Low";
}
if (_root.fpsTicks >= (minmed + _root.sff)) {
_quality = "Medium";
}
if (_root.fpsTicks >= (minhigh + _root.sff)) {
_quality = "High";
}
}
}
}
if (timesf > 3000) {
if (_root.fpsTicks < warning) {
if (_root.gameactive) {
if (!_root.speedfixbusy) {
_root.sfheader = "Your computer is having trouble";
_root.sfhc = "Red";
_root.sfmessage = "Running DevilKid. Will terminate if neccersary";
_root.message.play();
_root.sfdelay = 7000;
_quality = "Low";
_root.mysound = "bad";
_root.qlc = _root.qlc + 1;
}
}
}
}
if (timesf > 3000) {
if (_root.fpsTicks < timeOut) {
_root.message.gotoAndStop("gamedie");
_root.mysound = "critical";
_quality = "Low";
}
}
}
}
if (_root.qlc > 2) {
quality = "Low";
}
};
}
Symbol 21 MovieClip [FFPSControllerSymbol] Frame 1
#initclip 1
FPSController = function () {
this.setFPSTarget(_root.earthlogo);
this.initPause();
this.init();
this.initProps();
};
FPSController.prototype.init = function () {
this.sT = getTimer();
this.tF = this._tget._totalframes;
this.isStop = false;
if (this.playMode == "Forward") {
this._tget.gotoAndStop(1);
} else if (this.playMode == "Reverse") {
this._tget.gotoAndStop(this.tF);
} else if (this.playMode == "PingPong") {
this.initPingPong();
} else if (this.playMode == "Random") {
this.FgotoToRandom();
}
};
FPSController.prototype.initPingPong = function () {
this.initialDirection = ((this.initialDirection == undefined) ? "Forward" : (this.initialDirection));
this.playDirection = this.initialDirection.substring(0, 1).toLowerCase();
if (this.playDirection == "f") {
this._tget.gotoAndStop(1);
} else if (this.playDirection == "r") {
this._tget.gotoAndStop(this.tF);
} else {
this.tget.gotoAndStop(1);
this.playDirection = "f";
}
};
FPSController.prototype.setFPSTarget = function (tget) {
if (typeof(tget) == "string") {
this._tget = this._parent[tget];
} else if (typeof(tget) == "movieclip") {
this._tget = tget;
}
this.tF = this._tget._totalframes;
this.attachMethods();
};
FPSController.prototype.getFPSTarget = function () {
return(this._tget);
};
FPSController.prototype.setFPS = function (fps) {
this.fps = fps;
this.initPause();
};
FPSController.prototype.getFPS = function () {
return(this.fps);
};
FPSController.prototype.initPause = function () {
this.pauseFor = Math.floor(1000 / this.fps);
};
FPSController.prototype.setPlayMode = function (playMode, initialDirection) {
this.playMode = playMode;
this.initialDirection = initialDirection;
if (playMode == "PingPong") {
this.initPingPong();
}
};
FPSController.prototype.getPlayMode = function () {
return(this.playMode);
};
FPSController.prototype.FgotoAndStop = function (fnum) {
this.gotoAndStop(fnum);
this._tget.isStop = true;
};
FPSController.prototype.FgotoAndPlay = function (fnum) {
this.gotoAndStop(fnum);
this._tget.isStop = false;
};
FPSController.prototype.Fstop = function () {
this.stop();
this._tget.isStop = true;
};
FPSController.prototype.Fplay = function () {
this._tget.isStop = false;
};
FPSController.prototype.FnextFrame = function () {
if ((this._tget.cF == this._tget.tF) && (this._tget.playMode == "Forward")) {
this.gotoAndStop(1);
} else if ((this._tget.cF == this._tget.tF) && (this._tget.playMode == "PingPong")) {
this.prevFrame();
this._tget.playDirection = "r";
} else {
this.nextFrame();
}
};
FPSController.prototype.FprevFrame = function () {
if ((this._tget.cF == 1) && (this._tget.playMode == "Reverse")) {
this.gotoAndStop(this._tget.tF);
} else if ((this._tget.cF == 1) && (this._tget.playMode == "PingPong")) {
this.nextFrame();
this._tget.playDirection = "f";
} else {
this.prevFrame();
}
};
FPSController.prototype.FgotoToRandom = function () {
var _local2 = 1 + Math.floor(Math.random() * (this._tget.tF - 1));
this.gotoAndStop(_local2);
};
FPSController.prototype.onEnterFrame = function () {
if (!this.isStop) {
this.tS = getTimer() - this.sT;
this.cF = this._tget._currentframe;
if (this.tS >= this.pauseFor) {
if (this.playMode == "Forward") {
this._tget.FnextFrame();
} else if (this.playMode == "Reverse") {
this._tget.FprevFrame();
} else if (this.playMode == "PingPong") {
if (this.playDirection == "f") {
this._tget.FnextFrame();
} else if (this.playDirection == "r") {
this._tget.FprevFrame();
}
} else if (this.playMode == "Random") {
this._tget.FgotoToRandom();
}
this.sT = getTimer();
}
}
};
FPSController.prototype.attachMethods = function () {
this._tget._tget = this;
this._tget.FgotoAndStop = this.FgotoAndStop;
this._tget.FgotoAndPlay = this.FgotoAndPlay;
this._tget.Fstop = this.Fstop;
this._tget.Fplay = this.Fplay;
this._tget.FnextFrame = this.FnextFrame;
this._tget.FprevFrame = this.FprevFrame;
this._tget.FgotoToRandom = this.FgotoToRandom;
ASSetPropFlags(this._tget, ["_tget", "FgotoAndStop", "FgotoAndPlay", "Fstop", "Fplay", "FnextFrame", "FprevFrame", "FgotoToRandom"], 1);
};
FPSController.prototype.initProps = function () {
this.addProperty("fps", this.getFPS, this.setFPS);
this.addProperty("_tget", this.getFPSTarget, this.setFPSTarget);
this.addProperty("playMode", this.getPlayMode, this.setPlayMode);
};
Object.registerClass("FFPSControllerSymbol", FPSController);
#endinitclip
Symbol 65 MovieClip Frame 110
gotoAndPlay (40);
Instance of Symbol 85 MovieClip in Symbol 86 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.conveyorbelton) {
this.stop();
} else {
this.play();
}
}
Instance of Symbol 87 MovieClip in Symbol 101 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!_root.conveyorbelton) {
this.stop();
} else {
this.play();
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.conveyorbelton) {
if (_root.flinchtime == "expired") {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
Symbol 112 MovieClip Frame 10
stop();
Symbol 119 MovieClip Frame 10
stop();
Symbol 125 MovieClip Frame 10
stop();
Symbol 130 MovieClip Frame 10
stop();
Symbol 135 MovieClip Frame 10
stop();
Symbol 140 MovieClip Frame 10
stop();
Symbol 142 MovieClip Frame 10
stop();
Symbol 144 MovieClip Frame 10
stop();
Instance of Symbol 112 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 12) {
this.nextFrame();
}
}
Instance of Symbol 119 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 25) {
this.nextFrame();
}
}
Instance of Symbol 125 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 37) {
this.nextFrame();
}
}
Instance of Symbol 130 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 50) {
this.nextFrame();
}
}
Instance of Symbol 135 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 64) {
this.nextFrame();
}
}
Instance of Symbol 140 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 76) {
this.nextFrame();
}
}
Instance of Symbol 142 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 88) {
this.nextFrame();
}
}
Instance of Symbol 144 MovieClip in Symbol 145 MovieClip Frame 1
onClipEvent (load) {
this.stop();
}
onClipEvent (enterFrame) {
if (_root.percent > 99) {
this.nextFrame();
}
}
Symbol 160 Button
on (press) {
stopAllSounds();
_root.gotoAndPlay("ourSponsor");
}
Symbol 161 MovieClip Frame 100
stop();
Symbol 190 MovieClip Frame 38
stop();
Symbol 202 MovieClip Frame 1
stop();
Symbol 202 MovieClip Frame 2
stop();
Symbol 202 MovieClip Frame 3
stop();
Symbol 223 MovieClip Frame 75
stop();
Symbol 240 MovieClip Frame 75
_root.gotoAndPlay("mainmenu");
Symbol 241 MovieClip Frame 1
earthsound = new Sound();
earthsound.attachSound("earthzoom");
earthsound.start();
Symbol 241 MovieClip Frame 72
stop();
Instance of Symbol 240 MovieClip in Symbol 241 MovieClip Frame 72
onClipEvent (load) {
fps = 20;
delay = 1000 / fps;
resetTime = getTimer() + delay;
}
onClipEvent (enterFrame) {
if (getTimer() > resetTime) {
this.nextFrame();
resetTime = getTimer() + delay;
}
}
Instance of Symbol 21 MovieClip [FFPSControllerSymbol] in Symbol 241 MovieClip Frame 72
//component parameters
onClipEvent (construct) {
_targetInstanceName = "_root.earthlogo";
fps = 5;
playMode = "Forward";
initialDirection = "Forward";
}
Symbol 255 Button
on (release) {
gotoAndStop ("credits");
}
on (release) {
_root.sf_logo.play();
}
Symbol 258 Button
on (release) {
gotoAndStop ("instructions");
}
on (release) {
_root.sf_logo.play();
}
Symbol 262 Button
on (release) {
_root.gotoAndStop("sorry_yousuck");
}
Symbol 266 Button
on (release) {
getURL ("http://www.gamesreloaded.com", "_blank");
}
Symbol 269 Button
on (release) {
gotoAndStop ("levelselect");
}
on (release) {
_root.sf_logo.play();
}
Symbol 279 MovieClip Frame 11
stop();
Symbol 279 MovieClip Frame 20
stop();
Symbol 287 Button
on (press) {
_quality = "High";
}
Symbol 290 Button
on (press) {
_quality = "Medium";
}
Symbol 293 Button
on (press) {
_quality = "Low";
}
Symbol 300 Button
on (release) {
gotoAndStop (2);
}
Symbol 303 Button
on (release) {
gotoAndStop (3);
}
Symbol 306 Button
on (release) {
gotoAndStop (4);
}
Symbol 309 Button
on (release) {
gotoAndStop (5);
}
Symbol 312 Button
on (release) {
gotoAndStop (6);
}
Symbol 317 Button
on (release) {
gotoAndStop (9);
}
Symbol 320 Button
on (release) {
gotoAndStop (7);
}
Symbol 322 Button
on (release) {
gotoAndStop (8);
}
Symbol 329 Button
on (release) {
gotoAndStop (2);
}
Symbol 332 Button
on (release) {
_root.gotoAndStop("officalmenu");
}
Symbol 359 Button
on (release) {
gotoAndStop (3);
}
Symbol 360 Button
on (release) {
gotoAndStop (1);
}
Symbol 364 MovieClip Frame 19
time = time + 1;
Symbol 384 MovieClip Frame 15
time = time + 1;
Symbol 395 Button
on (release) {
gotoAndStop (4);
}
Symbol 396 Button
on (release) {
gotoAndStop (2);
}
Symbol 405 MovieClip Frame 1
stop();
_root.ragestatus = "notfull";
Symbol 405 MovieClip Frame 100
_root.ragestatus = "full";
stop();
Symbol 410 Button
on (release) {
gotoAndStop (5);
}
Symbol 411 Button
on (release) {
gotoAndStop (3);
}
Symbol 423 MovieClip Frame 1
stop();
Symbol 423 MovieClip Frame 92
stop();
Symbol 423 MovieClip Frame 93
stop();
Symbol 423 MovieClip Frame 94
stop();
Symbol 423 MovieClip Frame 95
stop();
Symbol 423 MovieClip Frame 96
stop();
Symbol 423 MovieClip Frame 97
stop();
Symbol 423 MovieClip Frame 98
stop();
Symbol 423 MovieClip Frame 99
stop();
Symbol 423 MovieClip Frame 100
stop();
_root.devil.gotoAndStop("dead");
_root.dkalive = false;
Symbol 425 Button
on (release) {
gotoAndStop (6);
}
Symbol 426 Button
on (release) {
gotoAndStop (4);
}
Symbol 429 Button
on (release) {
gotoAndStop (7);
}
Symbol 430 Button
on (release) {
gotoAndStop (5);
}
Symbol 435 Button
on (press) {
getURL ("http://www.gamesreloaded.com/game/Devil-Kid", "_blank");
}
Symbol 438 Button
on (release) {
gotoAndStop (8);
}
Symbol 439 Button
on (release) {
gotoAndStop (6);
}
Symbol 441 Button
on (release) {
gotoAndStop (9);
}
Symbol 443 Button
on (release) {
gotoAndStop (7);
}
Symbol 450 Button
on (release) {
gotoAndStop (8);
}
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 3
stop();
Symbol 451 MovieClip Frame 4
stop();
Symbol 451 MovieClip Frame 5
stop();
Symbol 451 MovieClip Frame 6
stop();
Symbol 451 MovieClip Frame 7
stop();
Symbol 451 MovieClip Frame 8
stop();
Symbol 456 Button
on (release) {
gotoAndStop ("officalmenu");
}
on (release) {
_root.sf_logo.gotoAndPlay(2);
}
Symbol 462 MovieClip Frame 1
stop();
Symbol 475 MovieClip Frame 1
stop();
Symbol 476 MovieClip Frame 131
gotoAndPlay (66);
Symbol 477 Button
on (release) {
if (_root.speedfixquality == "NOTDONE") {
_root.levelplayed = 1;
_root.gotoAndStop("please_wait");
} else {
_root.levelplayed = 1;
_root.gotoAndPlay("precutscene");
}
}
Symbol 501 MovieClip Frame 1
stop();
Symbol 501 MovieClip Frame 131
gotoAndPlay (66);
Symbol 504 MovieClip Frame 1
stop();
Symbol 504 MovieClip Frame 2
stop();
Symbol 505 MovieClip Frame 195
gotoAndPlay (66);
Symbol 506 Button
on (release) {
if (_root.speedfixquality == "NOTDONE") {
_root.levelplayed = 2;
_root.gotoAndStop("please_wait");
} else {
_root.levelplayed = 2;
_root.gotoAndPlay("precutscene");
}
}
Symbol 531 MovieClip Frame 1
stop();
Symbol 531 MovieClip Frame 195
gotoAndPlay (66);
Symbol 532 MovieClip Frame 195
gotoAndPlay (66);
Symbol 533 Button
on (release) {
if (_root.speedfixquality == "NOTDONE") {
_root.levelplayed = 3;
_root.gotoAndStop("please_wait");
} else {
_root.levelplayed = 3;
_root.gotoAndPlay("precutscene");
}
}
Symbol 538 MovieClip Frame 1
stop();
Symbol 538 MovieClip Frame 2
stop();
Symbol 542 Button
on (release) {
_root.gotoAndStop("sorry_yousuck");
}
Symbol 543 Button
on (release) {
_root.sf_logo.play();
_root.gotoAndStop("officalmenu");
}
Symbol 545 MovieClip Frame 1
stop();
Symbol 545 MovieClip Frame 2
stop();
Symbol 545 MovieClip Frame 3
stop();
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 2
stop();
Symbol 597 MovieClip Frame 3
stop();
Symbol 597 MovieClip Frame 4
stop();
Symbol 597 MovieClip Frame 5
stop();
Instance of Symbol 597 MovieClip in Symbol 598 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tridenteffects == "none") {
this.gotoAndStop(1);
}
if (_root.tridenteffects == "lightning") {
this.gotoAndStop(2);
}
if (_root.tridenteffects == "fire") {
this.gotoAndStop(3);
}
if (_root.tridenteffects == "nano") {
this.gotoAndStop(4);
}
if (_root.tridenteffects == "rage") {
this.gotoAndStop(5);
}
}
Symbol 601 MovieClip Frame 1
stop();
Symbol 622 MovieClip Frame 6
this.swapDepths(0);
this.removeMovieClip();
Symbol 623 MovieClip Frame 1
stop();
Symbol 623 MovieClip Frame 2
stop();
_root.lightning = _root.lightning + 100;
Symbol 625 MovieClip Frame 6
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 626 MovieClip Frame 1
stop();
Instance of Symbol 624 MovieClip "firy" in Symbol 626 MovieClip Frame 1
onClipEvent (load) {
this.ring.time = 0;
}
onClipEvent (enterFrame) {
if (this.ring.time > 20) {
gotoAndStop (2);
}
}
Symbol 626 MovieClip Frame 2
stop();
_root.fire = _root.fire + 100;
Symbol 627 MovieClip Frame 11
time = time + 1;
Symbol 628 MovieClip Frame 6
this.swapDepths(0);
this.removeMovieClip();
Symbol 629 MovieClip Frame 1
stop();
Symbol 629 MovieClip Frame 2
stop();
_root.nano = _root.nano + 100;
Symbol 630 MovieClip Frame 1
powerup = random(4);
if (powerup == 0) {
gotoAndStop (2);
}
if (powerup == 1) {
gotoAndStop (3);
}
if (powerup == 2) {
gotoAndStop (4);
}
attribute = "none";
Symbol 630 MovieClip Frame 2
stop();
attribute = "lightning";
Instance of Symbol 623 MovieClip in Symbol 630 MovieClip Frame 2
onClipEvent (load) {
this.electro.ring.time = 0;
}
onClipEvent (enterFrame) {
if (_parent._visible == true) {
if (this.electro.ring.time > 20) {
this._alpha = this._alpha - 3;
if (this._alpha < 1) {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (_root.devil.status == 1) {
if (_root.ragestatus == 1) {
if (_root.specialhas == "none") {
if (_root.specialattack == "normal") {
if (_root.attacking == false) {
if (this.hitTest(_root.devil)) {
this.gotoAndStop(2);
}
}
}
}
}
}
}
Symbol 630 MovieClip Frame 3
stop();
attribute = "fire";
Instance of Symbol 626 MovieClip in Symbol 630 MovieClip Frame 3
onClipEvent (load) {
this.firy.fireglow.time = 0;
}
onClipEvent (enterFrame) {
if (_parent._visible == true) {
if (this.firy.fireglow.time > 20) {
this._alpha = this._alpha - 3;
if (this._alpha < 1) {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (_root.devil.status == 1) {
if (_root.ragestatus == 1) {
if (_root.specialhas == "none") {
if (_root.specialattack == "normal") {
if (_root.attacking == false) {
if (this.hitTest(_root.devil)) {
this.gotoAndStop(2);
}
}
}
}
}
}
}
Symbol 630 MovieClip Frame 4
stop();
attribute = "nano";
Instance of Symbol 629 MovieClip in Symbol 630 MovieClip Frame 4
onClipEvent (load) {
this.nanoy.time = 0;
}
onClipEvent (enterFrame) {
if (_parent._visible == true) {
if (this.nanoy.time > 20) {
this._alpha = this._alpha - 3;
if (this._alpha < 1) {
this.swapDepths(0);
this.removeMovieClip();
}
}
}
}
onClipEvent (enterFrame) {
if (_root.devil.status == 1) {
if (_root.specialhas == "none") {
if (_root.ragestatus == 1) {
if (_root.specialattack == "normal") {
if (_root.attacking == false) {
if (this.hitTest(_root.devil)) {
this.gotoAndStop(2);
}
}
}
}
}
}
}
Instance of Symbol 597 MovieClip in Symbol 657 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tridenteffects == "none") {
this.gotoAndStop(1);
}
if (_root.tridenteffects == "lightning") {
this.gotoAndStop(2);
}
if (_root.tridenteffects == "fire") {
this.gotoAndStop(3);
}
if (_root.tridenteffects == "nano") {
this.gotoAndStop(4);
}
if (_root.tridenteffects == "rage") {
this.gotoAndStop(5);
}
}
Instance of Symbol 676 MovieClip in Symbol 677 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 680 MovieClip Frame 4
_root.attackframe = true;
Symbol 680 MovieClip Frame 15
_root.attacking = true;
Symbol 680 MovieClip Frame 18
comboready = true;
Symbol 680 MovieClip Frame 20
_root.attacking = false;
_root.attackframe = false;
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
Symbol 683 MovieClip Frame 21
stop();
Symbol 684 MovieClip Frame 1
_root.jumpallowed = true;
_root.devil.jumping = true;
_root.busy = true;
Symbol 684 MovieClip Frame 25
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 684 MovieClip Frame 26
gotoAndPlay (25);
Symbol 700 MovieClip Frame 15
_root.invunerable = true;
Symbol 700 MovieClip Frame 43
_root.devil.gotoAndStop(6);
_root.devil.transforming = false;
_root.tridenteffects = "rage";
Symbol 706 MovieClip Frame 1
stop();
Symbol 706 MovieClip Frame 23
gotoAndPlay (17);
Symbol 713 MovieClip Frame 19
stop();
Symbol 717 MovieClip Frame 5
thunder = new Sound();
thunder.attachSound("Thunderb");
thunder.start();
_root.rainmaker.gotoAndPlay(2);
Symbol 717 MovieClip Frame 25
_root.tridenteffects = "lightning";
_root.specialattack = "lightning";
Instance of Symbol 713 MovieClip "trident" in Symbol 717 MovieClip Frame 25
onClipEvent (enterFrame) {
_root.trident.gotoAndPlay(2);
}
Symbol 717 MovieClip Frame 39
_root.devil.transforming = false;
Symbol 717 MovieClip Frame 40
_root.devil.gotoAndStop(1);
Symbol 728 MovieClip Frame 9
stop();
Symbol 730 MovieClip Frame 20
_root.tridenteffects = "fire";
_root.specialattack = "fire";
Symbol 730 MovieClip Frame 37
_root.devil.transforming = false;
Symbol 730 MovieClip Frame 38
_root.devil.transforming = false;
_root.devil.gotoAndStop(1);
stop();
Symbol 747 MovieClip Frame 50
_root.tridenteffects = "nano";
_root.specialattack = "nano";
Symbol 747 MovieClip Frame 60
_root.devil.transforming = false;
Symbol 747 MovieClip Frame 61
_root.devil.transforming = false;
_root.devil.gotoAndStop(1);
Symbol 752 MovieClip Frame 60
gotoAndPlay (30);
Symbol 754 MovieClip Frame 15
stop();
Instance of Symbol 752 MovieClip in Symbol 754 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.lightning = _root.lightning - 1;
}
onClipEvent (enterFrame) {
if (_root.lightning < 0) {
_root.specialhas = "none";
_root.lightning = 0;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
_root.devil.gotoAndStop(1);
_root.devil.transforming = false;
_root.busy = false;
_root.devil.status = 1;
}
}
onClipEvent (enterFrame) {
if (_quality == "HIGH") {
if (_root.fpsTicks < 20) {
_quality = "Medium";
}
if (_root.fpsTicks < 15) {
_quality = "Low";
}
}
}
Symbol 757 MovieClip Frame 15
stop();
Symbol 763 MovieClip Frame 60
gotoAndPlay (30);
Symbol 766 MovieClip Frame 15
stop();
Instance of Symbol 763 MovieClip in Symbol 766 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.fire = _root.fire - 1;
}
onClipEvent (enterFrame) {
if (_root.fire < 0) {
_root.specialhas = "none";
_root.fire = 0;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
_root.devil.gotoAndStop(1);
_root.devil.transforming = false;
_root.busy = false;
_root.devil.status = 1;
}
}
Symbol 769 MovieClip Frame 25
stop();
Symbol 776 MovieClip Frame 30
gotoAndPlay (15);
Symbol 779 MovieClip Frame 15
stop();
Instance of Symbol 776 MovieClip in Symbol 779 MovieClip Frame 15
onClipEvent (enterFrame) {
_root.nano = _root.nano - 1;
}
onClipEvent (enterFrame) {
if (_root.nano < 0) {
_root.specialhas = "none";
_root.nano = 0;
_root.specialbar = "normal";
_root.specialattack = "normal";
_root.tridenteffects = "none";
_root.devil.gotoAndStop(1);
_root.devil.transforming = false;
_root.busy = false;
_root.devil.status = 1;
}
}
Symbol 782 MovieClip Frame 15
stop();
Instance of Symbol 783 MovieClip in Symbol 784 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 791 MovieClip Frame 1
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Instance of Symbol 787 MovieClip in Symbol 791 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 791 MovieClip Frame 2
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
_root.attacking = true;
Symbol 791 MovieClip Frame 3
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 4
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 5
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 6
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 7
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 8
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 9
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 10
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 11
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 12
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 13
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 14
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 15
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 16
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 17
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 18
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 19
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 20
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 21
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
_root.attacking = true;
Symbol 791 MovieClip Frame 22
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 23
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 24
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 25
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 26
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 27
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 28
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 29
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 30
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 31
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 32
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 33
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 34
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 35
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 36
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 37
if (_root.devil.spin.range.hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 791 MovieClip Frame 38
_root.devil.gotoAndStop(1);
stop();
Symbol 804 MovieClip Frame 1
_root.flinching = true;
Symbol 804 MovieClip Frame 6
_root.devil._alpha = 20;
Symbol 804 MovieClip Frame 7
_root.health = _root.health - 15;
Symbol 804 MovieClip Frame 8
_root.devil._alpha = 100;
Symbol 804 MovieClip Frame 10
_root.devil._alpha = 40;
Symbol 804 MovieClip Frame 12
_root.devil._alpha = 100;
Symbol 804 MovieClip Frame 14
_root.devil._alpha = 60;
Symbol 804 MovieClip Frame 16
_root.devil._alpha = 100;
Symbol 804 MovieClip Frame 18
_root.devil._alpha = 80;
Symbol 804 MovieClip Frame 19
_root.flinchtime = "not expired";
_root.devil.timeleft = 0;
Symbol 804 MovieClip Frame 20
_root.devil._alpha = 100;
_root.devil.gotoAndStop(1);
Symbol 804 MovieClip Frame 21
_root.devil.gotoAndStop(1);
Instance of Symbol 597 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tridenteffects == "none") {
this.gotoAndStop(1);
}
if (_root.tridenteffects == "lightning") {
this.gotoAndStop(2);
}
if (_root.tridenteffects == "fire") {
this.gotoAndStop(3);
}
if (_root.tridenteffects == "nano") {
this.gotoAndStop(4);
}
if (_root.tridenteffects == "rage") {
this.gotoAndStop(5);
}
}
Symbol 806 MovieClip Frame 198
_root.deaths = _root.deaths + 1;
Symbol 806 MovieClip Frame 214
stopAllSounds();
Symbol 806 MovieClip Frame 215
_root.gotoAndStop("gameover");
_root.GETLOST = true;
Instance of Symbol 597 MovieClip in Symbol 807 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.tridenteffects == "none") {
this.gotoAndStop(1);
}
if (_root.tridenteffects == "lightning") {
this.gotoAndStop(2);
}
if (_root.tridenteffects == "fire") {
this.gotoAndStop(3);
}
if (_root.tridenteffects == "nano") {
this.gotoAndStop(4);
}
if (_root.tridenteffects == "rage") {
this.gotoAndStop(5);
}
}
Symbol 811 MovieClip Frame 24
stop();
Symbol 812 MovieClip Frame 10
_root.attacking = true;
Symbol 812 MovieClip Frame 26
_root.attacking = false;
combo2ready = true;
Symbol 812 MovieClip Frame 31
_root.devil.gotoAndStop(1);
Symbol 817 MovieClip Frame 2
_root.attacking = true;
Symbol 817 MovieClip Frame 45
_root.devil.gotoAndStop(1);
Symbol 818 MovieClip Frame 1
_root.flinching = true;
Symbol 818 MovieClip Frame 6
_root.devil._alpha = 20;
_root.health = _root.health - 15;
Symbol 818 MovieClip Frame 8
_root.devil._alpha = 100;
Symbol 818 MovieClip Frame 10
_root.devil._alpha = 40;
Symbol 818 MovieClip Frame 12
_root.devil._alpha = 100;
Symbol 818 MovieClip Frame 14
_root.devil._alpha = 60;
Symbol 818 MovieClip Frame 16
_root.devil._alpha = 100;
Symbol 818 MovieClip Frame 18
_root.devil._alpha = 80;
Symbol 818 MovieClip Frame 19
_root.flinchtime = "not expired";
_root.devil.timeleft = 0;
Symbol 818 MovieClip Frame 20
_root.devil._alpha = 100;
_root.devil.gotoAndStop(1);
Symbol 818 MovieClip Frame 21
_root.devil.gotoAndStop(1);
Symbol 819 MovieClip Frame 12
_root.attacking = true;
Symbol 819 MovieClip Frame 20
_root.attacking = false;
_root.attackframe = false;
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
Symbol 820 MovieClip Frame 1
stop();
timeleft = 0;
_root.ragestatus = 1;
_root.walking = false;
_root.jumpallowed = false;
_root.busy = false;
_root.attacking = false;
_root.devil.transforming = false;
_root.invunerable = false;
_root.flinching = false;
onEnterFrame = function () {
if (_root.flinchtime == "not expired") {
timeleft = timeleft + 1;
if (timeleft > 10) {
_root.flinchtime = "expired";
}
}
};
_root.attackframe = false;
if (_root.tridenteffects == "none") {
_root.summonedyet = false;
}
_root.devil.speed = 6;
Instance of Symbol 665 MovieClip in Symbol 820 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 2
stop();
_root.walking = true;
Instance of Symbol 677 MovieClip "walking" in Symbol 820 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.devil.gotoAndStop(22);
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
_parent.gotoAndStop(1);
}
if (Key.getCode() == 37) {
_parent.gotoAndStop(1);
}
}
Symbol 820 MovieClip Frame 3
stop();
_root.busy = true;
_root.devil.transforming = true;
Instance of Symbol 680 MovieClip "stab" in Symbol 820 MovieClip Frame 3
onClipEvent (load) {
stage = 0;
this.comboready = false;
}
onClipEvent (keyUp) {
if (Key.getCode() == 65) {
stage = stage + 1;
}
}
onClipEvent (enterFrame) {
if (this.comboready == true) {
if (Key.isDown(65)) {
if (stage == 1) {
stage = stage + 1;
}
}
}
if (stage > 1) {
if (this.comboready == true) {
stage = 2;
_root.devil.gotoAndStop(19);
}
}
}
Instance of Symbol 641 MovieClip "range" in Symbol 820 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 4
stop();
_root.devil.transforming = false;
_root.deviltransforming = true;
Instance of Symbol 684 MovieClip in Symbol 820 MovieClip Frame 4
onClipEvent (enterFrame) {
if (!_root.paused) {
if (Key.isDown(65)) {
_root.devil.gotoAndStop(16);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 5
stop();
_root.devil.transforming = true;
_root.invunerable = true;
Instance of Symbol 700 MovieClip in Symbol 820 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 6
stop();
_root.busy = false;
_root.devil.transforming = false;
_root.tridenteffects = "rage";
_root.walking = false;
Instance of Symbol 665 MovieClip in Symbol 820 MovieClip Frame 6
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 7
stop();
Instance of Symbol 677 MovieClip in Symbol 820 MovieClip Frame 7
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 8
stop();
_root.walking = true;
Instance of Symbol 680 MovieClip in Symbol 820 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 9
stop();
Instance of Symbol 684 MovieClip in Symbol 820 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 10
stop();
_root.devil.transforming = true;
_root.busy = true;
_root.invunerable = false;
_root.summonedyet = true;
Instance of Symbol 717 MovieClip in Symbol 820 MovieClip Frame 10
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 11
stop();
_root.devil.transforming = true;
_root.busy = true;
_root.invunerable = false;
_root.summonedyet = true;
Instance of Symbol 730 MovieClip in Symbol 820 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 12
stop();
_root.devil.transforming = true;
_root.busy = true;
_root.invunerable = false;
_root.summonedyet = true;
Instance of Symbol 747 MovieClip in Symbol 820 MovieClip Frame 12
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 13
_root.devil.transforming = true;
_root.busy = true;
stop();
_root.invunerable = true;
Instance of Symbol 757 MovieClip "attacklightning" in Symbol 820 MovieClip Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.devil._xscale = 100;
}
if (Key.isDown(37)) {
_root.devil._xscale = -100;
}
}
Symbol 820 MovieClip Frame 14
_root.devil.transforming = true;
_root.busy = true;
stop();
_root.invunerable = true;
Instance of Symbol 769 MovieClip "attackfire" in Symbol 820 MovieClip Frame 14
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.devil._xscale = 100;
}
if (Key.isDown(37)) {
_root.devil._xscale = -100;
}
}
Symbol 820 MovieClip Frame 15
_root.devil.transforming = true;
_root.busy = true;
stop();
_root.invunerable = true;
Instance of Symbol 782 MovieClip "attacknano" in Symbol 820 MovieClip Frame 15
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.devil._xscale = 100;
}
if (Key.isDown(37)) {
_root.devil._xscale = -100;
}
}
Symbol 820 MovieClip Frame 16
stop();
Instance of Symbol 791 MovieClip "spin" in Symbol 820 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 17
stop();
Instance of Symbol 804 MovieClip in Symbol 820 MovieClip Frame 17
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 18
stop();
_root.flinching = true;
_root.dkalive = false;
_root.devil._alpha = 100;
Instance of Symbol 806 MovieClip in Symbol 820 MovieClip Frame 18
onClipEvent (load) {
speed = 0;
hitplatform = false;
done = false;
}
onClipEvent (enterFrame) {
if (hitplatform == false) {
this._y = this._y + speed;
speed = speed + 1;
if (_root.devil.range.hitTest(_root.fakeplatformb)) {
hitplatform = true;
speed = 0;
if (done == false) {
this.gotoAndPlay(2);
done = true;
speed = 0;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 19
stop();
_root.devil.transforming = true;
Instance of Symbol 812 MovieClip "combo1" in Symbol 820 MovieClip Frame 19
onClipEvent (load) {
stage = 0;
this.combo2ready = false;
}
onClipEvent (keyUp) {
if (Key.getCode() == 65) {
stage = stage + 1;
}
}
onClipEvent (enterFrame) {
if (this.combo2ready == true) {
if (Key.isDown(65)) {
if (stage == 1) {
stage = stage + 1;
}
}
}
if (this.combo2ready == true) {
if (stage > 1) {
stage = 2;
_root.devil.gotoAndStop(20);
}
}
}
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 20
stop();
_root.devil.transforming = true;
Instance of Symbol 817 MovieClip "combo2" in Symbol 820 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 21
stop();
Instance of Symbol 818 MovieClip in Symbol 820 MovieClip Frame 21
onClipEvent (enterFrame) {
if (_root.paused) {
this.stop();
} else {
this.play();
}
}
Symbol 820 MovieClip Frame 22
stop();
_root.busy = true;
_root.devil.speed = 8;
Symbol 826 MovieClip Frame 1
stop();
Symbol 826 MovieClip Frame 2
_root.cursed = true;
Symbol 826 MovieClip Frame 16
_root.cursed = false;
Symbol 826 MovieClip Frame 17
_root.cursed = false;
Symbol 826 MovieClip Frame 18
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 831 Button
on (release) {
gotoAndStop (2);
}
Symbol 832 Button
on (release) {
gotoAndStop (1);
}
Symbol 837 Button
on (press) {
getURL ("http://www.roflmaster.com", "_blank");
}
Symbol 840 Button
on (press) {
getURL ("http://www.hamloanimations.com", "_blank");
}
Symbol 843 Button
on (rollOver) {
gotoAndStop (3);
}
Symbol 846 Button
on (release) {
_root.gotoAndStop("officalmenu");
}
Symbol 849 Button
on (press) {
getURL ("http://www.gamesreloaded.com", "_blank");
}
Symbol 851 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 852 Button
on (rollOver) {
gotoAndStop (2);
}
Symbol 853 Button
on (rollOver) {
gotoAndStop (2);
}
Symbol 854 Button
on (rollOver) {
gotoAndStop (3);
}
Symbol 855 Button
on (rollOver) {
gotoAndStop (2);
}
on (release) {
_root.gotoAndStop("officalmenu");
}
Symbol 858 Button
on (press) {
_root.speedfixon = false;
_quality = "High";
if (!_root.speedfixbusy) {
if (_root.gameactive) {
_root.sfheader = "Message from SpeedFix";
_root.sfhc = "Black";
_root.sfmessage = "SpeedFix Disabled. Press F2 to re-activate";
_root.message.play();
_root.sfdelay = 5000;
}
}
}
Symbol 862 Button
on (press) {
_root.speedfixon = false;
_quality = "Medium";
if (!_root.speedfixbusy) {
if (_root.gameactive) {
_root.sfheader = "Message from SpeedFix";
_root.sfhc = "Black";
_root.sfmessage = "SpeedFix Disabled. Press F2 to re-activate";
_root.message.play();
_root.sfdelay = 5000;
}
}
}
Symbol 865 Button
on (press) {
_root.speedfixon = false;
_quality = "Low";
if (!_root.speedfixbusy) {
if (_root.gameactive) {
_root.sfheader = "Message from SpeedFix";
_root.sfhc = "Black";
_root.sfmessage = "SpeedFix Disabled. Press F2 to re-activate";
_root.message.play();
_root.sfdelay = 5000;
}
}
}
Symbol 866 Button
on (press) {
getURL ("http://www.hamloanimations.com", "_blank");
}
Symbol 868 Button
on (rollOver) {
gotoAndStop (1);
}
Symbol 869 MovieClip Frame 1
stop();
Symbol 869 MovieClip Frame 2
stop();
Symbol 869 MovieClip Frame 3
stop();
Symbol 879 MovieClip Frame 1
stop();
Symbol 879 MovieClip Frame 90
stop();
Symbol 879 MovieClip Frame 95
stop();
Symbol 879 MovieClip Frame 100
stop();
Symbol 881 MovieClip Frame 1
stop();
Symbol 881 MovieClip Frame 90
stop();
Symbol 881 MovieClip Frame 95
stop();
Symbol 881 MovieClip Frame 100
stop();
Symbol 883 MovieClip Frame 1
stop();
Symbol 883 MovieClip Frame 90
stop();
Symbol 883 MovieClip Frame 95
stop();
Symbol 883 MovieClip Frame 100
stop();
Instance of Symbol 423 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(100 - _root.health);
}
Instance of Symbol 405 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.rage);
}
Instance of Symbol 879 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.fire);
}
Instance of Symbol 881 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.lightning);
}
Instance of Symbol 883 MovieClip in Symbol 886 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(_root.nano);
}
Symbol 901 MovieClip Frame 1
stop();
Symbol 925 Button
on (release) {
if (_root.levelplayed == 1) {
_root.levelh = 2;
}
if (_root.levelplayed == 2) {
_root.levelhea = 2;
}
if (_root.levelplayed == 3) {
_root.levelni = 2;
}
stopAllSounds();
_root.gotoAndStop("levelselect");
}
Symbol 926 MovieClip Frame 1
stop();
_root.leveldone = false;
Symbol 926 MovieClip Frame 2
play();
_root.leveldone = true;
_quality = "High";
Symbol 926 MovieClip Frame 15
_root.GETLOST = true;
_root.devil.swapDepths(0);
_root.devil.removeMovieClip();
Symbol 926 MovieClip Frame 20
_quality = "HIGH";
if (_root.levelplayed == 1) {
_root.levelh = 2;
}
if (_root.levelplayed == 2) {
_root.levelhea = 2;
}
if (_root.levelplayed == 3) {
_root.levelni = 2;
}
_root.GETLOST = true;
_root.devil.swapDepths(0);
_root.devil.removeMovieClip();
Symbol 926 MovieClip Frame 138
stop();
Symbol 939 MovieClip Frame 25
stop();
Symbol 951 MovieClip Frame 15
stop();
Symbol 952 MovieClip Frame 4
_root.bodycount = _root.bodycount + 1;
_root.sheepskilled = _root.sheepskilled + 1;
Symbol 952 MovieClip Frame 26
stop();
this.swapDepths(0);
this.removeMovieClip();
Symbol 953 MovieClip Frame 1
stop();
Symbol 953 MovieClip Frame 2
stop();
_root.eos--;
if (causeofdeath == "stabbed") {
_root.score = _root.score + 30;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "rage") {
_root.score = _root.score + 20;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "combo1") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 10;
stab.start();
}
if (causeofdeath == "combo2") {
_root.score = _root.score + 100;
_root.rage = _root.rage + 15;
stab.start();
}
if (causeofdeath == "arial") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 5;
stab.start();
}
if (causeofdeath == "lightning") {
_root.score = _root.score + 20;
lightning.start();
}
if (causeofdeath == "fire") {
_root.score = _root.score + 20;
fire.start();
}
if (causeofdeath == "nano") {
_root.score = _root.score + 20;
nano.start();
}
Symbol 988 MovieClip Frame 17
stop();
Symbol 989 MovieClip Frame 5
_root.bodycount = _root.bodycount + 1;
Symbol 989 MovieClip Frame 26
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 990 MovieClip Frame 1
stop();
Symbol 990 MovieClip Frame 2
stop();
_root.eos--;
if (causeofdeath == "stabbed") {
_root.score = _root.score + 30;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "rage") {
_root.score = _root.score + 20;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "combo1") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 10;
stab.start();
}
if (causeofdeath == "combo2") {
_root.score = _root.score + 100;
_root.rage = _root.rage + 15;
stab.start();
}
if (causeofdeath == "arial") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 5;
stab.start();
}
if (causeofdeath == "lightning") {
_root.score = _root.score + 20;
lightning.start();
}
if (causeofdeath == "fire") {
_root.score = _root.score + 20;
fire.start();
}
if (causeofdeath == "nano") {
_root.score = _root.score + 20;
nano.start();
}
Symbol 1002 MovieClip Frame 1
stop();
Symbol 1006 MovieClip Frame 180
_parent.gotoAndStop(1);
Symbol 1012 MovieClip Frame 8
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 1013 MovieClip Frame 1
stop();
invunerable = false;
Symbol 1013 MovieClip Frame 2
stop();
invunerable = true;
Symbol 1013 MovieClip Frame 3
stop();
_root.eos--;
_root.ufomakerl.ufoos--;
_parent.alive = false;
_root.bodycount = _root.bodycount + 1;
if (causeofdeath == "stabbed") {
_root.score = _root.score + 30;
_root.rage = _root.rage + 8;
}
if (causeofdeath == "rage") {
_root.score = _root.score + 20;
_root.rage = _root.rage + 8;
}
if (causeofdeath == "combo1") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 10;
}
if (causeofdeath == "combo2") {
_root.score = _root.score + 100;
_root.rage = _root.rage + 15;
}
if (causeofdeath == "arial") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 5;
}
if (causeofdeath == "lightning") {
_root.score = _root.score + 20;
}
if (causeofdeath == "fire") {
_root.score = _root.score + 20;
}
if (causeofdeath == "nano") {
_root.score = _root.score + 20;
}
Symbol 1014 MovieClip Frame 1
stop();
Symbol 1014 MovieClip Frame 26
if (_root.levelplayed == 4) {
_root.gotoAndPlay("scenario_credits");
}
_root.fadefx.gotoAndPlay(2);
stop();
Symbol 1036 MovieClip Frame 7
shouldwalk = true;
Symbol 1036 MovieClip Frame 17
shouldwalk = false;
Symbol 1039 MovieClip Frame 26
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 1040 MovieClip Frame 1
stop();
Symbol 1040 MovieClip Frame 2
stop();
_root.bodycount = _root.bodycount + 1;
_root.eos--;
if (causeofdeath == "stabbed") {
_root.score = _root.score + 30;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "rage") {
_root.score = _root.score + 20;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "combo1") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 10;
stab.start();
}
if (causeofdeath == "combo2") {
_root.score = _root.score + 100;
_root.rage = _root.rage + 15;
stab.start();
}
if (causeofdeath == "arial") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 5;
stab.start();
}
if (causeofdeath == "lightning") {
_root.score = _root.score + 20;
lightning.start();
}
if (causeofdeath == "fire") {
_root.score = _root.score + 20;
fire.start();
}
if (causeofdeath == "nano") {
_root.score = _root.score + 20;
nano.start();
}
Symbol 1056 MovieClip Frame 23
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 1057 MovieClip Frame 1
stop();
Symbol 1057 MovieClip Frame 2
stop();
_root.bodycount = _root.bodycount + 1;
_root.eos--;
if (causeofdeath == "stabbed") {
_root.score = _root.score + 30;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "rage") {
_root.score = _root.score + 20;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "combo1") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 10;
stab.start();
}
if (causeofdeath == "combo2") {
_root.score = _root.score + 100;
_root.rage = _root.rage + 15;
stab.start();
}
if (causeofdeath == "arial") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 5;
stab.start();
}
if (causeofdeath == "lightning") {
_root.score = _root.score + 20;
lightning.start();
}
if (causeofdeath == "fire") {
_root.score = _root.score + 20;
fire.start();
}
if (causeofdeath == "nano") {
_root.score = _root.score + 20;
nano.start();
}
Symbol 1065 MovieClip Frame 52
this.swapDepths(0);
this.removeMovieClip();
stop();
Symbol 1066 MovieClip Frame 1
stop();
Symbol 1066 MovieClip Frame 2
stop();
_root.bodycount = _root.bodycount + 1;
_root.eos--;
if (causeofdeath == "stabbed") {
_root.score = _root.score + 30;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "rage") {
_root.score = _root.score + 20;
_root.rage = _root.rage + 8;
stab.start();
}
if (causeofdeath == "combo1") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 10;
stab.start();
}
if (causeofdeath == "combo2") {
_root.score = _root.score + 100;
_root.rage = _root.rage + 15;
stab.start();
}
if (causeofdeath == "arial") {
_root.score = _root.score + 50;
_root.rage = _root.rage + 5;
stab.start();
}
if (causeofdeath == "lightning") {
_root.score = _root.score + 20;
lightning.start();
}
if (causeofdeath == "fire") {
_root.score = _root.score + 20;
fire.start();
}
if (causeofdeath == "nano") {
_root.score = _root.score + 20;
nano.start();
}
Symbol 1098 MovieClip Frame 1
stop();
loops = 0;
_root.conveyorbelton = false;
_root.theleverthing.gotoAndStop(1);
Symbol 1098 MovieClip Frame 2
_root.conveyorbelton = true;
Symbol 1098 MovieClip Frame 6
loops = loops + 1;
if (loops > 40) {
gotoAndStop (1);
}
Symbol 1098 MovieClip Frame 11
gotoAndPlay (6);
Symbol 1106 MovieClip Frame 1
stop();
Symbol 1106 MovieClip Frame 20
_root.conveyorbelt.play();
stop();
stop();
Symbol 1106 MovieClip Frame 40
gotoAndStop (1);
Symbol 1107 MovieClip Frame 29
if (_root.platformlevel == "same") {
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(Math.round(Math.random() * (_root.y - _root.x)) + _root.x);
}
}
if (_root.dkdalive) {
if (_root.platformlevel == "below") {
chance = random(4);
if (chance == 1) {
_root.deathkid.gotoAndStop(9);
}
if (chance == 0) {
_root.deathkid.gotoAndStop(9);
}
if (chance == 2) {
_root.deathkid.gotoAndStop(9);
} else {
_root.deathkid.gotoAndStop(8);
}
}
}
if (_root.dkdalive) {
if (_root.platformlevel == "above") {
mchance = random(5);
if (mchance == 1) {
if (!_root.conveyorbelton) {
_root.deathkid.gotoAndStop(8);
}
}
if (_root.dkdalive) {
if (mchance == 0) {
if (!_root.conveyorbelton) {
_root.theleverthing.play();
_root.notswitch = false;
_root.deathkid.gotoAndStop(8);
}
}
}
if (_root.dkdalive) {
if (mchance == 2) {
if (!_root.conveyorbelton) {
_root.notswitch = false;
_root.deathkid.gotoAndStop(4);
}
if (_root.dkdalive) {
if (mchance == 4) {
_root.deathkid.gotoAndStop(9);
}
}
} else if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
}
}
}
Symbol 1108 MovieClip Frame 1
_root.deathwalk = true;
continuechance = random(2);
if (_root.lunging) {
_root.deathkid.speed = 20;
}
Symbol 1108 MovieClip Frame 14
_root.deathwalk = false;
Symbol 1108 MovieClip Frame 15
if (_root.dkdalive) {
if (continuechance == 0) {
if (_root.lunging == false) {
_root.deathkid.gotoAndStop(1);
_parent.deathkid.walking = false;
_root.deathkid.speed = _root.dkspeed;
}
}
}
gotoAndPlay (1);
if (_root.dkdalive) {
if (_root.deathkid.hitTest(_root.devil)) {
_root.deathkid.gotoAndStop(4);
_root.lunging = false;
}
}
if (_root.dkdalive) {
if (!_root.deathkid.hitTest(_root.devil)) {
if (_root.lunging) {
_root.lunge = _root.lunge + 1;
}
}
}
if (_root.lunge > 2) {
trace("OVER");
}
Symbol 1109 MovieClip Frame 1
continuechance = random(2);
Symbol 1109 MovieClip Frame 14
_root.blocking = true;
Symbol 1109 MovieClip Frame 79
_root.deathwalk = false;
Symbol 1109 MovieClip Frame 80
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
Symbol 1110 MovieClip Frame 1
continuechance = random(3);
_root.blocking = true;
Symbol 1110 MovieClip Frame 10
_root.deathkidbusy = false;
Symbol 1110 MovieClip Frame 12
_root.deathkidbusy = true;
_root.blocking = true;
Symbol 1110 MovieClip Frame 26
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
_root.blocking = false;
}
if (continuechance == 1) {
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(8);
_root.blocking = false;
}
}
Symbol 1111 MovieClip Frame 17
_root.scythethrow = true;
Symbol 1111 MovieClip Frame 18
_root.scythethrow = false;
Symbol 1111 MovieClip Frame 90
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
if (continuechance == 1) {
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(8);
}
}
Symbol 1112 MovieClip Frame 3
_root.sizechance = random(3);
Symbol 1112 MovieClip Frame 18
_root.deathkidfire = true;
Symbol 1112 MovieClip Frame 19
_root.deathkidfire = false;
Symbol 1112 MovieClip Frame 33
_root.deathkidfire = true;
Symbol 1112 MovieClip Frame 34
_root.deathkidfire = false;
Symbol 1112 MovieClip Frame 48
_root.deathkidfire = true;
Symbol 1112 MovieClip Frame 49
_root.deathkidfire = false;
Symbol 1112 MovieClip Frame 63
_root.deathkidfire = true;
Symbol 1112 MovieClip Frame 64
_root.deathkidfire = false;
Symbol 1112 MovieClip Frame 68
_root.deathkidbusy = false;
Symbol 1112 MovieClip Frame 77
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
if (_root.dkdalive) {
if (continuechance == 1) {
_root.deathkid.gotoAndStop(8);
}
}
Symbol 1114 MovieClip Frame 60
gotoAndPlay (30);
Instance of Symbol 1119 MovieClip in Symbol 1125 MovieClip Frame 17
onClipEvent (enterFrame) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.flinchtime == "expired") {
if (this.hitTest(_root.devil.range)) {
if (!_root.devil.jumping) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.flinchtime == "expired") {
if (this.hitTest(_root.devil.range)) {
if (_root.devil.jumping) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
Symbol 1125 MovieClip Frame 135
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
if (_root.dkdalive) {
if (continuechance == 1) {
_root.deathkid.gotoAndStop(8);
}
}
Symbol 1126 MovieClip Frame 7
_root.deathkidjump = true;
_root.deathkid.jumping = 1;
Symbol 1126 MovieClip Frame 19
_root.deathkidjump = false;
Symbol 1126 MovieClip Frame 28
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
if (!_root.dkdalive) {
_root.deathkid.gotoAndStop("dktrans");
}
Symbol 1130 MovieClip Frame 1
if (_root.platformlevel == "same") {
_root.deathkid.gotoAndStop(random(2) + 3);
}
Symbol 1130 MovieClip Frame 30
_root.throwknives = true;
Symbol 1130 MovieClip Frame 33
_root.throwknives = false;
Symbol 1130 MovieClip Frame 50
if (_root.dkdalive) {
_root.deathkid.gotoAndStop(1);
}
Symbol 1131 MovieClip Frame 1
_root.blocking = true;
_root.justhit = true;
Symbol 1131 MovieClip Frame 8
_root.deathkidhealth = _root.deathkidhealth - 10;
Symbol 1131 MovieClip Frame 12
_root.blocking = false;
Symbol 1131 MovieClip Frame 15
_root.deathkidhurt = _root.deathkidhurt + 1;
if (_root.dkdalive) {
if (_root.deathkidhurt > 1) {
_root.deathkid.gotoAndStop(8);
}
}
if (_root.dkdalive) {
if (_root.deathkidhurt < 2) {
_root.deathkid.gotoAndStop(4);
}
}
Symbol 1139 MovieClip Frame 116
_root.animationdone = true;
Symbol 1139 MovieClip Frame 117
_root.deathkid.gotoAndStop(12);
Symbol 1140 MovieClip Frame 33
samechance = random(3);
if (_root.platformlevel == "same") {
if (samechance == 1) {
if (_root.jbalive) {
_root.deathkid.gotoAndStop(16);
if (samechance == 2) {
if (_root.platformlevel == "same") {
if (_root.jbalive) {
_root.deathkid.gotoAndStop(Math.round(Math.random() * (_root.y - _root.x)) + _root.x);
}
}
}
}
}
}
if (_root.jbalive) {
if (_root.platformlevel == "below") {
chance = random(4);
if (chance == 1) {
_root.deathkid.gotoAndStop(13);
}
if (chance == 0) {
_root.deathkid.gotoAndStop(15);
}
if (chance == 2) {
_root.deathkid.gotoAndStop(13);
} else {
_root.deathkid.gotoAndStop(14);
}
}
}
if (_root.jbalive) {
if (_root.platformlevel == "above") {
mchance = random(4);
if (mchance == 1) {
if (!_root.conveyorbelton) {
_root.deathkid.gotoAndStop(13);
}
}
if (_root.jbalive) {
if (mchance == 0) {
if (!_root.conveyorbelton) {
_root.theleverthing.play();
_root.notswitch = false;
_root.deathkid.gotoAndStop(13);
}
}
}
if (_root.jbalive) {
if (mchance == 2) {
if (!_root.conveyorbelton) {
_root.notswitch = false;
_root.deathkid.gotoAndStop(15);
}
} else if (_root.jbalive) {
_root.deathkid.gotoAndStop(12);
}
}
}
}
Symbol 1142 MovieClip Frame 1
_root.deathwalk = true;
continuechance = random(3);
_root.deathkid.speed = 10;
Symbol 1142 MovieClip Frame 11
continuechance = random(3);
Symbol 1142 MovieClip Frame 17
if (continuechance == 0) {
if (_root.lunging == false) {
_root.deathkid.gotoAndStop(12);
_parent.deathkid.walking = false;
_root.deathkid.speed = _root.dkspeed;
}
}
gotoAndPlay (5);
Instance of Symbol 1119 MovieClip in Symbol 1147 MovieClip Frame 10
onClipEvent (enterFrame) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
onClipEvent (enterFrame) {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
Instance of Symbol 1119 MovieClip in Symbol 1147 MovieClip Frame 33
onClipEvent (enterFrame) {
_visible = false;
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
Symbol 1147 MovieClip Frame 65
_root.deathkid.gotoAndStop(12);
Symbol 1149 MovieClip Frame 10
_root.deathkidjump = true;
_root.deathkid.jumping = 1;
Symbol 1149 MovieClip Frame 22
_root.deathkidjump = false;
_root.deathkidhurt = 0;
Symbol 1149 MovieClip Frame 30
_root.deathkid.gotoAndStop(12);
Symbol 1150 MovieClip Frame 10
_root.sfx1on = true;
Symbol 1150 MovieClip Frame 11
_root.sfx1on = false;
Symbol 1150 MovieClip Frame 18
_root.sfx1on = true;
Symbol 1150 MovieClip Frame 19
_root.sfx1on = false;
Symbol 1150 MovieClip Frame 22
_root.sfx1on = false;
Symbol 1150 MovieClip Frame 30
_root.deathkid.gotoAndStop(12);
Symbol 1151 MovieClip Frame 2
_root.deathkidhealth = _root.deathkidhealth - 5;
Symbol 1151 MovieClip Frame 5
_root.jackhealth = _root.jackhealth - 10;
whatdo = random(2);
Symbol 1151 MovieClip Frame 11
_root.deathkidhurt = _root.deathkidhurt + 1;
if (_root.jbdalive) {
if (_root.deathkidhurt > 2) {
_root.deathkid.gotoAndStop(15);
}
}
if (whatdo == 0) {
_root.deathkid.gotoAndStop(12);
}
if (whatdo == 1) {
_root.deathkid.gotoAndStop(15);
}
Symbol 1152 MovieClip Frame 138
_root.death_fall.play();
stop();
Symbol 1153 MovieClip Frame 1
stop();
_root.deathkid.speed = _root.dkspeed;
_root.deathkidbusy = false;
_root.blocking = false;
_root.deathwalk = false;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 2
stop();
_root.deathkid.blocking = false;
_root.icanhurtdevil = true;
Instance of Symbol 1108 MovieClip in Symbol 1153 MovieClip Frame 2
onClipEvent (load) {
dkcCounter = random(100670) - 2920;
_root.deathkidwalk._visible = false;
}
onClipEvent (enterFrame) {
dkcCounter++;
_root.deathkidwalk.duplicateMovieClip("deathkidwalk" + dkcCounter, dkcCounter);
_root["deathkidwalk" + dkcCounter]._visible = true;
}
Symbol 1153 MovieClip Frame 3
stop();
_root.deathkid.speed = _root.dkspeed;
_root.deathkidbusy = true;
_root.icanhurtdevil = true;
Instance of Symbol 1109 MovieClip in Symbol 1153 MovieClip Frame 3
onClipEvent (load) {
speed = random(1) + 2;
_root.deathwalk = true;
}
onClipEvent (enterFrame) {
if (_root.deathkid._x < _root.devil._x) {
dir = 1;
}
if (_root.deathkid._x > _root.devil._x) {
dir = 2;
}
}
onClipEvent (enterFrame) {
if (_root.deathwalk) {
if (dir == 1) {
_root.deathkid._x = _root.deathkid._x + speed;
}
}
if (_root.deathwalk) {
if (dir == 2) {
_root.deathkid._x = _root.deathkid._x - speed;
}
}
}
Symbol 1153 MovieClip Frame 4
stop();
_root.deathkid.speed = _root.dkspeed;
_root.deathkidbusy = false;
_root.deathkid.blocking = false;
_root.justhit = false;
_root.icanhurtdevil = true;
Instance of Symbol 1110 MovieClip "framefour" in Symbol 1153 MovieClip Frame 4
onClipEvent (load) {
lunge = new Sound();
lunge.attachSound("chargelol");
}
onClipEvent (enterFrame) {
if (!_root.deathkid.hitTest(_root.devil)) {
lunge.start();
_root.deathkid.speed = 20;
_root.deathkid.gotoAndStop(2);
_root.lunging = true;
}
}
Symbol 1153 MovieClip Frame 5
stop();
_root.deathkid.speed = _root.dkspeed;
_root.deathkidbusy = true;
_root.deathwalk = false;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 6
stop();
_root.deathkid.speed = _root.dkspeed;
_root.deathkidbusy = true;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 7
stop();
_root.deathkid.speed = _root.dkspeed;
_root.deathkidbusy = true;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 8
stop();
_root.deathkidhurt = 0;
_root.deathkidbusy = true;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 9
stop();
_root.deathkidbusy = true;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 10
stop();
_root.deathkidbusy = false;
_root.justhit = true;
_root.icanhurtdevil = false;
Symbol 1153 MovieClip Frame 11
_root.deathkidbusy = true;
_root.deathkid.form = 2;
_root.x = 12;
_root.y = 16;
_root.icanhurtdevil = false;
Symbol 1153 MovieClip Frame 12
stop();
_root.jbalive = true;
_root.deathwalk = false;
_root.icanhurtdevil = true;
_root.deathkidbusy = false;
if (!_root.animationdone) {
_root.deathkid.gotoAndStop(11);
}
Instance of Symbol 1140 MovieClip in Symbol 1153 MovieClip Frame 12
onClipEvent (enterFrame) {
if (this.hitTest(_root.devil.combo1)) {
if (_root.attacking == true) {
_root.deathkid.gotoAndStop(17);
}
}
if (this.hitTest(_root.devil.combo2.range)) {
if (_root.attacking == true) {
_root.deathkid.gotoAndStop(17);
}
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_root.devil.spin.range)) {
_root.deathkid.gotoAndStop(17);
}
}
Symbol 1153 MovieClip Frame 13
stop();
_root.icanhurtdevil = true;
Instance of Symbol 1142 MovieClip in Symbol 1153 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_visible) {
if (_root.flinchtime == "expired") {
if (_root.dkalive) {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.flinchtime == "expired") {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
}
Symbol 1153 MovieClip Frame 14
stop();
_root.deathwalk = false;
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 15
stop();
_root.icanhurtdevil = true;
Symbol 1153 MovieClip Frame 16
stop();
_root.icanhurtdevil = true;
Instance of Symbol 1150 MovieClip in Symbol 1153 MovieClip Frame 16
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping == false) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(17);
_root.flinching = true;
}
}
}
}
}
onClipEvent (enterFrame) {
if (_visible) {
if (_root.dkalive) {
if (_root.devil.jumping) {
if (this.hitTest(_root.devil.range)) {
_root.devil.gotoAndStop(21);
_root.flinching = true;
}
}
}
}
}
Symbol 1153 MovieClip Frame 17
stop();
Symbol 1153 MovieClip Frame 18
stop();
_root.jbalive = false;
Symbol 1165 MovieClip Frame 13
gotoAndPlay (6);
Symbol 1166 MovieClip Frame 1
stop();
Symbol 1166 MovieClip Frame 13
stop();
Symbol 1174 MovieClip Frame 4
stop();
this.swapDepths(0);
this.removeMovieClip();
Symbol 1179 MovieClip Frame 5
stop();
this.swapDepths(0);
this.removeMovieClip();
Symbol 1180 MovieClip Frame 1
stop();
Symbol 1180 MovieClip Frame 2
stop();
Symbol 1190 MovieClip Frame 1
stop();
Symbol 1190 MovieClip Frame 2
stop();
Symbol 1190 MovieClip Frame 3
stop();
Instance of Symbol 1189 MovieClip in Symbol 1190 MovieClip Frame 3
onClipEvent (enterFrame) {
_rotation = (_rotation + 40);
}
Symbol 1197 MovieClip Frame 4
_root.attackframe = true;
Symbol 1197 MovieClip Frame 15
_root.blockhit = true;
_root.attacking = true;
Symbol 1197 MovieClip Frame 16
_root.blockhit = false;
Symbol 1197 MovieClip Frame 18
comboready = true;
Symbol 1197 MovieClip Frame 20
_root.attacking = false;
_root.attackframe = false;
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
Symbol 1198 MovieClip Frame 1
_root.jumpallowed = true;
_root.devil.jumping = true;
_root.busy = true;
Symbol 1198 MovieClip Frame 13
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 14
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 15
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 16
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 17
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 18
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 19
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 20
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 21
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 22
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 23
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 24
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 25
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 26
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platform)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 1) {
_root.devil.gotoAndStop(1);
}
}
if (_root.devil.hitTest(_root.platformb)) {
if (_root.devil.status == 2) {
_root.devil.gotoAndStop(6);
}
}
Symbol 1198 MovieClip Frame 27
gotoAndPlay (26);
Symbol 1203 MovieClip Frame 15
_root.invunerable = true;
Symbol 1203 MovieClip Frame 43
_root.devil.gotoAndStop(6);
_root.devil.transforming = false;
_root.tridenteffects = "rage";
Symbol 1204 MovieClip Frame 1
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 2
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
_root.attacking = true;
Symbol 1204 MovieClip Frame 3
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 4
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 5
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 6
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 7
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 8
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 9
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 10
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 11
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 12
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 13
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 14
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 15
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 16
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 17
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 18
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 19
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 20
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 21
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
_root.attacking = true;
Symbol 1204 MovieClip Frame 22
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 23
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 24
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 25
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 26
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 27
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 28
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 29
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 30
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 31
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 32
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 33
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 34
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 35
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 36
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 37
if (hitTest(_root.fakeplatform)) {
_root.devil.gotoAndStop(1);
}
Symbol 1204 MovieClip Frame 38
_root.devil.gotoAndStop(1);
stop();
Symbol 1213 MovieClip Frame 1
_root.flinching = true;
Symbol 1213 MovieClip Frame 6
_root.devil._alpha = 20;
Symbol 1213 MovieClip Frame 7
_root.health = _root.health - 5;
_root.shake = true;
Symbol 1213 MovieClip Frame 8
_root.devil._alpha = 100;
Symbol 1213 MovieClip Frame 10
_root.devil._alpha = 40;
Symbol 1213 MovieClip Frame 12
_root.devil._alpha = 100;
Symbol 1213 MovieClip Frame 14
_root.devil._alpha = 60;
Symbol 1213 MovieClip Frame 15
_root.shake = false;
Symbol 1213 MovieClip Frame 16
_root.devil._alpha = 100;
Symbol 1213 MovieClip Frame 18
_root.devil._alpha = 80;
Symbol 1213 MovieClip Frame 19
_root.flinchtime = "not expired";
_root.devil.timeleft = 0;
Symbol 1213 MovieClip Frame 20
_root.devil._alpha = 100;
_root._x = 0;
_root._y = 0;
_root.devil.gotoAndStop(1);
Symbol 1213 MovieClip Frame 21
_root.devil.gotoAndStop(1);
Symbol 1214 MovieClip Frame 1
stop();
Symbol 1214 MovieClip Frame 215
_root.gotoAndStop("gameover");
_root.GETLOST = true;
Symbol 1215 MovieClip Frame 10
_root.attacking = true;
Symbol 1215 MovieClip Frame 21
_root.blockhit = true;
Symbol 1215 MovieClip Frame 22
_root.blockhit = false;
Symbol 1215 MovieClip Frame 26
_root.attacking = false;
combo2ready = true;
Symbol 1215 MovieClip Frame 31
_root.devil.gotoAndStop(1);
Symbol 1216 MovieClip Frame 2
_root.attacking = true;
Symbol 1216 MovieClip Frame 9
_root.blockhit = true;
Symbol 1216 MovieClip Frame 39
_root.blockhit = false;
Symbol 1216 MovieClip Frame 45
_root.devil.gotoAndStop(1);
Symbol 1217 MovieClip Frame 1
stop();
timeleft = 0;
_root.ragestatus = 1;
_root.walking = false;
_root.jumpallowed = false;
_root.busy = false;
_root.attacking = false;
_root.devil.transforming = false;
_root.invunerable = false;
_root.flinching = false;
onEnterFrame = function () {
if (_root.flinchtime == "not expired") {
timeleft = timeleft + 1;
if (timeleft > 17) {
_root.flinchtime = "expired";
}
}
};
_root.attackframe = false;
Symbol 1217 MovieClip Frame 2
stop();
_root.walking = true;
Instance of Symbol 1196 MovieClip "walking" in Symbol 1217 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.devil.gotoAndStop(22);
}
}
onClipEvent (keyUp) {
if (Key.getCode() == 39) {
_parent.gotoAndStop(1);
}
if (Key.getCode() == 37) {
_parent.gotoAndStop(1);
}
}
Symbol 1217 MovieClip Frame 3
stop();
_root.busy = true;
_root.devil.transforming = true;
Instance of Symbol 1197 MovieClip "stab" in Symbol 1217 MovieClip Frame 3
onClipEvent (load) {
stage = 0;
this.comboready = false;
}
onClipEvent (keyUp) {
if (Key.getCode() == 65) {
stage = stage + 1;
}
}
onClipEvent (enterFrame) {
if (this.comboready == true) {
if (Key.isDown(65)) {
if (stage == 1) {
stage = stage + 1;
}
}
}
if (stage > 1) {
if (this.comboready == true) {
stage = 2;
_root.devil.gotoAndStop(19);
}
}
}
Symbol 1217 MovieClip Frame 4
stop();
_root.devil.transforming = false;
_root.deviltransforming = true;
Instance of Symbol 1198 MovieClip in Symbol 1217 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
_root.devil.gotoAndStop(16);
}
}
Symbol 1217 MovieClip Frame 5
stop();
_root.devil.transforming = true;
Symbol 1217 MovieClip Frame 6
stop();
_root.busy = false;
_root.devil.transforming = false;
_root.tridenteffects = "rage";
_root.walking = false;
Symbol 1217 MovieClip Frame 7
stop();
Symbol 1217 MovieClip Frame 8
stop();
_root.walking = true;
Symbol 1217 MovieClip Frame 9
stop();
Symbol 1217 MovieClip Frame 10
stop();
_root.devil.transforming = true;
_root.busy = true;
_root.invunerable = false;
Symbol 1217 MovieClip Frame 11
stop();
_root.devil.transforming = true;
_root.busy = true;
_root.invunerable = false;
Symbol 1217 MovieClip Frame 12
stop();
_root.devil.transforming = true;
_root.busy = true;
_root.invunerable = false;
Symbol 1217 MovieClip Frame 13
_root.devil.transforming = true;
_root.busy = true;
stop();
_root.invunerable = true;
Instance of Symbol 757 MovieClip "attacklightning" in Symbol 1217 MovieClip Frame 13
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.devil._xscale = 100;
}
if (Key.isDown(37)) {
_root.devil._xscale = -100;
}
}
Symbol 1217 MovieClip Frame 14
_root.devil.transforming = true;
_root.busy = true;
stop();
_root.invunerable = true;
Instance of Symbol 769 MovieClip "attackfire" in Symbol 1217 MovieClip Frame 14
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.devil._xscale = 100;
}
if (Key.isDown(37)) {
_root.devil._xscale = -100;
}
}
Symbol 1217 MovieClip Frame 15
_root.devil.transforming = true;
_root.busy = true;
stop();
_root.invunerable = true;
Instance of Symbol 782 MovieClip "attacknano" in Symbol 1217 MovieClip Frame 15
onClipEvent (enterFrame) {
if (Key.isDown(39)) {
_root.devil._xscale = 100;
}
if (Key.isDown(37)) {
_root.devil._xscale = -100;
}
}
Symbol 1217 MovieClip Frame 16
stop();
Symbol 1217 MovieClip Frame 17
stop();
Symbol 1217 MovieClip Frame 18
stop();
_root.flinching = true;
_root.dkalive = false;
_root.devil._alpha = 100;
_root.shake = false;
Instance of Symbol 1214 MovieClip in Symbol 1217 MovieClip Frame 18
onClipEvent (load) {
speed = 0;
done = false;
}
onClipEvent (enterFrame) {
if (!_root.devil.range.hitTest(_root.dieplatform)) {
_root.devil._y = _root.devil._y + speed;
speed = speed + 1;
}
if (!done) {
if (_root.devil.range.hitTest(_root.dieplatform)) {
this.gotoAndPlay(2);
done = true;
}
}
}
Symbol 1217 MovieClip Frame 19
stop();
_root.devil.transforming = true;
Instance of Symbol 1215 MovieClip "combo1" in Symbol 1217 MovieClip Frame 19
onClipEvent (load) {
stage = 0;
this.combo2ready = false;
}
onClipEvent (keyUp) {
if (Key.getCode() == 65) {
stage = stage + 1;
}
}
onClipEvent (enterFrame) {
if (this.combo2ready == true) {
if (Key.isDown(65)) {
if (stage == 1) {
stage = stage + 1;
}
}
}
if (this.combo2ready == true) {
if (stage > 1) {
stage = 2;
_root.devil.gotoAndStop(20);
}
}
}
Symbol 1217 MovieClip Frame 20
stop();
_root.devil.transforming = true;
Symbol 1217 MovieClip Frame 21
stop();
Symbol 1217 MovieClip Frame 22
stop();
_root.busy = true;
_root.devil.speed = 8;
Symbol 1230 MovieClip Frame 1
stop();
Symbol 1230 MovieClip Frame 100
stop();
_root.dkdalive = false;
_root.deathkid.gotoAndStop("dktrans");
_root.blbar1._visible = false;
Symbol 1232 MovieClip Frame 1
stop();
Symbol 1232 MovieClip Frame 12
stop();
Instance of Symbol 1231 MovieClip in Symbol 1232 MovieClip Frame 12
onClipEvent (load) {
end = new Sound();
end.attachSound("endlev");
done = false;
}
onClipEvent (enterFrame) {
if (!done) {
if (this.hitTest(_root.devil.range)) {
end.start();
_root.paused = true;
_root.sfxb.play();
done = true;
}
}
}
Symbol 1234 MovieClip Frame 1
stop();
Symbol 1234 MovieClip Frame 76
stopAllSounds();
_root.gotoAndPlay("scenario_credits");
stop();
Instance of Symbol 423 MovieClip in Symbol 1235 MovieClip Frame 1
onClipEvent (enterFrame) {
this.gotoAndStop(100 - _root.health);
}
Symbol 1239 MovieClip Frame 1
stop();
Symbol 1239 MovieClip Frame 100
stop();
_root.jbalive = false;
_root.deathkid.gotoAndStop(18);
trace("DIELOL");
Symbol 1246 MovieClip Frame 45
stop();
Symbol 1256 Button
on (release) {
_root.gotoAndStop("officalmenu");
}
Symbol 1258 Button
on (press) {
getURL ("http://www.roflmaster.com", "_blank");
}
Symbol 1260 Button
on (press) {
getURL ("http://www.hamloanimations.com", "_blank");
}
Symbol 1261 Button
on (press) {
getURL ("http://www.gamesreloaded.com/game/Devil-Kid", "_blank");
}
Symbol 1263 MovieClip Frame 25
stop();
Symbol 1270 MovieClip Frame 1
stop();
Symbol 1270 MovieClip Frame 2
stop();
Symbol 1270 MovieClip Frame 3
stop();
Symbol 1271 Button
on (rollOver) {
_root.deadbgmovieclip.gotoAndStop(2);
}
on (rollOut) {
_root.deadbgmovieclip.gotoAndStop(1);
}
on (release) {
_root.speedfixbusy = false;
_root.speedfixon = true;
_root.gameactive = true;
if (_root.levelplayed == 1) {
_root.gotoAndStop("level_hell");
}
if (_root.levelplayed == 2) {
_root.gotoAndStop("level_heaven");
}
if (_root.levelplayed == 3) {
_root.gotoAndStop("level_nightice");
}
if (_root.levelplayed == 4) {
_root.gotoAndStop("final_boss");
}
}
Symbol 1272 Button
on (rollOver) {
_root.deadbgmovieclip.gotoAndStop(3);
}
on (rollOut) {
_root.deadbgmovieclip.gotoAndStop(1);
}
on (release) {
_root.gotoAndStop("officalmenu");
}
Symbol 1274 MovieClip Frame 1683
gotoAndPlay (842);
Symbol 1276 MovieClip Frame 35
stop();
Symbol 1294 MovieClip Frame 20
gotoAndPlay (5);
Symbol 1296 MovieClip Frame 1
number = 0;
_root.overallprogress = number add "%";
Symbol 1296 MovieClip Frame 30
if (number < 100) {
number = number + 1;
}
_root.overallprogress = number add "%";
_root.GO = true;
Symbol 1296 MovieClip Frame 31
if (_root.SFDONE) {
gotoAndPlay (32);
trace("DONE");
} else {
gotoAndPlay (30);
}
Symbol 1296 MovieClip Frame 32
if (_root.fps < 15) {
_root.speedfixquality = "Low";
}
if (_root.fps >= 15) {
_root.speedfixquality = "Medium";
}
_root.GETLOST = true;
Symbol 1296 MovieClip Frame 40
_root.GETLOST = false;
stopAllSounds();
_root.gotoAndPlay("precutscene");
Symbol 1302 MovieClip Frame 1
stop();
Symbol 1302 MovieClip Frame 100
_root.SFDONE = true;
Symbol 1311 Button
on (press) {
getURL ("http://www.gamesreloaded.com/game/Devil-Kid", "_blank");
}