Frame 1
stopAllSounds();
_root.bytesLoaded = _root.getBytesLoaded();
_root.bytesTotal = _root.getBytesTotal();
_root.percentLoaded = Math.round(100 * (_root.bytesLoaded / _root.bytesTotal));
_root.percentLoadedText = _root.percentLoaded + "%";
_root.bar.gotoAndStop(percentLoaded);
Frame 2
if (_root.percentLoaded == 100) {
gotoAndPlay (3);
} else {
gotoAndPlay (1);
}
Frame 3
stop();
Frame 7
stop();
Instance of Symbol 389 MovieClip "fc" in Frame 7
onClipEvent (load) {
ave = 0;
_root.timer = new Date();
lastmilliseconds = 0;
updatecounter = 0;
}
onClipEvent (load) {
this.swapDepths(15000);
}
onClipEvent (enterFrame) {
_root.timer = new Date();
milliseconds = _root.timer.getMilliseconds();
if (milliseconds < lastmilliseconds) {
mpast = (milliseconds + 1000) - lastmilliseconds;
} else {
mpast = milliseconds - lastmilliseconds;
}
ave = ((ave * 19) + int(1000 / mpast)) / 20;
updatecounter = updatecounter + mpast;
i = 0;
while (i < 2) {
if (updatecounter > 30) {
updatecounter = updatecounter - 30;
_root.introin.intro.nextFrame();
_root.introin.nextFrame();
}
i++;
}
if (updatecounter > 30) {
updatecounter = 0;
}
fpscount.text = int(ave);
lastmilliseconds = milliseconds;
}
Frame 8
fc.removeMovieClip();
bg = new gamesound("forestday", 100);
Instance of Symbol 433 MovieClip in Frame 8
onClipEvent (load) {
this.swapDepths(5000);
}
Frame 9
stop();
Instance of Symbol 329 MovieClip in Frame 10
onClipEvent (load) {
stop();
}
Instance of Symbol 454 MovieClip "fader" in Frame 12
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 13
stopsounds = true;
Instance of Symbol 389 MovieClip "fc" in Frame 13
onClipEvent (load) {
ave = 0;
_root.timer = new Date();
lastmilliseconds = 0;
updatecounter = 0;
}
onClipEvent (load) {
this.swapDepths(15000);
}
onClipEvent (enterFrame) {
_root.bg.loopsound();
_root.timer = new Date();
milliseconds = _root.timer.getMilliseconds();
if (milliseconds < lastmilliseconds) {
mpast = (milliseconds + 1000) - lastmilliseconds;
} else {
mpast = milliseconds - lastmilliseconds;
}
ave = ((ave * 19) + int(1000 / mpast)) / 20;
updatecounter = updatecounter + mpast;
i = 0;
while (i < 2) {
if (updatecounter > 30) {
updatecounter = updatecounter - 30;
_root.currentstage.update();
}
i++;
}
if (updatecounter > 30) {
updatecounter = 0;
}
fpscount.text = int(ave);
lastmilliseconds = milliseconds;
}
Instance of Symbol 460 MovieClip "hp" in Frame 13
onClipEvent (load) {
this.swapDepths(10000);
}
Instance of Symbol 433 MovieClip "fader" in Frame 13
onClipEvent (load) {
this.swapDepths(11000);
}
Instance of Symbol 471 MovieClip "deathscreen" in Frame 13
onClipEvent (load) {
this.swapDepths(12000);
}
Frame 14
currentstage.cleanup();
delete currentstage;
currentstage = new GameStage(_root, 0, 0, 1, 1);
currentstage.player.addscriptedmove("right", 30);
stopsounds = false;
bg = new gamesound("forestday", 100);
stop();
Frame 15
currentstage.player.addscriptedmove("right", 100);
stop();
Instance of Symbol 454 MovieClip "fader" in Frame 15
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 16
stopsounds = true;
Instance of Symbol 433 MovieClip "fader" in Frame 16
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 17
currentstage.cleanup();
delete currentstage;
currentstage = new GameStage(_root, 0, 0, 1, 2);
currentstage.player.addscriptedmove("right", 30);
stopsounds = false;
bg = new gamesound("forestday", 100);
stop();
Frame 18
currentstage.player.addscriptedmove("right", 100);
stop();
Instance of Symbol 454 MovieClip "fader" in Frame 18
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 19
stopsounds = true;
Instance of Symbol 433 MovieClip "fader" in Frame 19
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 20
currentstage.cleanup();
delete currentstage;
currentstage = new GameStage(_root, 0, 0, 1, 3);
currentstage.player.addscriptedmove("right", 30);
stopsounds = false;
bg = new gamesound("forestnight", 100);
stop();
Frame 21
currentstage.player.addscriptedmove("right", 100);
stop();
Instance of Symbol 454 MovieClip "fader" in Frame 21
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 22
stopsounds = true;
Instance of Symbol 433 MovieClip "fader" in Frame 22
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 23
currentstage.cleanup();
delete currentstage;
currentstage = new GameStage(_root, 0, 0, 1, 4);
currentstage.player.addscriptedmove("right", 30);
stopsounds = false;
bg = new gamesound("fire", 70);
stop();
Frame 24
currentstage.player.addscriptedmove("right", 100);
stop();
Instance of Symbol 454 MovieClip "fader" in Frame 24
onClipEvent (load) {
this.swapDepths(11000);
}
Frame 28
currentstage.cleanup();
fc.removeMovieClip();
stop();
Instance of Symbol 389 MovieClip "doer" in Frame 28
onClipEvent (load) {
ave = 0;
_root.timer = new Date();
lastmilliseconds = 0;
updatecounter = 0;
}
onClipEvent (load) {
this.swapDepths(15000);
}
onClipEvent (enterFrame) {
_root.timer = new Date();
milliseconds = _root.timer.getMilliseconds();
if (milliseconds < lastmilliseconds) {
mpast = (milliseconds + 1000) - lastmilliseconds;
} else {
mpast = milliseconds - lastmilliseconds;
}
ave = ((ave * 19) + int(1000 / mpast)) / 20;
updatecounter = updatecounter + mpast;
i = 0;
while (i < 2) {
if (updatecounter > 30) {
updatecounter = updatecounter - 30;
_root.winanim.nextFrame();
}
i++;
}
if (updatecounter > 30) {
updatecounter = 0;
}
fpscount.text = int(ave);
lastmilliseconds = milliseconds;
}
Frame 29
stopsounds = true;
Frame 30
stopsounds = false;
gotoAndStop ("mainmenu");
Frame 31
deathscreen.removeMovieClip();
GameStage.TIME_STEP = 1;
_root.fc.removeMovieClip();
currentstage.cleanup();
delete currentstage;
currentstage = new GameStage(_root, 0, 0, 1, 1);
Frame 32
if (_root.lvl == 1) {
_root.gotoAndPlay("lvl1");
}
if (_root.lvl == 2) {
_root.gotoAndPlay("lvl2");
}
if (_root.lvl == 3) {
_root.gotoAndPlay("lvl3");
}
if (_root.lvl == 4) {
_root.gotoAndPlay("lvl4");
}
Symbol 38 MovieClip Frame 1
stop();
Symbol 38 MovieClip Frame 36
gotoAndStop (1);
Symbol 45 MovieClip Frame 1
stop();
Symbol 45 MovieClip Frame 31
gotoAndStop (1);
Symbol 53 MovieClip Frame 1
stop();
Symbol 53 MovieClip Frame 43
gotoAndStop (1);
Symbol 67 MovieClip Frame 29
gotoAndStop (1);
Symbol 74 MovieClip Frame 18
gotoAndStop (1);
Symbol 82 MovieClip Frame 17
gotoAndStop (1);
Instance of Symbol 67 MovieClip "fire8" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (7);
}
Instance of Symbol 74 MovieClip "fire4" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (8);
}
Instance of Symbol 82 MovieClip "fire7" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (5);
}
Instance of Symbol 67 MovieClip "fire10" in Symbol 83 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop (3);
}
Symbol 83 MovieClip Frame 2
cloth1.nextFrame();
cloth2.nextFrame();
cloth3.nextFrame();
fire1.nextFrame();
fire2.nextFrame();
fire3.nextFrame();
fire4.nextFrame();
fire5.nextFrame();
fire6.nextFrame();
fire7.nextFrame();
fire8.nextFrame();
fire9.nextFrame();
fire10.nextFrame();
gotoAndStop (1);
Instance of Symbol 83 MovieClip "anims" in Symbol 84 MovieClip [midgrounds] Frame 5
onClipEvent (load) {
stop();
}
Symbol 90 MovieClip Frame 1
stop();
Symbol 90 MovieClip Frame 401
gotoAndStop (1);
Symbol 91 MovieClip Frame 2
smoke1.nextFrame();
smoke2.nextFrame();
smoke3.nextFrame();
gotoAndStop (1);
Symbol 177 MovieClip Frame 1
_parent.animoffs = 0;
stop();
Symbol 177 MovieClip Frame 21
if (_parent.anim == "idle") {
gotoAndStop ("idle");
}
Symbol 177 MovieClip Frame 22
_parent.animoffs = 0;
Symbol 177 MovieClip Frame 24
_parent.animoffs = 1;
Symbol 177 MovieClip Frame 25
ran = random(3);
if (ran == 0) {
new gamesound("footstep1", 100);
}
if (ran == 1) {
new gamesound("footstep2", 100);
}
if (ran == 2) {
new gamesound("footstep3", 100);
}
Symbol 177 MovieClip Frame 26
_parent.animoffs = 2;
Symbol 177 MovieClip Frame 28
_parent.animoffs = 3;
Symbol 177 MovieClip Frame 30
_parent.animoffs = 4;
Symbol 177 MovieClip Frame 32
_parent.animoffs = 5;
Symbol 177 MovieClip Frame 34
_parent.animoffs = 6;
Symbol 177 MovieClip Frame 36
_parent.animoffs = 7;
Symbol 177 MovieClip Frame 37
ran = random(3);
if (ran == 0) {
new gamesound("footstep1", 100);
}
if (ran == 1) {
new gamesound("footstep2", 100);
}
if (ran == 2) {
new gamesound("footstep3", 100);
}
Symbol 177 MovieClip Frame 38
_parent.animoffs = 8;
Symbol 177 MovieClip Frame 40
_parent.animoffs = 9;
Symbol 177 MovieClip Frame 42
_parent.animoffs = 10;
Symbol 177 MovieClip Frame 44
_parent.animoffs = 11;
Symbol 177 MovieClip Frame 46
if (_parent.anim == "walk") {
gotoAndStop ("walk");
}
Symbol 177 MovieClip Frame 47
_parent.animoffs = 0;
Symbol 177 MovieClip Frame 49
_parent.animoffs = 1;
Symbol 177 MovieClip Frame 50
ran = random(3);
if (ran == 0) {
new gamesound("footstep1", 100);
}
if (ran == 1) {
new gamesound("footstep2", 100);
}
if (ran == 2) {
new gamesound("footstep3", 100);
}
Symbol 177 MovieClip Frame 51
_parent.animoffs = 2;
Symbol 177 MovieClip Frame 53
_parent.animoffs = 3;
Symbol 177 MovieClip Frame 55
_parent.animoffs = 4;
Symbol 177 MovieClip Frame 57
_parent.animoffs = 5;
Symbol 177 MovieClip Frame 59
_parent.animoffs = 6;
Symbol 177 MovieClip Frame 61
_parent.animoffs = 7;
Symbol 177 MovieClip Frame 62
ran = random(3);
if (ran == 0) {
new gamesound("footstep1", 100);
}
if (ran == 1) {
new gamesound("footstep2", 100);
}
if (ran == 2) {
new gamesound("footstep3", 100);
}
Symbol 177 MovieClip Frame 63
_parent.animoffs = 8;
Symbol 177 MovieClip Frame 65
_parent.animoffs = 9;
Symbol 177 MovieClip Frame 67
_parent.animoffs = 10;
Symbol 177 MovieClip Frame 69
_parent.animoffs = 11;
Symbol 177 MovieClip Frame 71
if (_parent.anim == "run") {
gotoAndStop ("run");
}
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 76
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "slash1");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Symbol 177 MovieClip Frame 82
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "idle";
gotoAndStop ("idle");
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 85
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "slash2");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 80, 3, 0, 10);
}
Symbol 177 MovieClip Frame 93
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "idle";
gotoAndPlay ("idle");
Symbol 177 MovieClip Frame 94
new gamesound("swish2", 100);
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 96
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "slash3");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 15);
}
Symbol 177 MovieClip Frame 108
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "idle";
gotoAndPlay ("idle");
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 113
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "backslash");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Symbol 177 MovieClip Frame 121
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "idle";
gotoAndPlay ("idle");
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 128
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 20);
}
Symbol 177 MovieClip Frame 137
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "idle";
gotoAndPlay ("idle");
Symbol 177 MovieClip Frame 153
_parent.hurting = false;
Symbol 177 MovieClip Frame 187
gotoAndPlay ("idle");
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 188
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "upslash");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 1, 20, 15);
}
Symbol 177 MovieClip Frame 204
gotoAndPlay ("falling");
Symbol 177 MovieClip Frame 219
gotoAndPlay ("falling");
Symbol 177 MovieClip Frame 234
gotoAndPlay ("falling");
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 251
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "slash1");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 0, 4, 10);
}
Symbol 177 MovieClip Frame 255
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "falling";
gotoAndPlay ("falling");
Instance of Symbol 98 MovieClip in Symbol 177 MovieClip Frame 258
onClipEvent (load) {
var slashey = EntityManager.MANAGER.addEntity(_parent._parent.x, _parent._parent.y, _parent._parent.z, "slash", "slash2");
slashey.entity._xscale = _parent._parent._xscale;
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 80, 0, 4, 10);
}
Symbol 177 MovieClip Frame 264
_parent.attacking = false;
_parent.combo = 6;
_parent.anim = "falling";
gotoAndPlay ("falling");
Symbol 177 MovieClip Frame 286
gotoAndStop ("dead");
Symbol 208 MovieClip Frame 15
if (_parent.anim == "idle") {
gotoAndStop ("idle");
}
Symbol 208 MovieClip Frame 20
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 208 MovieClip Frame 32
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 208 MovieClip Frame 41
if (_parent.anim == "walk") {
gotoAndStop ("walk");
}
Symbol 208 MovieClip Frame 55
_parent.hurting = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 208 MovieClip Frame 72
new gamesound("clank", 100);
Instance of Symbol 98 MovieClip in Symbol 208 MovieClip Frame 72
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Symbol 208 MovieClip Frame 80
_parent.attacking = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 208 MovieClip Frame 90
if (_parent.anim == "stunned") {
gotoAndStop ("stunned");
}
Symbol 208 MovieClip Frame 96
gotoAndStop ("falldown");
Symbol 208 MovieClip Frame 102
gotoAndStop ("fallup");
Symbol 208 MovieClip Frame 106
gotoAndStop ("fallen");
Symbol 241 MovieClip Frame 15
if (_parent.anim == "idle") {
gotoAndStop ("idle");
}
Symbol 241 MovieClip Frame 20
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 241 MovieClip Frame 32
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 241 MovieClip Frame 41
if (_parent.anim == "walk") {
gotoAndStop ("walk");
}
Symbol 241 MovieClip Frame 55
_parent.hurting = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Instance of Symbol 98 MovieClip in Symbol 241 MovieClip Frame 68
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 30, 3, 0, 10);
}
Instance of Symbol 98 MovieClip in Symbol 241 MovieClip Frame 80
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 30, 3, 0, 10);
}
Symbol 241 MovieClip Frame 82
_parent.attacking = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 241 MovieClip Frame 92
if (_parent.anim == "stunned") {
gotoAndStop ("stunned");
}
Symbol 241 MovieClip Frame 98
gotoAndStop ("falldown");
Symbol 241 MovieClip Frame 104
gotoAndStop ("fallup");
Symbol 241 MovieClip Frame 108
gotoAndStop ("fallen");
Symbol 281 MovieClip Frame 13
if (_parent.anim == "idle") {
gotoAndStop ("idle");
}
Symbol 281 MovieClip Frame 18
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 281 MovieClip Frame 30
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 281 MovieClip Frame 39
if (_parent.anim == "walk") {
gotoAndStop ("walk");
}
Symbol 281 MovieClip Frame 53
_parent.hurting = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 281 MovieClip Frame 77
new gamesound("fireblow", 100);
Instance of Symbol 98 MovieClip in Symbol 281 MovieClip Frame 83
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 5);
}
Instance of Symbol 98 MovieClip in Symbol 281 MovieClip Frame 86
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 5);
}
Instance of Symbol 98 MovieClip in Symbol 281 MovieClip Frame 89
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 5);
}
Instance of Symbol 98 MovieClip in Symbol 281 MovieClip Frame 92
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 5);
}
Symbol 281 MovieClip Frame 101
_parent.attacking = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 281 MovieClip Frame 111
if (_parent.anim == "stunned") {
gotoAndStop ("stunned");
}
Symbol 281 MovieClip Frame 117
gotoAndStop ("falldown");
Symbol 281 MovieClip Frame 123
gotoAndStop ("fallup");
Symbol 281 MovieClip Frame 127
gotoAndStop ("fallen");
Symbol 323 MovieClip Frame 13
if (_parent.anim == "idle") {
gotoAndStop ("idle");
}
Symbol 323 MovieClip Frame 18
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 323 MovieClip Frame 30
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
ran = random(3);
if (ran == 0) {
new gamesound("mfootstep1", 100);
}
if (ran == 1) {
new gamesound("mfootstep2", 100);
}
if (ran == 2) {
new gamesound("mfootstep3", 100);
}
Symbol 323 MovieClip Frame 39
if (_parent.anim == "walk") {
gotoAndStop ("walk");
}
Symbol 323 MovieClip Frame 44
_parent.hurting = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 323 MovieClip Frame 61
new gamesound("wham", 100);
Instance of Symbol 98 MovieClip in Symbol 323 MovieClip Frame 62
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 20);
}
Symbol 323 MovieClip Frame 77
new gamesound("wooshspin", 100);
Instance of Symbol 98 MovieClip in Symbol 323 MovieClip Frame 78
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Instance of Symbol 98 MovieClip in Symbol 323 MovieClip Frame 82
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Instance of Symbol 98 MovieClip in Symbol 323 MovieClip Frame 86
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Instance of Symbol 98 MovieClip in Symbol 323 MovieClip Frame 90
onClipEvent (load) {
EntityManager.MANAGER.resolveAttack(_parent._parent.myname, this, 50, 3, 0, 10);
}
Symbol 323 MovieClip Frame 98
_parent.attacking = false;
_parent.anim = "idle";
gotoAndStop ("idle");
Symbol 323 MovieClip Frame 108
if (_parent.anim == "stunned") {
gotoAndStop ("stunned");
}
Symbol 323 MovieClip Frame 114
gotoAndStop ("falldown");
Symbol 323 MovieClip Frame 120
gotoAndStop ("fallup");
Symbol 323 MovieClip Frame 124
gotoAndStop ("fallen");
Symbol 329 MovieClip Frame 40
_parent.dead = true;
Symbol 336 MovieClip Frame 40
_parent.dead = true;
Symbol 342 MovieClip Frame 40
_parent.dead = true;
Symbol 348 MovieClip Frame 40
_parent.dead = true;
Symbol 354 MovieClip Frame 40
_parent.dead = true;
Symbol 360 MovieClip Frame 11
_parent._parent.dead = true;
Symbol 375 MovieClip Frame 22
_parent.dead = true;
Symbol 375 MovieClip Frame 49
_parent.dead = true;
Instance of Symbol 96 MovieClip in Symbol 376 MovieClip [entities] Frame 2
onClipEvent (enterFrame) {
_y = _parent.z;
_xscale = (100 - (_parent.z / 2));
_yscale = (100 - (_parent.z / 2));
}
Instance of Symbol 177 MovieClip "anims" in Symbol 376 MovieClip [entities] Frame 2
onClipEvent (load) {
}
Symbol 384 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 555 MovieClip [__Packages.gamesound] Frame 0
class gamesound
{
var thesound;
function gamesound (ident, vol) {
thesound = new Sound();
thesound.attachSound(ident);
thesound.setVolume(vol);
thesound.start();
}
function loopsound() {
if (thesound.position > (thesound.duration - 100)) {
thesound.stop();
thesound.start(5);
}
if (_root.stopsounds) {
thesound.stop();
}
}
}
Symbol 556 MovieClip [__Packages.EntityManager] Frame 0
class EntityManager
{
static var MANAGER;
var entitylayer, activeenemies, i;
function EntityManager (target) {
MANAGER = this;
entitylayer = target;
}
function addEntity(startx, starty, startz, entitytype, entityname) {
ENEMY_INDEX++;
if (entitytype == "player") {
entity.push({name:entityname, instance:new Player(entitylayer, "player", startx, starty, startz, 20, true)});
}
if (entitytype == "enemy_orc") {
entity.push({name:entityname + ENEMY_INDEX, instance:new Enemy(entitylayer, entityname + ENEMY_INDEX, "enemy1", startx, starty, startz, 25, true)});
}
if (entitytype == "enemy_spearorc") {
entity.push({name:entityname + ENEMY_INDEX, instance:new Enemy(entitylayer, entityname + ENEMY_INDEX, "enemy2", startx, starty, startz, 25, true)});
}
if (entitytype == "enemy_fireorc") {
entity.push({name:entityname + ENEMY_INDEX, instance:new Enemy(entitylayer, entityname + ENEMY_INDEX, "enemy3", startx, starty, startz, 25, true)});
}
if (entitytype == "enemy_bossorc") {
entity.push({name:entityname + ENEMY_INDEX, instance:new Enemy(entitylayer, entityname + ENEMY_INDEX, "enemy4", startx, starty, startz, 25, true)});
}
if (entitytype == "slash") {
entity.push({name:entityname, instance:new Effect(entitylayer, entityname, startx, starty, startz, 25, false)});
}
if (entitytype == "explode") {
entity.push({name:entityname, instance:new Effect(entitylayer, entityname, startx, starty, startz, 25, false)});
}
if (entitytype == "blood") {
entity.push({name:entityname, instance:new Effect(entitylayer, entityname, startx, starty, startz, 25, false)});
}
return(entity[entity.length - 1].instance);
}
function update() {
var _local2 = 0;
while (_local2 < entity.length) {
entity[_local2].instance.update();
if (entity[_local2].instance.entity.dead) {
entity[_local2].instance.remove();
entity.splice(_local2, 1);
}
_local2++;
}
depthSort();
}
function checkspawn() {
activeenemies = 0;
var _local2 = 0;
while (_local2 < entity.length) {
if (entity[_local2].instance.isenemy) {
activeenemies++;
}
_local2++;
}
return(activeenemies);
}
function depthSort() {
var _local1 = 0;
while (_local1 < (entity.length - 1)) {
entity[_local1].instance.entity.swapDepths(_local1);
if (entity[_local1].instance.y > entity[_local1 + 1].instance.y) {
entity.splice(_local1, 0, entity[_local1 + 1]);
entity.splice(_local1 + 2, 1);
}
_local1++;
}
}
function entityCollide(entname, ent) {
i = 0;
while (i < entity.length) {
if ((entity[i].name != entname) && (entity[i].instance.collide)) {
var _local3 = ((entity[i].instance.getX() - ent.getX()) * (entity[i].instance.getX() - ent.getX())) + ((entity[i].instance.getY() - ent.getY()) * (entity[i].instance.getY() - ent.getY()));
_local3 = Math.sqrt(_local3);
var _local4 = _local3 - (entity[i].instance.getS() + ent.getS());
if (_local4 < 0) {
_local4 = _local4 / 3;
ent.nudge(((entity[i].instance.getX() - ent.getX()) / _local3) * _local4, ((entity[i].instance.getY() - ent.getY()) / _local3) * _local4);
}
}
i++;
}
}
function resolveAttack(entname, attackbox, tracking, pushback, lift, damage) {
i = 0;
while (i < entity.length) {
if (entity[i].name == entname) {
var _local5 = entity[i].instance.getY();
var _local8 = entity[i].instance.getX();
}
i++;
}
var _local11 = false;
i = 0;
while (i < entity.length) {
if ((entity[i].name != entname) && (!entity[i].instance.dead)) {
if (attackbox.hitTest(entity[i].instance.entity.anims.hitbox) && (Math.abs(_local5 - entity[i].instance.getY()) < tracking)) {
var _local4 = entity[i].instance.getX() - _local8;
var _local2 = entity[i].instance.getY() - _local5;
var _local3 = (_local4 * _local4) + (_local2 * _local2);
_local3 = Math.sqrt(_local3);
if (Math.abs(_local2) < 30) {
_local2 = 0;
}
if (entity[i].name == "player") {
Cam.CAM.tiltCam((-entity[i].instance.entity._xscale) / 20);
}
entity[i].instance.entity.attacking = false;
entity[i].instance.hurt(damage, false);
entity[i].instance.impulsenudge((_local4 / _local3) * pushback, (_local2 / _local3) * pushback);
entity[i].instance.lift(lift);
var _local7 = addEntity(entity[i].instance.getX(), entity[i].instance.getY(), entity[i].instance.getZ(), "blood", "blood");
_local7.entity._xscale = attackbox._parent._parent._xscale;
if (entname == "player") {
_local11 = true;
var _local15 = random(3);
if (_local15 == 0) {
new gamesound("slice1", 70);
}
if (_local15 == 1) {
new gamesound("slice2", 70);
}
if (_local15 == 2) {
new gamesound("slice3", 70);
}
}
}
}
i++;
}
if ((!_local11) && (entname == "player")) {
var _local15 = random(2);
if (_local15 == 0) {
new gamesound("swish1", 70);
}
if (_local15 == 1) {
new gamesound("swish2", 70);
}
}
}
function cleanup() {
i = 0;
while (i < entity.length) {
entity[i].instance.entity.removeMovieClip();
i++;
}
entity.splice(0, entity.length);
}
static var ENEMY_INDEX = 0;
static var entity = new Array();
}
Symbol 557 MovieClip [__Packages.Entity] Frame 0
class Entity
{
var collide, myname, size, x, y, z, xv, yv, zv, entity;
function Entity (target, entityname, startx, starty, startz, startsize, collides) {
ENTITY_DEPTH++;
collide = collides;
myname = entityname;
size = startsize;
x = startx;
y = starty;
z = startz;
xv = 0;
yv = 0;
zv = 0;
entity = target.attachMovie(ENTITY_ID, entityname + ENTITY_DEPTH, ENTITY_DEPTH);
entity._x = x;
entity._y = (GameStage.GROUND_LEVEL + (y / 3)) - z;
entity.myname = myname;
entity.dead = false;
}
function getScreenX() {
return(entity._x);
}
function getScreenY() {
return(entity._y);
}
function getX() {
return(x);
}
function getXV() {
return(xv);
}
function getY() {
return(y);
}
function getZ() {
return(z);
}
function getS() {
return(size);
}
function nudge(xnudge, ynudge) {
x = x + xnudge;
y = y + ynudge;
}
function impulsenudge(xnudge, ynudge) {
xv = xv + xnudge;
yv = yv + ynudge;
}
function remove() {
entity.removeMovieClip();
}
static var ENTITY_ID = "entities";
static var ENTITY_DEPTH = 0;
}
Symbol 558 MovieClip [__Packages.GameStage] Frame 0
class GameStage
{
static var STAGE;
var cam, stageNum, backdrop, entities, player, animationtick, updatecount;
function GameStage (target, camx, camy, depth, whatstage) {
if (whatstage == 1) {
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:25});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:100});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:120});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_spearorc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_spearorc", xl:450, yl:120});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:-450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:-450, yl:50});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:120});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_spearorc", xl:450, yl:120});
gameactionlist.push({spawntrigger:0, action:"nextlevel", key:"", xl:0, yl:0});
}
if (whatstage == 2) {
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_spearorc", xl:450, yl:125});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:125});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_spearorc", xl:470, yl:100});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:125});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_orc", xl:-450, yl:125});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:125});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_orc", xl:470, yl:100});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_spearorc", xl:470, yl:150});
gameactionlist.push({spawntrigger:0, action:"nextlevel", key:"", xl:0, yl:0});
}
if (whatstage == 3) {
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_fireorc", xl:450, yl:25});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_fireorc", xl:450, yl:25});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:125});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_orc", xl:470, yl:100});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_orc", xl:470, yl:150});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_spearorc", xl:-450, yl:50});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_fireorc", xl:-450, yl:150});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_orc", xl:450, yl:100});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_fireorc", xl:470, yl:150});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_spearorc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_spearorc", xl:450, yl:125});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_spearorc", xl:470, yl:100});
gameactionlist.push({spawntrigger:0, action:"nextlevel", key:"", xl:0, yl:0});
}
if (whatstage == 4) {
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:25});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_fireorc", xl:450, yl:25});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_orc", xl:450, yl:50});
gameactionlist.push({spawntrigger:1, action:"enemyspawn", key:"enemy_orc", xl:450, yl:125});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_orc", xl:470, yl:100});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_orc", xl:470, yl:150});
gameactionlist.push({spawntrigger:4, action:"enemyspawn", key:"enemy_fireorc", xl:-470, yl:100});
gameactionlist.push({spawntrigger:5, action:"enemyspawn", key:"enemy_spearorc", xl:-470, yl:150});
gameactionlist.push({spawntrigger:4, action:"enemyspawn", key:"enemy_fireorc", xl:-470, yl:100});
gameactionlist.push({spawntrigger:5, action:"enemyspawn", key:"enemy_orc", xl:470, yl:150});
gameactionlist.push({spawntrigger:4, action:"enemyspawn", key:"enemy_orc", xl:470, yl:100});
gameactionlist.push({spawntrigger:5, action:"enemyspawn", key:"enemy_spearorc", xl:-470, yl:150});
gameactionlist.push({spawntrigger:2, action:"enemyspawn", key:"enemy_fireorc", xl:450, yl:25});
gameactionlist.push({spawntrigger:3, action:"enemyspawn", key:"enemy_fireorc", xl:450, yl:125});
gameactionlist.push({spawntrigger:0, action:"enemyspawn", key:"enemy_bossorc", xl:450, yl:25});
}
STAGE = this;
cam = new Cam(this, camx, camy, 0, 100);
stageNum = whatstage;
backdrop = target.attachMovie(BACKDROP_ID, "backdrop" + depth, depth);
backdrop._x = SCREEN_WIDTH / 2;
backdrop._y = SCREEN_HEIGHT / 2;
backdrop.playarea.gotoAndStop(whatstage + 1);
backdrop.parallax1.gotoAndStop(whatstage + 1);
backdrop.parallax2.gotoAndStop(whatstage + 1);
entities = new EntityManager(backdrop.entities);
player = entities.addEntity(-1000, 0, 0, "player", "player");
cam.focusCam(player);
animationtick = 0;
updatecount = 0;
}
function enterEnemy(xloc, yloc, type) {
var _local2 = "";
if (type == "enemy_orc") {
_local2 = "enemy1";
}
if (type == "enemy_spearorc") {
_local2 = "enemy2";
}
if (type == "enemy_fireorc") {
_local2 = "enemy3";
}
entities.addEntity(xloc, yloc, 0, type, _local2);
}
function update() {
entities.update();
cam.viewStage();
updatecount++;
if (updatecount > 10) {
updatecount = 0;
if (entities.checkspawn() <= gameactionlist[0].spawntrigger) {
if (gameactionlist[0].action == "enemyspawn") {
enterEnemy(gameactionlist[0].xl, gameactionlist[0].yl, gameactionlist[0].key);
}
if (gameactionlist[0].action == "nextlevel") {
_root.nextFrame();
}
gameactionlist.splice(0, 1);
}
}
}
function viewCamera(camx, camy, camtilt, camzoom) {
backdrop._xscale = camzoom;
backdrop._yscale = camzoom;
backdrop._rotation = camtilt;
backdrop.entities._x = -camx;
backdrop.entities._y = -camy;
backdrop.playarea._x = -camx;
backdrop.playarea._y = -camy;
backdrop.parallax1._x = (-camx) / P1_DIST;
backdrop.parallax1._y = (-camy) / P1_DIST;
backdrop.parallax2._x = (-camx) / P2_DIST;
backdrop.parallax2._y = (-camy) / P2_DIST;
animationtick = animationtick + TIME_STEP;
if (animationtick >= 1) {
animationtick = animationtick - 1;
backdrop.playarea.anims.nextFrame();
backdrop.parallax1.anims.nextFrame();
backdrop.parallax2.anims.nextFrame();
}
}
function cleanup() {
_root.fader.removeMovieClip();
TIME_STEP = 1;
gameactionlist.splice(0, gameactionlist.length);
entities.cleanup();
backdrop.removeMovieClip();
}
static var GROUND_LEVEL = 100;
static var TIME_STEP = 1;
static var SCREEN_WIDTH = 400;
static var SCREEN_HEIGHT = 300;
static var LEFT_LIMIT = -390;
static var RIGHT_LIMIT = 390;
static var GRAVITY = 1.5;
static var BACKDROP_ID = "backdrops";
static var P1_DIST = 1.5;
static var P2_DIST = 2;
static var gameactionlist = new Array();
}
Symbol 559 MovieClip [__Packages.Cam] Frame 0
class Cam
{
static var CAM;
var groundlim, skylim, leftlim, rightlim, stageID, x, xtarget, y, ytarget, tilt, tilttarget, zoom, zoomtarget, focus, camIntervalID;
function Cam (viewstage, startx, starty, starttilt, startzoom) {
CAM = this;
groundlim = (GameStage.GROUND_LEVEL + 80) - (GameStage.SCREEN_HEIGHT / 2);
skylim = GameStage.GROUND_LEVEL - GameStage.SCREEN_HEIGHT;
leftlim = -400 + (GameStage.SCREEN_WIDTH / 2);
rightlim = 400 - (GameStage.SCREEN_WIDTH / 2);
stageID = viewstage;
x = (xtarget = startx);
y = (ytarget = starty);
tilt = (tilttarget = starttilt);
zoom = (zoomtarget = startzoom);
}
function focusCam(newfocus) {
focus = newfocus;
}
function moveTarget(newxt, newyt) {
xtarget = newxt;
ytarget = newyt;
if (xtarget < leftlim) {
xtarget = leftlim;
}
if (xtarget > rightlim) {
xtarget = rightlim;
}
if (ytarget < skylim) {
ytarget = skylim;
}
if (ytarget > groundlim) {
ytarget = groundlim;
}
}
function tiltTarget(newtt) {
tilttarget = newtt;
}
function tiltCam(newtilt) {
tilt = newtilt;
}
function zoomTarget(newzt) {
zoomtarget = newzt;
}
function viewStage() {
moveTarget(focus.getScreenX(), focus.getScreenY() - 30);
tiltTarget((-focus.getXV()) / 5);
easeCam();
stageID.viewCamera(x, y, tilt, zoom);
}
function easeCam() {
x = ((x * 7) + xtarget) / 8;
y = ((y * 7) + ytarget) / 8;
tilt = ((tilt * 9) + tilttarget) / 10;
zoom = ((zoom * 4) + zoomtarget) / 5;
}
function deleteCam() {
clearInterval(camIntervalID);
}
static var DEFAULT_ZOOM = 100;
}
Symbol 560 MovieClip [__Packages.Player] Frame 0
class Player extends Entity
{
var scripttimer, scriptlock, entity, inputlocked, grounded, inp, queuedinp, animationtick, oldanim, newanim, dead, HP, lastinp, attackkeydown, jumpkeydown, x, xv, y, yv, z, zv, myname, i;
function Player (target, entityname, startx, starty, startz, startsize, collides) {
super(target, entityname, startx, starty, startz, startsize, collides);
scripttimer = 0;
scriptlock = false;
entity.gotoAndStop(PLAYER_ID);
entity.combo = 0;
inputlocked = false;
grounded = true;
entity.attacking = false;
entity.hurting = false;
inp = "neutral";
queuedinp = "none";
animationtick = 0;
oldanim = "null";
newanim = "idle";
entity.lastattack = "none";
dead = false;
HP = 100;
}
function addscriptedmove(keystroke, duration) {
scriptedmove.push({action:keystroke, frames:duration});
}
function update() {
if ((scriptedmove.length > 0) || (scripttimer > 0)) {
scriptlock = true;
scripttimer--;
if (scripttimer < 1) {
if (scriptedmove.length < 1) {
scriptlock = false;
} else {
inp = scriptedmove[0].action;
scripttimer = scriptedmove[0].frames;
scriptedmove.splice(0, 1);
}
}
}
entity._parent._parent._parent.playerhp = HP;
HP = HP + 0.05;
if (HP > 100) {
HP = 100;
}
lastinp = inp;
if (!scriptlock) {
inp = "neutral";
if (Key.isDown(37)) {
addinput("left");
}
if (Key.isDown(39)) {
addinput("right");
}
if (Key.isDown(38)) {
addinput("up");
}
if (Key.isDown(40)) {
addinput("down");
}
if (Key.isDown(65)) {
if (!attackkeydown) {
addinput("attack");
}
attackkeydown = true;
} else {
attackkeydown = false;
}
if (Key.isDown(83)) {
if (!jumpkeydown) {
addinput("jump");
}
jumpkeydown = true;
} else {
jumpkeydown = false;
}
}
logkeys();
takeaction();
if ((HP < 0) && (HP != -100)) {
_root.deathscreen.play();
GameStage.TIME_STEP = GameStage.TIME_STEP - 0.02;
if (GameStage.TIME_STEP < 0) {
GameStage.TIME_STEP = 0;
}
HP = -100;
newanim = "die";
scriptlock = true;
}
updateanimation();
x = x + (xv * GameStage.TIME_STEP);
y = y + (yv * GameStage.TIME_STEP);
z = z + (zv * GameStage.TIME_STEP);
entity._x = x;
entity._y = (GameStage.GROUND_LEVEL + (y / 3)) - z;
animationtick = animationtick + GameStage.TIME_STEP;
if (animationtick >= 1) {
animationtick = animationtick - 1;
entity.anims.nextFrame();
}
EntityManager.MANAGER.entityCollide(myname, this);
entity.x = x;
entity.y = y;
entity.z = z;
}
function addinput(newinp) {
switch (inp) {
case "default" :
inp = newinp;
break;
case "upleft" :
if (newinp == "right") {
inp = "up";
}
if (newinp == "down") {
inp = "left";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "up" :
if (newinp == "left") {
inp = "upleft";
}
if (newinp == "right") {
inp = "upright";
}
if (newinp == "down") {
inp = "neutral";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "upright" :
if (newinp == "left") {
inp = "up";
}
if (newinp == "down") {
inp = "right";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "left" :
if (newinp == "right") {
inp = "neutral";
}
if (newinp == "up") {
inp = "upleft";
}
if (newinp == "down") {
inp = "downleft";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
if (entity._xscale > 0) {
inp = "backattack";
} else {
inp = "attack";
}
}
break;
case "neutral" :
if (newinp == "left") {
inp = "left";
}
if (newinp == "right") {
inp = "right";
}
if (newinp == "up") {
inp = "up";
}
if (newinp == "down") {
inp = "down";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "right" :
if (newinp == "left") {
inp = "neutral";
}
if (newinp == "up") {
inp = "upright";
}
if (newinp == "down") {
inp = "downright";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
if (entity._xscale < 0) {
inp = "backattack";
} else {
inp = "attack";
}
}
break;
case "downleft" :
if (newinp == "right") {
inp = "down";
}
if (newinp == "up") {
inp = "left";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "down" :
if (newinp == "left") {
inp = "downleft";
}
if (newinp == "right") {
inp = "downright";
}
if (newinp == "up") {
inp = "neutral";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "downright" :
if (newinp == "left") {
inp = "down";
}
if (newinp == "up") {
inp = "right";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "attack" :
if (newinp != "jump") {
break;
}
inp = "jumpattack";
}
}
function logkeys() {
if (lastinp == inp) {
keylog.push("hold");
} else {
keylog.push(inp);
}
if (keylog.length > 2) {
keylog.splice(0, keylog.length - 2);
}
}
function takeaction() {
if (entity.combo > 0) {
entity.combo--;
}
if (!inputlocked) {
if (queuedinp != "none") {
keylog[0] = queuedinp;
queuedinp = "none";
}
if (((inp == "left") || (inp == "upleft")) || (inp == "downleft")) {
if (grounded) {
xv = xv - (ACCELLERATION * GameStage.TIME_STEP);
}
}
if (((inp == "right") || (inp == "upright")) || (inp == "downright")) {
if (grounded) {
xv = xv + (ACCELLERATION * GameStage.TIME_STEP);
}
}
if (((inp == "upleft") || (inp == "up")) || (inp == "upright")) {
if (grounded) {
yv = yv - (ACCELLERATION * GameStage.TIME_STEP);
}
}
if (((inp == "downleft") || (inp == "down")) || (inp == "downright")) {
if (grounded) {
yv = yv + (ACCELLERATION * GameStage.TIME_STEP);
}
}
if ((((keylog[0] == "jump") && (keylog[1] == "attack")) || ((keylog[0] == "attack") && (keylog[1] == "jump"))) || (keylog[0] == "jumpattack")) {
if (grounded) {
xv = xv * 0.5;
yv = 0;
grounded = false;
zv = JUMP_VELOCITY;
newanim = "jumpattack";
}
} else if (keylog[0] == "jump") {
if (grounded) {
xv = xv * 1.3;
yv = 0;
grounded = false;
zv = JUMP_VELOCITY;
newanim = "jump";
}
} else if ((((keylog[1] == "backattack") || (((keylog[0] == "attack") && (keylog[1] == "left")) && (entity._xscale > 0))) || (((keylog[0] == "attack") && (keylog[1] == "right")) && (entity._xscale < 0))) || (keylog[0] == "backattack")) {
if (grounded) {
if (entity.combo > 0) {
if (entity.lastattack == "backattack") {
entity._xscale = -entity._xscale;
newanim = "attack1";
entity.lastattack = "attack1";
} else {
newanim = "backattack";
entity.lastattack = "backattack";
}
} else {
newanim = "backattack";
entity.lastattack = "backattack";
}
entity.attacking = true;
inputlocked = true;
}
} else if (keylog[0] == "attack") {
if (grounded) {
if (Math.abs(xv) > 5) {
newanim = "runattack";
entity.lastattack = "runattack";
} else if (entity.combo > 0) {
if (entity.lastattack == "attack1") {
newanim = "attack2";
entity.lastattack = "attack2";
} else if (entity.lastattack == "attack2") {
newanim = "attack3";
entity.lastattack = "attack3";
} else {
newanim = "attack1";
entity.lastattack = "attack1";
}
} else {
newanim = "attack1";
entity.lastattack = "attack1";
}
entity.attacking = true;
inputlocked = true;
} else {
if (entity.combo > 0) {
if (entity.lastattack == "airattack") {
newanim = "airattack2";
entity.lastattack = "airattack2";
} else {
newanim = "airattack";
entity.lastattack = "airattack";
}
} else {
newanim = "airattack";
entity.lastattack = "airattack";
}
entity.attacking = true;
inputlocked = true;
}
}
} else {
if ((((((keylog[0] != "hold") && (keylog[0] != "neutral")) && (keylog[0] != "left")) && (keylog[0] != "right")) && (keylog[0] != "up")) && (keylog[0] != "down")) {
queuedinp = keylog[0];
}
if ((!entity.attacking) && (!entity.hurting)) {
inputlocked = false;
}
}
if (grounded) {
if (!entity.attacking) {
if (xv < (-MAX_SPEED)) {
xv = -MAX_SPEED;
}
if (xv > MAX_SPEED) {
xv = MAX_SPEED;
}
if (yv > MAX_SPEED) {
yv = MAX_SPEED;
}
if (yv < (-MAX_SPEED)) {
yv = -MAX_SPEED;
}
}
xv = xv * Math.pow(0.8, GameStage.TIME_STEP);
yv = yv * Math.pow(0.8, GameStage.TIME_STEP);
} else {
zv = zv - (GameStage.GRAVITY * GameStage.TIME_STEP);
if ((z + zv) < 0) {
zv = 0;
z = 0;
grounded = true;
entity.attacking = false;
if (HP >= 0) {
entity.anims.gotoAndStop("idle");
}
entity.anim = "idle";
entity.hurting = false;
if (xv < (-MAX_SPEED)) {
xv = -MAX_SPEED;
}
if (xv > MAX_SPEED) {
xv = MAX_SPEED;
}
if (yv > MAX_SPEED) {
yv = MAX_SPEED;
}
if (yv < (-MAX_SPEED)) {
yv = -MAX_SPEED;
}
}
}
if (x < GameStage.LEFT_LIMIT) {
x = GameStage.LEFT_LIMIT;
}
if (x > GameStage.RIGHT_LIMIT) {
x = GameStage.RIGHT_LIMIT;
}
if (y < 0) {
y = 0;
}
if (y > 150) {
y = 150;
}
}
function updateanimation() {
if ((grounded && (!entity.attacking)) && (!entity.hurting)) {
if (xv < -2) {
entity._xscale = -100;
}
if (xv > 2) {
entity._xscale = 100;
}
if (Math.abs(xv) < 1) {
xv = 0;
newanim = "idle";
}
if (((Math.abs(xv) >= 1) && (Math.abs(xv) <= 5)) || (Math.abs(yv) > 1)) {
newanim = "walk";
}
if (Math.abs(xv) > 5) {
newanim = "run";
}
}
if (HP < 0) {
newanim = "die";
}
if (newanim != oldanim) {
switch (newanim) {
case "die" :
entity.anims.gotoAndStop("died");
entity.anim = "died";
break;
case "idle" :
entity.anims.gotoAndStop("idle");
entity.anim = "idle";
break;
case "walk" :
entity.anims.gotoAndStop("walk");
entity.anim = "walk";
i = 0;
while (i < entity.animoffs) {
entity.anims.nextFrame();
entity.anims.nextFrame();
i++;
}
break;
case "run" :
entity.anims.gotoAndStop("run");
entity.anim = "run";
i = 0;
while (i < entity.animoffs) {
entity.anims.nextFrame();
entity.anims.nextFrame();
i++;
}
break;
case "attack1" :
entity.anims.gotoAndStop("attack1");
entity.anim = "attack1";
xv = entity._xscale / 25;
break;
case "attack2" :
entity.anims.gotoAndStop("attack2");
entity.anim = "attack2";
xv = entity._xscale / 25;
break;
case "attack3" :
entity.anims.gotoAndStop("attack3");
entity.anim = "attack3";
xv = entity._xscale / 20;
break;
case "backattack" :
entity.anims.gotoAndStop("backattack");
entity.anim = "backattack";
xv = (-entity._xscale) / 20;
break;
case "airattack" :
entity.anims.gotoAndStop("airattack");
entity.anim = "airattack";
if (zv < 0) {
zv = zv + 8;
}
break;
case "airattack2" :
entity.anims.gotoAndStop("airattack2");
entity.anim = "airattack2";
if (zv < 0) {
zv = zv + 8;
}
break;
case "runattack" :
entity.anims.gotoAndStop("runattack");
entity.anim = "runattack";
xv = entity._xscale / 8;
break;
case "jump" :
entity.anims.gotoAndStop("jump");
entity.anim = "jump";
break;
case "jumpattack" :
entity.anims.gotoAndStop("jumpattack");
entity.anim = "jumpattack";
break;
case "hurt" :
entity.anims.gotoAndStop("hurt");
entity.anim = "hurt";
}
}
oldanim = newanim;
}
function hurt(amount) {
newanim = "hurt";
oldanim = "idle";
HP = HP - (amount * 2);
entity.hurting = true;
inputlocked = true;
}
function lift(amount) {
zv = zv + amount;
grounded = false;
}
function remove() {
entity.removeMovieClip();
}
static var PLAYER_ID = "player";
static var ACCELLERATION = 2;
static var MAX_SPEED = 8;
static var JUMP_VELOCITY = 20;
static var keylog = new Array();
var scriptedmove = new Array();
}
Symbol 561 MovieClip [__Packages.Enemy] Frame 0
class Enemy extends Entity
{
var entity, attacktype, inputlocked, grounded, isboss, inp, animationtick, oldanim, newanim, AIstate, AItimer, HP, dead, isenemy, zv, x, y, AIdestx, AIdesty, xv, yv, z, myname, collide;
function Enemy (target, entityname, entityart, startx, starty, startz, startsize, collides) {
super(target, entityname, startx, starty, startz, startsize, collides);
entity.gotoAndStop(entityart);
attacktype = entityart;
inputlocked = false;
grounded = true;
if (entityart == "enemy4") {
isboss = true;
} else {
isboss = false;
}
entity.attacking = false;
entity.hurting = false;
inp = "neutral";
animationtick = 0;
oldanim = "null";
newanim = "idle";
AIstate = "idle";
AItimer = random(50);
HP = 100;
if (isboss) {
HP = 500;
}
dead = false;
isenemy = true;
}
function update() {
AItimer--;
if ((AIstate != "falling") && (AItimer < 0)) {
AItimer = random(50) + 50;
var _local3 = random(10);
if (_local3 < 7) {
AIstate = "attack";
}
if (_local3 >= 7) {
AIstate = "idle";
}
if (isboss) {
AIstate = "attack";
}
}
inp = "neutral";
if (AIstate == "stunned") {
if (!entity.hurting) {
newanim = "stunned";
}
}
if (AIstate == "falling") {
if (grounded) {
newanim = "fallen";
} else if (zv >= 0) {
newanim = "fallup";
} else {
newanim = "falldown";
}
}
var _local2 = 100;
if (attacktype == "enemy2") {
_local2 = 200;
}
if (AIstate == "attack") {
if ((x > GameStage.STAGE.player.getX()) && (GameStage.STAGE.player.getX() > (GameStage.RIGHT_LIMIT - _local2))) {
addinput("left");
} else if ((x < GameStage.STAGE.player.getX()) && (GameStage.STAGE.player.getX() < (GameStage.LEFT_LIMIT + _local2))) {
addinput("right");
} else if (Math.abs(y - GameStage.STAGE.player.getY()) > 50) {
if (((x - GameStage.STAGE.player.getX()) < _local2) && ((x - GameStage.STAGE.player.getX()) >= 0)) {
addinput("right");
}
if (((x - GameStage.STAGE.player.getX()) > (-_local2)) && ((x - GameStage.STAGE.player.getX()) < 0)) {
addinput("left");
}
if ((x - GameStage.STAGE.player.getX()) >= _local2) {
addinput("right");
if (y < GameStage.STAGE.player.getY()) {
addinput("down");
} else {
addinput("up");
}
}
if ((x - GameStage.STAGE.player.getX()) <= (-_local2)) {
addinput("left");
if (y < GameStage.STAGE.player.getY()) {
addinput("down");
} else {
addinput("up");
}
}
} else {
if ((Math.abs((x - GameStage.STAGE.player.getX()) + _local2) < 20) && (Math.abs(y - GameStage.STAGE.player.getY()) < 20)) {
entity._xscale = 100;
addinput("attack");
AIstate = "idle";
}
if ((Math.abs((x - GameStage.STAGE.player.getX()) - _local2) < 20) && (Math.abs(y - GameStage.STAGE.player.getY()) < 20)) {
entity._xscale = -100;
addinput("attack");
AIstate = "idle";
}
if (((x - GameStage.STAGE.player.getX()) >= 0) && ((x - GameStage.STAGE.player.getX()) < _local2)) {
addinput("right");
}
if ((x - GameStage.STAGE.player.getX()) >= _local2) {
addinput("left");
}
if (((x - GameStage.STAGE.player.getX()) >= (-_local2)) && ((x - GameStage.STAGE.player.getX()) < 0)) {
addinput("left");
}
if ((x - GameStage.STAGE.player.getX()) < (-_local2)) {
addinput("right");
}
if ((y - GameStage.STAGE.player.getY()) > 0) {
addinput("up");
} else {
addinput("down");
}
}
}
if (AIstate == "idle") {
if (random(30) == 1) {
AIdestx = (x - 100) + random(200);
AIdesty = (y - 100) + random(200);
if (AIdestx < GameStage.LEFT_LIMIT) {
AIdestx = GameStage.LEFT_LIMIT;
}
if (AIdestx > GameStage.RIGHT_LIMIT) {
AIdestx = GameStage.RIGHT_LIMIT;
}
if (AIdesty < 0) {
AIdesty = 0;
}
if (AIdesty > 150) {
AIdesty = 150;
}
}
if (AIdestx < (x + 10)) {
addinput("left");
}
if (AIdestx > (x - 10)) {
addinput("right");
}
if (AIdesty < (y + 10)) {
addinput("up");
}
if (AIdesty > (y - 10)) {
addinput("down");
}
}
takeaction();
updateanimation();
x = x + (xv * GameStage.TIME_STEP);
y = y + (yv * GameStage.TIME_STEP);
z = z + (zv * GameStage.TIME_STEP);
entity._x = x;
entity._y = (GameStage.GROUND_LEVEL + (y / 3)) - z;
animationtick = animationtick + GameStage.TIME_STEP;
if (animationtick >= 1) {
animationtick = animationtick - 1;
entity.anims.nextFrame();
}
if (!dead) {
EntityManager.MANAGER.entityCollide(myname, this);
}
entity.x = x;
entity.y = y;
entity.z = z;
}
function addinput(newinp) {
switch (inp) {
case "default" :
inp = newinp;
break;
case "upleft" :
if (newinp == "right") {
inp = "up";
}
if (newinp == "down") {
inp = "left";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "up" :
if (newinp == "left") {
inp = "upleft";
}
if (newinp == "right") {
inp = "upright";
}
if (newinp == "down") {
inp = "neutral";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "upright" :
if (newinp == "left") {
inp = "up";
}
if (newinp == "down") {
inp = "right";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "left" :
if (newinp == "right") {
inp = "neutral";
}
if (newinp == "up") {
inp = "upleft";
}
if (newinp == "down") {
inp = "downleft";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "neutral" :
if (newinp == "left") {
inp = "left";
}
if (newinp == "right") {
inp = "right";
}
if (newinp == "up") {
inp = "up";
}
if (newinp == "down") {
inp = "down";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "right" :
if (newinp == "left") {
inp = "neutral";
}
if (newinp == "up") {
inp = "upright";
}
if (newinp == "down") {
inp = "downright";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "downleft" :
if (newinp == "right") {
inp = "down";
}
if (newinp == "up") {
inp = "left";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "down" :
if (newinp == "left") {
inp = "downleft";
}
if (newinp == "right") {
inp = "downright";
}
if (newinp == "up") {
inp = "neutral";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "downright" :
if (newinp == "left") {
inp = "down";
}
if (newinp == "up") {
inp = "right";
}
if (newinp == "jump") {
inp = "jump";
}
if (newinp == "attack") {
inp = "attack";
}
break;
case "attack" :
if (newinp != "jump") {
break;
}
inp = "jumpattack";
}
}
function takeaction() {
if (x < GameStage.LEFT_LIMIT) {
inp = "right";
}
if (x > GameStage.RIGHT_LIMIT) {
inp = "left";
}
if (y < 0) {
inp = "down";
}
if (y > 150) {
inp = "up";
}
if (!inputlocked) {
if (((inp == "left") || (inp == "upleft")) || (inp == "downleft")) {
if (grounded) {
xv = xv - (ACCELLERATION * GameStage.TIME_STEP);
}
}
if (((inp == "right") || (inp == "upright")) || (inp == "downright")) {
if (grounded) {
xv = xv + (ACCELLERATION * GameStage.TIME_STEP);
}
}
if (((inp == "upleft") || (inp == "up")) || (inp == "upright")) {
if (grounded) {
yv = yv - (ACCELLERATION * GameStage.TIME_STEP);
}
}
if (((inp == "downleft") || (inp == "down")) || (inp == "downright")) {
if (grounded) {
yv = yv + (ACCELLERATION * GameStage.TIME_STEP);
}
} else if (inp == "jump") {
if (grounded) {
xv = xv * 1.5;
grounded = false;
zv = JUMP_VELOCITY;
newanim = "jump";
}
} else if (inp == "attack") {
if (grounded) {
newanim = "attack";
entity.attacking = true;
inputlocked = true;
}
}
} else if ((!entity.attacking) && (!entity.hurting)) {
inputlocked = false;
}
if (grounded) {
if (xv < (-MAX_SPEED)) {
xv = -MAX_SPEED;
}
if (xv > MAX_SPEED) {
xv = MAX_SPEED;
}
if (yv > MAX_SPEED) {
yv = MAX_SPEED;
}
if (yv < (-MAX_SPEED)) {
yv = -MAX_SPEED;
}
xv = xv * Math.pow(0.8, GameStage.TIME_STEP);
yv = yv * Math.pow(0.8, GameStage.TIME_STEP);
if ((attacktype == "enemy2") && (entity.attacking)) {
xv = xv + ((MAX_SPEED * entity._xscale) / 70);
}
} else {
zv = zv - (GameStage.GRAVITY * GameStage.TIME_STEP);
if (zv < -25) {
zv = -20;
}
if (zv > 25) {
zv = 20;
}
if ((z + zv) < 0) {
if (AIstate == "falling") {
new gamesound("fall", 100);
zv = (-zv) * 0.6;
z = 0;
if (zv < 7) {
new gamesound("foof", 100);
var _local3 = EntityManager.MANAGER.addEntity(x, y, z, "explode", "explode");
_local3.entity._xscale = _parent._parent._xscale;
entity.dead = true;
}
} else {
zv = 0;
z = 0;
grounded = true;
entity.anims.gotoAndStop("idle");
entity.anim = "idle";
inputlocked = false;
}
if (xv < (-MAX_SPEED)) {
xv = -MAX_SPEED;
}
if (xv > MAX_SPEED) {
xv = MAX_SPEED;
}
if (yv > MAX_SPEED) {
yv = MAX_SPEED;
}
if (yv < (-MAX_SPEED)) {
yv = -MAX_SPEED;
}
}
}
}
function updateanimation() {
if ((((grounded && (!entity.attacking)) && (!entity.hurting)) && (AIstate != "stunned")) && (AIstate != "falling")) {
if (xv < -2) {
entity._xscale = -100;
}
if (xv > 2) {
entity._xscale = 100;
}
if ((Math.abs(xv) < 0.7) && (Math.abs(yv) < 0.7)) {
xv = 0;
newanim = "idle";
} else {
newanim = "walk";
}
}
if (newanim != oldanim) {
switch (newanim) {
case "idle" :
entity.anims.gotoAndStop("idle");
entity.anim = "idle";
break;
case "walk" :
entity.anims.gotoAndStop("walk");
entity.anim = "walk";
break;
case "attack" :
entity.anims.gotoAndStop("attack");
entity.anim = "attack";
xv = entity._xscale / 10;
break;
case "attack2" :
entity.anims.gotoAndStop("attack2");
entity.anim = "attack2";
xv = entity._xscale / 25;
break;
case "jump" :
entity.anims.gotoAndStop("jump");
entity.anim = "jump";
break;
case "hurt" :
entity.anims.gotoAndStop("hurt");
entity.anim = "hurt";
break;
case "stunned" :
entity.anims.gotoAndStop("stunned");
entity.anim = "stunned";
break;
case "fallup" :
entity.anims.gotoAndStop("fallup");
entity.anim = "fallup";
break;
case "falldown" :
entity.anims.gotoAndStop("falldown");
entity.anim = "falldown";
break;
case "fallen" :
entity.anims.gotoAndStop("fallen");
entity.anim = "fallen";
}
}
oldanim = newanim;
}
function lift(amount) {
zv = zv + amount;
grounded = false;
}
function hurt(amount, stun) {
var _local3 = HP;
HP = HP - amount;
if (stun) {
AItimer = 50;
AIstate = "stunned";
}
if (HP < 0) {
if (isboss) {
_root.gotoAndStop("endcutscene");
}
AIstate = "falling";
collide = false;
if (grounded) {
zv = zv + 15;
}
dead = true;
} else {
newanim = "hurt";
oldanim = "idle";
}
entity.hurting = true;
inputlocked = true;
}
function remove() {
entity.removeMovieClip();
}
static var ACCELLERATION = 2;
static var MAX_SPEED = 3;
static var JUMP_VELOCITY = 10;
}
Symbol 562 MovieClip [__Packages.Effect] Frame 0
class Effect extends Entity
{
var entity, x, z, y, animationtick;
function Effect (target, entityname, startx, starty, startz, startsize, collides) {
super(target, entityname + EFFECTINDEX, startx, starty, startz, startsize, collides);
EFFECTINDEX++;
entity.instance = this;
entity.gotoAndStop(entityname);
}
function update() {
entity._x = x;
entity._y = (GameStage.GROUND_LEVEL + (y / 3)) - z;
animationtick = animationtick + GameStage.TIME_STEP;
if (animationtick >= 1) {
animationtick = animationtick - 1;
entity.anims.nextFrame();
}
}
function remove() {
entity.removeMovieClip();
}
static var EFFECTINDEX = 0;
}
Symbol 386 Button
on (release) {
play();
}
Symbol 417 MovieClip Frame 165
_root.play();
Symbol 418 MovieClip Frame 1
stop();
Symbol 418 MovieClip Frame 15
gotoAndStop (10);
Symbol 433 MovieClip Frame 60
stop();
Symbol 436 Button
on (release) {
_root.lvl = 0;
gotoAndStop ("gamestart");
}
Symbol 439 Button
on (release) {
gotoAndStop ("instructions");
}
Symbol 442 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 445 Button
on (release) {
gotoAndStop ("creds");
}
Symbol 449 Button
on (release) {
gotoAndStop ("menumain");
}
Symbol 454 MovieClip Frame 60
_root.lvl++;
if (_root.lvl == 1) {
_root.gotoAndPlay("lvl1");
}
if (_root.lvl == 2) {
_root.gotoAndPlay("lvl2");
}
if (_root.lvl == 3) {
_root.gotoAndPlay("lvl3");
}
if (_root.lvl == 4) {
_root.gotoAndPlay("lvl4");
}
stop();
Instance of Symbol 457 MovieClip in Symbol 460 MovieClip Frame 1
onClipEvent (load) {
minx = _x - _width;
maxx = _x;
}
onClipEvent (enterFrame) {
_x = (minx + ((_width * _root.playerhp) / 100));
}
Symbol 462 MovieClip Frame 70
gotoAndPlay (60);
Symbol 466 Button
on (release) {
_root.gotoAndPlay("relev");
}
Symbol 469 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 471 MovieClip Frame 1
stop();
Symbol 471 MovieClip Frame 4
trace("DIEING OK?");
Instance of Symbol 462 MovieClip "ds" in Symbol 471 MovieClip Frame 4
onClipEvent (load) {
this.swapDepths(7000);
}
Symbol 471 MovieClip Frame 102
gotoAndPlay (95);
Symbol 488 MovieClip Frame 21
stop();
Symbol 488 MovieClip Frame 41
new gamesound("wham", 100);
Symbol 488 MovieClip Frame 79
gotoAndStop (75);
Symbol 550 Button
on (release) {
_root.gotoAndPlay("restart");
}
Symbol 552 Button
on (release) {
getURL ("http://www.armorgames.com", "_blank");
}
Symbol 554 MovieClip Frame 1
new gamesound("roar", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Instance of Symbol 83 MovieClip "fg" in Symbol 554 MovieClip Frame 1
onClipEvent (load) {
stop();
}
Symbol 554 MovieClip Frame 2
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 3
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 4
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 5
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 6
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 7
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 8
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 9
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 10
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 11
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 12
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 13
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 14
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 15
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 16
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 17
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 18
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 19
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 20
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 21
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 22
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 23
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 24
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 25
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 26
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 27
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 28
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 29
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 30
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 31
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 32
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 33
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 34
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 35
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 36
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 37
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 38
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 39
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 40
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 41
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 42
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 43
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 44
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 45
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 46
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 47
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 48
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 49
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 50
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 51
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 52
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 53
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 54
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 55
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 56
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 57
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 58
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 59
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 60
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 61
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 62
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 63
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 64
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 65
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 66
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 67
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 68
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 69
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 70
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 71
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 72
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 73
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 74
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 75
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 76
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 77
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 78
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 79
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 80
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 81
new gamesound("slice3", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 82
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 83
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 84
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 85
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 86
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 87
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 88
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 89
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 90
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 91
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 92
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 93
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 94
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 95
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 96
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 97
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 98
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 99
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 100
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 101
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 102
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 103
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 104
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 105
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 106
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 107
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 108
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 109
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 110
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 111
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 112
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 113
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 114
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 115
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 116
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 117
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 118
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 119
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 120
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 121
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 122
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 123
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 124
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 125
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 126
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 127
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 128
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 129
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 130
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 131
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 132
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 133
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 134
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 135
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 136
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 137
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 138
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 139
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 140
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 141
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 142
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 143
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 144
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 145
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 146
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 147
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 148
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 149
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 150
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 151
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 152
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 153
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 154
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 155
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 156
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 157
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 158
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 159
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 160
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 161
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 162
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 163
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 164
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 165
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 166
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 167
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 168
new gamesound("swish2", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 169
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 170
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 171
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 172
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 173
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 174
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 175
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 176
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 177
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 178
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 179
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 180
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 181
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 182
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 183
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 184
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 185
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 186
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 187
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 188
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 189
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 190
new gamesound("fall", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 191
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 192
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 193
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 194
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 195
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 196
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 197
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 198
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 199
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 200
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 201
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 202
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 203
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 204
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 205
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 206
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 207
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 208
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 209
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 210
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 211
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 212
new gamesound("swish1", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 213
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 214
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 215
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 216
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 217
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 218
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 219
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 220
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 221
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 222
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 223
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 224
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 225
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 226
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 227
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 228
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 229
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 230
new gamesound("fall", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 231
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 232
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 233
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 234
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 235
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 236
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 237
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 238
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 239
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 240
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 241
new gamesound("foof", 100);
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 242
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 243
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 244
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 245
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 246
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 247
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 248
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 249
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 250
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 251
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 252
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 253
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 254
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 255
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 256
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 257
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 258
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 259
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 260
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 261
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 262
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 263
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 264
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 265
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 266
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 267
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 268
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 269
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 270
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 271
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 272
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 273
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 274
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 275
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 276
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 277
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 278
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 279
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 280
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 281
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 282
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 283
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 284
_root.stopsounds = true;
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 285
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 286
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 287
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 288
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 289
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 290
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 291
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
stop();
Symbol 554 MovieClip Frame 292
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 293
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 294
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 295
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 296
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 297
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 298
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 299
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 300
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 301
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 302
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
Symbol 554 MovieClip Frame 303
bg.nextFrame();
fg.nextFrame();
fightin.nextFrame();
gotoAndStop (295);