Frame 1
_quality = "HIGH";
bitSound = true;
indicator = "";
var strURL = _url.toLowerCase();
trace(strURL);
if ((((strURL.indexOf("battleon.com") == -1) && (strURL.indexOf("adventurequest.com") == -1)) && (strURL.indexOf("ebilgames.com") == -1)) && (strURL.indexOf("dragonfable.com") == -1)) {
trace("use tracking");
_root.indicator = "Voltaire.net";
_root.strURL = "http://www.battleon.com/default.asp?cc43f04fff4a134459ea36bf235ba0644";
trace(strURL);
} else {
trace("no tracking");
_root.indicator = "Battleon.com";
_root.strURL = "http://www.battleon.com/default.asp";
trace(strURL);
}
_root.strVOLTURL = "http://www.ebilgames.com/go/voltaire.asp";
_root.strCOMICURL = "http://www.ebilgames.com/go/voltaireshop.asp";
_root.strDLURL = "http://ebilgames.com/games/Deady/download.asp";
Stage.showMenu = false;
stop();
Frame 8
_quality = "HIGH";
_root.playSound = function (strSoundName) {
trace(_root.bitSound);
if (_root.bitSound != false) {
var _local2 = new Sound();
_local2.attachSound(strSoundName);
_local2.setVolume(50);
_local2.start();
}
};
musicAudio = new Sound(music);
_root.playSound("Menu_Enter03 - heavy enter.wav");
stop();
Frame 17
_quality = "HIGH";
stop();
Instance of Symbol 164 MovieClip in Frame 17
on (release) {
if (_root.bitSound) {
_root.bitSound = false;
_root.musicAudio.setVolume(0);
gotoAndPlay (1);
} else {
_root.bitSound = true;
_root.musicAudio.setVolume(100);
gotoAndPlay (1);
}
}
Frame 26
_quality = "HIGH";
stop();
Frame 35
_quality = "HIGH";
stop();
Frame 43
stop();
Frame 52
stop();
Frame 61
_quality = "HIGH";
stop();
Frame 70
_quality = "HIGH";
gamePhrase = "insert ranking phrase here";
stop();
Symbol 27 MovieClip Frame 7
stop();
Symbol 28 MovieClip [Bat] Frame 1
gotoAndPlay ("Walk");
Symbol 28 MovieClip [Bat] Frame 18
gotoAndPlay ("Idle");
Symbol 28 MovieClip [Bat] Frame 19
bitOverride = false;
Symbol 28 MovieClip [Bat] Frame 36
if (!bitOverride) {
gotoAndPlay ("Walk");
}
Symbol 28 MovieClip [Bat] Frame 54
gotoAndPlay (9);
Symbol 28 MovieClip [Bat] Frame 68
onAttack();
Symbol 28 MovieClip [Bat] Frame 70
gotoAndPlay ("Walk");
Symbol 28 MovieClip [Bat] Frame 85
gotoAndPlay ("Walk");
Symbol 28 MovieClip [Bat] Frame 98
stop();
Symbol 37 MovieClip Frame 1
stop();
Symbol 37 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 2
stop();
Symbol 45 MovieClip Frame 3
stop();
Symbol 45 MovieClip Frame 4
stop();
Symbol 45 MovieClip Frame 5
stop();
Symbol 45 MovieClip Frame 6
stop();
Symbol 45 MovieClip Frame 7
stop();
Symbol 50 MovieClip Frame 1
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_parent.loaded = true;
_parent.gotoAndStop("Intro");
} else {
strLoad.text = ("Loading " + String(Math.ceil((_root.getBytesLoaded() * 100) / _root.getBytesTotal()))) + "%";
}
Symbol 50 MovieClip Frame 2
gotoAndPlay (1);
Symbol 76 MovieClip Frame 29
_parent.gotoAndPlay("Ready");
Symbol 79 MovieClip Frame 1
_visible = false;
Symbol 79 MovieClip Frame 1472
gotoAndPlay (1);
Symbol 93 MovieClip Frame 1
this._visible = false;
_root.game = new Object();
_root.game.objSoundOptions = new Object();
_root.game.objSoundOptions.bitSoundOn = true;
_root.game.objSoundOptions.bitMusicOn = true;
_root.game.objSoundOptions.ptrSound = this;
_root.game.playSound = function (strNoiseName, strType, strPath) {
trace("--------------------------------------" + strNoiseName);
if ((strType == "sound") || (strType == undefined)) {
if (_root.game.objSoundOptions.bitSoundOn == true) {
bitPlay = true;
} else {
bitPlay = false;
}
} else {
_root.game.stage.map.strSoundTrack = strNoiseName;
_root.game.stage.map.strSoundTrackPath = strPath;
if (_root.game.objSoundOptions.bitMusicOn == true) {
bitPlay = true;
} else {
bitPlay = false;
}
}
strNoiseName = strNoiseName.toLowerCase();
trace((("--------------------------------------" + strNoiseName) + " ") + bitPlay);
if (bitPlay) {
if (strPath != null) {
trace(((("Playing: _root." + strPath) + ".gotoAndPlay(") + strNoiseName) + ")");
eval ("_root." + strPath).gotoAndPlay(strNoiseName);
trace(eval ("_root." + strPath));
} else {
strFrameName = "hit";
switch (strNoiseName) {
case "hit" :
case "earth" :
case "wind" :
strFrameName = "hit";
break;
case "miss" :
case "swing" :
strFrameName = "miss";
break;
case "parry" :
case "block" :
strFrameName = "block";
break;
case "hot" :
case "fire" :
case "energy" :
strFrameName = "hot";
break;
case "wet" :
case "water" :
case "wind" :
case "ice" :
case "posion" :
case "disease" :
strFrameName = "wet";
break;
case "bad" :
strFrameName = "bad";
break;
case "good" :
strFrameName = "good";
break;
case "supergood" :
strFrameName = "supergood";
break;
case "heal" :
case "goodmagic" :
case "light" :
strFrameName = "goodmagic";
break;
case "lose" :
strFrameName = "lose";
break;
case "badmagic" :
case "darkness" :
strFrameName = "badmagic";
break;
case "click" :
strFrameName = "click";
break;
case "boomclick" :
strFrameName = "boomclick";
break;
default :
strFrameName = "Hit";
}
trace("--------------------------------------" + strFrameName);
gotoAndPlay(strFrameName);
}
}
};
stop();
Symbol 93 MovieClip Frame 7
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 13
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 19
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 24
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 30
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 36
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 46
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 55
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 64
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 74
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 83
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 90
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 97
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 102
gotoAndStop ("Wait");
Symbol 93 MovieClip Frame 110
gotoAndStop ("Wait");
Symbol 103 Button
on (release) {
_root.gotoAndPlay("Age13-Comic");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(7);
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 8
stop();
Symbol 139 Button
on (release) {
getURL (_root.strURL);
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(1);
}
Symbol 142 Button
on (release) {
_parent.gotoAndPlay("Voltaire");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(5);
}
Symbol 143 Button
on (release) {
_parent.gotoAndPlay("Deady");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(4);
}
Symbol 144 Button
on (release) {
_parent.gotoAndPlay("Howto");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(1);
}
Symbol 154 Button
on (release) {
getURL (_root.strDLURL);
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(3);
}
Symbol 159 Button
on (press) {
_root.bitSound = false;
gotoAndStop ("Off");
}
Symbol 162 Button
on (press) {
_root.bitSound = true;
gotoAndStop ("On");
}
Symbol 164 MovieClip Frame 1
if (_root.bitSound != false) {
stop();
} else {
gotoAndStop ("Off");
}
Symbol 164 MovieClip Frame 5
stop();
Symbol 165 Button
on (release) {
gotoAndPlay ("Ready");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
Symbol 174 Button
on (release) {
_root.gotoAndPlay("Age13-Comic");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
on (rollOver) {
Deady.Head.Mouth.gotoAndStop(7);
}
Symbol 177 Button
on (release) {
gotoAndPlay ("Age13");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
Symbol 185 Button
on (release) {
getURL ("http://www.voltaire.net", "_BLANK");
}
Symbol 187 Button
on (release) {
gotoAndPlay ("Age13");
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
Symbol 193 Button
on (release) {
getURL (_root.strVOLTURL);
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
Symbol 198 Button
on (release) {
getURL (_root.strCOMICURL);
_root.playSound("Menu_Enter03 - heavy enter.wav");
}
Symbol 202 Button
on (release) {
gotoAndPlay ("Game");
}
Symbol 207 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 2
stop();
Symbol 207 MovieClip Frame 3
stop();
Symbol 207 MovieClip Frame 4
stop();
Symbol 207 MovieClip Frame 5
stop();
Symbol 207 MovieClip Frame 6
stop();
Symbol 207 MovieClip Frame 7
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 218 MovieClip Frame 5
gotoAndStop (1);
Instance of Symbol 164 MovieClip in Symbol 220 MovieClip Frame 1
on (release) {
if (_root.bitSound) {
_root.bitSound = false;
_root.stage.musicAudio.setVolume(0);
gotoAndPlay (1);
} else {
_root.bitSound = true;
_root.stage.musicAudio.setVolume(100);
gotoAndPlay (1);
}
}
Symbol 224 MovieClip Frame 9
if (currentSp > 25) {
gotoAndPlay ("Idle");
} else {
gotoAndPlay ("Warning");
}
Symbol 224 MovieClip Frame 25
gotoAndPlay ("Idle");
Symbol 228 MovieClip Frame 48
stop();
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 20
gotoAndStop (1);
Symbol 243 MovieClip Frame 46
gotoAndStop (1);
Symbol 243 MovieClip Frame 70
gotoAndStop (1);
Symbol 243 MovieClip Frame 89
gotoAndStop (1);
Symbol 243 MovieClip Frame 90
_root.stage.showBlocker();
_root.stage.music.stop();
_root.stage.mcGame.mcDeady.gotoAndPlay("KO");
Symbol 243 MovieClip Frame 138
_root.stage.gotoAndPlay("Death");
gotoAndStop (1);
Symbol 243 MovieClip Frame 157
gotoAndStop (1);
Symbol 245 MovieClip Frame 1
function fader(vol) {
trace("volume set to " + vol);
this.setVolume(vol);
}
_visible = false;
Symbol 245 MovieClip Frame 1470
trace("Walk");
Symbol 245 MovieClip Frame 2610
_root.stage.showBlocker();
Symbol 245 MovieClip Frame 2640
if (!_root.stage.hpBar.Dead) {
_root.stage.hideBlocker();
_root.stage.gotoAndPlay("csSurf");
}
Symbol 245 MovieClip Frame 2665
trace("Surf");
Symbol 245 MovieClip Frame 3555
_root.stage.showBlocker();
Symbol 245 MovieClip Frame 3585
if (!_root.stage.hpBar.Dead) {
_root.stage.hideBlocker();
_root.stage.gotoAndPlay("csFly");
}
Symbol 245 MovieClip Frame 3610
trace("Fly");
Symbol 245 MovieClip Frame 5585
_root.stage.showBlocker();
Symbol 245 MovieClip Frame 5610
if (!_root.stage.hpBar.Dead) {
_root.stage.hideBlocker();
_root.stage.gotoAndPlay("csTower");
}
Symbol 245 MovieClip Frame 5630
trace("Tower");
Symbol 245 MovieClip Frame 6567
Symbol 245 MovieClip Frame 6613
_root.stage.showBlocker();
if (!_root.stage.mcGame.Boss.isDead) {
_root.stage.bonusMsg.gotoAndPlay("TooSlow");
}
Symbol 245 MovieClip Frame 6643
if (!_root.stage.hpBar.Dead) {
_root.stage.hideBlocker();
_root.stage.gotoAndPlay("csEnd");
}
Symbol 245 MovieClip Frame 6686
stop();
Symbol 297 Button
on (press) {
gotoAndPlay ("Clicked");
}
Symbol 301 MovieClip Frame 1
stop();
Symbol 301 MovieClip Frame 118
_root.stage.playScore();
_root.game.playSound("fire");
Symbol 301 MovieClip Frame 125
stop();
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (17);
}
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (27);
}
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (7);
}
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (17);
}
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (3);
}
Instance of Symbol 135 MovieClip in Symbol 310 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (11);
}
Instance of Symbol 135 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (6);
}
Instance of Symbol 135 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (27);
}
Instance of Symbol 135 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (24);
}
Instance of Symbol 135 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (17);
}
Instance of Symbol 135 MovieClip in Symbol 312 MovieClip Frame 1
onClipEvent (load) {
gotoAndPlay (12);
}
Symbol 320 Button
on (release) {
_root.stage.music.gotoAndPlay(1440);
_root.playSound("Menu_Enter03 - heavy enter.wav");
_root.stage.gotoAndPlay("csWalk");
}
Symbol 330 MovieClip Frame 5
stop();
Symbol 331 MovieClip Frame 1
_alpha = 0;
Symbol 337 MovieClip Frame 1
gotoAndPlay ("Walk");
Symbol 337 MovieClip Frame 11
gotoAndPlay ("Idle");
Symbol 337 MovieClip Frame 12
bitOverride = false;
Symbol 337 MovieClip Frame 40
gotoAndPlay ("Walk");
Symbol 337 MovieClip Frame 52
onAttack();
Symbol 337 MovieClip Frame 58
gotoAndPlay ("Walk");
Symbol 337 MovieClip Frame 95
gotoAndPlay ("Idle");
Symbol 337 MovieClip Frame 114
gotoAndPlay ("Idle");
Symbol 337 MovieClip Frame 184
gotoAndPlay ("NoHeadWalk");
Symbol 337 MovieClip Frame 231
stop();
Symbol 340 MovieClip Frame 11
gotoAndPlay ("Idle");
Symbol 340 MovieClip Frame 12
bitOverride = false;
Symbol 340 MovieClip Frame 40
if (!bitOverride) {
gotoAndPlay ("Walk");
}
Symbol 340 MovieClip Frame 52
onAttack();
Symbol 340 MovieClip Frame 58
gotoAndPlay ("Walk");
Symbol 340 MovieClip Frame 95
gotoAndPlay ("Idle");
Symbol 340 MovieClip Frame 114
gotoAndPlay ("Idle");
Symbol 340 MovieClip Frame 184
gotoAndPlay ("NoHeadWalk");
Symbol 340 MovieClip Frame 231
stop();
Symbol 340 MovieClip Frame 239
stop();
Symbol 340 MovieClip Frame 250
stop();
Symbol 340 MovieClip Frame 251
stop();
Symbol 354 MovieClip Frame 1
stop();
Symbol 354 MovieClip Frame 9
stop();
Symbol 354 MovieClip Frame 10
stop();
Symbol 354 MovieClip Frame 19
stop();
Symbol 354 MovieClip Frame 20
stop();
Symbol 354 MovieClip Frame 30
stop();
Symbol 354 MovieClip Frame 31
stop();
Symbol 354 MovieClip Frame 40
stop();
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 15
stop();
Symbol 413 MovieClip Frame 1
Head.Mouth.gotoAndStop(6);
Symbol 433 MovieClip Frame 1
stop();
Symbol 433 MovieClip Frame 30
gotoAndPlay ("Glow");
Symbol 435 MovieClip Frame 1
gotoAndPlay ("Idle");
Symbol 435 MovieClip Frame 54
stop();
Symbol 435 MovieClip Frame 60
stop();
Symbol 435 MovieClip Frame 85
gotoAndPlay ("Idle");
Symbol 435 MovieClip Frame 105
gotoAndPlay ("Smash");
Symbol 435 MovieClip Frame 106
BossHead.gotoAndPlay("Glow");
nextAttack = "Punch";
shockable = "true";
Symbol 435 MovieClip Frame 121
BossHead.gotoAndPlay("Lava");
onAttack("lava");
Symbol 435 MovieClip Frame 195
gotoAndPlay ("Idle");
Symbol 435 MovieClip Frame 215
gotoAndPlay ("Idle");
Symbol 435 MovieClip Frame 230
stop();
Symbol 445 MovieClip Frame 1
Head.Mouth.gotoAndStop(6);
Symbol 452 MovieClip Frame 10
stop();
Symbol 455 MovieClip Frame 5
stop();
Symbol 464 MovieClip Frame 9
stop();
Symbol 465 MovieClip Frame 28
gotoAndPlay ("Walk");
Symbol 465 MovieClip Frame 40
gotoAndPlay ("Walk");
Symbol 465 MovieClip Frame 48
stop();
Symbol 465 MovieClip Frame 53
_parent.deadyAttack();
Symbol 465 MovieClip Frame 57
_parent.objVars.bitAttacking = false;
stop();
Symbol 465 MovieClip Frame 68
stop();
Symbol 465 MovieClip Frame 76
_parent.deadyAttack();
Symbol 465 MovieClip Frame 82
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Walk");
Symbol 465 MovieClip Frame 90
_parent.deadyAttack();
Symbol 465 MovieClip Frame 97
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Walk");
Symbol 465 MovieClip Frame 110
_parent.deadyAttack();
Symbol 465 MovieClip Frame 116
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Walk");
Symbol 482 MovieClip Frame 1
Messenger.gotoAndPlay("Walk");
Symbol 482 MovieClip Frame 125
Messenger.gotoAndPlay("Idle");
Symbol 482 MovieClip Frame 427
Messenger.gotoAndPlay("Paper");
Symbol 482 MovieClip Frame 475
Messenger.gotoAndPlay("Paper2");
Symbol 482 MovieClip Frame 479
K_Head.gotoAndPlay("Read");
Symbol 482 MovieClip Frame 757
K_Head.gotoAndPlay("Happy");
Symbol 482 MovieClip Frame 820
K_Head.gotoAndPlay("Happy");
Symbol 482 MovieClip Frame 875
Messenger.gotoAndPlay("Scared");
Symbol 482 MovieClip Frame 893
Messenger.gotoAndPlay("KO2");
Symbol 482 MovieClip Frame 903
K_Head.gotoAndPlay("Read");
Symbol 482 MovieClip Frame 961
Boss.gotoAndPlay("Smash");
K_Head.gotoAndPlay("Happy");
Symbol 482 MovieClip Frame 1001
Boss.gotoAndPlay("Idle");
Symbol 482 MovieClip Frame 1015
Boss.BossHead_Inv.gotoAndPlay("Glow");
Symbol 482 MovieClip Frame 1063
Boss.gotoAndPlay("Smash");
Symbol 482 MovieClip Frame 1151
Head.Mouth.gotoAndStop(4);
Symbol 482 MovieClip Frame 1234
Head.Mouth.gotoAndStop(1);
Symbol 482 MovieClip Frame 1294
Head.Mouth.gotoAndStop(5);
Symbol 482 MovieClip Frame 1338
DeadyWalk.gotoAndPlay("Walk");
DeadyWalk.Head.Mouth.gotoAndStop(7);
Symbol 482 MovieClip Frame 1366
DeadyWalk.gotoAndPlay("Walk");
Symbol 482 MovieClip Frame 1446
_root.stage.gotoAndPlay("csWalk");
Symbol 499 MovieClip Frame 1
gotoAndPlay ("Walk");
Symbol 499 MovieClip Frame 13
stop();
Symbol 500 MovieClip Frame 15
gotoAndPlay ("Fly");
Symbol 500 MovieClip Frame 22
_parent.deadyAttack();
Symbol 500 MovieClip Frame 28
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Fly");
Symbol 500 MovieClip Frame 65
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Fly");
Symbol 500 MovieClip Frame 66
Symbol 500 MovieClip Frame 80
stop();
Symbol 501 MovieClip Frame 1
Batfly.gotoAndPlay("Fly");
Symbol 502 MovieClip Frame 75
DeadyWalk.gotoAndPlay("Walk");
Symbol 502 MovieClip Frame 95
_root.stage.gotoAndPlay("Walk");
Symbol 532 MovieClip Frame 1
stop();
Symbol 532 MovieClip Frame 9
if ((!hp) < 1) {
gotoAndStop ("idle");
}
Symbol 532 MovieClip Frame 42
stop();
Symbol 561 MovieClip Frame 1
stop();
Symbol 561 MovieClip Frame 9
if ((!hp) < 1) {
gotoAndStop ("idle");
}
Symbol 561 MovieClip Frame 41
stop();
Symbol 566 MovieClip Frame 1
stop();
Symbol 566 MovieClip Frame 11
gotoAndPlay ("Idle");
Symbol 566 MovieClip Frame 65
gotoAndPlay ("Sleep");
Symbol 566 MovieClip Frame 94
gotoAndPlay ("Walk");
Symbol 566 MovieClip Frame 112
gotoAndPlay ("Idle");
Symbol 566 MovieClip Frame 149
gotoAndPlay ("Idle");
Symbol 566 MovieClip Frame 168
gotoAndPlay ("Idle");
Symbol 566 MovieClip Frame 238
gotoAndPlay ("NoHeadWalk");
Symbol 566 MovieClip Frame 285
stop();
Symbol 567 MovieClip Frame 1
mcSleeper.gotoAndPlay("Sleep");
stop();
Instance of Symbol 331 MovieClip "Head" in Symbol 567 MovieClip Frame 1
onClipEvent (load) {
_alpha = 0;
}
Symbol 567 MovieClip Frame 37
mcSleeper.gotoAndPlay("KO2");
Symbol 567 MovieClip Frame 43
stop();
Symbol 582 MovieClip Frame 1
gotoAndPlay ("Walk");
Symbol 582 MovieClip Frame 9
gotoAndPlay ("Idle");
Symbol 582 MovieClip Frame 10
bitOverride = false;
Symbol 582 MovieClip Frame 35
if (!bitOverride) {
gotoAndPlay ("Walk");
}
Symbol 582 MovieClip Frame 44
onAttack();
Symbol 582 MovieClip Frame 55
gotoAndPlay ("Walk");
Symbol 582 MovieClip Frame 95
stop();
Symbol 583 MovieClip Frame 1
gotoAndPlay ("Walk");
Symbol 583 MovieClip Frame 11
gotoAndPlay ("Idle");
Symbol 583 MovieClip Frame 12
bitOverride = false;
Symbol 583 MovieClip Frame 40
if (!bitOverride) {
gotoAndPlay ("Walk");
}
Symbol 583 MovieClip Frame 52
onAttack();
Symbol 583 MovieClip Frame 58
gotoAndPlay ("Walk");
Symbol 583 MovieClip Frame 95
gotoAndPlay ("Idle");
Symbol 583 MovieClip Frame 114
gotoAndPlay ("Idle");
Symbol 583 MovieClip Frame 184
gotoAndPlay ("NoHeadWalk");
Symbol 583 MovieClip Frame 231
stop();
Symbol 584 MovieClip Frame 1
function onSpace() {
if ((!objVars.bitAttacking) && (!objVars.bitJumping)) {
mcDeady.origY = mcDeady._y;
mcDeady.acc = 20;
objVars.bitJumping = true;
mcDeady.gotoAndPlay("Jump");
}
}
function onMouseClick() {
if (!objVars.bitAttacking) {
objVars.bitAttacking = true;
if (objVars.bitJumping) {
mcDeady.gotoAndPlay("JumpAttack");
} else {
mcDeady.gotoAndPlay("Attack");
}
}
}
function deadyAttack() {
for (var _local2 in this) {
if ((!this[_local2].isDead) && (mcDeady.mcHit.hitTest(this[_local2]))) {
this[_local2].onHit();
}
}
}
function deadyHit() {
if (!objVars.bitJumping) {
objVars.bitAttacking = false;
_root.playSound("dj-hit6.wav");
mcDeady.gotoAndPlay("Hit");
_root.stage.hpBar.resizeBar(5);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
}
}
var objVars = new Object();
objVars.bitAttacking = false;
objVars.bitJumping = false;
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
onSpace();
}
};
myListener.onMouseDown = function () {
onMouseClick();
};
Key.addListener(myListener);
Mouse.addListener(myListener);
mcDeady.onEnterFrame = function () {
var _local4 = 30;
var _local3 = (_root._xmouse - this._x) / _local4;
if (_local3 < 0) {
mcDeady._xscale = -100;
} else {
mcDeady._xscale = 100;
}
this._x = this._x + _local3;
if (objVars.bitJumping) {
this._y = this._y - (this.acc--);
if (this._y >= this.origY) {
this._y = this.origY;
objVars.bitJumping = false;
objVars.bitAttacking = false;
this.gotoAndPlay("Walk");
}
}
};
mcDeady.gotoAndPlay("Walk");
stop();
Instance of Symbol 497 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= (-_width)) {
_x = _width;
}
}
Instance of Symbol 497 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= 0) {
_x = (_width * 2);
}
}
Instance of Symbol 532 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
if (!isDead) {
hp--;
gotoAndPlay ("Hit");
_root.playSound("SmashRock1.wav");
if (hp < 1) {
isDead = true;
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.playSound("LargeRockSmash2.wav");
gotoAndPlay ("Shatter");
_root.stage.bonusMsg.gotoAndPlay("BonusA");
}
}
}
function respawn() {
hp = 3;
isDead = false;
bitAttacking = false;
intSpeedX = 5;
_x = intSpawnX;
gotoAndPlay ("idle");
}
intSpawnX = _x;
hp = 3;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 561 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
if (!isDead) {
hp--;
gotoAndPlay ("Hit");
_root.playSound("SmashRock1.wav");
if (hp < 1) {
isDead = true;
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.playSound("LargeRockSmash2.wav");
gotoAndPlay ("Shatter");
_root.stage.bonusMsg.gotoAndPlay("BonusA");
}
}
}
function respawn() {
hp = 3;
isDead = false;
bitAttacking = false;
intSpeedX = 5;
_x = intSpawnX;
gotoAndPlay ("idle");
}
intSpawnX = _x;
hp = 3;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 567 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
gotoAndPlay ("Dead");
_root.playSound("Skeleton_Hit_Shatter1.wav");
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndStop ("Idle");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 582 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
intSpeed = 5;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width / 2))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeed = 10;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady.Head) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.playSound("dj-hit6.wav");
_root.stage.hpBar.resizeBar(2);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Instance of Symbol 582 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
intSpeed = 5;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width / 2))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 583 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
if (!special) {
_root.stage.playScore();
} else {
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.bonusMsg.gotoAndPlay("BonusA");
}
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
rnd = Math.random() * 100;
if (rnd > 80) {
this.Head.gotoAndStop("guard");
special = true;
} else {
this.Head.gotoAndStop("normal");
special = false;
}
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
special = false;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 582 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
intSpeed = 5;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width / 2))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeed = 10;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady.Head) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.playSound("dj-hit6.wav");
_root.stage.hpBar.resizeBar(2);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Instance of Symbol 583 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 583 MovieClip in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 584 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeed = 10;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < -10) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady.Head) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.playSound("dj-hit6.wav");
_root.stage.hpBar.resizeBar(2);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Symbol 587 MovieClip Frame 27
gotoAndPlay ("Surf");
Symbol 587 MovieClip Frame 47
_parent.deadyAttack();
Symbol 587 MovieClip Frame 63
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Surf");
Symbol 587 MovieClip Frame 100
gotoAndPlay ("Surf");
Symbol 587 MovieClip Frame 114
gotoAndPlay ("Land");
Symbol 587 MovieClip Frame 137
gotoAndPlay ("Surf");
Symbol 587 MovieClip Frame 167
_parent.deadyAttack();
Symbol 587 MovieClip Frame 173
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Surf");
Symbol 594 MovieClip Frame 27
gotoAndPlay ("Surf");
Symbol 594 MovieClip Frame 47
_parent.deadyAttack();
Symbol 594 MovieClip Frame 63
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Surf");
Symbol 594 MovieClip Frame 100
gotoAndPlay ("Surf");
Symbol 594 MovieClip Frame 114
gotoAndPlay ("Land");
Symbol 594 MovieClip Frame 137
gotoAndPlay ("Surf");
Symbol 594 MovieClip Frame 138
_parent.objVars.bitAttacking = true;
Symbol 594 MovieClip Frame 154
stop();
Symbol 594 MovieClip Frame 167
_parent.deadyAttack();
Symbol 594 MovieClip Frame 173
_parent.objVars.bitAttacking = false;
gotoAndPlay ("Surf");
Instance of Symbol 497 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= (-_width)) {
_x = _width;
}
}
Instance of Symbol 497 MovieClip in Symbol 595 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= 0) {
_x = (_width * 2);
}
}
Symbol 595 MovieClip Frame 33
mcSleeper.gotoAndPlay("KO");
Symbol 595 MovieClip Frame 34
mcDeady.gotoAndPlay("Land");
Symbol 595 MovieClip Frame 61
mcspider.gotoAndPlay("KO");
Symbol 595 MovieClip Frame 66
mcDeadySurf.gotoAndPlay("Dodge");
Symbol 595 MovieClip Frame 67
mcBat.gotoAndPlay("KO");
Symbol 595 MovieClip Frame 88
mcDeadySurf.gotoAndPlay("Land");
Symbol 595 MovieClip Frame 105
_root.stage.gotoAndPlay("Surf");
Symbol 599 MovieClip Frame 1
function onSpace() {
if (!objVars.bitAttacking) {
objVars.bitAttacking = true;
mcDeady.gotoAndPlay("JumpAttack");
}
}
function onMouseClick() {
if (!objVars.bitAttacking) {
objVars.bitAttacking = true;
mcDeady.gotoAndPlay("Attack");
}
}
function deadyAttack() {
for (var _local2 in this) {
if ((!this[_local2].isDead) && (mcDeady.mcHit.hitTest(this[_local2]))) {
this[_local2].onHit();
}
}
}
function deadyHit() {
objVars.bitAttacking = false;
_root.playSound("dj-hit6.wav");
mcDeady.gotoAndPlay("Hit");
_root.stage.hpBar.resizeBar(5);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
}
var objVars = new Object();
objVars.bitAttacking = false;
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
onSpace();
}
};
myListener.onMouseDown = function () {
onMouseClick();
};
Key.addListener(myListener);
Mouse.addListener(myListener);
mcDeady.onEnterFrame = function () {
var _local4 = 50;
var _local3 = ((_root._ymouse - this._y) + 100) / _local4;
if (((this._y + _local3) > 330) && ((this._y + _local3) < 400)) {
this._y = this._y + _local3;
trace(this._y);
this._x = this._x + (_local3 * 1.82);
}
};
stop();
Instance of Symbol 598 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 12);
_y = (_y - 6.6);
if (_x <= -671) {
_x = 591.1;
_y = 554.1;
}
}
Instance of Symbol 598 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 12);
_y = (_y - 6.6);
if (_x <= -671) {
_x = 591.1;
_y = 554.1;
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 4;
intSpeedY = 2.2;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeedX = 10;
intSpeedY = 5.5;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeedX;
_y = (_y - intSpeedY);
if (this._x < (-_width)) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Instance of Symbol 582 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 12;
intSpeedY = 6.6;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 12;
intSpeedY = 6.6;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
_y = (_y - intSpeedY);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 4;
intSpeedY = 2.2;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeedX = 10;
intSpeedY = 5.5;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeedX;
_y = (_y - intSpeedY);
if (this._x < -10) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 4;
intSpeedY = 2.2;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeedX = 10;
intSpeedY = 5.5;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeedX;
_y = (_y - intSpeedY);
if (this._x < (-_width)) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Instance of Symbol 582 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 12;
intSpeedY = 6.6;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 12;
intSpeedY = 6.6;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
_y = (_y - intSpeedY);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 28 MovieClip [Bat] in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 4;
intSpeedY = 2.2;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeedX = 10;
intSpeedY = 5.5;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeedX;
_y = (_y - intSpeedY);
if (this._x < (-_width)) {
respawn();
}
if (((this.Head.hitTest(_parent.mcDeady) && (!_parent.objVars.bitAttacking)) && (!hitPlayer)) && (!isDead)) {
gotoAndPlay ("Hit");
_parent.mcDeady.gotoAndPlay("Hit");
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
hitPlayer = true;
}
}
Instance of Symbol 582 MovieClip in Symbol 599 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
intSpeedX = 12;
intSpeedY = 6.6;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 12;
intSpeedY = 6.6;
_x = intSpawnX;
_y = intSpawnY;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
intSpawnY = _y;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
_y = (_y - intSpeedY);
if (this._x < (-_width)) {
respawn();
}
}
Symbol 602 MovieClip Frame 15
gotoAndPlay ("Fly");
Symbol 602 MovieClip Frame 28
gotoAndPlay ("Fly");
Symbol 602 MovieClip Frame 55
gotoAndPlay ("Ride");
Symbol 602 MovieClip Frame 65
gotoAndPlay ("Fly");
Symbol 603 MovieClip Frame 1
_quality = "LOW";
Symbol 603 MovieClip Frame 44
_quality = "HIGH";
Symbol 603 MovieClip Frame 54
mcDeadyFly.gotoAndPlay("GetOn");
Symbol 603 MovieClip Frame 116
mcDeadyFly.gotoAndPlay("SwitchDown");
Symbol 603 MovieClip Frame 150
_root.stage.gotoAndPlay("Fly");
Symbol 648 MovieClip Frame 1
stop();
Symbol 648 MovieClip Frame 6
_root.playSound("hot.wav");
Symbol 648 MovieClip Frame 23
stop();
Symbol 649 MovieClip Frame 1
function onSpace() {
}
function onMouseClick() {
if (!objVars.bitAttacking) {
objVars.bitAttacking = true;
mcDeady.gotoAndPlay("Punt");
}
}
function deadyAttack() {
for (var _local2 in this) {
if ((!this[_local2].isDead) && (mcDeady.mcHit.hitTest(this[_local2].Head))) {
this[_local2].onHit();
}
}
}
function deadyHit() {
objVars.bitAttacking = false;
_root.playSound("dj-hit6.wav");
mcDeady.gotoAndPlay("SwitchUp");
_root.stage.hpBar.resizeBar(2);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
}
function deadyFireHit() {
objVars.bitAttacking = false;
_root.game.playSound("fire");
mcDeady.gotoAndPlay("SwitchUp");
_root.stage.hpBar.resizeBar(5);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
}
var objVars = new Object();
objVars.bitAttacking = false;
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
onSpace();
}
};
myListener.onMouseDown = function () {
onMouseClick();
};
Key.addListener(myListener);
Mouse.addListener(myListener);
mcDeady.onEnterFrame = function () {
var _local3 = 10;
var _local5 = (_root._xmouse - this._x) / _local3;
this._x = this._x + _local5;
var _local4 = (_root._ymouse - this._y) / _local3;
this._y = this._y + _local4;
if (this._lastX != undefined) {
this._rotation = (this._x - this._lastX) / 3;
}
this._lastX = this._x;
};
stop();
Instance of Symbol 617 MovieClip "mcBack1" in Symbol 649 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= (-_width)) {
_x = _width;
}
}
Instance of Symbol 617 MovieClip "mcBack1" in Symbol 649 MovieClip Frame 1
onClipEvent (enterFrame) {
_x = (_x - 2);
if (_x <= 0) {
_x = (_width * 2);
}
}
Instance of Symbol 532 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
if (!isDead) {
hp--;
gotoAndPlay ("Hit");
_root.playSound("SmashRock1.wav");
if (hp < 1) {
isDead = true;
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.playSound("LargeRockSmash2.wav");
gotoAndPlay ("Shatter");
_root.stage.bonusMsg.gotoAndPlay("BonusA");
}
}
}
function respawn() {
hp = 3;
isDead = false;
bitAttacking = false;
intSpeedX = 5;
_x = intSpawnX;
gotoAndPlay ("idle");
}
intSpawnX = _x;
hp = 3;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 561 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
if (!isDead) {
hp--;
gotoAndPlay ("Hit");
_root.playSound("SmashRock1.wav");
if (hp < 1) {
isDead = true;
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.playSound("LargeRockSmash2.wav");
gotoAndPlay ("Shatter");
_root.stage.bonusMsg.gotoAndPlay("BonusA");
}
}
}
function respawn() {
hp = 3;
isDead = false;
bitAttacking = false;
intSpeedX = 5;
_x = intSpawnX;
gotoAndPlay ("idle");
}
intSpawnX = _x;
hp = 3;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 567 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
gotoAndPlay ("Dead");
_root.playSound("Skeleton_Hit_Shatter1.wav");
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndStop ("Idle");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 583 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
if (!special) {
_root.stage.playScore();
} else {
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.playScore();
_root.stage.bonusMsg.gotoAndPlay("BonusA");
}
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
rnd = Math.random() * 100;
if (rnd > 80) {
this.Head.gotoAndStop("guard");
special = true;
} else {
this.Head.gotoAndStop("normal");
special = false;
}
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
special = false;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 582 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
intSpeed = 5;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 583 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady.mcWeakness)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 583 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady.mcWeakness)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 583 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
if (bitAlreadyHit == true) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO2");
_root.playSound("Skeleton_Hit_Shatter1.wav");
} else if (_root.func.roll(0, 100) < 50) {
isDead = true;
bitOverride = true;
gotoAndPlay ("KO");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
} else {
bitAlreadyHit = true;
bitOverride = true;
gotoAndPlay ("Hit");
_root.playSound("Skeleton_Hit_Bone_HeadSpin1.wav");
}
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady.mcWeakness)) {
_parent.deadyHit();
}
}
function respawn() {
isDead = false;
bitAttacking = false;
intSpeedX = 6;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
_x = (_x - intSpeedX);
if (this._x < (-_width)) {
respawn();
}
if (((!isDead) && (!bitAttacking)) && ((this._x - _parent.mcDeady._x) < (this._width - this.intSpeedX))) {
bitAttacking = true;
gotoAndPlay ("Attack");
}
}
Instance of Symbol 582 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function onAttack() {
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
}
function respawn() {
intSpeed = 5;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
gotoAndPlay ("Walk");
}
intSpawnX = _x;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
}
Instance of Symbol 648 MovieClip in Symbol 649 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
isDead = true;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
gotoAndPlay ("KO");
}
function respawn() {
intSpeed = 20;
hitPlayer = false;
isDead = false;
bitAttacking = false;
_x = intSpawnX;
_y = ((Math.random() * 400) + 74);
gotoAndStop ("Idle");
}
intSpawnX = _x;
hitPlayer = false;
respawn();
}
onClipEvent (enterFrame) {
this._x = this._x - this.intSpeed;
if (this._x < (-_width)) {
respawn();
}
if (this.mcSkull.hitTest(_parent.mcDeady.Body)) {
gotoAndPlay ("Hit");
_parent.deadyFireHit();
}
}
Symbol 650 MovieClip Frame 1
mcDeadyFly.gotoAndPlay("Fly");
Symbol 650 MovieClip Frame 91
_root.stage.gotoAndPlay("Tower");
Symbol 658 MovieClip Frame 15
stop();
Symbol 659 MovieClip Frame 90
var tauntText = new Array("I'm the fly in your soup!", "I'm the pebble in your shoe!", "I'm the pea beneath your bed!", "I'm the peel on which you slip!", "I'm the thorn in your side!", "I'm the fear that keeps you awake!", "I'm the shadows on the wall!", "I'm the nightmare in your skull!", "I'm a dagger in your back!");
var tauntIdx = Math.round(Math.random() * 8);
trace(tauntIdx);
var taunt = tauntText[tauntIdx];
Symbol 659 MovieClip Frame 161
Head.Mouth.gotoAndStop(5);
Symbol 659 MovieClip Frame 184
Head.Mouth.gotoAndStop(7);
Symbol 659 MovieClip Frame 190
playHead = Math.round(Math.random() * 9) + 1;
if (playHead == 10) {
gotoAndPlay ("YouGoDown");
} else {
gotoAndPlay ("MoonLoop");
}
Symbol 659 MovieClip Frame 227
stop();
Symbol 661 MovieClip Frame 1
_visible = false;
stop();
Symbol 661 MovieClip Frame 96
if (!_parent.Boss.isDead) {
_parent.Boss.gotoAndPlay("StandUp");
}
Symbol 668 MovieClip Frame 53
Symbol 668 MovieClip Frame 54
shockSmacked = 0;
shockable = false;
standReady = false;
shocked = false;
pulledTogether = false;
Symbol 668 MovieClip Frame 60
gotoAndPlay(nextAttack);
Symbol 668 MovieClip Frame 61
nextAttack = "Smash";
Symbol 668 MovieClip Frame 78
onAttack("strike");
Symbol 668 MovieClip Frame 85
Symbol 668 MovieClip Frame 86
nextAttack = "Lava";
Symbol 668 MovieClip Frame 100
onAttack("strike");
Symbol 668 MovieClip Frame 105
Symbol 668 MovieClip Frame 106
BossHead.gotoAndPlay("Glow");
nextAttack = "Punch";
shockable = "true";
Symbol 668 MovieClip Frame 121
BossHead.gotoAndPlay("Lava");
onAttack("lava");
Symbol 668 MovieClip Frame 195
gotoAndPlay ("Idle");
Symbol 668 MovieClip Frame 215
gotoAndPlay ("Idle");
Symbol 668 MovieClip Frame 230
stop();
Symbol 669 MovieClip Frame 1
function onSpace() {
if ((!objVars.bitAttacking) && (!objVars.bitJumping)) {
mcDeady.origY = mcDeady._y;
mcDeady.acc = 20;
objVars.bitJumping = true;
mcDeady.gotoAndPlay("Jump");
}
}
function onMouseClick() {
if (!objVars.bitAttacking) {
objVars.bitAttacking = true;
if (objVars.bitJumping) {
mcDeady.gotoAndPlay("JumpAttack");
} else {
mcDeady.gotoAndPlay("Attack");
}
}
}
function deadyAttack() {
if ((!Boss.isDead) && (mcDeady.mcHit.hitTest(Boss.BossHead.mcWeakness))) {
Boss.onHit();
} else if (Boss.isDead && (mcDeady.mcHit.hitTest(Boss.BossHead))) {
_root.playSound("hot.wav");
_root.intKills = _root.intKills + 1;
Boss.BossHead.gotoAndPlay("Glow");
_root.stage.bonusMsg.gotoAndPlay("BonusC");
}
}
function deadyHit() {
objVars.bitAttacking = false;
_root.playSound("dj-hit6.wav");
mcDeady.gotoAndPlay("Hit");
_root.stage.hpBar.resizeBar(5);
_root.intKills = _root.intKills - 3;
if (_root.intKills < 0) {
_root.intKills = 0;
}
}
var objVars = new Object();
objVars.bitAttacking = false;
objVars.bitJumping = false;
var myListener = new Object();
myListener.onKeyDown = function () {
if (Key.isDown(32)) {
onSpace();
}
};
myListener.onMouseDown = function () {
onMouseClick();
};
Key.addListener(myListener);
Mouse.addListener(myListener);
mcDeady.onEnterFrame = function () {
var _local4 = 30;
var _local3 = (_root._xmouse - this._x) / _local4;
if (_local3 < 0) {
mcDeady._xscale = -100;
} else {
mcDeady._xscale = 100;
}
this._x = this._x + _local3;
if (objVars.bitJumping) {
this._y = this._y - (this.acc--);
if (this._y >= this.origY) {
this._y = this.origY;
objVars.bitJumping = false;
objVars.bitAttacking = false;
this.gotoAndPlay("Walk");
}
}
};
mcDeady.gotoAndPlay("Walk");
stop();
Instance of Symbol 668 MovieClip "Boss" in Symbol 669 MovieClip Frame 1
onClipEvent (load) {
function onHit() {
_root.stage.playScore();
intHP--;
bitOverride = true;
_root.playSound("Skeleton_Hit_Shatter1.wav");
if (intHP <= 0) {
intHPScale = this.intHP / this.intMaxHP;
if (intHPScale < 100) {
this.mcBar.base._xscale = intxScale * intHPScale;
}
isDead = true;
_parent.hotLavaTime.gotoAndStop(1);
gotoAndPlay ("KO");
_root.stage.bonusMsg.gotoAndPlay("BonusB");
_parent.mcDeady.gotoAndStop("Idle");
} else {
gotoAndPlay ("Hit");
intHPScale = this.intHP / this.intMaxHP;
if (intHPScale < 100) {
this.mcBar.base._xscale = intxScale * intHPScale;
}
_parent.hotLavaTime.gotoAndPlay("startTimer");
}
}
function onAttack(atk) {
if (atk == "strike") {
this.onEnterFrame = null;
if (this.mcHit.hitTest(_parent.mcDeady)) {
_parent.deadyHit();
}
} else {
this.onEnterFrame = function () {
if (this.BossHead.mcLava.hitTest(_parent.mcDeady)) {
if (!lavaHit) {
lavaHit = true;
_parent.deadyHit();
}
} else {
lavaHit = false;
}
};
}
}
intSpawnX = _x;
lavaHit = false;
intHP = (intMaxHP = 12);
intxScale = this.mcBar.base._xscale;
isDead = false;
}
Symbol 676 MovieClip Frame 1
mcDeady.gotoAndPlay("Walk");
Symbol 676 MovieClip Frame 15
_root.game.playSound("fire");
Symbol 676 MovieClip Frame 36
_root.game.playSound("fire");
Symbol 676 MovieClip Frame 57
_root.game.playSound("fire");
Symbol 676 MovieClip Frame 67
_root.game.playSound("fire");
Symbol 676 MovieClip Frame 104
_root.stage.gotoAndPlay("Win");
Symbol 681 Button
on (release) {
_parent.gotoAndPlay("Ready");
}
Symbol 695 Button
on (release) {
gotoAndPlay(currentLevel);
_root.intKills = 0;
music.gotoAndPlay("Song-" + currentLevel);
}
Symbol 697 Button
on (release) {
_parent.gotoAndPlay("Ready");
}
Symbol 705 MovieClip Frame 1
function showBlocker() {
blocker.gotoAndPlay(1);
blocker._visible = true;
}
function hideBlocker() {
blocker._visible = false;
}
function showHud() {
hud._visible = true;
hpBar._visible = true;
hpOuter._visible = true;
}
function hideHud() {
hud._visible = false;
hpBar._visible = false;
hpOuter._visible = false;
}
function playScore() {
_root.intKills++;
hud.mcScore.gotoAndPlay(2);
}
_quality = "HIGH";
_root.intKills = 0;
_root.intGold = 0;
_root.func = new Object();
_root.func.roll = function (intMin, intMax) {
if (intMin == undefined) {
intMin = 0;
}
if (intMax == undefined) {
intMax = 100;
}
return(Number(Math.floor(Math.random() * ((intMax - intMin) + 1)) + intMin));
};
hideBlocker();
hideHud();
Instance of Symbol 224 MovieClip "hpBar" in Symbol 705 MovieClip Frame 1
onClipEvent (load) {
function init() {
maxStatPoints = 100;
currentSp = 100;
maxWidth = _width;
Dead = false;
_width = maxWidth;
barType = "health";
}
function setType(type) {
barType = type;
}
function resizeBar(sp) {
currentSp = currentSp - sp;
if (currentSp < 1) {
currentSp = 0;
if (!Dead) {
_root.stage.bonusMsg.gotoAndPlay("Dead");
Dead = true;
}
} else if (currentSp > maxStatPoints) {
currentSp = maxStatPoints;
}
sizeTransform = maxWidth * (currentSp / maxStatPoints);
_width = sizeTransform;
}
trace(targetPath(this));
var maxStatPoints;
var currentSp;
var maxWidth;
var sizeTransform;
var barType;
var Dead;
init();
}
Symbol 705 MovieClip Frame 8
stop();
Symbol 705 MovieClip Frame 17
_quality = "HIGH";
currentLevel = "csWalk";
mcTimer.startTimer(220);
hideBlocker();
hideHud();
musicAudio = new Sound(music);
musicAudio.setVolume(100);
stop();
Symbol 705 MovieClip Frame 25
Instructions = "Space = Jump | Left Click = Attack";
bonusMsg.gotoAndPlay("Go");
_quality = "AUTOLOW";
showHud();
stop();
Symbol 705 MovieClip Frame 32
_quality = "AUTOLOW";
currentLevel = "csSurf";
hideBlocker();
hideHud();
stop();
Symbol 705 MovieClip Frame 40
Instructions = "Space = Smash | Left Click = Attack";
_quality = "AUTOLOW";
showHud();
stop();
Symbol 705 MovieClip Frame 48
_quality = "AUTOLOW";
currentLevel = "csFly";
hideBlocker();
hideHud();
stop();
Symbol 705 MovieClip Frame 55
Instructions = "Mouse = Move | Left Click = Kick";
_quality = "AUTOLOW";
showHud();
stop();
Symbol 705 MovieClip Frame 61
_quality = "AUTOLOW";
currentLevel = "csTower";
hideBlocker();
hideHud();
stop();
Symbol 705 MovieClip Frame 69
Instructions = "Space = Jump | Left Click = Attack";
_quality = "AUTOLOW";
showHud();
stop();
Symbol 705 MovieClip Frame 77
_quality = "AUTOLOW";
stop();
Symbol 705 MovieClip Frame 85
_quality = "HIGH";
phrases = new Array("May I shine your halo for you? ", "You are a goody little Two-shoes!", "Keep in mind, you're supposed to be EVIL remember?", "You call that Evil? You're barely Twisted!", "I have seen panda bears with more evil in their little pinkies", "Keep in mind, you're supposed to be EVIL, remember?", "You help old people cross the street...", "Your good deeds know no limits.", "Not dark, not light ... you're that hour before dawn.", "The spirit is evil, but the flesh is weak.", "You're the Diet Soda of evil. Just one calorie.", "FYI- This game is NOT about care bears!", "You give ME nightmares!", "You should never be allowed out in public without a keeper. or 5. ", "It's impossible to see you, you're so dark.", "That was pure Evil!", "You are EVIL INCARNATE! Muhahaha!", "Death - Destruction - Mayhem - These are a few of your favorite things!", "You're bringin' evil back (yeah!)", "You are the prince of darkness!!!");
trace(phrases[5]);
phraseInt = Math.floor(_root.intKills / 10) - 1;
trace(phraseInt);
if (phraseInt >= 19) {
phraseInt = 19;
trace(phrases[phraseInt]);
} else if (phraseInt <= 0) {
phraseInt = 0;
trace(phrases[phraseInt]);
}
_root.gamePhrase = phrases[phraseInt];
stop();
Symbol 705 MovieClip Frame 94
_quality = "HIGH";
hideBlocker();
phrases = new Array("May I shine your halo for you? ", "You are a goody little Two-shoes!", "Keep in mind, you're supposed to be EVIL remember?", "You call that Evil? You're barely Twisted!", "I have seen panda bears with more evil in their little pinkies", "Keep in mind, you're supposed to be EVIL, remember?", "You help old people cross the street...", "Your good deeds know no limits.", "Not dark, not light ... you're that hour before dawn.", "The spirit is evil, but the flesh is weak.", "You're the Diet Soda of evil. Just one calorie.", "FYI- This game is NOT about care bears!", "You give ME nightmares!", "You should never be allowed out in public without a keeper. or 5. ", "It's impossible to see you, you're so dark.", "That was pure Evil!", "You are EVIL INCARNATE! Muhahaha!", "Death - Destruction - Mayhem - These are a few of your favorite things!", "You're bringin' evil back (yeah!)", "You are the prince of darkness!!!");
trace(phrases[5]);
phraseInt = Math.floor(_root.intKills / 10) - 1;
trace(phraseInt);
if (phraseInt >= 19) {
phraseInt = 19;
trace(phrases[phraseInt]);
} else if (phraseInt <= 0) {
phraseInt = 0;
trace(phrases[phraseInt]);
}
_root.gamePhrase = phrases[phraseInt];
stop();
Instance of Symbol 28 MovieClip [Bat] in Symbol 705 MovieClip Frame 94
onClipEvent (load) {
this.gotoAndStop(2);
}