Frame 1
Stage.showMenu = false;
Instance of Symbol 14 MovieClip in Frame 1
onClipEvent (enterFrame) {
_xscale = ((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
}
Frame 3
((_root.getBytesLoaded() != _root.getBytesTotal()) ? (gotoAndPlay (2)) : null);
Frame 20
stop();
Frame 21
_root.rootsound = new Sound();
Mouse.hide();
Frame 30
function snq() {
_root.gotoAndPlay("loadvars");
}
keyup = 71;
keyleft = 65;
keyright = 68;
keydown = 83;
keyattack = 72;
keyblock = 74;
keydash = 32;
keygoin = 87;
Frame 31
stopAllSounds();
pauser = 0;
jumping = 1;
music = 1;
playername = "";
shots = 0;
fiendshots = 21;
attachername = "stevie";
a_xspeed = 1;
a_lifebar = 1;
a_flifebar = 1;
lifemarc = 15;
lifestevie = 10;
lifebear = 5;
a_strength = 1;
a_attackpower = 0;
totalsuko = 0;
score = 0;
currentstage = 1;
dx = 0;
dy = 0;
candash = 1;
canshoot = 0;
currentsavepoint = 0;
defeated_witch = 0;
defeated_vampire = 0;
defeated_kimonoyo = 0;
defeated_skeletonking = 0;
quat = ["HIGH", "MEDIUM", "LOW"];
quanum = 0;
Stage.showMenu = false;
lmp = 16530;
Frame 32
_root.gotoAndPlay("loadvarser");
Frame 71
stop();
Frame 72
stop();
Instance of Symbol 494 MovieClip in Frame 72
on (release) {
this.play();
}
Frame 73
stopAllSounds();
stop();
Frame 74
function nextmsg() {
msgc++;
facedisplay.gotoAndStop(msgs[msgc][0]);
meseji = msgs[msgc][1];
if (meseji != thestage) {
} else {
(_root.gotoAndPlay("choosechar"));// not popped
}
text_trans.play();
}
meseji = "";
thestage = "stagea";
msgc = -1;
msgs = [];
msgs.push(["stevie", "Ah... I don't believe we still need to do this..."]);
msgs.push(["bear", "What? We're just asking you to go check out our headquarters."]);
msgs.push(["bear", "As I said, I can feel something fishy going on there."]);
msgs.push(["stevie", "That is called Paranoia."]);
msgs.push(["marc", "Stevie and Bear. School has made you both silly."]);
msgs.push(["marc", "Stop your arguments. We are all going to our headquarters tonight."]);
msgs.push(["marc", "stagea"]);
nextmsg();
stop();
Frame 75
stopAllSounds();
stop();
Frame 76
function nextmsg() {
msgc++;
facedisplay.gotoAndStop(msgs[msgc][0]);
meseji = msgs[msgc][1];
if (meseji != thestage) {
} else {
(_root.gotoAndPlay("choosechar"));// not popped
}
text_trans.play();
}
_root.dx = 0;
_root.dy = 0;
meseji = "";
thestage = "stagee";
msgc = -1;
msgs = [];
msgs.push(["stevie", "What a waste of time. There is nothing wrong with our headquarters."]);
msgs.push(["bear", "..."]);
msgs.push(["marc", "OK, we can leave..."]);
msgs.push(["bear", "Hold on, Marc... I am receiving a distress call from..."]);
msgs.push(["stevie", "What now..."]);
msgs.push(["bear", "Shut up, Stevie. Stop whining!"]);
msgs.push(["marc", "Bear, who is it from?"]);
msgs.push(["bear", "I'm not sure but the sender says he... or she... has been attacked by something..."]);
msgs.push(["marc", "By what?"]);
msgs.push(["bear", "The message got cut off there, so I have no clue."]);
msgs.push(["marc", "Check the location."]);
msgs.push(["bear", "Let me see... It was sent from a cellphone downtown... hey, just 3 blocks from here."]);
msgs.push(["marc", "Alright, we're going to check it out!"]);
msgs.push(["stevie", "And once again, I will steal the show!"]);
msgs.push(["bear", "Yea, right."]);
msgs.push(["marc", "stagee"]);
nextmsg();
stop();
Frame 77
stop();
Frame 78
stopAllSounds();
stop();
Frame 79
function nextmsg() {
msgc++;
facedisplay.gotoAndStop(msgs[msgc][0]);
meseji = msgs[msgc][1];
if (meseji != thestage) {
} else {
(_root.gotoAndPlay("choosechar"));// not popped
}
text_trans.play();
}
_root.dx = -218;
_root.dy = -517;
meseji = "";
thestage = "stagej";
msgc = -1;
msgs = [];
msgs.push(["stevie", "OK, what were those?!"]);
msgs.push(["bear", "Shadow People?"]);
msgs.push(["steve", "I thought we were gonna fight Zombies or Vampires and stuff, but Shadow People?!"]);
msgs.push(["marc", "Stevie, you are right to be surprised. Shadow People rarely appear. Especially in large quantities at the same time."]);
msgs.push(["bear", "Then what exactly are these... Shadow People? Are they ghosts? Spirits...?"]);
msgs.push(["marc", "I have no idea myself. But they have been many reported sightings of shadow people."]);
msgs.push(["bear", "Halloween is just round the corner and I bet those shadow people are taking advantage..."]);
msgs.push(["stevie", "Of this Holiday Season? To go trick-or-treating?"]);
msgs.push(["marc", "No. They might be able to use Halloween to their advantage in some way."]);
msgs.push(["bear", "True... This would also explain why so many of them appeared... all of a sudden."]);
msgs.push(["stevie", "Hey it's a good thing our weapons work against them."]);
msgs.push(["bear", "Wait... incoming distress call... (conversation)"]);
msgs.push(["marc", "Who was that?"]);
msgs.push(["bear", "I'm not sure but he was a kid and he said his friend fell into a well and he wants us to help."]);
msgs.push(["stevie", "Yea, but we don't do wells."]);
msgs.push(["bear", "I know... but he also said that he saw something eerie in the well, and it was dark and shadowy. Ring a bell?"]);
msgs.push(["marc", "Sounds like trouble. Let's go !"]);
msgs.push(["stevie", "There goes my night. *sigh*"]);
msgs.push(["marc", "stagej"]);
nextmsg();
stop();
Frame 80
stopAllSounds();
stop();
Frame 81
function nextmsg() {
msgc++;
facedisplay.gotoAndStop(msgs[msgc][0]);
meseji = msgs[msgc][1];
if (meseji != thestage) {
} else {
(_root.gotoAndPlay("choosechar"));// not popped
}
text_trans.play();
}
_root.dx = -259;
_root.dy = 69;
meseji = "";
thestage = "stagem";
msgc = -1;
msgs = [];
msgs.push(["blanking", "After rescuing the child and defeating the well shadow face, Team Huntloween went back home."]);
msgs.push(["blanking", "They went home and Marc did some research on the Shadow People. The next night..."]);
msgs.push(["stevie", "Good evening Marc!!"]);
msgs.push(["marc", "Damn, you scared the hell out of me."]);
msgs.push(["bear", "This guy has been weird since he came back from the ghost world last year. Well how is your research going?"]);
msgs.push(["marc", "Pretty good. I found out a lot. Those Shadow People are bent on overpowering Earth."]);
msgs.push(["bear", "You're serious?"]);
msgs.push(["stevie", "Oh hell he is!"]);
msgs.push(["bear", "Ah SHUT UP."]);
msgs.push(["marc", "Shadow people are not categorized under ghosts, creatures, undead or vampires... they are just... their own kind of being."]);
msgs.push(["marc", "And during Halloween, they will have the ability to manifest into 2 times their size and power."]);
msgs.push(["stevie", "Now THAT is HOT!!"]);
msgs.push(["bear", "S**t, we are serious here."]);
msgs.push(["marc", "We must never let that happen at Halloween or we will be in deep s**t."]);
msgs.push(["bear", "... ummm.... yes, I get you, but... how are we gonna stop them?"]);
msgs.push(["marc", "I managed to pin-point their hideout. Storm it, destroy them and the thing that generates them."]);
msgs.push(["stevie", "You mean like a fat shadow queen ant or something?"]);
msgs.push(["bear", "Hah! Yea right."]);
msgs.push(["marc", "Well then, this will be our task for tonight. I have the coordinates right here."]);
msgs.push(["stevie", "Let's go!"]);
msgs.push(["marc", "stagem"]);
nextmsg();
stop();
Frame 82
stopAllSounds();
stop();
Frame 83
function nextmsg() {
msgc++;
facedisplay.gotoAndStop(msgs[msgc][0]);
meseji = msgs[msgc][1];
if (meseji != thestage) {
} else {
(_root.gotoAndPlay("choosechar"));// not popped
}
text_trans.play();
}
_root.dx = 0;
_root.dy = 0;
meseji = "";
thestage = "staget";
msgc = -1;
msgs = [];
msgs.push(["stevie", "Marc, you said this was the hideout? Aside from a bunch of orbs, there ain't nothin here."]);
msgs.push(["marc", "That is strange indeed... My research really pointed to this spot!"]);
msgs.push(["stevie", "You have to rethink your research there. We just had a wild goose chase."]);
msgs.push(["marc", "Perhaps you are right..."]);
msgs.push(["stevie", "What do you mean perhaps?"]);
msgs.push(["bear", "Hold on... I'm receiving a distress call from Headquarters."]);
msgs.push(["stevie", "Oh, Marc forgot to lock the door on our way out"]);
msgs.push(["marc", "Very funny!"]);
msgs.push(["bear", "No, that's not it. Better head back to base!"]);
msgs.push(["blanking", "Bear, Marc and Stevie are back at headquarters and they cannot believe what they see!"]);
msgs.push(["marc", "... What the hell. Our base!"]);
msgs.push(["stevie", "It was a decoy all along! We were away and they INVADED our base."]);
msgs.push(["bear", "I don't believe this."]);
msgs.push(["marc", "Damn it, damn it... there is only one thing to do now. Reclaim our base."]);
msgs.push(["bear", "Right. There is no time to lose. Here we go!"]);
msgs.push(["marc", "staget"]);
nextmsg();
stop();
Frame 84
stopAllSounds();
stop();
Frame 85
function nextmsg() {
msgc++;
facedisplay.gotoAndStop(msgs[msgc][0]);
meseji = msgs[msgc][1];
if (meseji != thestage) {
} else {
(_root.gotoAndPlay("choosechar"));// not popped
}
text_trans.play();
}
_root.dx = -120;
_root.dy = 0;
meseji = "";
thestage = "stagex";
msgc = -1;
msgs = [];
msgs.push(["blanking", "The Huntloween base is safe. But they are spent!"]);
msgs.push(["blanking", "The next day... It is Halloween Eve..."]);
msgs.push(["marc", "What a night. Our base was invaded, I didn't get much sleep."]);
msgs.push(["stevie", "Me neither. But it's all over, right?"]);
msgs.push(["bear", "I sure hope so!"]);
msgs.push(["marc", "No, it is NOT over."]);
msgs.push(["bear", "WHAT?!"]);
msgs.push(["stevie", "But they invaded our base and we finished them off!"]);
msgs.push(["marc", "We cannot assume that."]);
msgs.push(["bear", "... You are probably right."]);
msgs.push(["marc", "We need to prepare for the worse."]);
msgs.push(["blanking", "Later on, team Huntloween got an SOS. Someone spotted some shadow people near the uptown jungle."]);
msgs.push(["bear", "That is odd. Wait... perhaps... perhaps that is where..."]);
msgs.push(["stevie", "That is where the shadow hideout really is! That is where they generate the millions of shadows that invaded our base!"]);
msgs.push(["bear", "That is possible. I say we get out there and invade THEIR headquarters for a change."]);
msgs.push(["marc", "Then it is settled. Let's go!"]);
msgs.push(["marc", "stagex"]);
nextmsg();
stop();
Frame 86
stopAllSounds();
playersname = totalsuko;
stop();
Frame 87
currentstage = 1;
stop();
Frame 88
stop();
Frame 89
stop();
Frame 90
temp_lifebar = a_lifebar;
temp_flifebar = a_flifebar;
tempstrength = a_strength;
tempxspeed = a_xspeed;
tempthestage = thestage;
tempsuko = totalsuko;
templifebar = _root["life" + attachername] + (_root.a_lifebar * 5);
tempflifebar = _root["life" + attachername] + (_root.a_flifebar * 5);
score = 0;
stop();
Instance of Symbol 730 MovieClip in Frame 90
onClipEvent (keyUp) {
if (Key.getCode() == 80) {
this.play();
}
}
Instance of Symbol 734 MovieClip in Frame 90
onClipEvent (enterFrame) {
this._xscale = (_root.themap.sprite.lifebar / _root.themap.sprite.flifebar) * 100;
((_xscale < 0) ? (_xscale = 00) : null);
}
Instance of Symbol 494 MovieClip in Frame 90
on (release) {
this.play();
}
Instance of Symbol 746 MovieClip in Frame 90
onClipEvent (load) {
mycurrentmusic = "a";
}
Frame 91
stop();
Frame 92
stop();
Frame 93
stop();
Frame 95
temp_lifebar = a_lifebar;
temp_flifebar = a_flifebar;
tempstrength = a_strength;
tempxspeed = a_xspeed;
tempthestage = thestage;
tempsuko = totalsuko;
templifebar = _root["life" + attachername] + (_root.a_lifebar * 5);
tempflifebar = _root["life" + attachername] + (_root.a_flifebar * 5);
score = 0;
stop();
Instance of Symbol 746 MovieClip in Frame 95
onClipEvent (load) {
mycurrentmusic = "b";
}
Frame 96
stop();
Frame 97
stop();
Frame 98
stop();
Frame 99
bosses = 1;
stop();
Instance of Symbol 746 MovieClip in Frame 99
onClipEvent (load) {
mycurrentmusic = "bboss";
}
Frame 101
temp_lifebar = a_lifebar;
temp_flifebar = a_flifebar;
tempstrength = a_strength;
tempxspeed = a_xspeed;
tempthestage = thestage;
tempsuko = totalsuko;
templifebar = _root["life" + attachername] + (_root.a_lifebar * 5);
tempflifebar = _root["life" + attachername] + (_root.a_flifebar * 5);
score = 0;
stop();
Instance of Symbol 746 MovieClip in Frame 101
onClipEvent (load) {
mycurrentmusic = "c";
}
Frame 102
stop();
Frame 103
_root.bosses = 3;
stop();
Instance of Symbol 746 MovieClip in Frame 103
onClipEvent (load) {
mycurrentmusic = "cboss";
}
Frame 105
temp_lifebar = a_lifebar;
temp_flifebar = a_flifebar;
tempstrength = a_strength;
tempxspeed = a_xspeed;
tempthestage = thestage;
tempsuko = totalsuko;
templifebar = _root["life" + attachername] + (_root.a_lifebar * 5);
tempflifebar = _root["life" + attachername] + (_root.a_flifebar * 5);
score = 0;
stop();
Instance of Symbol 746 MovieClip in Frame 105
onClipEvent (load) {
mycurrentmusic = "d";
}
Frame 106
room1fiend = 1;
room2fiend = 1;
room3fiend = 1;
room4fiend = 1;
stop();
Frame 107
stop();
Frame 108
stop();
Frame 109
stop();
Frame 110
stop();
Frame 111
stop();
Frame 113
temp_lifebar = a_lifebar;
temp_flifebar = a_flifebar;
tempstrength = a_strength;
tempxspeed = a_xspeed;
tempthestage = thestage;
tempsuko = totalsuko;
templifebar = _root["life" + attachername] + (_root.a_lifebar * 5);
tempflifebar = _root["life" + attachername] + (_root.a_flifebar * 5);
score = 0;
stop();
Instance of Symbol 746 MovieClip in Frame 113
onClipEvent (load) {
mycurrentmusic = "e";
}
Frame 114
stop();
Frame 115
stop();
Frame 116
stop();
Frame 118
temp_lifebar = a_lifebar;
temp_flifebar = a_flifebar;
tempstrength = a_strength;
tempxspeed = a_xspeed;
tempthestage = thestage;
tempsuko = totalsuko;
templifebar = _root["life" + attachername] + (_root.a_lifebar * 5);
tempflifebar = _root["life" + attachername] + (_root.a_flifebar * 5);
score = 0;
stop();
Instance of Symbol 746 MovieClip in Frame 118
onClipEvent (load) {
mycurrentmusic = "f";
}
Frame 119
stop();
Frame 120
stop();
Frame 121
bosses = 1;
stop();
Instance of Symbol 746 MovieClip in Frame 121
onClipEvent (load) {
mycurrentmusic = "fboss";
}
Frame 122
stop();
Frame 123
currentstage++;
totalsuko = totalsuko + score;
stop();
Instance of Symbol 520 MovieClip "facedisplay" in Frame 123
onClipEvent (load) {
this.gotoAndStop(_root.attachername);
}
Frame 124
stop();
Frame 125
totalsuko = totalsuko + score;
playersname = totalsuko;
stop();
Instance of Symbol 520 MovieClip "facedisplay" in Frame 125
onClipEvent (load) {
this.gotoAndStop(_root.attachername);
}
Frame 126
stop();
Instance of Symbol 446 MovieClip "k1" in Frame 127
onClipEvent (load) {
key = _root.keygoin;
}
Instance of Symbol 446 MovieClip "k2" in Frame 127
onClipEvent (load) {
key = _root.keydown;
}
Instance of Symbol 446 MovieClip "k5" in Frame 127
onClipEvent (load) {
key = _root.keyattack;
}
Instance of Symbol 446 MovieClip "k8" in Frame 127
onClipEvent (load) {
key = _root.keyup;
}
Instance of Symbol 446 MovieClip "k3" in Frame 127
onClipEvent (load) {
key = _root.keyleft;
}
Instance of Symbol 446 MovieClip "k4" in Frame 127
onClipEvent (load) {
key = _root.keyright;
}
Instance of Symbol 446 MovieClip "k9" in Frame 127
onClipEvent (load) {
key = _root.keydash;
}
Symbol 10 MovieClip Frame 1
_visible = false;
dir = 1;
((blinkrate > 99) ? ((blinkrate = 99)) : null);
((blinkrate <= 0) ? ((blinkrate = 1)) : null);
((blinkrate == undefined) ? ((blinkrate = 5)) : null);
this.onEnterFrame = function () {
_parent._alpha = _parent._alpha - (dir * blinkrate);
(((_parent._alpha > 100) || (_parent._alpha < 0)) ? ((dir = dir * -1)) : null);
};
this.onUnload = function () {
_parent._alpha = 100;
};
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
blinkrate = 50;
}
Symbol 30 MovieClip Frame 7
stop();
Symbol 31 MovieClip Frame 7
stop();
Symbol 33 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 37 MovieClip Frame 6
stop();
Symbol 42 Button
on (release) {
getURL ("http://tamugaia.com", "_blank");
}
Symbol 46 Button
on (release) {
getURL ("http://www.newgrounds.com/collection/halloween2007", "_blank");
}
Symbol 57 Button
on (press) {
_root.play();
}
Symbol 66 MovieClip Frame 1
this.swapDepths(123456);
this.onEnterFrame = function () {
_x = _root._xmouse;
_y = _root._ymouse;
Mouse.hide();
};
Symbol 70 MovieClip Frame 1
_visible = false;
Symbol 72 MovieClip Frame 1
_visible = false;
Symbol 88 MovieClip Frame 1
_parent.jumpdistancemultiplier = 1;
_parent.dashing = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (_parent["key_" + _parent.lr]) {
if (!_parent.candash) {
_parent.gotoAndStop(_parent.lr + "walk");
} else {
_parent.gotoAndStop(_parent.lr + "dash");
}
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = -_parent.yspeed;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "attack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "shoot");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
if (_parent.lifebar < (_parent.flifebar / 4)) {
this.gotoAndPlay("tired");
}
Symbol 88 MovieClip Frame 41
this.gotoAndPlay("normal");
Symbol 88 MovieClip Frame 71
this.gotoAndPlay("tired");
Symbol 94 MovieClip Frame 9
_root.gotoAndStop(_parent.destination);
Symbol 99 MovieClip Frame 7
stop();
Symbol 104 MovieClip Frame 1
if (_parent.key_goin) {
this.gotoAndPlay("s2");
}
Symbol 104 MovieClip Frame 2
_parent.canattack = 0;
Instance of Symbol 99 MovieClip in Symbol 104 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 104 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 104 MovieClip Frame 7
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 104 MovieClip Frame 8
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 104 MovieClip Frame 9
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 104 MovieClip Frame 10
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 104 MovieClip Frame 11
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 104 MovieClip Frame 12
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 104 MovieClip Frame 13
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 99 MovieClip in Symbol 104 MovieClip Frame 16
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 104 MovieClip Frame 16
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 104 MovieClip Frame 22
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 104 MovieClip Frame 23
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 104 MovieClip Frame 24
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 104 MovieClip Frame 25
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 104 MovieClip Frame 26
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 104 MovieClip Frame 27
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 70 MovieClip "detattack" in Symbol 110 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 110 MovieClip Frame 4
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 111 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_dash) {
_parent.gotoAndStop(_parent.lr + "dash");
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "walkattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "walkshoot");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = -_parent.yspeed;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
if (_parent.lifebar < (_parent.flifebar / 4)) {
this.gotoAndPlay("tired");
}
Symbol 111 MovieClip Frame 21
this.gotoAndPlay("normal");
Symbol 111 MovieClip Frame 40
this.gotoAndPlay("tired");
Instance of Symbol 99 MovieClip in Symbol 114 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 114 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 114 MovieClip Frame 13
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 115 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 115 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 115 MovieClip Frame 9
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "walk");
Symbol 116 MovieClip Frame 1
_parent.dashing = 1;
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * 2);
_parent.jumpdistancemultiplier = 2;
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "dashshoot");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = (-_parent.yspeed) * 1.2;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
Instance of Symbol 99 MovieClip in Symbol 119 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 119 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 119 MovieClip Frame 17
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 120 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * 2);
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 120 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 120 MovieClip Frame 12
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "dash");
Symbol 121 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_l || (_parent.key_r)) {
_parent.gotoAndStop(_parent.lr + "duckwalk");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "duckattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "duckshoot");
}
}
};
Symbol 122 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + int((_parent.xspeed * _parent.multiplier) / 2);
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (!_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "duckattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "duckshoot");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
Instance of Symbol 99 MovieClip in Symbol 125 MovieClip Frame 2
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 125 MovieClip Frame 2
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 125 MovieClip Frame 9
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "duck");
Instance of Symbol 70 MovieClip "detattack" in Symbol 126 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 126 MovieClip Frame 10
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "duck");
Symbol 127 MovieClip Frame 1
_parent.canjump = 0;
_parent.dashing = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * _parent.jumpdistancemultiplier);
_parent.gotoAndStop(_parent.lr + "jump");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "jumpattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "jumpshoot");
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
}
};
Symbol 127 MovieClip Frame 3
stop();
Symbol 130 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
};
Instance of Symbol 99 MovieClip in Symbol 130 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 99 MovieClip in Symbol 130 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 130 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 130 MovieClip Frame 10
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "jump");
Symbol 131 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 131 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 131 MovieClip Frame 8
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "jump");
Symbol 133 MovieClip Frame 1
_parent.pain = 1;
_parent.touchable = 0;
_parent._alpha = 50;
_parent._y = _parent._y - 5;
Symbol 133 MovieClip Frame 9
_parent.hit = 0;
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
} else {
_parent.gotoAndStop(_parent.lr + "jump");
}
stop();
Symbol 135 MovieClip Frame 86
_root.gotoAndPlay("deadscene");
stop();
Symbol 136 MovieClip [stevie] Frame 1
xspeed = 4 + _root.a_xspeed;
yspeed = 15;
strength = _root.a_strength;
attackpower = 1 + _root.a_attackpower;
gravity = 0;
maxgravity = 20;
lr = "r";
landed = 0;
squished = 0;
jumping = 1;
minuslife = 0;
alive = 1;
hit = 0;
touchable = 1;
canmove = 1;
multiplier = 1;
canattack = 1;
canshoot = 1;
candash = 0;
canjump = 1;
jumpdistancemultiplier = 1;
sez = "";
seztimer = 0;
this.onEnterFrame = function () {
if ((!_root.pauser) && (alive)) {
if (touchable < 1) {
touchable = touchable + 0.02;
} else {
pain = 0;
_alpha = 100;
}
((seztimer == 0) ? ((sez = "")) : null);
((seztimer > 0) ? (seztimer--) : null);
if (!Key.isDown(_root.keyup)) {
canjump = 1;
}
if (canmove) {
key_goin = Key.isDown(_root.keygoin);
key_up = Key.isDown(_root.keyup);
key_down = Key.isDown(_root.keydown);
key_l = Key.isDown(_root.keyleft);
key_r = Key.isDown(_root.keyright);
key_attack = Key.isDown(_root.keyattack);
key_shoot = ((Key.isDown(_root.keyshoot) && (_root.canshoot)) ? 1 : 0);
key_dash = ((Key.isDown(_root.keydash) && (_root.candash)) ? 1 : 0);
}
if (!hit) {
if (gravity < maxgravity) {
gravity++;
}
_y = (_y + gravity);
if (!dashing) {
if (key_l) {
lr = "l";
multiplier = -1;
} else if (key_r) {
lr = "r";
multiplier = 1;
}
}
if (!key_attack) {
canattack = 1;
}
if (!key_shoot) {
canshoot = 1;
}
(key_dash ? ((candash = 1)) : ((candash = 0)));
} else if (hit) {
canmove = 1;
touchable = 0;
if (lr == "l") {
multiplier = -1;
} else if (lr == "r") {
multiplier = 1;
}
_x = (_x - (2 * multiplier));
if (lifebar <= 0) {
this.gotoAndStop(lr + "die");
alive = 0;
} else {
this.gotoAndStop(lr + "hit");
}
}
}
};
this.gotoAndStop(lr + "normal");
stop();
Instance of Symbol 111 MovieClip in Symbol 136 MovieClip [stevie] Frame 8
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 116 MovieClip in Symbol 136 MovieClip [stevie] Frame 13
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 122 MovieClip in Symbol 136 MovieClip [stevie] Frame 19
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip [stevie] Frame 30
onClipEvent (enterFrame) {
if (_parent.gravity < _parent.maxgravity) {
_parent.gravity++;
}
_parent._y = _parent._y + _parent.gravity;
}
Instance of Symbol 111 MovieClip in Symbol 136 MovieClip [stevie] Frame 49
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 116 MovieClip in Symbol 136 MovieClip [stevie] Frame 54
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 122 MovieClip in Symbol 136 MovieClip [stevie] Frame 60
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 135 MovieClip in Symbol 136 MovieClip [stevie] Frame 71
onClipEvent (enterFrame) {
if (_parent.gravity < _parent.maxgravity) {
_parent.gravity++;
}
_parent._y = _parent._y + _parent.gravity;
}
Symbol 141 MovieClip [shot] Frame 1
shotx = 0;
timer = 0;
_alpha = 0;
this.onEnterFrame = function () {
this._x = this._x + shotx;
shotx = 20 * multiplier;
timer++;
if (timer > 30) {
this.unloadMovie();
}
_alpha = (_alpha + 40);
i = 1;
while (i <= 30) {
if (this.det.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _root.a_strength;
this.unloadMovie();
}
i++;
}
};
this.gotoAndStop("yyy" + _root.a_strength);
Symbol 144 MovieClip [haunt_fire] Frame 1
shotx = 0;
timer = 0;
this.onEnterFrame = function () {
_x = (_x + (8 * multiplier));
_y = (_y + 8);
timer++;
if (timer > 60) {
this.unloadMovie();
}
if (this.det.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
this.unloadMovie();
}
};
Symbol 144 MovieClip [haunt_fire] Frame 2
stop();
Symbol 146 MovieClip [eye_fire] Frame 1
shotx = 0;
timer = 0;
this._rotation = Math.round((Math.atan2(_parent.sprite._y - this._y, _parent.sprite._x - this._x) * 180) / Math.PI) + 90;
xadder = 11;
yadder = 11;
this.onEnterFrame = function () {
_x = (_x + (8 * multiplier));
_y = (_y + 8);
_x = (_x - ((-xadder) * Math.sin((Math.PI/180) * _rotation)));
_y = (_y + ((-yadder) * Math.cos((Math.PI/180) * _rotation)));
if (this.det.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
this.unloadMovie();
}
};
Symbol 146 MovieClip [eye_fire] Frame 9
stop();
Symbol 154 MovieClip [spider_fire] Frame 1
shotx = 0;
timer = 0;
this.onEnterFrame = function () {
_x = (_x + (20 * multiplier));
if (this.det.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
this.unloadMovie();
}
};
Symbol 154 MovieClip [spider_fire] Frame 15
this.unloadMovie();
Symbol 164 MovieClip Frame 1
_parent.jumpdistancemultiplier = 1;
_parent.dashing = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (_parent["key_" + _parent.lr]) {
if (!_parent.candash) {
_parent.gotoAndStop(_parent.lr + "walk");
} else {
_parent.gotoAndStop(_parent.lr + "dash");
}
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = -_parent.yspeed;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "attack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "shoot");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
if (_parent.lifebar < (_parent.flifebar / 4)) {
this.gotoAndPlay("tired");
}
Symbol 164 MovieClip Frame 41
this.gotoAndPlay("normal");
Symbol 164 MovieClip Frame 71
this.gotoAndPlay("tired");
Symbol 170 MovieClip Frame 9
_root.gotoAndStop(_parent.destination);
Symbol 174 MovieClip Frame 1
if (_parent.key_goin) {
this.gotoAndPlay("s1");
}
Symbol 174 MovieClip Frame 2
_parent.canattack = 0;
Instance of Symbol 99 MovieClip in Symbol 174 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 174 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 174 MovieClip Frame 7
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 174 MovieClip Frame 8
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 174 MovieClip Frame 9
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 174 MovieClip Frame 10
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 174 MovieClip Frame 11
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 174 MovieClip Frame 12
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 174 MovieClip Frame 13
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 99 MovieClip in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 174 MovieClip Frame 16
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 174 MovieClip Frame 22
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 174 MovieClip Frame 23
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 174 MovieClip Frame 24
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 174 MovieClip Frame 25
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 174 MovieClip Frame 26
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 174 MovieClip Frame 27
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 99 MovieClip in Symbol 174 MovieClip Frame 30
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 174 MovieClip Frame 30
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 174 MovieClip Frame 41
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 175 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_dash) {
_parent.gotoAndStop(_parent.lr + "dash");
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "walkattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "walkshoot");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = -_parent.yspeed;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
if (_parent.lifebar < (_parent.flifebar / 4)) {
this.gotoAndPlay("tired");
}
Symbol 175 MovieClip Frame 21
this.gotoAndPlay("normal");
Symbol 175 MovieClip Frame 40
this.gotoAndPlay("tired");
Instance of Symbol 99 MovieClip in Symbol 176 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 176 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 176 MovieClip Frame 13
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 177 MovieClip Frame 1
_parent.dashing = 1;
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * 2);
_parent.jumpdistancemultiplier = 2;
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "dashshoot");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = (-_parent.yspeed) * 1.2;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
Instance of Symbol 99 MovieClip in Symbol 179 MovieClip Frame 3
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 179 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 179 MovieClip Frame 17
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 180 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_l || (_parent.key_r)) {
_parent.gotoAndStop(_parent.lr + "duckwalk");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "duckattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "duckshoot");
}
}
};
Symbol 181 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + int((_parent.xspeed * _parent.multiplier) / 2);
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (!_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "duckattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "duckshoot");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
Instance of Symbol 99 MovieClip in Symbol 182 MovieClip Frame 2
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 182 MovieClip Frame 2
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 182 MovieClip Frame 9
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "duck");
Symbol 183 MovieClip Frame 1
_parent.canjump = 0;
_parent.dashing = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * _parent.jumpdistancemultiplier);
_parent.gotoAndStop(_parent.lr + "jump");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "jumpattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "jumpshoot");
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
}
};
Symbol 183 MovieClip Frame 3
stop();
Symbol 187 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
};
Instance of Symbol 99 MovieClip in Symbol 187 MovieClip Frame 5
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 99 MovieClip in Symbol 187 MovieClip Frame 5
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 187 MovieClip Frame 5
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Instance of Symbol 99 MovieClip in Symbol 187 MovieClip Frame 13
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 99 MovieClip in Symbol 187 MovieClip Frame 13
onClipEvent (load) {
((_root.a_strength <= 1) ? (_visible = falsefalse) : null);
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 187 MovieClip Frame 13
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 187 MovieClip Frame 17
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "jump");
Symbol 188 MovieClip Frame 1
_parent.pain = 1;
_parent.touchable = 0;
_parent._alpha = 50;
_parent._y = _parent._y - 5;
Symbol 188 MovieClip Frame 9
_parent.hit = 0;
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
} else {
_parent.gotoAndStop(_parent.lr + "jump");
}
stop();
Symbol 190 MovieClip Frame 86
_root.gotoAndPlay("deadscene");
stop();
Symbol 191 MovieClip [marc] Frame 1
xspeed = 4 + _root.a_xspeed;
yspeed = 15;
strength = _root.a_strength * 2;
attackpower = 1 + _root.a_attackpower;
gravity = 0;
maxgravity = 20;
lr = "r";
landed = 0;
squished = 0;
jumping = 1;
minuslife = 0;
alive = 1;
hit = 0;
touchable = 1;
canmove = 1;
multiplier = 1;
canattack = 1;
canshoot = 1;
candash = 0;
canjump = 1;
jumpdistancemultiplier = 1;
sez = "";
seztimer = 0;
this.onEnterFrame = function () {
if ((!_root.pauser) && (alive)) {
if (touchable < 1) {
touchable = touchable + 0.02;
} else {
pain = 0;
_alpha = 100;
}
((seztimer == 0) ? ((sez = "")) : null);
((seztimer > 0) ? (seztimer--) : null);
if (!Key.isDown(_root.keyup)) {
canjump = 1;
}
if (canmove) {
key_goin = Key.isDown(_root.keygoin);
key_up = Key.isDown(_root.keyup);
key_down = Key.isDown(_root.keydown);
key_l = Key.isDown(_root.keyleft);
key_r = Key.isDown(_root.keyright);
key_attack = Key.isDown(_root.keyattack);
key_shoot = ((Key.isDown(_root.keyshoot) && (_root.canshoot)) ? 1 : 0);
key_dash = ((Key.isDown(_root.keydash) && (_root.candash)) ? 1 : 0);
}
if (!hit) {
if (gravity < maxgravity) {
gravity++;
}
_y = (_y + gravity);
if (!dashing) {
if (key_l) {
lr = "l";
multiplier = -1;
} else if (key_r) {
lr = "r";
multiplier = 1;
}
}
if (!key_attack) {
canattack = 1;
}
if (!key_shoot) {
canshoot = 1;
}
(key_dash ? ((candash = 1)) : ((candash = 0)));
} else if (hit) {
canmove = 1;
touchable = 0;
if (lr == "l") {
multiplier = -1;
} else if (lr == "r") {
multiplier = 1;
}
_x = (_x - (2 * multiplier));
if (lifebar <= 0) {
this.gotoAndStop(lr + "die");
alive = 0;
} else {
this.gotoAndStop(lr + "hit");
}
}
}
};
this.gotoAndStop(lr + "normal");
stop();
Instance of Symbol 175 MovieClip in Symbol 191 MovieClip [marc] Frame 8
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 177 MovieClip in Symbol 191 MovieClip [marc] Frame 13
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 181 MovieClip in Symbol 191 MovieClip [marc] Frame 19
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 190 MovieClip in Symbol 191 MovieClip [marc] Frame 30
onClipEvent (enterFrame) {
if (_parent.gravity < _parent.maxgravity) {
_parent.gravity++;
}
_parent._y = _parent._y + _parent.gravity;
}
Instance of Symbol 175 MovieClip in Symbol 191 MovieClip [marc] Frame 49
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 177 MovieClip in Symbol 191 MovieClip [marc] Frame 54
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 181 MovieClip in Symbol 191 MovieClip [marc] Frame 60
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 190 MovieClip in Symbol 191 MovieClip [marc] Frame 71
onClipEvent (enterFrame) {
if (_parent.gravity < _parent.maxgravity) {
_parent.gravity++;
}
_parent._y = _parent._y + _parent.gravity;
}
Symbol 205 MovieClip Frame 1
_parent.jumpdistancemultiplier = 1;
_parent.dashing = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (_parent["key_" + _parent.lr]) {
if (!_parent.candash) {
_parent.gotoAndStop(_parent.lr + "walk");
} else {
_parent.gotoAndStop(_parent.lr + "dash");
}
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = -_parent.yspeed;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "attack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "shoot");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
if (_parent.lifebar < (_parent.flifebar / 4)) {
this.gotoAndPlay("tired");
}
Symbol 205 MovieClip Frame 41
this.gotoAndPlay("normal");
Symbol 205 MovieClip Frame 71
this.gotoAndPlay("tired");
Symbol 210 MovieClip Frame 9
_root.gotoAndStop(_parent.destination);
Symbol 211 MovieClip Frame 1
if (_parent.key_goin) {
this.gotoAndPlay("s1");
}
Symbol 211 MovieClip Frame 2
_parent.canattack = 0;
Instance of Symbol 70 MovieClip "detattack" in Symbol 211 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 211 MovieClip Frame 7
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 211 MovieClip Frame 8
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 211 MovieClip Frame 9
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 211 MovieClip Frame 10
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 211 MovieClip Frame 11
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 211 MovieClip Frame 12
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s2");
}
Symbol 211 MovieClip Frame 13
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 70 MovieClip "detattack" in Symbol 211 MovieClip Frame 16
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 211 MovieClip Frame 22
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 211 MovieClip Frame 23
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 211 MovieClip Frame 24
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 211 MovieClip Frame 25
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 211 MovieClip Frame 26
if (_parent.key_attack && (_parent.canattack)) {
gotoAndPlay ("s0");
}
Symbol 211 MovieClip Frame 27
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 70 MovieClip "detattack" in Symbol 211 MovieClip Frame 30
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 211 MovieClip Frame 36
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 211 MovieClip Frame 37
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 211 MovieClip Frame 38
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 211 MovieClip Frame 39
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 211 MovieClip Frame 40
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
Symbol 211 MovieClip Frame 41
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 221 MovieClip Frame 1
if (_parent.key_goin) {
this.gotoAndPlay("s1");
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 221 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 221 MovieClip Frame 6
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 70 MovieClip "detattack" in Symbol 221 MovieClip Frame 8
onClipEvent (load) {
_root.themap.attachMovie("shot2", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 221 MovieClip Frame 12
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Symbol 222 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_dash) {
_parent.gotoAndStop(_parent.lr + "dash");
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "walkattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "walkshoot");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = -_parent.yspeed;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
if (_parent.lifebar < (_parent.flifebar / 4)) {
this.gotoAndPlay("tired");
}
Symbol 222 MovieClip Frame 24
this.gotoAndPlay("normal");
Symbol 222 MovieClip Frame 46
this.gotoAndPlay("tired");
Symbol 227 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 227 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 227 MovieClip Frame 9
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "walk");
Symbol 228 MovieClip Frame 1
_parent.dashing = 1;
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * 2);
_parent.jumpdistancemultiplier = 2;
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "dashattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "dashshoot");
}
if (_parent.key_up && (_parent.canjump)) {
_parent.canjump = 0;
_parent.gravity = (-_parent.yspeed) * 1.2;
_parent.jumping = 0;
_parent.gotoAndStop(_parent.lr + "jump");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
Symbol 234 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * 2);
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 234 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 234 MovieClip Frame 20
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "dash");
Symbol 236 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_l || (_parent.key_r)) {
_parent.gotoAndStop(_parent.lr + "duckwalk");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "duckattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "duckshoot");
}
}
};
Symbol 237 MovieClip Frame 1
this.onEnterFrame = function () {
if (!_root.pauser) {
_parent._x = _parent._x + int((_parent.xspeed * _parent.multiplier) / 2);
if (!_parent[whichkey]) {
_parent.gotoAndStop(_parent.lr + "duck");
}
if (!_parent.key_down) {
_parent.gotoAndStop(_parent.lr + "normal");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "duckattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "duckshoot");
}
if (!_parent.landed) {
_parent.gotoAndStop(_parent.lr + "jump");
}
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 242 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 242 MovieClip Frame 10
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "duck");
Symbol 243 MovieClip Frame 1
_parent.canjump = 0;
_parent.dashing = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + ((_parent.xspeed * _parent.multiplier) * _parent.jumpdistancemultiplier);
_parent.gotoAndStop(_parent.lr + "jump");
}
if (_parent.key_attack && (_parent.canattack)) {
_parent.gotoAndStop(_parent.lr + "jumpattack");
}
if (_parent.key_shoot && (_parent.canshoot)) {
_parent.gotoAndStop(_parent.lr + "jumpshoot");
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
}
};
Symbol 243 MovieClip Frame 3
stop();
Symbol 248 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 248 MovieClip Frame 2
onClipEvent (load) {
_root.themap.attachMovie("shot", "shot" + _root.shots, _root.shots);
_root.themap["shot" + _root.shots]._x = (_parent._parent._x + _parent._x) + (_x * _parent._parent.multiplier);
_root.themap["shot" + _root.shots]._y = (_parent._parent._y + _parent._y) + _y;
_root.themap["shot" + _root.shots].multiplier = _parent._parent.multiplier;
_root.shots++;
if (_root.shots > 20) {
_root.shots = 0;
}
}
Symbol 248 MovieClip Frame 8
_parent.canshoot = 0;
_parent.gotoAndStop(_parent.lr + "jump");
Symbol 252 MovieClip Frame 1
_parent.pain = 1;
_parent.touchable = 0;
_parent._alpha = 50;
_parent._y = _parent._y - 5;
Symbol 252 MovieClip Frame 9
_parent.hit = 0;
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
} else {
_parent.gotoAndStop(_parent.lr + "jump");
}
stop();
Symbol 254 MovieClip Frame 86
_root.gotoAndPlay("deadscene");
stop();
Instance of Symbol 70 MovieClip "detattack" in Symbol 255 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 255 MovieClip Frame 13
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 70 MovieClip "detattack" in Symbol 256 MovieClip Frame 3
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 256 MovieClip Frame 17
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "normal");
Instance of Symbol 70 MovieClip "detattack" in Symbol 257 MovieClip Frame 2
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 257 MovieClip Frame 9
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "duck");
Symbol 258 MovieClip Frame 1
this.onEnterFrame = function () {
if (_parent.key_l || (_parent.key_r)) {
_parent._x = _parent._x + (_parent.xspeed * _parent.multiplier);
}
if (_parent.landed) {
_parent.gotoAndStop(_parent.lr + "normal");
}
};
Instance of Symbol 70 MovieClip "detattack" in Symbol 258 MovieClip Frame 5
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Instance of Symbol 70 MovieClip "detattack" in Symbol 258 MovieClip Frame 13
onClipEvent (load) {
i = 1;
while (i <= 30) {
if (this.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _parent._parent.strength;
}
i++;
}
}
Symbol 258 MovieClip Frame 17
_parent.canattack = 0;
_parent.gotoAndStop(_parent.lr + "jump");
Symbol 259 MovieClip [bear] Frame 1
xspeed = 4 + _root.a_xspeed;
yspeed = 15;
strength = _root.a_strength * 2;
attackpower = 1 + _root.a_attackpower;
gravity = 0;
maxgravity = 20;
lr = "r";
landed = 0;
squished = 0;
jumping = 1;
minuslife = 0;
alive = 1;
hit = 0;
touchable = 1;
canmove = 1;
multiplier = 1;
canattack = 1;
canshoot = 1;
candash = 0;
canjump = 1;
jumpdistancemultiplier = 1;
sez = "";
seztimer = 0;
this.onEnterFrame = function () {
if ((!_root.pauser) && (alive)) {
if (touchable < 1) {
touchable = touchable + 0.02;
} else {
pain = 0;
_alpha = 100;
}
((seztimer == 0) ? ((sez = "")) : null);
((seztimer > 0) ? (seztimer--) : null);
if (!Key.isDown(_root.keyup)) {
canjump = 1;
}
if (canmove) {
key_goin = Key.isDown(_root.keygoin);
key_up = Key.isDown(_root.keyup);
key_down = Key.isDown(_root.keydown);
key_l = Key.isDown(_root.keyleft);
key_r = Key.isDown(_root.keyright);
key_shoot = Key.isDown(_root.keyattack);
key_attack = ((Key.isDown(_root.keyshoot) && (_root.canshoot)) ? 1 : 0);
key_dash = ((Key.isDown(_root.keydash) && (_root.candash)) ? 1 : 0);
}
if (!hit) {
if (gravity < maxgravity) {
gravity++;
}
_y = (_y + gravity);
if (!dashing) {
if (key_l) {
lr = "l";
multiplier = -1;
} else if (key_r) {
lr = "r";
multiplier = 1;
}
}
if (!key_attack) {
canattack = 1;
}
if (!key_shoot) {
canshoot = 1;
}
(key_dash ? ((candash = 1)) : ((candash = 0)));
} else if (hit) {
canmove = 1;
touchable = 0;
if (lr == "l") {
multiplier = -1;
} else if (lr == "r") {
multiplier = 1;
}
_x = (_x - (2 * multiplier));
if (lifebar <= 0) {
this.gotoAndStop(lr + "die");
alive = 0;
} else {
this.gotoAndStop(lr + "hit");
}
}
}
};
this.gotoAndStop(lr + "normal");
stop();
Instance of Symbol 222 MovieClip in Symbol 259 MovieClip [bear] Frame 8
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 228 MovieClip in Symbol 259 MovieClip [bear] Frame 13
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 237 MovieClip in Symbol 259 MovieClip [bear] Frame 19
onClipEvent (load) {
whichkey = "key_l";
}
Instance of Symbol 254 MovieClip in Symbol 259 MovieClip [bear] Frame 30
onClipEvent (enterFrame) {
if (_parent.gravity < _parent.maxgravity) {
_parent.gravity++;
}
_parent._y = _parent._y + _parent.gravity;
}
Instance of Symbol 222 MovieClip in Symbol 259 MovieClip [bear] Frame 49
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 228 MovieClip in Symbol 259 MovieClip [bear] Frame 54
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 237 MovieClip in Symbol 259 MovieClip [bear] Frame 60
onClipEvent (load) {
whichkey = "key_r";
}
Instance of Symbol 254 MovieClip in Symbol 259 MovieClip [bear] Frame 71
onClipEvent (enterFrame) {
if (_parent.gravity < _parent.maxgravity) {
_parent.gravity++;
}
_parent._y = _parent._y + _parent.gravity;
}
Symbol 260 MovieClip [shot2] Frame 1
shotx = 0;
timer = 0;
_alpha = 0;
this.onEnterFrame = function () {
this._y = this._y - shotx;
shotx = 20;
timer++;
if (timer > 30) {
this.unloadMovie();
}
_alpha = (_alpha + 40);
i = 1;
while (i <= 30) {
if (this.det.hitTest(_root.themap["fiend" + i].monsterhit)) {
_root.themap["fiend" + i].hit = 1;
_root.themap["fiend" + i].fiendlifebar = _root.themap["fiend" + i].fiendlifebar - _root.a_strength;
this.unloadMovie();
}
i++;
}
};
this.gotoAndStop("yyy" + _root.a_strength);
Symbol 408 Button
on (press) {
play();
}
Symbol 418 Button
on (press) {
gowhere = "m1";
play();
}
Symbol 419 Button
on (press) {
gotoAndPlay ("keyconfig");
}
Symbol 420 Button
on (press) {
_root.quanum++;
((_root.quanum == 3) ? ((_root.quanum = 0)) : null);
_root._quality = _root.quat[_root.quanum];
qua.gotoAndStop(_root._quality);
}
Symbol 421 Button
on (release) {
getURL ("http://armorgames.com", "_blank");
}
Symbol 422 Button
on (press) {
gotoAndPlay ("credits");
}
Symbol 426 MovieClip Frame 1
gotoAndStop(_root._quality);
Symbol 435 Button
on (press) {
gowhere = "m1";
play();
}
Symbol 436 Button
on (press) {
gotoAndPlay ("menucomesout");
}
Symbol 446 MovieClip Frame 1
thekey = "N/A";
switch (key) {
case 65 :
thekey = "A";
break;
case 66 :
thekey = "B";
break;
case 67 :
thekey = "C";
break;
case 68 :
thekey = "D";
break;
case 69 :
thekey = "E";
break;
case 70 :
thekey = "F";
break;
case 71 :
thekey = "G";
break;
case 72 :
thekey = "H";
break;
case 73 :
thekey = "I";
break;
case 74 :
thekey = "J";
break;
case 75 :
thekey = "K";
break;
case 76 :
thekey = "L";
break;
case 77 :
thekey = "M";
break;
case 78 :
thekey = "N";
break;
case 79 :
thekey = "O";
break;
case 80 :
thekey = "P";
break;
case 81 :
thekey = "Q";
break;
case 82 :
thekey = "R";
break;
case 83 :
thekey = "S";
break;
case 84 :
thekey = "T";
break;
case 85 :
thekey = "U";
break;
case 86 :
thekey = "V";
break;
case 87 :
thekey = "W";
break;
case 88 :
thekey = "X";
break;
case 89 :
thekey = "Y";
break;
case 90 :
thekey = "Z";
break;
case 48 :
thekey = "0";
break;
case 49 :
thekey = "1";
break;
case 50 :
thekey = "2";
break;
case 51 :
thekey = "3";
break;
case 52 :
thekey = "4";
break;
case 53 :
thekey = "5";
break;
case 54 :
thekey = "6";
break;
case 55 :
thekey = "7";
break;
case 56 :
thekey = "8";
break;
case 57 :
thekey = "9";
break;
case 96 :
thekey = "Num 0";
break;
case 97 :
thekey = "Num 1";
break;
case 98 :
thekey = "Num 2";
break;
case 99 :
thekey = "Num 3";
break;
case 100 :
thekey = "Num 4";
break;
case 101 :
thekey = "Num 5";
break;
case 102 :
thekey = "Num 6";
break;
case 103 :
thekey = "Num 7";
break;
case 104 :
thekey = "Num 8";
break;
case 105 :
thekey = "Num 9";
break;
case 106 :
thekey = "Num *";
break;
case 107 :
thekey = "Num +";
break;
case 108 :
thekey = "Num E";
break;
case 109 :
thekey = "Num -";
break;
case 110 :
thekey = "Num .";
break;
case 111 :
thekey = "Num /";
break;
case 144 :
thekey = "Numlock";
break;
case 112 :
thekey = "F1";
break;
case 113 :
thekey = "F2";
break;
case 114 :
thekey = "F3";
break;
case 115 :
thekey = "F4";
break;
case 116 :
thekey = "F5";
break;
case 117 :
thekey = "F6";
break;
case 118 :
thekey = "F7";
break;
case 119 :
thekey = "F8";
break;
case 120 :
thekey = "F9";
break;
case 121 :
thekey = "F10";
break;
case 122 :
thekey = "F11";
break;
case 123 :
thekey = "F12";
break;
case 124 :
thekey = "F13";
break;
case 125 :
thekey = "F14";
break;
case 126 :
thekey = "F15";
break;
case 8 :
thekey = "Backspace";
break;
case 9 :
thekey = "Tab";
break;
case 12 :
thekey = "Clear";
break;
case 13 :
thekey = "Enter";
break;
case 16 :
thekey = "Shift";
break;
case 17 :
thekey = "Ctrl";
break;
case 18 :
thekey = "Alt";
break;
case 20 :
thekey = "Caps";
break;
case 27 :
thekey = "Escape";
break;
case 32 :
thekey = "Space";
break;
case 33 :
thekey = "PageUp";
break;
case 34 :
thekey = "PageDn";
break;
case 35 :
thekey = "End";
break;
case 36 :
thekey = "Home";
break;
case 37 :
thekey = "Left";
break;
case 38 :
thekey = "Up";
break;
case 39 :
thekey = "Right";
break;
case 40 :
thekey = "Down";
break;
case 45 :
thekey = "Insert";
break;
case 46 :
thekey = "Delete";
break;
case 47 :
thekey = "Help";
break;
case 186 :
thekey = ";";
break;
case 187 :
thekey = "=";
break;
case 188 :
thekey = ",";
break;
case 189 :
thekey = "-";
break;
case 190 :
thekey = ".";
break;
case 191 :
thekey = "/";
break;
case 192 :
thekey = "~";
break;
case 219 :
thekey = "[";
break;
case 220 :
thekey = "|";
break;
case 221 :
thekey = "]";
break;
case 222 :
thekey = "'";
}
Symbol 446 MovieClip Frame 2
stop();
Symbol 451 Button
on (release) {
play();
}
Symbol 460 MovieClip Frame 1
stop();
Symbol 460 MovieClip Frame 2
stop();
Instance of Symbol 70 MovieClip in Symbol 460 MovieClip Frame 2
onClipEvent (keyUp) {
_root[_parent.key] = Key.getCode();
_parent.play();
}
Symbol 460 MovieClip Frame 3
_parent[kkk].key = _root[key];
_parent[kkk].play();
Symbol 467 MovieClip Frame 1
gowhere = "newgame";
stop();
Instance of Symbol 10 MovieClip in Symbol 467 MovieClip Frame 1
//component parameters
onClipEvent (construct) {
blinkrate = 99;
}
Symbol 467 MovieClip Frame 26
stop();
Symbol 467 MovieClip Frame 36
_root.gotoAndStop(gowhere);
stop();
Symbol 467 MovieClip Frame 46
stop();
Instance of Symbol 446 MovieClip "k1" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keygoin;
}
Instance of Symbol 446 MovieClip "k2" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keydown;
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keygoin";
kkk = "k1";
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keydown";
kkk = "k2";
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keyleft";
kkk = "k3";
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keyright";
kkk = "k4";
}
Instance of Symbol 446 MovieClip "k5" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keyattack;
}
Instance of Symbol 446 MovieClip "k8" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keyup;
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keyattack";
kkk = "k5";
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keyup";
kkk = "k8";
}
Instance of Symbol 446 MovieClip "k3" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keyleft;
}
Instance of Symbol 446 MovieClip "k4" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keyright;
}
Instance of Symbol 446 MovieClip "k9" in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = _root.keydash;
}
Instance of Symbol 460 MovieClip in Symbol 467 MovieClip Frame 69
onClipEvent (load) {
key = "keydash";
kkk = "k9";
}
Symbol 467 MovieClip Frame 78
stop();
Symbol 467 MovieClip Frame 99
stop();
Symbol 486 MovieClip Frame 362
_root.play();
stop();
Symbol 494 MovieClip Frame 1
gotoAndStop(_root.muzakvolume + 1);
Symbol 494 MovieClip Frame 2
_root.muzakvolume = 1;
_root.rootsound.setVolume(100);
stop();
Symbol 494 MovieClip Frame 3
_root.muzakvolume = 2;
_root.rootsound.setVolume(50);
stop();
Symbol 494 MovieClip Frame 4
_root.muzakvolume = 3;
_root.rootsound.setVolume(0);
stop();
Symbol 494 MovieClip Frame 5
gotoAndStop (2);
Symbol 501 MovieClip Frame 7
_root.play();
Symbol 501 MovieClip Frame 30
stop();
Symbol 525 MovieClip Frame 1
stop();
Symbol 527 Button
on (press) {
_root.snq();
}
Symbol 528 Button
on (press) {
nextmsg();
}
Symbol 562 MovieClip Frame 362
_root.play();
stop();
Symbol 593 MovieClip Frame 330
stop();
Symbol 597 Button
on (press) {
_root.gotoAndPlay("loadvars");
}
Symbol 605 MovieClip Frame 1
stop();
Symbol 607 Button
on (release) {
if (_root.playername == "") {
_root.nblinker.play();
} else {
getURL ((((((("http://tamugaia.com/highscores/insert_huntloween.php?player=" + _root.playername) + "&score=874543575856") + (random(6520) * 95656)) + "Dgj&randomiza=") + (_root.playersname * 29)) + "&thescore=") + _root.totalsuko, "_blank");
_root.play();
}
}
Symbol 626 MovieClip Frame 11
gotoAndPlay (9);
Symbol 629 Button
on (release) {
_root.attachername = "marc";
_root.gotoAndPlay(_root.thestage);
}
Symbol 633 MovieClip Frame 11
gotoAndPlay (9);
Symbol 636 Button
on (release) {
_root.attachername = "bear";
_root.gotoAndPlay(_root.thestage);
}
Symbol 640 MovieClip Frame 11
gotoAndPlay (9);
Symbol 643 Button
on (release) {
_root.attachername = "stevie";
_root.gotoAndPlay(_root.thestage);
}
Symbol 645 MovieClip Frame 10
stop();
Symbol 657 MovieClip Frame 1
_visible = false;
this.onEnterFrame = function () {
while (this.hitTest(_parent.sprite.detdown) && (_parent.sprite.gravity >= 0)) {
_parent.sprite._y--;
_parent.sprite.gravity = 0;
}
};
Symbol 659 MovieClip Frame 1
_visible = false;
this.onEnterFrame = function () {
while (this.hitTest(_parent.sprite.detright)) {
_parent.sprite._x--;
}
while (this.hitTest(_parent.sprite.detleft)) {
_parent.sprite._x++;
}
i = 1;
while (i <= 20) {
while (this.hitTest(_parent["fiend" + i].detright)) {
_parent["fiend" + i]._x--;
}
while (this.hitTest(_parent["fiend" + i].detleft)) {
_parent["fiend" + i]._x++;
}
i++;
}
};
Symbol 660 MovieClip Frame 1
_visible = false;
Symbol 662 MovieClip Frame 1
_visible = false;
this.onEnterFrame = function () {
while (this.hitTest(_parent.sprite.dettop)) {
_parent.sprite._y++;
_parent.sprite.gravity = 0;
}
};
Symbol 664 MovieClip Frame 1
_visible = false;
Symbol 686 MovieClip Frame 1
this.onEnterFrame = function () {
if (this.det.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
};
Symbol 688 MovieClip Frame 1
_visible = false;
this.onEnterFrame = function () {
if (this.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = 0;
_parent.sprite.hit = 1;
}
while (this.hitTest(_parent.sprite)) {
_parent.sprite._y--;
}
};
Symbol 701 MovieClip Frame 1
hitter = 0;
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
this.onEnterFrame = function () {
if (!_root.pauser) {
if (this.hitTest(_root.themap.sprite.gethit) && (hitter == 0)) {
_visible = true;
mysko = 50;
_root.score = _root.score + mysko;
this.gotoAndPlay("eaten");
}
}
};
Symbol 701 MovieClip Frame 3
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 5
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 7
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 9
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 11
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 13
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 15
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 17
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 19
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 21
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 23
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 25
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 27
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 29
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 31
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 33
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 35
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 37
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 38
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 40
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 43
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 701 MovieClip Frame 46
gotoAndPlay (2);
Symbol 701 MovieClip Frame 47
hitter = 1;
Symbol 701 MovieClip Frame 84
this.unloadMovie();
stop();
Symbol 714 MovieClip Frame 1
this.swapDepths(2004);
_x = _parent.sprite._x;
_y = _parent.sprite._y;
Symbol 714 MovieClip Frame 11
this.unloadMovie();
stop();
Symbol 715 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 701 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 446 MovieClip "k1" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keygoin;
play();
}
Instance of Symbol 446 MovieClip "k5" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyattack;
play();
}
Instance of Symbol 446 MovieClip "k8" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyup;
play();
}
Instance of Symbol 446 MovieClip "k3" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyleft;
play();
}
Instance of Symbol 446 MovieClip "k4" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyright;
play();
}
Instance of Symbol 446 MovieClip "k9" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydash;
play();
}
Instance of Symbol 446 MovieClip "k2" in Symbol 715 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydown;
play();
}
Instance of Symbol 664 MovieClip in Symbol 715 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 715 MovieClip Frame 2
stop();
Symbol 720 Button
on (release) {
nextFrame();
}
Symbol 721 Button
on (release) {
prevFrame();
}
Symbol 723 Button
on (release) {
_root.gotoAndPlay("loadvars");
}
Symbol 730 MovieClip Frame 1
_root.pauser = 0;
stop();
Symbol 730 MovieClip Frame 2
_root.pauser = 1;
stop();
Instance of Symbol 446 MovieClip "k1" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keygoin;
}
Instance of Symbol 446 MovieClip "k2" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keydown;
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keygoin";
kkk = "k1";
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keydown";
kkk = "k2";
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keyleft";
kkk = "k3";
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keyright";
kkk = "k4";
}
Instance of Symbol 446 MovieClip "k5" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keyattack;
}
Instance of Symbol 446 MovieClip "k8" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keyup;
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keyattack";
kkk = "k5";
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keyup";
kkk = "k8";
}
Instance of Symbol 446 MovieClip "k3" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keyleft;
}
Instance of Symbol 446 MovieClip "k4" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keyright;
}
Instance of Symbol 446 MovieClip "k9" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = _root.keydash;
}
Instance of Symbol 460 MovieClip in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
key = "keydash";
kkk = "k9";
}
Instance of Symbol 520 MovieClip "facedisplay" in Symbol 730 MovieClip Frame 2
onClipEvent (load) {
this.gotoAndStop(_root.attachername);
}
Symbol 746 MovieClip Frame 1
stopAllSounds();
gotoAndStop(mycurrentmusic);
Symbol 764 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 446 MovieClip "k5" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyattack;
play();
}
Instance of Symbol 446 MovieClip "k8" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyup;
play();
}
Instance of Symbol 446 MovieClip "k3" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyleft;
play();
}
Instance of Symbol 446 MovieClip "k4" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyright;
play();
}
Instance of Symbol 446 MovieClip "k9" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydash;
play();
}
Instance of Symbol 446 MovieClip "k2" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydown;
play();
}
Instance of Symbol 446 MovieClip "k1" in Symbol 764 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keygoin;
play();
}
Instance of Symbol 664 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
destination = "stagec";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 763 MovieClip in Symbol 764 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100);
}
Symbol 764 MovieClip Frame 2
stop();
Symbol 781 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 701 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 446 MovieClip "k5" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyattack;
play();
}
Instance of Symbol 446 MovieClip "k8" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyup;
play();
}
Instance of Symbol 446 MovieClip "k3" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyleft;
play();
}
Instance of Symbol 446 MovieClip "k4" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyright;
play();
}
Instance of Symbol 446 MovieClip "k9" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydash;
play();
}
Instance of Symbol 446 MovieClip "k2" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydown;
play();
}
Instance of Symbol 446 MovieClip "k1" in Symbol 781 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keygoin;
play();
}
Instance of Symbol 664 MovieClip in Symbol 781 MovieClip Frame 1
onClipEvent (load) {
destination = "staged";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 781 MovieClip Frame 2
stop();
Symbol 791 MovieClip Frame 8
_parent.hit = 0;
stop();
Symbol 798 MovieClip Frame 11
_parent.unloadMovie();
stop();
Symbol 799 MovieClip Frame 1
timer = 0;
fiendlifebar = 2;
hit = 0;
lr = 0;
attackrange = 200;
movingspeed = 7;
movinginterval = 30;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
}
}
}
};
Symbol 799 MovieClip Frame 2
stop();
Symbol 799 MovieClip Frame 3
stop();
Symbol 799 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 799 MovieClip Frame 9
stop();
Symbol 799 MovieClip Frame 10
stop();
Symbol 805 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 446 MovieClip "k5" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyattack;
play();
}
Instance of Symbol 446 MovieClip "k8" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyup;
play();
}
Instance of Symbol 446 MovieClip "k3" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyleft;
play();
}
Instance of Symbol 446 MovieClip "k4" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keyright;
play();
}
Instance of Symbol 446 MovieClip "k9" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydash;
play();
}
Instance of Symbol 446 MovieClip "k2" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keydown;
play();
}
Instance of Symbol 446 MovieClip "k1" in Symbol 805 MovieClip Frame 1
onClipEvent (enterFrame) {
key = _root.keygoin;
play();
}
Instance of Symbol 664 MovieClip in Symbol 805 MovieClip Frame 1
onClipEvent (load) {
destination = "lclear";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 805 MovieClip Frame 2
stop();
Symbol 826 MovieClip Frame 8
_parent.hit = 0;
stop();
Symbol 827 MovieClip Frame 11
_parent.unloadMovie();
stop();
Symbol 828 MovieClip Frame 1
timer = 0;
fiendlifebar = 4;
hit = 0;
lr = 0;
attackrange = 200;
movingspeed = 3;
movinginterval = 30;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this._x = this._x + xadder;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (2 * _parent.sprite.multiplier);
}
}
}
};
Symbol 828 MovieClip Frame 2
stop();
Symbol 828 MovieClip Frame 3
stop();
Symbol 828 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 828 MovieClip Frame 9
stop();
Symbol 828 MovieClip Frame 10
stop();
Symbol 830 MovieClip Frame 1
_visible = false;
Symbol 831 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 664 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
destination = "stagef";
dx = -273;
dy = 51;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
mess = "Looks like there is nothing here... but wait...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 831 MovieClip Frame 1
onClipEvent (load) {
mess = "I feel a presence ahead...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 831 MovieClip Frame 2
stop();
Symbol 835 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 701 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 830 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
mess = "Black shadow blobs... Are these the fiends causing trouble?";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
mess = "Maybe there's more in the building...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 664 MovieClip in Symbol 835 MovieClip Frame 1
onClipEvent (load) {
destination = "stageg";
dx = -278;
dy = -68;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Symbol 835 MovieClip Frame 2
stop();
Symbol 852 MovieClip Frame 9
_parent.hit = 0;
_parent.gotoAndStop(_parent.lr + "fiend");
stop();
Symbol 853 MovieClip Frame 31
_parent.unloadMovie();
stop();
Symbol 854 MovieClip Frame 1
timer = 0;
fiendlifebar = 8;
hit = 0;
lr = "r";
attackrange = 160;
movingspeed = 9;
movinginterval = 35;
scoreadder = fiendlifebar * 10;
leftrange = _x - (movingrange / 2);
rightrange = _x + (movingrange / 2);
this.gotoAndStop(lr + "fiend");
this.onEnterFrame = function () {
if (!_root.pauser) {
while (_x > rightrange) {
_x = (_x-1);
}
while (_x < leftrange) {
_x = (_x+1);
}
if (lr == "l") {
multiplier = -1;
} else {
multiplier = 1;
}
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
this.gotoAndStop(lr + "fiendchase");
} else if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 2;
_parent.sprite.hit = 2;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (5 * _parent.sprite.multiplier);
}
}
}
};
Symbol 854 MovieClip Frame 2
stop();
Symbol 854 MovieClip Frame 3
stop();
Symbol 854 MovieClip Frame 4
stop();
Symbol 854 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 854 MovieClip Frame 9
stop();
Symbol 854 MovieClip Frame 10
stop();
Symbol 854 MovieClip Frame 11
stop();
Symbol 872 MovieClip Frame 1
hitter = 0;
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
this.onEnterFrame = function () {
if (!_root.pauser) {
if (this.det.hitTest(_root.themap.sprite.gethit) && (hitter == 0)) {
_root.themap.sprite.lifebar = _root.themap.sprite.lifebar + 10;
if (_root.themap.sprite.lifebar > _root.themap.sprite.flifebar) {
_root.themap.sprite.lifebar = _root.themap.sprite.flifebar;
}
this.gotoAndPlay("eaten");
}
}
};
Symbol 872 MovieClip Frame 2
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 872 MovieClip Frame 9
gotoAndPlay (2);
Symbol 872 MovieClip Frame 10
hitter = 1;
Symbol 872 MovieClip Frame 45
this.unloadMovie();
stop();
Symbol 873 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 854 MovieClip "fiend4" in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 854 MovieClip "fiend5" in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 701 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 830 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
mess = "Nothing in the building, but on the roof... OH MY GOD!!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
mess = "Comrade: Try the old warehouse ahead. Strong PKE signal from there.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
mess = "Roger.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 664 MovieClip in Symbol 873 MovieClip Frame 1
onClipEvent (load) {
destination = "stageh";
dx = 630;
dy = 55;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 873 MovieClip Frame 2
stop();
Symbol 881 MovieClip Frame 1
hitter = 0;
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
this.onEnterFrame = function () {
if (!_root.pauser) {
if (this.det.hitTest(_root.themap.sprite.gethit) && (hitter == 0)) {
_root.a_xspeed++;
this.gotoAndPlay("eaten");
}
}
};
Symbol 881 MovieClip Frame 2
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 881 MovieClip Frame 9
gotoAndPlay (2);
Symbol 881 MovieClip Frame 10
hitter = 1;
Symbol 881 MovieClip Frame 45
this.unloadMovie();
stop();
Symbol 882 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 854 MovieClip "fiend2" in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 854 MovieClip "fiend1" in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 854 MovieClip "fiend3" in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 701 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 830 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
mess = "I need to enter the warehouse...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 664 MovieClip in Symbol 882 MovieClip Frame 1
onClipEvent (load) {
destination = "stagei";
dx = -242;
dy = 40;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Symbol 882 MovieClip Frame 2
stop();
Symbol 895 MovieClip Frame 1
stop();
Symbol 896 MovieClip Frame 14
_parent.hit = 0;
_parent.hittwister = 1;
_parent.gotoAndStop(_parent.lr + "fiend");
stop();
Symbol 897 MovieClip Frame 190
_root.bosses--;
_parent.unloadMovie();
stop();
Symbol 898 MovieClip Frame 1
timer = 0;
fiendlifebar = 25;
hit = 0;
hittwister = 1;
lr = 0;
attackrange = 350;
movingspeed = 9;
movinginterval = 35;
scoreadder = fiendlifebar * 10;
leftrange = _x - (movingrange / 2);
rightrange = _x + (movingrange / 2);
this.gotoAndStop(lr + "fiend");
yvar = [_y, _y - 150];
yud = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (lr == "l") {
multiplier = -1;
} else {
multiplier = 1;
}
if (!hit) {
timer++;
if (timer == 1000) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
this.gotoAndStop(lr + "fiendchase");
if (((timer % 66) == 0) && (_y < yvar[yud])) {
shoota.play();
_root.themap.attachMovie("haunt_fire", "hauntfire" + _root.fiendshots, _root.fiendshots);
_root.themap["hauntfire" + _root.fiendshots]._x = _x;
_root.themap["hauntfire" + _root.fiendshots]._y = _y;
_root.themap["hauntfire" + _root.fiendshots].multiplier = multiplier;
_root.fiendshots++;
if (_root.fiendshots > 40) {
_root.fiendshots = 21;
}
}
} else if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
if ((timer % 100) == 0) {
yud = 1 - yud;
}
if (_y > yvar[yud]) {
_y = (_y-1);
} else if (_y < yvar[yud]) {
_y = (_y+1);
}
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 2;
_parent.sprite.hit = 2;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (hittwister) {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
hittwister = 0;
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (5 * _parent.sprite.multiplier);
}
}
}
};
Symbol 898 MovieClip Frame 2
stop();
Symbol 898 MovieClip Frame 3
stop();
Symbol 898 MovieClip Frame 4
stop();
Symbol 898 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 898 MovieClip Frame 9
stop();
Symbol 898 MovieClip Frame 10
stop();
Symbol 898 MovieClip Frame 11
stop();
Symbol 899 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 898 MovieClip "fiend1" in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 830 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
mess = "Damn... it's a huge shadow ghost!!!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 664 MovieClip in Symbol 899 MovieClip Frame 1
onClipEvent (load) {
destination = "lclear";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit) && (_root.bosses == 0)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 899 MovieClip Frame 2
stop();
Symbol 906 MovieClip Frame 1
timer = 0;
fiendlifebar = 3;
hit = 0;
lr = 0;
attackrange = 30;
movingspeed = 3;
movinginterval = 110;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
if (this._y < (_root.themap.sprite._y - 40)) {
this._y = this._y + Math.abs(xadder);
}
if (this._y > (_root.themap.sprite._y - 40)) {
this._y = this._y - Math.abs(xadder);
}
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this._x = this._x + xadder;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (3 * _parent.sprite.multiplier);
}
}
}
};
Symbol 906 MovieClip Frame 2
stop();
Symbol 906 MovieClip Frame 3
stop();
Symbol 906 MovieClip Frame 6
stop();
Symbol 906 MovieClip Frame 9
stop();
Symbol 906 MovieClip Frame 10
stop();
Symbol 913 MovieClip Frame 8
_parent.hit = 0;
stop();
Symbol 914 MovieClip Frame 11
_parent.unloadMovie();
stop();
Symbol 915 MovieClip Frame 1
timer = 0;
fiendlifebar = 8;
hit = 0;
lr = 0;
attackrange = 200;
movingspeed = 3;
movinginterval = 30;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this._x = this._x + xadder;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (2 * _parent.sprite.multiplier);
}
}
}
};
Symbol 915 MovieClip Frame 2
stop();
Symbol 915 MovieClip Frame 3
stop();
Symbol 915 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 915 MovieClip Frame 9
stop();
Symbol 915 MovieClip Frame 10
stop();
Symbol 926 MovieClip Frame 9
_parent.hit = 0;
_parent.gotoAndStop(_parent.lr + "fienda");
stop();
Symbol 930 MovieClip Frame 10
if (random(150) == 0) {
play();
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 930 MovieClip Frame 18
_parent.gotoAndStop(_parent.lr + "fienda");
stop();
Symbol 931 MovieClip Frame 1
timer = 0;
fiendlifebar = 4;
hit = 0;
lr = 0;
attackrange = 120;
movingspeed = 6;
movinginterval = 35;
scoreadder = fiendlifebar * 20;
visibility = "a";
leftrange = _x - (movingrange / 2);
rightrange = _x + (movingrange / 2);
this.onEnterFrame = function () {
if (!_root.pauser) {
while (_x > rightrange) {
_x = (_x-1);
}
while (_x < leftrange) {
_x = (_x+1);
}
if (lr == "l") {
multiplier = -1;
} else {
multiplier = 1;
}
if (!hit) {
this.gotoAndStop((lr + "fiend") + visibility);
if (timer == 99) {
if (random(2) && (visibility == "a")) {
visibility = "disap";
}
}
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this._x = this._x + xadder;
}
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (5 * _parent.sprite.multiplier);
}
}
}
};
Symbol 931 MovieClip Frame 2
visiblity = "a";
stop();
Symbol 931 MovieClip Frame 3
stop();
Symbol 931 MovieClip Frame 4
stop();
Symbol 931 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 931 MovieClip Frame 9
visiblity = "a";
stop();
Symbol 931 MovieClip Frame 10
stop();
Symbol 931 MovieClip Frame 11
stop();
Symbol 935 MovieClip Frame 1
hitter = 0;
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
this.onEnterFrame = function () {
if (!_root.pauser) {
if (this.det.hitTest(_root.themap.sprite.gethit) && (hitter == 0)) {
_root.a_lifebar++;
_root.a_flifebar++;
this.gotoAndPlay("eaten");
}
}
};
Symbol 935 MovieClip Frame 2
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 935 MovieClip Frame 9
gotoAndPlay (2);
Symbol 935 MovieClip Frame 10
hitter = 1;
Symbol 935 MovieClip Frame 45
this.unloadMovie();
stop();
Symbol 936 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 931 MovieClip "fiend7" in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
movingrange = 300;
}
onClipEvent (unload) {
_parent.gotoAndStop(3);
}
Instance of Symbol 830 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
mess = "Deep, stinky and dry well... but wait, I think there is a passage.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
mess = "Ooo... this is one hell of a well.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
mess = "Comrade: You cannot attack the small shadow orbs!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
mess = "Then I just need to jump or duck past the small ones.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
mess = "Damn, these blobs can get pretty big.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 936 MovieClip Frame 1
onClipEvent (load) {
mess = "Damn... cloaking ghost... I need to wait for it to appear...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 936 MovieClip Frame 2
stop();
Symbol 936 MovieClip Frame 3
stop();
Instance of Symbol 664 MovieClip in Symbol 936 MovieClip Frame 3
onClipEvent (load) {
destination = "stagek";
dx = -206;
dy = -640;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 949 MovieClip Frame 8
_parent.hit = 0;
_parent.hittwister = 1;
stop();
Symbol 953 MovieClip Frame 33
_parent.unloadMovie();
stop();
Symbol 954 MovieClip Frame 1
timer = 0;
fiendlifebar = 12;
hittwister = 1;
hit = 0;
lr = 0;
attackrange = 180;
movingspeed = 5;
movinginterval = 25;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
if (this._y < (_root.themap.sprite._y - 40)) {
this._y = this._y + Math.abs(xadder);
}
if (this._y > (_root.themap.sprite._y - 40)) {
this._y = this._y - Math.abs(xadder);
}
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this._x = this._x + xadder;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 2;
_parent.sprite.hit = 2;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (hittwister) {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
hittwister = 0;
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (5 * _parent.sprite.multiplier);
}
}
}
};
Symbol 954 MovieClip Frame 2
stop();
Symbol 954 MovieClip Frame 3
stop();
Symbol 954 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 954 MovieClip Frame 9
stop();
Symbol 954 MovieClip Frame 10
stop();
Symbol 955 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 931 MovieClip "fiend3" in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
movingrange = 400;
}
Instance of Symbol 931 MovieClip "fiend2" in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
movingrange = 400;
}
Instance of Symbol 931 MovieClip "fiend6" in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
movingrange = 400;
}
Instance of Symbol 931 MovieClip "fiend5" in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
movingrange = 400;
}
Instance of Symbol 954 MovieClip "fiend7" in Symbol 955 MovieClip Frame 1
onClipEvent (unload) {
_parent.gotoAndStop(3);
}
Instance of Symbol 701 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 830 MovieClip in Symbol 955 MovieClip Frame 1
onClipEvent (load) {
mess = "Wow... how deep IS this well...?";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 955 MovieClip Frame 2
stop();
Symbol 955 MovieClip Frame 3
stop();
Instance of Symbol 664 MovieClip in Symbol 955 MovieClip Frame 3
onClipEvent (load) {
destination = "stagel";
dx = -163;
dy = 131;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 962 MovieClip Frame 8
_parent.hit = 0;
_parent.hittwister = 1;
stop();
Symbol 965 MovieClip Frame 83
_root.bosses--;
stop();
Symbol 966 MovieClip Frame 1
timer = 0;
fiendlifebar = 15;
hittwister = 1;
hit = 0;
lr = 0;
attackrange = 220;
movingspeed = 5;
movinginterval = 25;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 1000) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if ((timer % 66) == 0) {
shoota.play();
_root.themap.attachMovie("eye_fire", "hauntfire" + _root.fiendshots, _root.fiendshots);
_root.themap["hauntfire" + _root.fiendshots]._x = _x;
_root.themap["hauntfire" + _root.fiendshots]._y = _y;
_root.themap["hauntfire" + _root.fiendshots].multiplier = multiplier;
_root.fiendshots++;
if (_root.fiendshots > 40) {
_root.fiendshots = 21;
}
}
}
this.gotoAndStop(lr + "fiend");
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (hittwister) {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
hittwister = 0;
}
this.gotoAndStop(lr + "fiendhit");
}
}
}
};
Symbol 966 MovieClip Frame 2
stop();
Symbol 966 MovieClip Frame 3
stop();
Symbol 966 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 966 MovieClip Frame 9
stop();
Symbol 966 MovieClip Frame 10
stop();
Symbol 978 MovieClip Frame 8
_parent.hit = 0;
_parent.hittwister = 1;
stop();
Symbol 979 MovieClip Frame 1
timer = 0;
fiendlifebar = 15;
hittwister = 1;
hit = 0;
lr = 0;
attackrange = 180;
movingspeed = 5;
movinginterval = 25;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
this.gotoAndStop(lr + "fiend");
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (hittwister) {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
hittwister = 0;
}
this.gotoAndStop(lr + "fiendhit");
}
}
}
};
Symbol 979 MovieClip Frame 2
stop();
Symbol 979 MovieClip Frame 3
stop();
Symbol 979 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 979 MovieClip Frame 9
stop();
Symbol 979 MovieClip Frame 10
stop();
Symbol 984 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 981 MovieClip "eyeball1" in Symbol 984 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (Math.round((Math.atan2(_parent.sprite._y - this._y, _parent.sprite._x - this._x) * 180) / Math.PI) + 90);
}
Instance of Symbol 981 MovieClip "eyeball2" in Symbol 984 MovieClip Frame 1
onClipEvent (enterFrame) {
_rotation = (Math.round((Math.atan2(_parent.sprite._y - this._y, _parent.sprite._x - this._x) * 180) / Math.PI) + 90);
}
Instance of Symbol 701 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 830 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
mess = "OK, I found the kid... but...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 664 MovieClip in Symbol 984 MovieClip Frame 1
onClipEvent (load) {
destination = "lclear";
dx = -218;
dy = 45;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit) && (_root.bosses == 0)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 984 MovieClip Frame 2
stop();
Symbol 990 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 854 MovieClip "fiend7" in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
movingrange = 800;
}
Instance of Symbol 854 MovieClip "fiend8" in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 664 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
destination = "stagen";
dx = -250;
dy = 11;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
mess = "Comrade: The shadow hideout is right ahead!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 990 MovieClip Frame 1
onClipEvent (load) {
mess = "Looks like it's heavily guarded.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 990 MovieClip Frame 2
stop();
Symbol 1001 MovieClip Frame 1
hitter = 0;
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
this.onEnterFrame = function () {
if (!_root.pauser) {
if (this.det.hitTest(_root.themap.sprite.gethit) && (hitter == 0)) {
_root.a_strength++;
this.gotoAndPlay("eaten");
}
}
};
Symbol 1001 MovieClip Frame 2
if (hitter == 1) {
this.gotoAndPlay("eaten");
}
Symbol 1001 MovieClip Frame 9
gotoAndPlay (2);
Symbol 1001 MovieClip Frame 10
hitter = 1;
Symbol 1001 MovieClip Frame 45
this.unloadMovie();
stop();
Symbol 1004 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 954 MovieClip "fiend1" in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
((_root.room1fiend == 0) ? (this.unloadMovie()) : null);
}
onClipEvent (unload) {
_root.room1fiend = 0;
}
Instance of Symbol 854 MovieClip "fiend3" in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
movingrange = 300;
}
Instance of Symbol 931 MovieClip "fiend2" in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
movingrange = 300;
}
Instance of Symbol 701 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 701 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
destination = "stages";
dx = -203;
dy = 31;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
mess = "Weird place... ";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
mess = "Where is the shadow boss?";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 1003 MovieClip in Symbol 1004 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100);
}
Symbol 1004 MovieClip Frame 2
stop();
Symbol 1008 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 664 MovieClip in Symbol 1008 MovieClip Frame 1
onClipEvent (load) {
destination = "stagen";
dx = 535;
dy = -234;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Symbol 1008 MovieClip Frame 2
stop();
Symbol 1009 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 915 MovieClip "fiend4" in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
((_root.room2fiend == 0) ? (this.unloadMovie()) : null);
}
onClipEvent (unload) {
_root.room2fiend = 0;
}
Instance of Symbol 664 MovieClip in Symbol 1009 MovieClip Frame 1
onClipEvent (load) {
destination = "stagen";
dx = 558;
dy = -515;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Symbol 1009 MovieClip Frame 2
stop();
Symbol 1010 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 664 MovieClip in Symbol 1010 MovieClip Frame 1
onClipEvent (load) {
destination = "stagen";
dx = -136;
dy = -234;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Symbol 1010 MovieClip Frame 2
stop();
Symbol 1011 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 664 MovieClip in Symbol 1011 MovieClip Frame 1
onClipEvent (load) {
destination = "stagen";
dx = -108;
dy = -515;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Symbol 1011 MovieClip Frame 2
stop();
Symbol 1012 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 854 MovieClip "fiend1" in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
movingrange = 800;
}
Instance of Symbol 701 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 701 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
destination = "lclear";
dx = -250;
dy = 11;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
mess = "This is supposed to be the hideout of the shadows...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 1012 MovieClip Frame 1
onClipEvent (load) {
mess = "But nothing much is here...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 1012 MovieClip Frame 2
stop();
Symbol 1016 MovieClip Frame 1
Symbol 1019 MovieClip Frame 8
_parent.hit = 0;
_parent.hittwister = 1;
stop();
Symbol 1020 MovieClip Frame 17
_parent.unloadMovie();
stop();
Symbol 1021 MovieClip Frame 1
timer = 0;
fiendlifebar = 5;
hittwister = 1;
hit = 0;
lr = 0;
attackrange = 240;
movingspeed = 8;
movinginterval = 25;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
if (this._y < (_root.themap.sprite._y - 40)) {
this._y = this._y + Math.abs(xadder);
}
if (this._y > (_root.themap.sprite._y - 40)) {
this._y = this._y - Math.abs(xadder);
}
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this._x = this._x + xadder;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 2;
_parent.sprite.hit = 2;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (hittwister) {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
hittwister = 0;
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (8 * _parent.sprite.multiplier);
}
}
}
};
Symbol 1021 MovieClip Frame 2
stop();
Symbol 1021 MovieClip Frame 3
stop();
Symbol 1021 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 1021 MovieClip Frame 9
stop();
Symbol 1021 MovieClip Frame 10
stop();
Symbol 1022 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 701 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
destination = "stageu";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1022 MovieClip Frame 1
onClipEvent (load) {
mess = "This is bad!! I'm gonna need lots of guts!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 1022 MovieClip Frame 2
stop();
Symbol 1025 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 898 MovieClip "fiend3" in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
movingrange = 600;
}
Instance of Symbol 701 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
destination = "stagev";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 763 MovieClip in Symbol 1025 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100);
}
Symbol 1025 MovieClip Frame 2
stop();
Symbol 1026 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 854 MovieClip "fiend1" in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
movingrange = 280;
}
Instance of Symbol 854 MovieClip "fiend2" in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
movingrange = 280;
}
Instance of Symbol 701 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1026 MovieClip Frame 1
onClipEvent (load) {
destination = "stagew";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Symbol 1026 MovieClip Frame 2
stop();
Symbol 1027 MovieClip Frame 1
timer = 0;
fiendlifebar = 20;
hit = 0;
lr = 0;
attackrange = 200;
movingspeed = 7;
movinginterval = 30;
scoreadder = fiendlifebar * 10;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
this.gotoAndStop(lr + "fiend");
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 1;
_parent.sprite.hit = 1;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
}
}
}
};
Symbol 1027 MovieClip Frame 2
stop();
Symbol 1027 MovieClip Frame 3
stop();
Symbol 1027 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 1027 MovieClip Frame 9
stop();
Symbol 1027 MovieClip Frame 10
stop();
Symbol 1028 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 664 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
destination = "lclear";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
mess = "???!!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 1028 MovieClip Frame 1
onClipEvent (load) {
mess = "Our training dummy got INFECTED?!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 1028 MovieClip Frame 2
stop();
Symbol 1050 MovieClip Frame 9
_parent.hit = 0;
_parent.gotoAndStop(_parent.lr + "fiend");
stop();
Symbol 1051 MovieClip Frame 13
_parent.gotoAndStop(_parent.lr + "fiend");
stop();
Symbol 1052 MovieClip Frame 1
timer = 0;
fiendlifebar = 7;
hit = 0;
lr = 0;
attackrange = 160;
movingspeed = 4;
movinginterval = 60;
scoreadder = fiendlifebar * 10;
leftrange = _x - (movingrange / 2);
rightrange = _x + (movingrange / 2);
this.onEnterFrame = function () {
if (!_root.pauser) {
while (_x > rightrange) {
_x = (_x-1);
}
while (_x < leftrange) {
_x = (_x+1);
}
if (lr == "l") {
multiplier = -1;
} else {
multiplier = 1;
}
if (!hit) {
timer++;
if (timer == 100) {
timer = 0;
}
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - 2;
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + 2;
}
this.gotoAndStop(lr + "fiendchase");
} else {
if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
}
this.gotoAndStop(lr + "fiend");
this._x = this._x + xadder;
}
if (this.monsterhit.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 2;
_parent.sprite.hit = 2;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (5 * _parent.sprite.multiplier);
}
}
}
};
Symbol 1052 MovieClip Frame 2
stop();
Symbol 1052 MovieClip Frame 3
stop();
Symbol 1052 MovieClip Frame 4
stop();
Symbol 1052 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 1052 MovieClip Frame 9
stop();
Symbol 1052 MovieClip Frame 10
stop();
Symbol 1052 MovieClip Frame 11
stop();
Symbol 1053 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 1052 MovieClip "fiend4" in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
movingrange = 280;
}
Instance of Symbol 1052 MovieClip "fiend6" in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
movingrange = 280;
}
Instance of Symbol 664 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
destination = "stagey";
dx = -263;
dy = 26;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
mess = "Ooo... creepy.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
mess = "Is there something up on the trees?.";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 701 MovieClip in Symbol 1053 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 1053 MovieClip Frame 2
stop();
Symbol 1056 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 1052 MovieClip "fiend5" in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
movingrange = 150;
}
Instance of Symbol 1052 MovieClip "fiend6" in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
movingrange = 100;
}
Instance of Symbol 1052 MovieClip "fiend8" in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
movingrange = 200;
}
Instance of Symbol 701 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 701 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
destination = "stagez";
dx = -193;
dy = 12;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
mess = "There is no way across... Maybe I need to climb this tree...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 830 MovieClip in Symbol 1056 MovieClip Frame 1
onClipEvent (load) {
mess = "Terrible place...";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 1056 MovieClip Frame 2
stop();
Symbol 1059 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 1052 MovieClip "fiend6" in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
movingrange = 220;
}
Instance of Symbol 1052 MovieClip "fiend5" in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
movingrange = 240;
}
Instance of Symbol 1052 MovieClip "fiend8" in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
movingrange = 240;
}
Instance of Symbol 701 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 701 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 701 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Instance of Symbol 664 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
destination = "stagejungleboss";
dx = -233;
dy = 60;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1059 MovieClip Frame 1
onClipEvent (load) {
mess = "Weird place... more and more shadows!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 1059 MovieClip Frame 2
stop();
Symbol 1069 MovieClip Frame 14
_parent.hit = 0;
_parent.hittwister = 1;
_parent.yud = ((random(3) - 1) * random(15)) + 5;
_parent.gotoAndStop("jump");
stop();
Symbol 1072 MovieClip Frame 2
stopAllSounds();
Symbol 1072 MovieClip Frame 190
_root.bosses--;
_parent.unloadMovie();
stop();
Symbol 1074 MovieClip Frame 29
_parent.hit = 0;
_parent.yud = 0;
_parent.hittwister = 1;
_parent.gotoAndStop(_parent.lr + "fiend");
stop();
Symbol 1075 MovieClip Frame 1
timer = 0;
fiendlifebar = 42;
hit = 0;
hittwister = 1;
lr = 0;
attackrange = 320;
movingspeed = 9;
movinginterval = 35;
scoreadder = fiendlifebar * 10;
leftrange = _x - (movingrange / 2);
rightrange = _x + (movingrange / 2);
this.gotoAndStop(lr + "fiend");
yvar = [_y, _y - 150];
yud = 0;
this.onEnterFrame = function () {
if (!_root.pauser) {
if (lr == "l") {
multiplier = -1;
} else {
multiplier = 1;
}
if (!hit) {
timer++;
if (timer == 1000) {
timer = 0;
}
if (yud == 0) {
if (Math.sqrt(((this._x - _root.themap.sprite._x) * (this._x - _root.themap.sprite._x)) + ((this._y - _root.themap.sprite._y) * (this._y - _root.themap.sprite._y))) <= attackrange) {
if (this._x > _root.themap.sprite._x) {
lr = "l";
this._x = this._x - Math.abs(xadder);
}
if (this._x < _root.themap.sprite._x) {
lr = "r";
this._x = this._x + Math.abs(xadder);
}
this.gotoAndStop(lr + "fiendchase");
if (((timer % 66) == 0) && (yud == 0)) {
shoota.play();
_root.themap.attachMovie("spider_fire", "hauntfire" + _root.fiendshots, _root.fiendshots);
_root.themap["hauntfire" + _root.fiendshots]._x = _x;
_root.themap["hauntfire" + _root.fiendshots]._y = _y;
_root.themap["hauntfire" + _root.fiendshots].multiplier = multiplier;
_root.fiendshots++;
if (_root.fiendshots > 40) {
_root.fiendshots = 21;
}
}
} else if ((timer % movinginterval) == 0) {
xadder = random(movingspeed) - int(movingspeed / 2);
if (xadder < 0) {
lr = "l";
} else if (xadder > 0) {
lr = "r";
}
this.gotoAndStop(lr + "fiend");
}
}
if (((timer % 100) == 0) && (random(3) == 0)) {
this.gotoAndStop("jump");
yud = ((random(3) - 1) * random(15)) + 5;
}
_x = (_x + yud);
if (this.monsterhit2.hitTest(_parent.sprite.gethit) && (_parent.sprite.touchable >= 1)) {
_parent.sprite.lifebar = _parent.sprite.lifebar - 2;
_parent.sprite.hit = 2;
}
} else if (hit) {
if (fiendlifebar <= 0) {
this.gotoAndStop("fienddie");
} else {
if (hittwister) {
if (_parent.sprite.lr == "r") {
lr = "l";
} else {
lr = "r";
}
hittwister = 0;
}
this.gotoAndStop(lr + "fiendhit");
this._x = this._x + (5 * _parent.sprite.multiplier);
}
}
}
};
Symbol 1075 MovieClip Frame 2
stop();
Symbol 1075 MovieClip Frame 3
stop();
Symbol 1075 MovieClip Frame 4
stop();
Symbol 1075 MovieClip Frame 6
_root.score = _root.score + scoreadder;
stop();
Symbol 1075 MovieClip Frame 7
stop();
Symbol 1075 MovieClip Frame 9
stop();
Symbol 1075 MovieClip Frame 10
stop();
Symbol 1075 MovieClip Frame 11
stop();
Symbol 1076 MovieClip Frame 1
this.attachMovie(_root.attachername, "sprite", -1);
sprite._x = _root.dx;
sprite._y = _root.dy;
sprite.lifebar = _root.templifebar;
sprite.flifebar = _root.tempflifebar;
this.onEnterFrame = function () {
if (!_root.pauser) {
_x = ((-sprite._x) + (Stage.width / 2));
_y = ((-sprite._y) + (Stage.height / 2));
bg2._x = (sprite._x / 10) + 200;
bg2._y = (sprite._y / 10) + 25;
}
};
stop();
Instance of Symbol 660 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (enterFrame) {
i = 1;
while (i <= 20) {
if (_parent["thefloor" + i].hitTest(_parent.sprite.detdown2)) {
_parent.sprite.landed = 1;
break;
}
_parent.sprite.landed = 0;
i++;
}
}
Instance of Symbol 664 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
destination = "stageb";
dx = -350;
dy = -481;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit)) {
if (_parent.sprite.key_goin) {
_root.dx = dx;
_root.dy = dy;
_parent.sprite.destination = destination;
_parent.sprite.gotoAndStop(_parent.sprite.lr + "goin");
}
}
}
}
Instance of Symbol 665 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2000);
}
Instance of Symbol 665 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2002);
}
Instance of Symbol 665 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2001);
}
Instance of Symbol 665 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2003);
}
Instance of Symbol 830 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
mess = "Momma!!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Instance of Symbol 664 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
destination = "lclear";
dx = -218;
dy = 45;
}
onClipEvent (enterFrame) {
if (!_root.pauser) {
if (this.hitTest(_parent.sprite.gethit) && (_root.bosses == 0)) {
_root.dx = dx;
_root.dy = dy;
_root.templifebar = _parent.sprite.lifebar;
_parent.sprite.destination = destination;
_root.gotoAndStop(_parent.sprite.destination);
}
}
}
Instance of Symbol 830 MovieClip in Symbol 1076 MovieClip Frame 1
onClipEvent (load) {
mess = "Comrade: TARGET ITS HEAD!!";
}
onClipEvent (enterFrame) {
if (this.hitTest(_parent.sprite.gethit)) {
_parent.sprite.sez = mess;
_parent.sprite.seztimer = 150;
this.unloadMovie();
}
}
Symbol 1076 MovieClip Frame 2
stop();
Symbol 1086 Button
on (press) {
_root.gotoAndPlay("m" + currentstage);
}
Symbol 1098 Button
on (release) {
if (_root.playername == "") {
_root.nblinker.play();
} else {
getURL ((((((("http://tamugaia.com/highscores/insert_huntloween.php?player=" + _root.playername) + "&score=456") + (random(6520) * 95656)) + "Dgj&randomiza=") + (_root.playersname * 29)) + "&thescore=") + _root.totalsuko, "_blank");
_root.play();
}
}
Symbol 1099 Button
on (press) {
a_lifebar = temp_lifebar;
a_flifebar = temp_flifebar;
a_strength = tempstrength;
a_xspeed = tempxspeed;
totalsuko = tempsuko;
_root.gotoAndPlay("m" + currentstage);
}