Frame 1
char1 = 4;
char2 = 5;
char3 = 5;
char4 = 5;
test = 4;
invincible1 = 0;
invincible2 = 0;
invincible3 = 0;
invincible4 = 0;
timetaken = 0;
matotest = true;
story = false;
matoremain = 10;
thecrowdhasspoken = false;
stopAllSounds();
_quality = "LOW";
_root.paus = false;
lives1 = 2;
musicplayin = false;
stop();
Instance of Symbol 67 MovieClip "loadBar" in Frame 1
onClipEvent (enterFrame) {
bytes = _root.getBytesTotal();
bytes_loaded = _root.getBytesLoaded();
percent = int((bytes_loaded / bytes) * 100);
if (bytes_loaded == bytes) {
_root.gotoAndPlay(2);
}
_xscale = percent;
}
Frame 2
onEnterFrame = function () {
if ((Key.isDown(13) && (enterHold == false)) && (_root.pausl == false)) {
_root.paus = true;
_root.pausl = true;
_root.pl1.circle.atk.stop();
}
if ((Key.isDown(13) && (enterHold == false)) && (_root.pausl == true)) {
_root.paus = false;
_root.pausl = true;
if (_root.nounpause1 == false) {
_root.pl1.circle.atk.play();
}
}
if (Key.isDown(13)) {
enterHold = true;
} else {
enterHold = false;
}
if ((!_root.paus) && (_root.invincible1 > 0)) {
_root.invincible1--;
_root.pl1._alpha = 50;
}
if ((!_root.paus) && (_root.invincible1 == 0)) {
_root.pl1._alpha = 100;
}
if ((!_root.paus) && (_root.invincible2 > 0)) {
_root.invincible2--;
_root.pl2._alpha = 50;
}
if ((!_root.paus) && (_root.invincible2 == 0)) {
_root.pl2._alpha = 100;
}
if ((!_root.paus) && (_root.invincible3 > 0)) {
_root.invincible3--;
_root.pl3._alpha = 50;
}
if ((!_root.paus) && (_root.invincible3 == 0)) {
_root.pl3._alpha = 100;
}
if ((!_root.paus) && (_root.invincible4 > 0)) {
_root.invincible4--;
_root.pl4._alpha = 50;
}
if ((!_root.paus) && (_root.invincible4 == 0)) {
_root.pl4._alpha = 100;
}
};
if (musicplayin == false) {
gamebg = new Sound(this);
gamebg.attachSound("bonusgame");
gamebg.start(0, 99999);
musicplayin = true;
}
Instance of Symbol 72 MovieClip in Frame 2
onClipEvent (load) {
dude = 30;
duce = 30;
i = 0;
j = 10;
lspawned = 0;
rspawned = 0;
}
onClipEvent (enterFrame) {
this._x = _root.camFrame._x;
this._y = _root.camFrame._y;
dude--;
if (dude < 1) {
dudee = 0;
}
if ((dudee < 1) && (lspawned < 2)) {
duplicateMovieClip (this.origl, ["MC" + i], 10000 + i);
this["MC" + i]._x = this.origl._x;
this["MC" + i]._xspeed = random(10) + 5;
this["MC" + i]._y = this.origl._y + random(800);
this["MC" + i].col = 16777215 /* 0xFFFFFF */;
this["MC" + i].colswap = random(8);
if (this["MC" + i].colswap == 0) {
this["MC" + i].col = 16777215 /* 0xFFFFFF */;
}
if (this["MC" + i].colswap == 1) {
this["MC" + i].col = 15132160 /* 0xE6E600 */;
}
if (this["MC" + i].colswap == 2) {
this["MC" + i].col = 5855577 /* 0x595959 */;
}
if (this["MC" + i].colswap == 3) {
this["MC" + i].col = 9044198 /* 0x8A00E6 */;
}
if (this["MC" + i].colswap == 4) {
this["MC" + i].col = 58880;
}
if (this["MC" + i].colswap == 5) {
this["MC" + i].col = 15108654 /* 0xE68A2E */;
}
if (this["MC" + i].colswap == 6) {
this["MC" + i].col = 230;
}
if (this["MC" + i].colswap == 7) {
this["MC" + i].col = 15073280 /* 0xE60000 */;
}
new Color(this["MC" + i]).setRGB(this["MC" + i].col);
i++;
lspawned++;
dude = 70;
}
duce--;
if (duce < 1) {
ducee = 0;
}
if ((ducee < 1) && (rspawned < 2)) {
duplicateMovieClip (this.origr, ["MD" + j], 10000 + j);
this["MD" + j]._x = this.origr._x;
this["MD" + j]._xspeed = random(10) + 5;
this["MD" + j]._y = this.origr._y + random(800);
this["MD" + j].col = 16777215 /* 0xFFFFFF */;
this["MD" + j].colswap = random(8);
if (this["MD" + j].colswap == 0) {
this["MD" + j].col = 16777215 /* 0xFFFFFF */;
}
if (this["MD" + j].colswap == 1) {
this["MD" + j].col = 15132160 /* 0xE6E600 */;
}
if (this["MD" + j].colswap == 2) {
this["MD" + j].col = 5855577 /* 0x595959 */;
}
if (this["MD" + j].colswap == 3) {
this["MD" + j].col = 9044198 /* 0x8A00E6 */;
}
if (this["MD" + j].colswap == 4) {
this["MD" + j].col = 58880;
}
if (this["MD" + j].colswap == 5) {
this["MD" + j].col = 15108654 /* 0xE68A2E */;
}
if (this["MD" + j].colswap == 6) {
this["MD" + j].col = 230;
}
if (this["MD" + j].colswap == 7) {
this["MD" + j].col = 15073280 /* 0xE60000 */;
}
new Color(this["MD" + j]).setRGB(this["MD" + j].col);
j++;
rspawned++;
duce = 70;
}
}
Instance of Symbol 88 MovieClip "rampspd1" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.ledge = true;
pl1g = -14;
amove = true;
_root.pl1.circle.jump = true;
_root.pl1.circle.attack = true;
_root.pl1.circle.dj = true;
_root.pl1.circle.upbd = true;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
if (achan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
achan = true;
}
}
if (!this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
achan = false;
}
if (amove == true) {
_root.pl1._y = _root.pl1._y + pl1g;
_root.pl1._x = _root.pl1._x + 33;
pl1g = pl1g + 0.5;
_root.pl1.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true)) || (_root.rampspd2.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true))) || (_root.rampspd3.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true))) {
_root.pl1.circle.ledge = false;
_root.pl1.circle.attack = false;
amove = false;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.ledge = true;
pl2g = -14;
bmove = true;
_root.pl2.circle.jump = true;
_root.pl2.circle.attack = true;
_root.pl2.circle.dj = true;
_root.pl2.circle.upbd = true;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
if (bchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
bchan = true;
}
}
if (!this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
bchan = false;
}
if (bmove == true) {
_root.pl2._y = _root.pl2._y + pl2g;
_root.pl2._x = _root.pl2._x + 33;
pl2g = pl2g + 0.5;
_root.pl2.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true)) || (_root.rampspd2.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true))) || (_root.rampspd3.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true))) {
_root.pl2.circle.ledge = false;
_root.pl2.circle.attack = false;
bmove = false;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.ledge = true;
pl3g = -14;
cmove = true;
_root.pl3.circle.jump = true;
_root.pl3.circle.attack = true;
_root.pl3.circle.dj = true;
_root.pl3.circle.upbd = true;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
if (cchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
cchan = true;
}
}
if (!this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
cchan = false;
}
if (cmove == true) {
_root.pl3._y = _root.pl3._y + pl3g;
_root.pl3._x = _root.pl3._x + 33;
pl3g = pl3g + 0.5;
_root.pl3.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true)) || (_root.rampspd2.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true))) || (_root.rampspd3.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true))) {
_root.pl3.circle.ledge = true;
_root.pl3.circle.attack = false;
cmove = false;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
if (dchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
dchan = true;
}
_root.pl4.circle.ledge = true;
pl4g = -14;
dmove = true;
_root.pl4.circle.jump = true;
_root.pl4.circle.attack = true;
_root.pl4.circle.dj = true;
_root.pl4.circle.upbd = true;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
}
if (!this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
dchan = false;
}
if (dmove == true) {
_root.pl4._y = _root.pl4._y + pl4g;
_root.pl4._x = _root.pl4._x + 33;
pl4g = pl4g + 0.5;
_root.pl4.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true)) || (_root.rampspd2.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true))) || (_root.rampspd3.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true))) {
_root.pl4.circle.ledge = false;
_root.pl4.circle.attack = false;
dmove = false;
}
}
Instance of Symbol 88 MovieClip "rampspd2" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.ledge = true;
pl1g = -14;
amove = true;
_root.pl1.circle.jump = true;
_root.pl1.circle.attack = true;
_root.pl1.circle.dj = true;
_root.pl1.circle.upbd = true;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
if (achan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
achan = true;
}
}
if (!this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
achan = false;
}
if (amove == true) {
_root.pl1._y = _root.pl1._y + pl1g;
_root.pl1._x = _root.pl1._x - 33;
pl1g = pl1g + 0.5;
_root.pl1.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true)) || (_root.rampspd2.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true))) || (_root.rampspd3.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true))) {
_root.pl1.circle.ledge = false;
_root.pl1.circle.attack = false;
amove = false;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.ledge = true;
pl2g = -14;
bmove = true;
_root.pl2.circle.jump = true;
_root.pl2.circle.attack = true;
_root.pl2.circle.dj = true;
_root.pl2.circle.upbd = true;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
if (bchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
bchan = true;
}
}
if (!this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
bchan = false;
}
if (bmove == true) {
_root.pl2._y = _root.pl2._y + pl2g;
_root.pl2._x = _root.pl2._x - 33;
pl2g = pl2g + 0.5;
_root.pl2.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true)) || (_root.rampspd2.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true))) || (_root.rampspd3.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true))) {
_root.pl2.circle.ledge = false;
_root.pl2.circle.attack = false;
bmove = false;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.ledge = true;
pl3g = -14;
cmove = true;
_root.pl3.circle.jump = true;
_root.pl3.circle.attack = true;
_root.pl3.circle.dj = true;
_root.pl3.circle.upbd = true;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
if (cchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
cchan = true;
}
}
if (!this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
cchan = false;
}
if (cmove == true) {
_root.pl3._y = _root.pl3._y + pl3g;
_root.pl3._x = _root.pl3._x - 33;
pl3g = pl3g + 0.5;
_root.pl3.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true)) || (_root.rampspd2.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true))) || (_root.rampspd3.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true))) {
_root.pl3.circle.ledge = true;
_root.pl3.circle.attack = false;
cmove = false;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
if (dchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
dchan = true;
}
_root.pl4.circle.ledge = true;
pl4g = -14;
dmove = true;
_root.pl4.circle.jump = true;
_root.pl4.circle.attack = true;
_root.pl4.circle.dj = true;
_root.pl4.circle.upbd = true;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
}
if (!this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
dchan = false;
}
if (dmove == true) {
_root.pl4._y = _root.pl4._y + pl4g;
_root.pl4._x = _root.pl4._x - 33;
pl4g = pl4g + 0.5;
_root.pl4.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true)) || (_root.rampspd2.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true))) || (_root.rampspd3.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true))) {
_root.pl4.circle.ledge = false;
_root.pl4.circle.attack = false;
dmove = false;
}
}
Instance of Symbol 88 MovieClip "rampspd3" in Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.ledge = true;
pl1g = -14;
amove = true;
_root.pl1.circle.jump = true;
_root.pl1.circle.attack = true;
_root.pl1.circle.dj = true;
_root.pl1.circle.upbd = true;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
if (achan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
achan = true;
}
}
if (!this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
achan = false;
}
if (amove == true) {
_root.pl1._y = _root.pl1._y + pl1g;
_root.pl1._x = _root.pl1._x + 33;
pl1g = pl1g + 0.5;
_root.pl1.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true)) || (_root.rampspd2.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true))) || (_root.rampspd3.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (amove == true))) {
_root.pl1.circle.ledge = false;
_root.pl1.circle.attack = false;
amove = false;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.ledge = true;
pl2g = -14;
bmove = true;
_root.pl2.circle.jump = true;
_root.pl2.circle.attack = true;
_root.pl2.circle.dj = true;
_root.pl2.circle.upbd = true;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
if (bchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
bchan = true;
}
}
if (!this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
bchan = false;
}
if (bmove == true) {
_root.pl2._y = _root.pl2._y + pl2g;
_root.pl2._x = _root.pl2._x + 33;
pl2g = pl2g + 0.5;
_root.pl2.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true)) || (_root.rampspd2.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true))) || (_root.rampspd3.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (bmove == true))) {
_root.pl2.circle.ledge = false;
_root.pl2.circle.attack = false;
bmove = false;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.ledge = true;
pl3g = -14;
cmove = true;
_root.pl3.circle.jump = true;
_root.pl3.circle.attack = true;
_root.pl3.circle.dj = true;
_root.pl3.circle.upbd = true;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
if (cchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
cchan = true;
}
}
if (!this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
cchan = false;
}
if (cmove == true) {
_root.pl3._y = _root.pl3._y + pl3g;
_root.pl3._x = _root.pl3._x + 33;
pl3g = pl3g + 0.5;
_root.pl3.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true)) || (_root.rampspd2.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true))) || (_root.rampspd3.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (cmove == true))) {
_root.pl3.circle.ledge = true;
_root.pl3.circle.attack = false;
cmove = false;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
if (dchan == false) {
zoom = new Sound(this);
zoom.attachSound("sonic-se-spdup");
zoom.start(0, 0);
dchan = true;
}
_root.pl4.circle.ledge = true;
pl4g = -14;
dmove = true;
_root.pl4.circle.jump = true;
_root.pl4.circle.attack = true;
_root.pl4.circle.dj = true;
_root.pl4.circle.upbd = true;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
}
if (!this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
dchan = false;
}
if (dmove == true) {
_root.pl4._y = _root.pl4._y + pl4g;
_root.pl4._x = _root.pl4._x + 33;
pl4g = pl4g + 0.5;
_root.pl4.circle.speedgah = 0;
}
if (((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true)) || (_root.rampspd2.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true))) || (_root.rampspd3.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (dmove == true))) {
_root.pl4.circle.ledge = false;
_root.pl4.circle.attack = false;
dmove = false;
}
}
Instance of Symbol 94 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_root.pl1._x, _root.pl1._y - (_root.pl1.circle.hei * 2), true)) {
movea = false;
jumpd = 0;
}
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.attack = false;
_root.pl1.circle.ledge = false;
movea = true;
jumpa = -25;
_root.pl1.circle.jump = true;
_root.pl1.circle.upbd = false;
_root.pl1.circle.dj = false;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
this.play();
}
if (movea == true) {
_root.pl1._y = _root.pl1._y + jumpa;
if (_root.pl1.circle.dj == false) {
_root.pl1.circle.grav = 0;
}
jumpa = jumpa + 0.5;
}
if ((((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (movea == true)) || (_root.pl1.circle.ledge == true)) || (_root.pl1.circle.attack == true)) || (_root.pl1.circle.dj == true)) {
movea = false;
}
if (_root.ground.hitTest(_root.pl2._x, _root.pl2._y - (_root.pl2.circle.hei * 2), true)) {
moveb = false;
jumpd = 0;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.attack = false;
_root.pl2.circle.ledge = false;
moveb = true;
jumpb = -25;
_root.pl2.circle.jump = true;
_root.pl2.circle.upbd = false;
_root.pl2.circle.dj = false;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
this.play();
}
if (moveb == true) {
_root.pl2._y = _root.pl2._y + jumpb;
if (_root.pl2.circle.dj == false) {
_root.pl2.circle.grav = 0;
}
jumpb = jumpb + 0.5;
}
if ((((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (moveb == true)) || (_root.pl2.circle.ledge == true)) || (_root.pl2.circle.attack == true)) || (_root.pl2.circle.dj == true)) {
moveb = false;
}
if (_root.ground.hitTest(_root.pl3._x, _root.pl3._y - (_root.pl3.circle.hei * 2), true)) {
movec = false;
jumpd = 0;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.attack = false;
_root.pl3.circle.ledge = false;
movec = true;
jumpc = -25;
_root.pl3.circle.jump = true;
_root.pl3.circle.upbd = false;
_root.pl3.circle.dj = false;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
this.play();
}
if (movec == true) {
_root.pl3._y = _root.pl3._y + jumpc;
if (_root.pl3.circle.dj == false) {
_root.pl3.circle.grav = 0;
}
jumpc = jumpc + 0.5;
}
if ((((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (movec == true)) || (_root.pl3.circle.ledge == true)) || (_root.pl3.circle.attack == true)) || (_root.pl3.circle.dj == true)) {
movec = false;
}
if (_root.ground.hitTest(_root.pl4._x, _root.pl4._y - (_root.pl4.circle.hei * 2), true)) {
moved = false;
jumpd = 0;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
_root.pl4.circle.attack = false;
_root.pl4.circle.ledge = false;
moved = true;
jumpd = -25;
_root.pl4.circle.jump = true;
_root.pl4.circle.upbd = false;
_root.pl4.circle.dj = false;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
this.play();
}
if (moved == true) {
_root.pl4._y = _root.pl4._y + jumpd;
if (_root.pl4.circle.dj == false) {
_root.pl4.circle.grav = 0;
}
jumpd = jumpd + 0.5;
}
if ((((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (moved == true)) || (_root.pl4.circle.ledge == true)) || (_root.pl4.circle.attack == true)) || (_root.pl4.circle.dj == true)) {
moved = false;
}
}
Instance of Symbol 94 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_root.pl1._x, _root.pl1._y - (_root.pl1.circle.hei * 2), true)) {
movea = false;
jumpd = 0;
}
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.attack = false;
_root.pl1.circle.ledge = false;
movea = true;
jumpa = -22;
_root.pl1.circle.jump = true;
_root.pl1.circle.upbd = false;
_root.pl1.circle.dj = false;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
this.play();
}
if (movea == true) {
_root.pl1._y = _root.pl1._y + jumpa;
if (_root.pl1.circle.dj == false) {
_root.pl1.circle.grav = 0;
}
jumpa = jumpa + 0.5;
}
if ((((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (movea == true)) || (_root.pl1.circle.ledge == true)) || (_root.pl1.circle.attack == true)) || (_root.pl1.circle.dj == true)) {
movea = false;
}
if (_root.ground.hitTest(_root.pl2._x, _root.pl2._y - (_root.pl2.circle.hei * 2), true)) {
moveb = false;
jumpd = 0;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.attack = false;
_root.pl2.circle.ledge = false;
moveb = true;
jumpb = -22;
_root.pl2.circle.jump = true;
_root.pl2.circle.upbd = false;
_root.pl2.circle.dj = false;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
this.play();
}
if (moveb == true) {
_root.pl2._y = _root.pl2._y + jumpb;
if (_root.pl2.circle.dj == false) {
_root.pl2.circle.grav = 0;
}
jumpb = jumpb + 0.5;
}
if ((((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (moveb == true)) || (_root.pl2.circle.ledge == true)) || (_root.pl2.circle.attack == true)) || (_root.pl2.circle.dj == true)) {
moveb = false;
}
if (_root.ground.hitTest(_root.pl3._x, _root.pl3._y - (_root.pl3.circle.hei * 2), true)) {
movec = false;
jumpd = 0;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.attack = false;
_root.pl3.circle.ledge = false;
movec = true;
jumpc = -22;
_root.pl3.circle.jump = true;
_root.pl3.circle.upbd = false;
_root.pl3.circle.dj = false;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
this.play();
}
if (movec == true) {
_root.pl3._y = _root.pl3._y + jumpc;
if (_root.pl3.circle.dj == false) {
_root.pl3.circle.grav = 0;
}
jumpc = jumpc + 0.5;
}
if ((((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (movec == true)) || (_root.pl3.circle.ledge == true)) || (_root.pl3.circle.attack == true)) || (_root.pl3.circle.dj == true)) {
movec = false;
}
if (_root.ground.hitTest(_root.pl4._x, _root.pl4._y - (_root.pl4.circle.hei * 2), true)) {
moved = false;
jumpd = 0;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
_root.pl4.circle.attack = false;
_root.pl4.circle.ledge = false;
moved = true;
jumpd = -22;
_root.pl4.circle.jump = true;
_root.pl4.circle.upbd = false;
_root.pl4.circle.dj = false;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
this.play();
}
if (moved == true) {
_root.pl4._y = _root.pl4._y + jumpd;
if (_root.pl4.circle.dj == false) {
_root.pl4.circle.grav = 0;
}
jumpd = jumpd + 0.5;
}
if ((((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (moved == true)) || (_root.pl4.circle.ledge == true)) || (_root.pl4.circle.attack == true)) || (_root.pl4.circle.dj == true)) {
moved = false;
}
}
Instance of Symbol 94 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_root.pl1._x, _root.pl1._y - (_root.pl1.circle.hei * 2), true)) {
movea = false;
jumpd = 0;
}
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.attack = false;
_root.pl1.circle.ledge = false;
movea = true;
jumpa = -25;
_root.pl1.circle.jump = true;
_root.pl1.circle.upbd = false;
_root.pl1.circle.dj = false;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
this.play();
}
if (movea == true) {
_root.pl1._y = _root.pl1._y + jumpa;
if (_root.pl1.circle.dj == false) {
_root.pl1.circle.grav = 0;
}
jumpa = jumpa + 0.5;
}
if ((((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (movea == true)) || (_root.pl1.circle.ledge == true)) || (_root.pl1.circle.attack == true)) || (_root.pl1.circle.dj == true)) {
movea = false;
}
if (_root.ground.hitTest(_root.pl2._x, _root.pl2._y - (_root.pl2.circle.hei * 2), true)) {
moveb = false;
jumpd = 0;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.attack = false;
_root.pl2.circle.ledge = false;
moveb = true;
jumpb = -25;
_root.pl2.circle.jump = true;
_root.pl2.circle.upbd = false;
_root.pl2.circle.dj = false;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
this.play();
}
if (moveb == true) {
_root.pl2._y = _root.pl2._y + jumpb;
if (_root.pl2.circle.dj == false) {
_root.pl2.circle.grav = 0;
}
jumpb = jumpb + 0.5;
}
if ((((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (moveb == true)) || (_root.pl2.circle.ledge == true)) || (_root.pl2.circle.attack == true)) || (_root.pl2.circle.dj == true)) {
moveb = false;
}
if (_root.ground.hitTest(_root.pl3._x, _root.pl3._y - (_root.pl3.circle.hei * 2), true)) {
movec = false;
jumpd = 0;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.attack = false;
_root.pl3.circle.ledge = false;
movec = true;
jumpc = -25;
_root.pl3.circle.jump = true;
_root.pl3.circle.upbd = false;
_root.pl3.circle.dj = false;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
this.play();
}
if (movec == true) {
_root.pl3._y = _root.pl3._y + jumpc;
if (_root.pl3.circle.dj == false) {
_root.pl3.circle.grav = 0;
}
jumpc = jumpc + 0.5;
}
if ((((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (movec == true)) || (_root.pl3.circle.ledge == true)) || (_root.pl3.circle.attack == true)) || (_root.pl3.circle.dj == true)) {
movec = false;
}
if (_root.ground.hitTest(_root.pl4._x, _root.pl4._y - (_root.pl4.circle.hei * 2), true)) {
moved = false;
jumpd = 0;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
_root.pl4.circle.attack = false;
_root.pl4.circle.ledge = false;
moved = true;
jumpd = -25;
_root.pl4.circle.jump = true;
_root.pl4.circle.upbd = false;
_root.pl4.circle.dj = false;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
this.play();
}
if (moved == true) {
_root.pl4._y = _root.pl4._y + jumpd;
if (_root.pl4.circle.dj == false) {
_root.pl4.circle.grav = 0;
}
jumpd = jumpd + 0.5;
}
if ((((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (moved == true)) || (_root.pl4.circle.ledge == true)) || (_root.pl4.circle.attack == true)) || (_root.pl4.circle.dj == true)) {
moved = false;
}
}
Instance of Symbol 94 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_root.pl1._x, _root.pl1._y - (_root.pl1.circle.hei * 2), true)) {
movea = false;
jumpd = 0;
}
if (this.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.pl1.circle.attack = false;
_root.pl1.circle.ledge = false;
movea = true;
jumpa = -25;
_root.pl1.circle.jump = true;
_root.pl1.circle.upbd = false;
_root.pl1.circle.dj = false;
_root.pl1.circle.j.gotoAndPlay(2);
_root.pl1.circle.bounce.play();
this.play();
}
if (movea == true) {
_root.pl1._y = _root.pl1._y + jumpa;
if (_root.pl1.circle.dj == false) {
_root.pl1.circle.grav = 0;
}
jumpa = jumpa + 0.5;
}
if ((((_root.ground.hitTest(_root.pl1._x, _root.pl1._y + 3, true) && (movea == true)) || (_root.pl1.circle.ledge == true)) || (_root.pl1.circle.attack == true)) || (_root.pl1.circle.dj == true)) {
movea = false;
}
if (_root.ground.hitTest(_root.pl2._x, _root.pl2._y - (_root.pl2.circle.hei * 2), true)) {
moveb = false;
jumpd = 0;
}
if (this.hitTest(_root.pl2._x, _root.pl2._y, true)) {
_root.pl2.circle.attack = false;
_root.pl2.circle.ledge = false;
moveb = true;
jumpb = -25;
_root.pl2.circle.jump = true;
_root.pl2.circle.upbd = false;
_root.pl2.circle.dj = false;
_root.pl2.circle.j.gotoAndPlay(2);
_root.pl2.circle.bounce.play();
this.play();
}
if (moveb == true) {
_root.pl2._y = _root.pl2._y + jumpb;
if (_root.pl2.circle.dj == false) {
_root.pl2.circle.grav = 0;
}
jumpb = jumpb + 0.5;
}
if ((((_root.ground.hitTest(_root.pl2._x, _root.pl2._y + 3, true) && (moveb == true)) || (_root.pl2.circle.ledge == true)) || (_root.pl2.circle.attack == true)) || (_root.pl2.circle.dj == true)) {
moveb = false;
}
if (_root.ground.hitTest(_root.pl3._x, _root.pl3._y - (_root.pl3.circle.hei * 2), true)) {
movec = false;
jumpd = 0;
}
if (this.hitTest(_root.pl3._x, _root.pl3._y, true)) {
_root.pl3.circle.attack = false;
_root.pl3.circle.ledge = false;
movec = true;
jumpc = -25;
_root.pl3.circle.jump = true;
_root.pl3.circle.upbd = false;
_root.pl3.circle.dj = false;
_root.pl3.circle.j.gotoAndPlay(2);
_root.pl3.circle.bounce.play();
this.play();
}
if (movec == true) {
_root.pl3._y = _root.pl3._y + jumpc;
if (_root.pl3.circle.dj == false) {
_root.pl3.circle.grav = 0;
}
jumpc = jumpc + 0.5;
}
if ((((_root.ground.hitTest(_root.pl3._x, _root.pl3._y + 3, true) && (movec == true)) || (_root.pl3.circle.ledge == true)) || (_root.pl3.circle.attack == true)) || (_root.pl3.circle.dj == true)) {
movec = false;
}
if (_root.ground.hitTest(_root.pl4._x, _root.pl4._y - (_root.pl4.circle.hei * 2), true)) {
moved = false;
jumpd = 0;
}
if (this.hitTest(_root.pl4._x, _root.pl4._y, true)) {
_root.pl4.circle.attack = false;
_root.pl4.circle.ledge = false;
moved = true;
jumpd = -25;
_root.pl4.circle.jump = true;
_root.pl4.circle.upbd = false;
_root.pl4.circle.dj = false;
_root.pl4.circle.j.gotoAndPlay(2);
_root.pl4.circle.bounce.play();
this.play();
}
if (moved == true) {
_root.pl4._y = _root.pl4._y + jumpd;
if (_root.pl4.circle.dj == false) {
_root.pl4.circle.grav = 0;
}
jumpd = jumpd + 0.5;
}
if ((((_root.ground.hitTest(_root.pl4._x, _root.pl4._y + 3, true) && (moved == true)) || (_root.pl4.circle.ledge == true)) || (_root.pl4.circle.attack == true)) || (_root.pl4.circle.dj == true)) {
moved = false;
}
}
Instance of Symbol 811 MovieClip "pl1" in Frame 2
onClipEvent (load) {
damage = 0;
player = 1;
circle.died = false;
_root.nounpause1 = false;
}
onClipEvent (enterFrame) {
if (((_root["lives" + player] < 1) && (_root.matotest == true)) || ((_root["lives" + player] < 1) && (_root.story == true))) {
_root.camFrame.messages.gotoAndStop("fail");
if (_root.thecrowdhasspoken == false) {
this["crowd" + player] = new Sound(this);
this["crowd" + player].attachSound("crowdsad");
this["crowd" + player].start(0, 1);
_root.thecrowdhasspoken = true;
}
}
if (((_root.matotest == true) && (_root.matoremain < 1)) || ((_root.story == true) && (_root.goal.hitTest(_x, _y, true)))) {
_root.camFrame.messages.gotoAndStop("win");
_root.paus = true;
if (_root.thecrowdhasspoken == false) {
this["crowd" + player] = new Sound(this);
this["crowd" + player].attachSound("crowdhappy");
this["crowd" + player].start(0, 1);
_root.thecrowdhasspoken = true;
}
}
gotoAndStop(_root.char1);
if (_root.dbrd.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 1;
circle.gotoAndStop("death");
}
if (_root.dbrl.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 2;
circle.gotoAndStop("death");
}
if (_root.dbrr.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 3;
circle.gotoAndStop("death");
}
if (circle._currentframe == "death") {
circle.ledge = true;
}
if (circle.ledge == true) {
circle.grav = 0;
}
}
Instance of Symbol 811 MovieClip "pl2" in Frame 2
onClipEvent (load) {
damage = 0;
player = 2;
circle.died = false;
_root.nounpause2 = false;
}
onClipEvent (enterFrame) {
gotoAndStop(_root.char2);
if (_root.dbrd.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 1;
circle.gotoAndStop("death");
}
if (_root.dbrl.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 2;
circle.gotoAndStop("death");
}
if (_root.dbrr.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 3;
circle.gotoAndStop("death");
}
if (circle._currentframe == "death") {
circle.ledge = true;
}
}
Instance of Symbol 811 MovieClip "pl3" in Frame 2
onClipEvent (load) {
damage = 0;
player = 3;
circle.died = false;
_root.nounpause3 = false;
}
onClipEvent (enterFrame) {
gotoAndStop(_root.char3);
if (_root.dbrd.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 1;
circle.gotoAndStop("death");
}
if (_root.dbrl.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 2;
circle.gotoAndStop("death");
}
if (_root.dbrr.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 3;
circle.gotoAndStop("death");
}
if (circle._currentframe == "death") {
circle.ledge = true;
}
}
Instance of Symbol 811 MovieClip "pl4" in Frame 2
onClipEvent (load) {
damage = 0;
player = 4;
circle.died = false;
_root.nounpause4 = false;
}
onClipEvent (enterFrame) {
gotoAndStop(_root.char4);
if (_root.dbrd.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 1;
circle.gotoAndStop("death");
}
if (_root.dbrl.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 2;
circle.gotoAndStop("death");
}
if (_root.dbrr.hitTest(_x, _y, true) && (circle._currentframe != "death")) {
circle.speedduh = 0;
circle.speedgah = 0;
circle.dietype = 3;
circle.gotoAndStop("death");
}
if (circle._currentframe == "death") {
circle.ledge = true;
}
}
Instance of Symbol 832 MovieClip "obj1" in Frame 2
onClipEvent (enterFrame) {
if (_root.paus == false) {
if (_name == "obj1") {
this.removeMovieClip();
} else {
bah--;
if (bah < 11) {
_alpha = (bah * 10);
}
fixed = true;
_rotation = (_rotation + rotaty);
_x = (_x + speed);
_y = (_y + Math.abs(speed));
_xscale = (_xscale + scalplus);
_yscale = (_yscale + scalplus);
kbx = (250 * (_xscale / 100)) + 100;
kby = 0;
dmg = 0.7 * (_xscale / 100);
if (_root.ground.hitTest(_x, _y + (hei / 2), true)) {
_y = (_y - Math.abs(speed));
}
if (_root.ground.hitTest(_x + (wid / 2), _y, true)) {
_x = (_x - speed);
}
if (_root.ground.hitTest(_x + (wid / 2), _y, true)) {
_x = (_x + speed);
}
if (_alpha < 10) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 840 MovieClip "obj3" in Frame 2
onClipEvent (enterFrame) {
if (_root.paus == false) {
if (_name == "obj3") {
this.removeMovieClip();
} else {
if (!_root.ground.hitTest(_x, _y, true)) {
this._y = this._y + 40;
}
fixed = true;
kbx = 0;
kby = 1000;
dmg = 1;
}
}
}
onClipEvent (load) {
active = true;
}
Instance of Symbol 832 MovieClip "obj2" in Frame 2
onClipEvent (enterFrame) {
if (_root.paus == false) {
if (_name == "obj2") {
this.removeMovieClip();
} else {
bah--;
if (bah < 11) {
_alpha = (bah * 10);
}
sound = "fire2";
_rotation = (_rotation + rotaty);
_x = (_x + xspeed);
_y = (_y + yspeed);
yspeed = yspeed + 0.5;
kbx = 5;
kby = 5;
dmg = 14 * ((_xscale / 100) - 0.3);
if (_root.ground.hitTest(_x, _y + (hei / 2), true)) {
yspeed = yspeed * -1;
}
if (_root.ground.hitTest(_x + (wid / 2), _y, true)) {
this.removeMovieClip();
}
if (_root.ground.hitTest(_x + (wid / 2), _y, true)) {
this.removeMovieClip();
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (active == false) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 843 MovieClip "obj4" in Frame 2
onClipEvent (load) {
scalex = _xscale;
scaley = _yscale;
scalea = _alpha;
sound = "slashl";
}
onClipEvent (enterFrame) {
if (_root.paus == false) {
if (_name == "obj4") {
this.removeMovieClip();
} else {
bah--;
_x = (_x + xspeed);
kbx = 15 * (_xscale / scalex);
kby = 15;
dmg = 7;
if (bah < 11) {
_alpha = ((0.1 * bah) * scalea);
_xscale = ((0.1 * bah) * scalex);
_yscale = ((0.1 * bah) * scaley);
}
while ((_root.ground.hitTest(_x, _y, true) && (!_root.ground.hitTest(_x + (wid / 2), _y - (hei / 2), true))) && (!_root.ground.hitTest(_x - (wid / 2), _y - (hei / 2), true))) {
_y = (_y - 0.1);
}
if (_root.ground.hitTest((_x + (wid / 2)) - 3, _y - (hei / 2), true) || (_root.ground.hitTest((_x - (wid / 2)) + 3, _y - (hei / 2), true))) {
_x = (_x - xspeed);
}
if ((_root.ground.hitTest((_x + (wid / 2)) + 2, _y - (hei / 2), true) && (bah > 6)) || (_root.ground.hitTest((_x - (wid / 2)) - 2, _y - (hei / 2), true) && (bah > 6))) {
bah = 5;
}
if (bah < 1) {
this.removeMovieClip();
}
}
}
}
Instance of Symbol 844 MovieClip "obj5" in Frame 2
onClipEvent (enterFrame) {
if (_name == "obj5") {
this.removeMovieClip();
} else {
bah--;
if (bah < 11) {
_alpha = (bah * 10);
}
_rotation = (_rotation + rotaty);
_x = (_x + xspeed);
kbx = 5;
kby = 5;
dmg = 14 * ((_xscale / 100) - 0.3);
if (_root.ground.hitTest(_x, _y + (hei / 2), true)) {
yspeed = yspeed * -1;
}
if (_root.ground.hitTest(_x + (wid / 2), _y, true)) {
this.removeMovieClip();
}
if (_root.ground.hitTest(_x + (wid / 2), _y, true)) {
this.removeMovieClip();
}
if (_alpha < 10) {
this.removeMovieClip();
}
if (active == false) {
this.removeMovieClip();
}
}
}
Instance of Symbol 927 MovieClip "camFrame" in Frame 2
onClipEvent (enterFrame) {
if (!_root.cbry.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.yChange = Math.round((_root.pl1._y - 80) - this._y);
_root.yMove = Math.round(_root.yChange / 10);
_y = (_y + _root.yMove);
}
if (!_root.cbrx.hitTest(_root.pl1._x, _root.pl1._y, true)) {
_root.xChange = Math.round(_root.pl1._x - this._x);
_root.xMove = Math.round(_root.xChange / 8);
_x = (_x + _root.xMove);
}
}
Frame 3
gotoAndPlay (2);
Frame 4
_root.paus = false;
gamebg.stop();
gamebg = new Sound(this);
gamebg.attachSound("bonusfin");
gamebg.start(0, 1);
timetakens = int(timetaken * 100) / 100;
timetaken = 0;
Instance of Symbol 940 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (_root.timetakens > 75) {
gotoAndStop (1);
}
if ((_root.timetakens < 75.01) && (_root.timetakens > 42)) {
gotoAndStop (2);
}
if ((_root.timetakens < 42.01) && (_root.timetakens > 34)) {
gotoAndStop (3);
}
if ((_root.timetakens < 34.01) && (_root.timetakens > 24.45)) {
gotoAndStop (4);
}
if (_root.timetakens < 24.46) {
gotoAndStop (5);
}
}
Symbol 46 MovieClip [Hit6] Frame 14
_rotation = random(360);
Symbol 61 MovieClip [diep4] Frame 43
this.unloadMovie();
Symbol 62 MovieClip [diep3] Frame 43
this.unloadMovie();
Symbol 63 MovieClip [diep2] Frame 43
this.unloadMovie();
Symbol 65 MovieClip [diep1] Frame 43
this.unloadMovie();
Instance of Symbol 71 MovieClip "origl" in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == origl) {
this.visible = 0;
} else {
_x = (_x + _xspeed);
if (this.hitTest(_parent.endl)) {
_parent.lspawned--;
this.unloadMovie();
}
}
}
Instance of Symbol 71 MovieClip "endl" in Symbol 72 MovieClip Frame 1
/* no clip actions */
Instance of Symbol 71 MovieClip "origr" in Symbol 72 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_name == origr) {
this.visible = 0;
} else {
_x = (_x - _xspeed);
if (this.hitTest(_parent.endr)) {
_parent.rspawned--;
this.unloadMovie();
}
}
}
Instance of Symbol 71 MovieClip "endr" in Symbol 72 MovieClip Frame 1
/* no clip actions */
Symbol 74 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Instance of Symbol 78 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paus == false) {
_y = (_y - 10);
if (this.hitTest(_parent.box2)) {
_y = 515.5;
}
}
}
Instance of Symbol 78 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paus == false) {
_y = (_y - 40);
if (this.hitTest(_parent.box)) {
_y = -88;
}
}
}
Instance of Symbol 78 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paus == false) {
_y = (_y - 40);
if (this.hitTest(_parent.box)) {
_y = -88;
}
}
}
Instance of Symbol 78 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paus == false) {
_y = (_y - 40);
if (this.hitTest(_parent.box)) {
_y = -88;
}
}
}
Instance of Symbol 78 MovieClip in Symbol 83 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.paus == false) {
_y = (_y - 40);
if (this.hitTest(_parent.box)) {
_y = -88;
}
}
}
Symbol 94 MovieClip Frame 1
stop();
Symbol 94 MovieClip Frame 2
attack1 = new Sound(this);
attack1.attachSound("sonic_spring");
attack1.start(0, 0);
Symbol 123 MovieClip Frame 5
stop();
Symbol 133 MovieClip Frame 1
stop();
Symbol 133 MovieClip Frame 5
stop();
Instance of Symbol 133 MovieClip in Symbol 134 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
play();
}
}
Symbol 140 MovieClip Frame 21
stop();
Instance of Symbol 133 MovieClip in Symbol 140 MovieClip Frame 21
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
play();
}
}
Instance of Symbol 80 MovieClip in Symbol 141 MovieClip Frame 1
onClipEvent (load) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
if (Key.isDown(65)) {
_parent._parent.attack = true;
_parent._parent.upbd = true;
_parent._parent.gotoAndStop(7);
}
}
Symbol 141 MovieClip Frame 4
_parent.grav = -_parent.jumpHeight;
_parent._parent._y = _parent._parent._y - 4;
_parent.jump = true;
_parent.attack = false;
_parent.timer = 12;
Symbol 141 MovieClip Frame 5
_parent.attack = false;
Instance of Symbol 126 MovieClip in Symbol 141 MovieClip Frame 5
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -6.6;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 6.6;
}
}
}
Symbol 141 MovieClip Frame 7
stop();
Instance of Symbol 134 MovieClip in Symbol 141 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.275;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.275;
}
}
Symbol 141 MovieClip Frame 8
stop();
Instance of Symbol 140 MovieClip in Symbol 141 MovieClip Frame 8
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.275;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.275;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 147 MovieClip Frame 1
stop();
Symbol 147 MovieClip Frame 2
stop();
Instance of Symbol 159 MovieClip in Symbol 160 MovieClip Frame 1
onClipEvent (load) {
_alpha = (_parent._parent.charge / 1.5);
}
Symbol 163 MovieClip Frame 1
charge = 0;
Symbol 163 MovieClip Frame 2
charge = 0;
Instance of Symbol 147 MovieClip in Symbol 163 MovieClip Frame 5
onClipEvent (load) {
if (_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
gotoAndStop (1);
} else {
gotoAndStop (2);
}
}
Instance of Symbol 80 MovieClip in Symbol 163 MovieClip Frame 17
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_parent.gotoAndPlay("release");
} else {
play();
}
}
Instance of Symbol 80 MovieClip in Symbol 163 MovieClip Frame 60
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_parent.gotoAndPlay("release");
} else {
play();
}
_parent.charge = _parent.charge + 1;
}
Instance of Symbol 159 MovieClip in Symbol 163 MovieClip Frame 160
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
Instance of Symbol 80 MovieClip "hit2" in Symbol 163 MovieClip Frame 160
onClipEvent (load) {
if (_parent.charge < 96) {
_parent._parent._parent.dmg2 = Math.round(_parent.charge / 4) + 6;
_parent._parent._parent.kbx2 = Math.round((_parent.charge * (_parent._parent._xscale / _parent._parent.scale)) / 16) + (34.4 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby2 = Math.round(_parent.charge / 20) + 37.5;
} else {
_parent._parent._parent.dmg2 = 24;
_parent._parent._parent.kbx2 = 85 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby2 = 85;
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 163 MovieClip Frame 160
onClipEvent (load) {
if (_parent.charge < 96) {
_parent._parent._parent.dmg1 = Math.round(_parent.charge / 3.75) + 8;
_parent._parent._parent.kbx1 = Math.round((_parent.charge * (_parent._parent._xscale / _parent._parent.scale)) / 18.75) + (34.4 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = Math.round(_parent.charge / 18.75) + 50;
} else {
_parent._parent._parent.dmg1 = 34;
_parent._parent._parent.kbx1 = 150 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 150;
}
}
Instance of Symbol 159 MovieClip in Symbol 163 MovieClip Frame 162
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
onClipEvent (enterFrame) {
if (_parent._currentframe > 162) {
this.unloadMovie();
}
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip Frame 162
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
Instance of Symbol 159 MovieClip in Symbol 163 MovieClip Frame 164
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
onClipEvent (enterFrame) {
_alpha = (_alpha - (_parent._charge / 11));
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip Frame 164
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
onClipEvent (enterFrame) {
_alpha = (_alpha - (_parent._charge / 11));
}
Instance of Symbol 159 MovieClip in Symbol 163 MovieClip Frame 175
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
Instance of Symbol 160 MovieClip in Symbol 163 MovieClip Frame 175
onClipEvent (load) {
_alpha = (_parent.charge / 1.5);
}
Symbol 163 MovieClip Frame 176
charge = 0;
_parent.gotoAndStop(1);
Symbol 181 MovieClip Frame 5
if ((!_parent.sidebd) && (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true))) {
_parent.grav = -6;
_parent.sidebd = true;
} else if (_parent.sidebd && (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true))) {
_parent.grav = -1;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 181 MovieClip Frame 5
onClipEvent (load) {
_parent._parent._parent.dmg1 = 4;
_parent._parent._parent.kbx1 = 5 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 20;
}
Symbol 181 MovieClip Frame 9
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 10
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 11
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 12
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 13
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 14
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 15
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 16
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
if (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndPlay(3);
}
Symbol 181 MovieClip Frame 17
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 18
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 19
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 20
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 21
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 22
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 23
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 24
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (26);
}
Symbol 181 MovieClip Frame 25
if (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndStop(3);
} else if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndStop(1);
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 181 MovieClip Frame 27
onClipEvent (load) {
_parent._parent._parent.dmg1 = 4;
_parent._parent._parent.kbx1 = 5 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 20;
}
Symbol 181 MovieClip Frame 30
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 31
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 32
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 33
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 34
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 35
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 36
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 37
if (Key.isDown(65) && (!ahold)) {
gotoAndPlay (39);
}
Symbol 181 MovieClip Frame 38
if (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndStop(3);
} else if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndStop(1);
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 181 MovieClip Frame 43
onClipEvent (load) {
_parent._parent._parent.dmg1 = 9;
_parent._parent._parent.kbx1 = 30 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 50;
}
onClipEvent (enterFrame) {
_x = (_x - 8);
}
Symbol 181 MovieClip Frame 53
if (Key.isDown(65) && (!ahold)) {
_parent.gotoAndStop(4);
}
Symbol 181 MovieClip Frame 54
if (Key.isDown(65) && (!ahold)) {
_parent.gotoAndStop(4);
}
Symbol 181 MovieClip Frame 55
if (Key.isDown(65) && (!ahold)) {
_parent.gotoAndStop(4);
}
Symbol 181 MovieClip Frame 56
if (Key.isDown(65) && (!ahold)) {
_parent.gotoAndStop(4);
}
Symbol 181 MovieClip Frame 57
if (Key.isDown(65) && (!ahold)) {
_parent.gotoAndStop(4);
}
Symbol 181 MovieClip Frame 58
if (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndStop(3);
} else if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent.gotoAndStop(1);
}
Symbol 181 MovieClip Frame 64
_parent.gotoAndStop(3);
Symbol 181 MovieClip Frame 76
_parent.gotoAndStop(3);
Symbol 184 MovieClip Frame 16
_parent.gotoAndStop(1);
Instance of Symbol 187 MovieClip in Symbol 188 MovieClip Frame 1
onClipEvent (load) {
_alpha = (_parent._parent.charge / 1.5);
}
Instance of Symbol 191 MovieClip in Symbol 192 MovieClip Frame 1
onClipEvent (load) {
_alpha = (_parent._parent.charge / 1.5);
}
Instance of Symbol 80 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._xscale > 0) {
if (Key.isDown(39)) {
_parent._parent._parent._x = _parent._parent._parent._x + (4 * (_parent._parent._xscale / _parent._parent.scale));
}
}
if (_parent._parent._xscale < 0) {
if (Key.isDown(37)) {
_parent._parent._parent._x = _parent._parent._parent._x + (4 * (_parent._parent._xscale / _parent._parent.scale));
}
}
}
Instance of Symbol 134 MovieClip in Symbol 201 MovieClip Frame 1
onClipEvent (load) {
can = 3;
}
onClipEvent (load) {
can = 3;
}
onClipEvent (enterFrame) {
_parent._parent._parent._y = _parent._parent._parent._y - 5;
can--;
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent._parent._x = _parent._parent._parent._x - 4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent._parent._x = _parent._parent._parent._x + 4;
}
}
}
Instance of Symbol 188 MovieClip in Symbol 201 MovieClip Frame 3
onClipEvent (load) {
_parent._parent.grav = -(_parent._parent.jumpHeight * 1.9);
can = 3;
}
onClipEvent (enterFrame) {
can--;
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent._parent._x = _parent._parent._parent._x - 4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent._parent._x = _parent._parent._parent._x + 4;
}
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 201 MovieClip Frame 3
onClipEvent (load) {
_parent._parent._parent.dmg1 = 7;
_parent._parent._parent.kbx1 = Math.random(-38 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 100;
}
onClipEvent (enterFrame) {
_yscale = (_yscale / 2);
_parent._parent._parent.kby1 = _parent._parent._parent.kby1 / 2;
}
Symbol 201 MovieClip Frame 11
_parent.grav = -5;
Instance of Symbol 80 MovieClip "hit1" in Symbol 201 MovieClip Frame 11
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = 5000;
_parent._parent._parent.kby1 = 0;
}
Instance of Symbol 80 MovieClip in Symbol 201 MovieClip Frame 20
onClipEvent (load) {
_parent._parent._parent.dmg1 = 12;
_parent._parent._parent.kbx1 = 20 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 130;
}
Symbol 201 MovieClip Frame 21
stop();
_parent.recov = false;
_parent.attack = false;
Symbol 212 MovieClip Frame 14
stop();
Symbol 223 MovieClip Frame 18
stop();
Symbol 224 MovieClip Frame 19
stop();
Symbol 229 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 229 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 229 MovieClip Frame 2
_parent.ledge = true;
Symbol 229 MovieClip Frame 3
_parent.ledge = true;
Symbol 229 MovieClip Frame 4
_parent.ledge = true;
Symbol 229 MovieClip Frame 5
_parent.ledge = true;
Symbol 229 MovieClip Frame 6
_parent.ledge = true;
Symbol 229 MovieClip Frame 7
_parent.ledge = true;
Symbol 229 MovieClip Frame 8
_parent.ledge = true;
Symbol 229 MovieClip Frame 9
_parent.ledge = true;
Symbol 229 MovieClip Frame 10
_parent.ledge = true;
Symbol 229 MovieClip Frame 11
_parent.ledge = true;
Symbol 229 MovieClip Frame 12
_parent.ledge = true;
Symbol 229 MovieClip Frame 13
_parent.ledge = true;
Symbol 229 MovieClip Frame 14
_parent.ledge = true;
Symbol 229 MovieClip Frame 15
_parent.ledge = true;
Symbol 229 MovieClip Frame 16
_parent.ledge = true;
Symbol 229 MovieClip Frame 17
_parent.ledge = true;
Symbol 229 MovieClip Frame 18
_parent.ledge = true;
Symbol 229 MovieClip Frame 19
_parent.ledge = true;
Symbol 229 MovieClip Frame 20
_parent.ledge = true;
Symbol 229 MovieClip Frame 21
_parent.ledge = true;
Symbol 229 MovieClip Frame 22
_parent._parent._x = _parent._parent._x + (130 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 236 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
if (_root.ground.hitTest(_parent._x, _parent._y + 4)) {
sidebd = false;
}
Symbol 236 MovieClip Frame 3
stop();
recov = false;
Symbol 236 MovieClip Frame 4
attack = true;
Instance of Symbol 163 MovieClip "atk" in Symbol 236 MovieClip Frame 4
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
onClipEvent (load) {
this.hit2._visible = false;
}
onClipEvent (enterFrame) {
this.hit2._visible = false;
}
Symbol 236 MovieClip Frame 5
attack = true;
Instance of Symbol 181 MovieClip "atk" in Symbol 236 MovieClip Frame 5
onClipEvent (load) {
ah = 0;
}
onClipEvent (enterFrame) {
if (Key.isDown(65)) {
if (ah < 2) {
ah++;
}
} else if (ah > 0) {
ah--;
}
if (ah > 1) {
ahold = true;
} else {
ahold = false;
}
}
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 236 MovieClip Frame 6
attack = true;
Symbol 236 MovieClip Frame 7
recov = true;
attack = true;
upbd = true;
jump = false;
air = false;
dj = false;
speedgah = 0;
if (!_root.ground.hitTest(_parent._x, (_parent._y - hei) - 8, true)) {
grav = (-jumpHeight) * 4;
} else {
grav = -10;
}
Instance of Symbol 201 MovieClip "atk" in Symbol 236 MovieClip Frame 7
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 236 MovieClip Frame 10
stop();
attack = false;
recov = false;
timer = 12;
Symbol 236 MovieClip Frame 11
_parent.damage = "X_X";
_root.hud[("p" + _parent.player) + "dmg"] = "X_X";
ledge = true;
attack = true;
if (dietype == 1) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = _parent._x;
_root["MC" + _parent.player]._y = (_root.camFrame._y + (_root.camFrame._height / 2)) + 10;
}
if (dietype == 2) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x - (_root.camFrame._width / 2)) - 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = 90;
}
if (dietype == 3) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x + (_root.camFrame._width / 2)) + 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = -90;
}
_parent.lives--;
Instance of Symbol 80 MovieClip in Symbol 236 MovieClip Frame 11
onClipEvent (load) {
timer = 130;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_parent._parent._x = _root["spawn" + _parent._parent.player]._x;
_parent._parent._y = _root["spawn" + _parent._parent.player]._y;
_parent.gotoAndStop("rebirth");
}
}
Symbol 236 MovieClip Frame 12
_parent.damage = 0;
died = false;
_root.hud[("p" + _parent.player) + "dmg"] = 0;
Instance of Symbol 105 MovieClip in Symbol 236 MovieClip Frame 12
onClipEvent (load) {
going = 80;
stuff = 150;
}
onClipEvent (enterFrame) {
going--;
stuff--;
_parent.grav = 0;
if (going > 0) {
_parent._parent._y = _parent._parent._y + 2;
}
if (stuff < 0) {
_parent.ledge = false;
_parent.attack = false;
_parent.gotoAndStop(1);
}
}
Symbol 243 MovieClip Frame 1
stop();
Symbol 243 MovieClip Frame 2
stop();
Symbol 243 MovieClip Frame 3
stop();
Symbol 243 MovieClip Frame 4
stop();
Symbol 244 MovieClip Frame 1
stop();
xgo = 0;
ygo = 0;
attack = false;
recov = false;
timer = 12;
Instance of Symbol 80 MovieClip in Symbol 244 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pl1.circle.atk.hit1.hitTest(this) && (!_root.pl1.circle.atk.hit2.hitTest(this))) {
_root.pl1.circle.atk.hit2.unloadMovie();
_root.pl1.circle.atk.hit1.unloadMovie();
_parent.attack = true;
_parent._parent.damage = _parent._parent.damage + _root.pl1.dmg1;
if (_root.pl1.circle.atk.hit1.fixed == true) {
_parent.xgo = _parent.xgo + (((_root.pl1.kbx1 / _parent.weight) / _parent.weight) * (_root.pl1.circle._xscale / _root.pl1.circle.scale));
_parent.ygo = _parent.ygo - ((_root.pl1.kby1 / _parent.weight) / _parent.weight);
} else {
_parent.xgo = _parent.xgo + ((((_root.pl1.kbx1 * _parent._parent.damage) / _parent.weight) / _parent.weight) + (50 * (_root.pl1.circle._xscale / _root.pl1.circle.scale)));
_parent.ygo = _parent.ygo - ((((_root.pl1.kby1 * _parent._parent.damage) / _parent.weight) / _parent.weight) + 50);
}
_parent.gotoAndStop(12);
_parent.rehit = true;
_parent.hrt.gotoAndStop("hurt");
}
}
onClipEvent (enterFrame) {
if (_root.pl1.circle.atk.hit2.hitTest(this) && (!_root.pl1.circle.atk.hit1.hitTest(this))) {
_root.pl1.circle.atk.hit1.unloadMovie();
_root.pl1.circle.atk.hit2.unloadMovie();
_parent.attack = true;
_parent._parent.damage = _parent._parent.damage + _root.pl1.dmg2;
if (_root.pl1.circle.atk.hit2.fixed == true) {
_parent.xgo = _parent.xgo + (((_root.pl1.kbx2 / _parent.weight) / _parent.weight) * (_root.pl1.circle._xscale / _root.pl1.circle.scale));
_parent.ygo = _parent.ygo - ((_root.pl1.kby2 / _parent.weight) / _parent.weight);
} else {
_parent.xgo = _parent.xgo + ((((_root.pl1.kbx2 * _parent._parent.damage) / _parent.weight) / _parent.weight) + (50 * (_root.pl1.circle._xscale / _root.pl1.circle.scale)));
_parent.ygo = _parent.ygo - ((((_root.pl1.kby2 * _parent._parent.damage) / _parent.weight) / _parent.weight) + 50);
}
if (_parent._currentframe != 12) {
_parent.gotoAndStop(12);
}
_parent.rehit = true;
_parent.hrt.gotoAndStop("hurt");
}
}
onClipEvent (enterFrame) {
if (_root.pl1.circle.atk.hit2.hitTest(this) && (_root.pl1.circle.atk.hit1.hitTest(this))) {
_root.pl1.circle.atk.hit1.unloadMovie();
_root.pl1.circle.atk.hit2.unloadMovie();
_parent.attack = true;
_parent._parent.damage = _parent._parent.damage + _root.pl1.dmg2;
if (_root.pl1.circle.atk.hit2.fixed == true) {
_parent.xgo = _parent.xgo + (((_root.pl1.kbx2 / _parent.weight) / _parent.weight) * (_root.pl1.circle._xscale / _root.pl1.circle.scale));
_parent.ygo = _parent.ygo - ((_root.pl1.kby2 / _parent.weight) / _parent.weight);
} else {
_parent.xgo = _parent.xgo + ((((_root.pl1.kbx2 * _parent._parent.damage) / _parent.weight) / _parent.weight) + (50 * (_root.pl1.circle._xscale / _root.pl1.circle.scale)));
_parent.ygo = _parent.ygo - ((((_root.pl1.kby2 * _parent._parent.damage) / _parent.weight) / _parent.weight) + 50);
}
_parent.gotoAndStop(12);
_parent.rehit = true;
_parent.hrt.gotoAndStop("hurt");
}
}
onClipEvent (enterFrame) {
i = 0;
while (i < 200) {
if (this.hitTest(_root["pro" + i]) && (_root["pro" + i].active == true)) {
_root["pro" + i].active = false;
_parent.attack = true;
_parent._parent.damage = _parent._parent.damage + _root["pro" + i].dmg;
if (_root["pro" + i].fixed == true) {
_parent.xgo = _parent.xgo + (((_root["pro" + i].kbx / _parent.weight) / _parent.weight) * (_root.pl1.circle._xscale / _root.pl1.circle.scale));
_parent.ygo = _parent.ygo - ((_root["pro" + i].kby / _parent.weight) / _parent.weight);
} else {
_parent.xgo = _parent.xgo + ((((_root["pro" + i].kbx * _parent._parent.damage) / _parent.weight) / _parent.weight) + (50 * (_root.pl1.circle._xscale / _root.pl1.circle.scale)));
_parent.ygo = _parent.ygo - ((((_root["pro" + i].kby * _parent._parent.damage) / _parent.weight) / _parent.weight) + 50);
}
_parent.gotoAndStop(12);
_parent.rehit = true;
_parent.hrt.gotoAndStop("hurt");
}
i++;
}
}
Symbol 244 MovieClip Frame 12
stop();
Instance of Symbol 243 MovieClip "hrt" in Symbol 244 MovieClip Frame 12
onClipEvent (load) {
xsnt = Math.abs(_parent.xgo);
ysnt = Math.abs(_parent.ygo);
_parent.rehit = true;
}
onClipEvent (enterFrame) {
if (_parent.rehit) {
stun = 3;
} else {
stun--;
}
if ((((_parent.rehit && (_parent.xgo < 3)) && (_parent.xgo > -3)) && (_parent.ygo > -2)) && (ysnt < 4)) {
_parent.xgo = 0;
_parent.ygo = 0;
_parent.ledge = false;
_parent.rehit = false;
ysnt = 0;
_parent.gotoAndStop(1);
}
if ((((_parent.rehit && (_parent.xgo < 3)) && (_parent.xgo > -3)) && (_parent.ygo > -2)) && (ysnt > 3)) {
_parent.xgo = 0;
_parent.ygo = 0;
_parent.rehit = false;
ysnt = 0;
_parent.ledge = false;
if ((_currentframe != "downu") && (_currentframe != "downd")) {
gotoAndStop ("fall");
}
_rotation = (_rotation + 10);
if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 3, true)) {
if (((((_currentframe == "fall") && (_rotation > 0)) && (_rotation < 180)) && (_currentframe != "downu")) && (_currentframe != "downd")) {
gotoAndStop ("downu");
_rotation = 0;
} else if (((((_currentframe == "fall") && (_rotation < 0)) && (_rotation > -180)) && (_currentframe != "downu")) && (_currentframe != "downd")) {
_rotation = 0;
gotoAndStop ("downd");
}
}
}
if ((!_root.ground.hitTest(_parent._parent._x - ((_parent.wid / 2) - (_parent.xgo / 4)), _parent._parent._y - (_parent.hei / 2), true)) && (!_root.ground.hitTest(_parent._parent._x + ((_parent.wid / 2) + (_parent.xgo / 4)), _parent._parent._y - (_parent.hei / 2), true))) {
_parent._parent._x = _parent._parent._x + (_parent.xgo / _parent.weight);
}
_parent._parent._y = _parent._parent._y + (_parent.ygo / _parent.weight);
if (_parent.xgo > 2) {
_parent.xgo = _parent.xgo - 2;
}
if (_parent.xgo < -2) {
_parent.xgo = _parent.xgo + 2;
}
if (_parent.ygo < _parent.maxfall) {
_parent.ygo = _parent.ygo + 2;
}
if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 3, true) && (_parent.ygo < -12)) {
_parent.ygo = _parent.ygo * -0.6;
} else if (_root.ground.hitTest(_parent._parent._x, (_parent._parent._y + 3) + (_parent.xgo / 8), true) && (_parent.ygo > -2)) {
_parent.ygo = 0;
}
if (_root.ground.hitTest(_parent._parent._x, (_parent._parent._y - _parent.hei) - (_parent.xgo / 8), true) && (_parent.ygo < -2)) {
_parent.ygo = _parent.ygo * -0.6;
_parent.xgo = _parent.xgo * 0.9;
}
if (_root.ground.hitTest(_parent._parent._x - ((_parent.wid / 2) - (_parent.xgo / 4)), _parent._parent._y - (_parent.hei / 2), true) || (_root.ground.hitTest(_parent._parent._x + ((_parent.wid / 2) + (_parent.xgo / 4)), _parent._parent._y - (_parent.hei / 2), true))) {
_parent.xgo = _parent.xgo * -0.6;
}
}
onClipEvent (enterFrame) {
_rotation = (_rotation + (_parent.xgo / 3));
}
Symbol 244 MovieClip Frame 13
_parent.damage = "X_X";
_root.hud[("p" + _parent.player) + "dmg"] = "X_X";
ledge = true;
attack = true;
if (dietype == 1) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = _parent._x;
_root["MC" + _parent.player]._y = (_root.camFrame._y + (_root.camFrame._height / 2)) + 10;
}
if (dietype == 2) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x - (_root.camFrame._width / 2)) - 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = 90;
}
if (dietype == 3) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x + (_root.camFrame._width / 2)) + 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = -90;
}
_parent.lives--;
Instance of Symbol 80 MovieClip in Symbol 244 MovieClip Frame 13
onClipEvent (load) {
timer = 130;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_parent._parent._x = _root["spawn" + _parent._parent.player]._x;
_parent._parent._y = _root["spawn" + _parent._parent.player]._y;
_parent.gotoAndStop("rebirth");
}
}
Symbol 244 MovieClip Frame 14
_parent.damage = 0;
died = false;
_root.hud[("p" + _parent.player) + "dmg"] = 0;
Instance of Symbol 238 MovieClip in Symbol 244 MovieClip Frame 14
onClipEvent (load) {
going = 80;
stuff = 150;
}
onClipEvent (enterFrame) {
going--;
stuff--;
_parent.grav = 0;
if (going > 0) {
_parent._parent._y = _parent._parent._y + 2;
}
if (stuff < 0) {
_parent.ledge = false;
_parent.attack = false;
_parent.gotoAndStop(1);
}
}
Symbol 261 MovieClip Frame 19
stop();
Symbol 262 MovieClip Frame 1
stop();
Instance of Symbol 251 MovieClip in Symbol 262 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
_parent.play();
}
}
Symbol 262 MovieClip Frame 6
stop();
Symbol 263 MovieClip Frame 3
stop();
Instance of Symbol 251 MovieClip in Symbol 263 MovieClip Frame 3
onClipEvent (enterFrame) {
if (_parent._parent._parent.grav > -1) {
_parent.play();
}
}
Symbol 263 MovieClip Frame 8
stop();
Symbol 264 MovieClip Frame 1
_parent.speedduh == 5;
Instance of Symbol 251 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = (-_parent._parent.speedduh) * 0.6;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = _parent._parent.speedduh * 0.6;
}
}
}
Instance of Symbol 80 MovieClip in Symbol 264 MovieClip Frame 1
onClipEvent (load) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
if (Key.isDown(65)) {
_parent._parent.attack = true;
_parent._parent.upbd = true;
_parent._parent.gotoAndStop(7);
}
}
Symbol 264 MovieClip Frame 2
_parent.speedduh == 5;
Symbol 264 MovieClip Frame 3
_parent.speedduh == 5;
Symbol 264 MovieClip Frame 4
_parent.grav = -_parent.jumpHeight;
_parent._parent._y = _parent._parent._y - 4;
_parent.jump = true;
_parent.attack = false;
_parent.timer = 12;
Instance of Symbol 251 MovieClip in Symbol 264 MovieClip Frame 4
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = (-_parent._parent.speeddah) * 0.6;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = _parent._parent.speeddah * 0.6;
}
}
}
Symbol 264 MovieClip Frame 5
_parent.attack = false;
Symbol 264 MovieClip Frame 7
stop();
stop();
Instance of Symbol 262 MovieClip in Symbol 264 MovieClip Frame 7
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.5;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.5;
}
}
Symbol 264 MovieClip Frame 8
stop();
stop();
Instance of Symbol 263 MovieClip in Symbol 264 MovieClip Frame 8
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.5;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.5;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 265 MovieClip Frame 46
stop();
_parent.attack = false;
_parent.ledge = false;
_parent.timer = 20;
_parent.upbd = true;
Instance of Symbol 80 MovieClip "hit1" in Symbol 271 MovieClip Frame 7
onClipEvent (load) {
_parent._parent._parent.dmg1 = 3 + (_parent._parent.speedduh / 10);
_parent._parent._parent.kbx1 = 20 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 20;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 271 MovieClip Frame 10
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 2 + (_parent._parent.speedduh / 8);
_parent._parent._parent.kbx1 = 300 * (_parent._parent.speedduh / 2);
_parent._parent._parent.kby1 = 300 * (_parent._parent.speedduh / 2);
}
Symbol 271 MovieClip Frame 29
stop();
_parent.attack = false;
_parent.ledge = false;
_parent.timer = 20;
_parent.upbd = true;
Symbol 276 MovieClip Frame 36
_parent.gotoAndStop(1);
Symbol 289 MovieClip Frame 14
_parent.grav = 0;
Symbol 289 MovieClip Frame 15
_parent.grav = -_parent.jumpHeight;
Symbol 289 MovieClip Frame 35
_parent.grav = -4;
Instance of Symbol 288 MovieClip in Symbol 289 MovieClip Frame 38
onClipEvent (load) {
_rotation = random(360);
}
Symbol 289 MovieClip Frame 51
stop();
_parent.recov = false;
_parent.attack = false;
_parent.slwfl = false;
Symbol 290 MovieClip Frame 4
stop();
Symbol 291 MovieClip Frame 5
stop();
Symbol 292 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 292 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 292 MovieClip Frame 2
_parent.ledge = true;
Symbol 292 MovieClip Frame 3
_parent.ledge = true;
Symbol 292 MovieClip Frame 4
_parent.ledge = true;
Symbol 292 MovieClip Frame 5
_parent.ledge = true;
Symbol 292 MovieClip Frame 6
_parent.ledge = true;
Symbol 292 MovieClip Frame 7
_parent.ledge = true;
Symbol 292 MovieClip Frame 8
_parent.ledge = true;
Symbol 292 MovieClip Frame 9
_parent.ledge = true;
Symbol 292 MovieClip Frame 10
_parent.ledge = true;
Symbol 292 MovieClip Frame 11
_parent.ledge = true;
Symbol 292 MovieClip Frame 12
_parent.ledge = true;
Symbol 292 MovieClip Frame 13
_parent.ledge = true;
Symbol 292 MovieClip Frame 14
_parent.ledge = true;
Symbol 292 MovieClip Frame 15
_parent.ledge = true;
Symbol 292 MovieClip Frame 16
_parent.ledge = true;
Symbol 292 MovieClip Frame 17
_parent.ledge = true;
Symbol 292 MovieClip Frame 18
_parent._parent._x = _parent._parent._x + (150 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 293 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
slwfl = false;
Symbol 293 MovieClip Frame 3
stop();
recov = false;
Symbol 293 MovieClip Frame 4
attack = true;
Instance of Symbol 265 MovieClip in Symbol 293 MovieClip Frame 4
onClipEvent (load) {
bc = _parent.projmin;
}
onClipEvent (enterFrame) {
if (_currentframe == 11) {
duplicateMovieClip (_root.obj2, "pro" + bc, bc);
_root["pro" + bc].rotaty = 10;
_root["pro" + bc].bah = 60;
_root["pro" + bc]._xscale = 30 + (_parent.wane * 70);
_root["pro" + bc]._yscale = 30 + (_parent.wane * 70);
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = (_parent._parent._x + (((_parent.wid / 2) - (7 * (_parent._xscale / _parent.scale))) * (_parent._xscale / _parent.scale))) + ((_root["pro" + bc]._width / 3) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = (_parent._parent._y - ((_parent.hei / 1.75) - 6)) + (_root["pro" + bc]._height / 3);
_root["pro" + bc].xspeed = (3 * (_parent._xscale / _parent.scale)) * (_parent.wane + 1);
_root["pro" + bc].yspeed = 0;
bc++;
if (bc >= _parent.projmax) {
bc = _parent.projmin;
}
if (_parent.wane > 0.25) {
_parent.wane = _parent.wane - 0.25;
}
_parent._parent._x = _parent._parent._x - (0.6 * (_parent._xscale / _parent.scale));
}
}
Symbol 293 MovieClip Frame 5
attack = true;
Instance of Symbol 271 MovieClip "atk" in Symbol 293 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent._parent._x = _parent._parent._x + ((_parent.speedduh * (_parent._xscale / _parent.scale)) / 2);
}
}
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
onClipEvent (load) {
this.hit2._visible = false;
}
onClipEvent (enterFrame) {
this.hit2._visible = false;
}
Symbol 293 MovieClip Frame 6
attack = true;
Instance of Symbol 276 MovieClip "atk" in Symbol 293 MovieClip Frame 6
onClipEvent (load) {
bc = _parent.projmin;
count = 3;
}
onClipEvent (enterFrame) {
if ((Key.isDown(65) && (_currentframe > 18)) && (_currentframe < 27)) {
stop();
} else {
play();
}
if ((_currentframe > 18) && (_currentframe < 27)) {
count--;
_parent.wane = _parent.wane / 1.01;
if (count < 1) {
duplicateMovieClip (_root.obj1, "pro" + bc, bc);
_root["pro" + bc].rotaty = 12 - random(24);
_root["pro" + bc].bah = 20;
_root["pro" + bc].scalplus = 10 * _parent.wane;
_root["pro" + bc]._xscale = 20 + (_parent.wane * 80);
_root["pro" + bc]._yscale = 20 + (_parent.wane * 80);
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = (_parent._parent._x + (((_parent.wid / 2) - (7 * (_parent._xscale / _parent.scale))) * (_parent._xscale / _parent.scale))) + ((_root["pro" + bc]._width / 3) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = (_parent._parent._y - ((_parent.hei / 1.75) - 6)) + (_root["pro" + bc]._height / 3);
_root["pro" + bc].speed = (5 * (_parent._xscale / _parent.scale)) * _parent.wane;
bc++;
if (bc >= _parent.projmax) {
bc = _parent.projmin;
}
_parent._parent._x = _parent._parent._x - (0.6 * (_parent._xscale / _parent.scale));
count = 2;
}
}
}
Symbol 293 MovieClip Frame 7
recov = true;
attack = true;
upbd = true;
jump = false;
air = false;
dj = false;
slwfl = true;
speedgah = 0;
grav = -3;
_parent._y = _parent._y - 4;
Symbol 293 MovieClip Frame 10
stop();
attack = false;
recov = false;
timer = 12;
Symbol 324 MovieClip Frame 9
stop();
Instance of Symbol 326 MovieClip in Symbol 330 MovieClip Frame 1
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 1;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 1;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 330 MovieClip Frame 5
stop();
Instance of Symbol 326 MovieClip in Symbol 330 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 1;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 1;
}
}
Symbol 330 MovieClip Frame 6
stop();
Instance of Symbol 326 MovieClip in Symbol 330 MovieClip Frame 6
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 1;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 1;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 341 MovieClip Frame 1
_parent.speed = 0;
Instance of Symbol 80 MovieClip in Symbol 341 MovieClip Frame 1
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_parent.gotoAndPlay("flameroll");
} else {
play();
}
_parent.charge = _parent._currentframe;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Symbol 341 MovieClip Frame 3
attack1 = new Sound(this);
attack1.attachSound("kirby_suck");
attack1.start(0, 0);
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 4
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 7
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 10
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 13
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip in Symbol 341 MovieClip Frame 15
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_parent.gotoAndPlay("release");
} else {
play();
}
_parent.charge = _parent._currentframe;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 16
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 19
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 22
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 25
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 28
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 31
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 34
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 37
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 40
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 43
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 46
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 49
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 52
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 55
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 58
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 61
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 64
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 67
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 70
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 73
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 76
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 79
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 82
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 85
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 88
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 91
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 94
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 97
onClipEvent (load) {
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Symbol 341 MovieClip Frame 99
gotoAndPlay (97);
Symbol 341 MovieClip Frame 100
rollspd = (charge / 3) + 5;
attack1.stop();
Instance of Symbol 80 MovieClip in Symbol 341 MovieClip Frame 100
onClipEvent (enterFrame) {
_parent.rollspd = _parent.rollspd - 0.5;
if (_parent.rollspd > 0) {
if (_parent._parent._xscale > 0) {
_parent._parent._parent._x = _parent._parent._parent._x + _parent.rollspd;
} else {
_parent._parent._parent._x = _parent._parent._parent._x - _parent.rollspd;
}
}
if (_parent.rollspd < 0.5) {
_parent.rollspd = 0.5;
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 100
onClipEvent (load) {
_parent._parent._parent.dmg1 = _parent.charge / 2;
_parent._parent._parent.kbx1 = Math.round(_parent.charge / 2);
_parent._parent._parent.kby1 = 10;
sound = "whack";
}
Symbol 341 MovieClip Frame 101
attack1 = new Sound(this);
attack1.attachSound("sonic_spindash");
attack1.start(0, 0);
Symbol 341 MovieClip Frame 150
charge = 0;
_parent.gotoAndStop(1);
Symbol 341 MovieClip Frame 151
xkik = 15 * (_parent._xscale / _parent.scale);
attack1.stop();
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 151
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Symbol 341 MovieClip Frame 152
step = new Sound(this);
step.attachSound("fire2");
step.start(0, 0);
attack1 = new Sound(this);
attack1.attachSound("sonic_attack4");
attack1.start(0, 0);
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 154
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 157
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 160
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 163
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 166
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 169
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 172
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Symbol 341 MovieClip Frame 173
attack2 = new Sound(this);
attack2.attachSound("sonic_attack5");
attack2.start(0, 0);
stepl = new Sound(this);
stepl.attachSound("fire");
stepl.start(1, 0);
Instance of Symbol 336 MovieClip in Symbol 341 MovieClip Frame 173
onClipEvent (enterFrame) {
if ((Key.isDown(38) || (Key.isDown(83))) || (Key.isDown(65))) {
_parent._parent.grav = -(_parent._parent.jumpHeight + 1);
_parent._parent._parent._y = _parent._parent._parent._y - 4;
_parent._parent.jump = true;
_parent._parent.hold = true;
_parent._parent.gotoAndStop(3);
_parent._parent.attack = false;
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 175
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 178
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 181
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 184
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 187
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 190
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 193
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 196
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 199
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 202
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 205
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 208
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 336 MovieClip in Symbol 341 MovieClip Frame 211
onClipEvent (enterFrame) {
if ((Key.isDown(38) || (Key.isDown(83))) || (Key.isDown(65))) {
_parent._parent.grav = -(_parent._parent.jumpHeight + 1);
_parent._parent._parent._y = _parent._parent._parent._y - 4;
_parent._parent.jump = true;
_parent._parent.hold = true;
_parent._parent.gotoAndStop(3);
_parent._parent.attack = false;
}
}
Symbol 341 MovieClip Frame 235
_parent.timer = 30;
_parent.gotoAndStop(1);
Symbol 341 MovieClip Frame 236
attack1 = new Sound(this);
attack1.attachSound("sonic_attack5");
attack1.start(0, 0);
step = new Sound(this);
step.attachSound("fire2");
step.setVolume(75);
step.start(0, 0);
stepl = new Sound(this);
stepl.attachSound("swingm");
stepl.start(0, 0);
_parent.speed = 15;
_parent.ledge = true;
hit1._visible = false;
Instance of Symbol 80 MovieClip "hit1" in Symbol 341 MovieClip Frame 236
onClipEvent (load) {
_parent._parent._parent.dmg1 = 8;
_parent._parent._parent.kbx1 = Math.round(70 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 10;
}
Symbol 341 MovieClip Frame 253
stop();
_parent.ledge = false;
_parent.attack = false;
_parent.upbd = true;
Symbol 347 MovieClip Frame 21
stop();
Symbol 350 MovieClip Frame 8
stop();
Symbol 356 MovieClip Frame 1
attack1 = new Sound(this);
attack1.attachSound("ness_djump");
attack1.start(0, 0);
Symbol 356 MovieClip Frame 15
attack1 = new Sound(this);
attack1.attachSound("sonic_attack1");
attack1.start(0, 0);
attack2 = new Sound(this);
attack2.attachSound("fox_shoof");
attack2.start(0, 0);
Instance of Symbol 80 MovieClip "hit1" in Symbol 356 MovieClip Frame 15
onClipEvent (load) {
_parent._parent._parent.dmg1 = 11;
_parent._parent._parent.kbx1 = Math.round(50 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 100;
sound = "slashh";
}
Symbol 356 MovieClip Frame 23
stop();
_parent.speed = 1.5;
_parent.attack = false;
_parent.ledge = false;
_parent.grav = 0;
_parent.timer = 20;
_parent.upbd = true;
Instance of Symbol 326 MovieClip in Symbol 357 MovieClip Frame 1
onClipEvent (load) {
speedy = 10;
}
onClipEvent (enterFrame) {
_parent._parent._parent._y = _parent._parent._parent._y - speedy;
speedy--;
}
Symbol 357 MovieClip Frame 10
stop();
Instance of Symbol 326 MovieClip in Symbol 357 MovieClip Frame 10
onClipEvent (load) {
speedy = 1;
}
onClipEvent (enterFrame) {
if (!_root.paus) {
_parent._parent._parent._y = _parent._parent._parent._y + speedy;
if (speedy < 30) {
speedy++;
}
if (_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.play();
}
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 357 MovieClip Frame 10
onClipEvent (load) {
_parent._parent._parent.dmg1 = 6;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = -100;
sound = "hhit5";
}
Symbol 357 MovieClip Frame 11
attack1 = new Sound(this);
attack1.attachSound("sonic_bounce");
attack1.start(0, 0);
_parent.timer = 60;
cc = new Sound(this);
cc.attachSound("batk");
cc.setVolume(100);
cc.start(0, 1);
Instance of Symbol 80 MovieClip "hit1" in Symbol 357 MovieClip Frame 12
onClipEvent (load) {
_parent._parent._parent.dmg1 = 8;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 300;
sound = "slashh";
}
Instance of Symbol 326 MovieClip in Symbol 357 MovieClip Frame 19
onClipEvent (load) {
speedy = 25;
}
onClipEvent (enterFrame) {
_parent._parent._parent._y = _parent._parent._parent._y - speedy;
speedy--;
}
Symbol 357 MovieClip Frame 44
_parent.ledge = false;
_parent.grav = 0;
_parent.gotoAndStop(1);
Instance of Symbol 326 MovieClip in Symbol 357 MovieClip Frame 44
onClipEvent (load) {
speedy = 20;
}
onClipEvent (enterFrame) {
_parent._parent._parent._y = _parent._parent._parent._y - speedy;
speedy--;
}
Symbol 360 MovieClip Frame 10
stop();
Symbol 361 MovieClip Frame 1
_parent.speed = 0;
_parent.speedgah = 0;
Instance of Symbol 80 MovieClip "hit1" in Symbol 361 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.dmg1 = 10;
_parent._parent._parent.kbx1 = 0 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 200;
}
Symbol 361 MovieClip Frame 11
stop();
_parent.grav = -4;
Symbol 361 MovieClip Frame 12
_parent.speed = 10;
_parent.speedgah = 10;
hit1._visible = false;
Instance of Symbol 80 MovieClip "hit1" in Symbol 361 MovieClip Frame 12
onClipEvent (load) {
_parent._parent._parent.dmg1 = 10;
_parent._parent._parent.kbx1 = 50 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 150;
}
Symbol 361 MovieClip Frame 22
stop();
_parent.speedgah = 2;
_parent.grav = -4;
Symbol 361 MovieClip Frame 23
_parent.speed = -10;
_parent.speedgah = -10;
hit1._visible = false;
Instance of Symbol 80 MovieClip "hit1" in Symbol 361 MovieClip Frame 23
onClipEvent (load) {
_parent._parent._parent.dmg1 = 10;
_parent._parent._parent.kbx1 = 50 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 150;
}
Symbol 361 MovieClip Frame 33
stop();
_parent.speedgah = -2;
_parent.grav = -4;
Symbol 368 MovieClip Frame 4
stop();
Symbol 370 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 370 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
if (!_root.paus) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
}
Symbol 370 MovieClip Frame 2
_parent.ledge = true;
Symbol 370 MovieClip Frame 3
_parent.ledge = true;
Symbol 370 MovieClip Frame 4
_parent.ledge = true;
Symbol 370 MovieClip Frame 5
_parent.ledge = true;
Symbol 370 MovieClip Frame 6
_parent.ledge = true;
Symbol 370 MovieClip Frame 7
_parent.ledge = true;
Symbol 370 MovieClip Frame 8
_parent.ledge = true;
Symbol 370 MovieClip Frame 9
_parent.ledge = true;
Symbol 370 MovieClip Frame 10
_parent.ledge = true;
Symbol 370 MovieClip Frame 11
_parent.ledge = true;
Symbol 370 MovieClip Frame 12
_parent.ledge = true;
Symbol 370 MovieClip Frame 13
_parent.ledge = true;
Symbol 370 MovieClip Frame 14
_parent.ledge = true;
Symbol 370 MovieClip Frame 15
_parent.ledge = true;
Symbol 370 MovieClip Frame 16
_parent.ledge = true;
Symbol 370 MovieClip Frame 17
_parent.ledge = true;
Symbol 370 MovieClip Frame 18
_parent.ledge = true;
Symbol 370 MovieClip Frame 19
_parent.ledge = true;
Symbol 370 MovieClip Frame 20
_parent.ledge = true;
Symbol 370 MovieClip Frame 21
_parent.ledge = true;
Symbol 370 MovieClip Frame 22
_parent._parent._x = _parent._parent._x + (100 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 379 MovieClip Frame 8
stop();
Symbol 387 MovieClip Frame 8
_parent.ledge = false;
_parent.grav = 0;
Symbol 387 MovieClip Frame 9
_parent.gotoAndStop(1);
Symbol 397 MovieClip Frame 36
_parent.ledge = false;
Symbol 404 MovieClip Frame 5
step = new Sound(this);
step.attachSound("swingl");
step.start(0, 0);
attack1 = new Sound(this);
attack1.attachSound("sonic_attack5");
attack1.start(0, 0);
Instance of Symbol 80 MovieClip "hit1" in Symbol 404 MovieClip Frame 5
onClipEvent (load) {
_parent._parent._parent.dmg1 = 4;
_parent._parent._parent.kbx1 = 50;
_parent._parent._parent.kby1 = 50;
sound = "hhit5";
}
Symbol 404 MovieClip Frame 12
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 421 MovieClip Frame 11
stop();
Symbol 426 MovieClip Frame 1
_parent.grav = 0;
Symbol 426 MovieClip Frame 2
_parent.grav = 0;
Symbol 426 MovieClip Frame 3
_parent.grav = 0;
Symbol 426 MovieClip Frame 4
step = new Sound(this);
step.attachSound("swingm");
step.start(0, 0);
attack1 = new Sound(this);
attack1.attachSound("sonic_attack5");
attack1.start(0, 0);
_parent.grav = 30;
Instance of Symbol 80 MovieClip "hit1" in Symbol 426 MovieClip Frame 4
onClipEvent (load) {
_parent._parent._parent.dmg1 = 4;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = -50;
sound = "hhit5";
}
Symbol 426 MovieClip Frame 14
_parent.attack = false;
_parent.gotoAndStop(3);
Symbol 426 MovieClip Frame 15
step = new Sound(this);
step.attachSound("boom");
step.start(0, 0);
Instance of Symbol 80 MovieClip "hit1" in Symbol 426 MovieClip Frame 15
onClipEvent (load) {
_parent._parent._parent.dmg1 = 8;
_parent._parent._parent.kbx1 = 40;
_parent._parent._parent.kby1 = 40;
sound = "hhit4";
}
Symbol 426 MovieClip Frame 29
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 427 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
Instance of Symbol 324 MovieClip "run" in Symbol 427 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if ((_root.paus == false) && (this._currentframe != 9)) {
this.play();
}
}
Symbol 427 MovieClip Frame 3
stop();
attack = false;
recov = false;
timer = 10;
Symbol 427 MovieClip Frame 4
attack = true;
timer = 130;
Instance of Symbol 341 MovieClip "atk" in Symbol 427 MovieClip Frame 4
onClipEvent (load) {
this.hit1._visible = false;
if (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 8, true)) {
this.gotoAndPlay(236);
}
}
onClipEvent (enterFrame) {
if (this._currentframe > 150) {
this.hit1.sound = "hhit3";
}
if (this._currentframe < 100) {
this.hit1.sound = "slashl";
}
this.hit1._visible = false;
if ((this._currentframe != 253) && (this._currentframe > 150)) {
if (_parent._xscale == _parent.scale) {
_parent._parent._x = _parent._parent._x + _parent.speed;
} else {
_parent._parent._x = _parent._parent._x - _parent.speed;
}
}
}
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if (((_root.paus == false) && (this._currentframe != 99)) && (this._currentframe != 253)) {
this.play();
}
}
Symbol 427 MovieClip Frame 5
attack = true;
speedgah = 0;
ledge = true;
timer = 50;
if (Key.isDown(37)) {
_xscale = (-scale);
} else if (Key.isDown(39)) {
_xscale = scale;
}
Instance of Symbol 356 MovieClip "atk" in Symbol 427 MovieClip Frame 5
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe != 23) {
_parent.grav = -1;
}
if ((this._currentframe > 15) && (this._currentframe != 23)) {
if (_parent._xscale == _parent.scale) {
_parent._parent._x = _parent._parent._x + _parent.speed;
} else {
_parent._parent._x = _parent._parent._x - _parent.speed;
}
}
}
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if (((_root.paus == false) && (this._currentframe != 99)) && (this._currentframe != 23)) {
this.play();
}
}
Symbol 427 MovieClip Frame 6
attack = true;
ledge = true;
speed = 0;
speedgah = 0;
timer = 0;
Instance of Symbol 357 MovieClip "atk" in Symbol 427 MovieClip Frame 6
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if ((_root.paus == false) && (this._currentframe != 10)) {
this.play();
}
}
Symbol 427 MovieClip Frame 7
upbd = true;
jump = false;
air = false;
dj = false;
speedgah = 0;
grav = (-jumpHeight) * 1.3;
_parent._y = _parent._y - 4;
cc = new Sound(this);
cc.attachSound("swingl");
cc.setVolume(100);
cc.start(0, 1);
attack1 = new Sound(this);
attack1.attachSound("sonic_attack3");
attack1.start(0, 0);
Instance of Symbol 361 MovieClip "atk" in Symbol 427 MovieClip Frame 7
onClipEvent (load) {
this.hit1._visible = false;
if (Key.isDown(37)) {
_parent._xscale = -_parent.scale;
this.gotoAndPlay(23);
}
if (Key.isDown(39)) {
_parent._xscale = _parent.scale;
this.gotoAndPlay(12);
}
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if ((((_root.paus == false) && (this._currentframe != 11)) && (this._currentframe != 22)) && (this._currentframe != 33)) {
this.play();
}
}
Instance of Symbol 370 MovieClip "l" in Symbol 427 MovieClip Frame 9
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if ((_root.paus == false) && (this._currentframe != 1)) {
this.play();
}
}
Symbol 427 MovieClip Frame 10
stop();
speedgah = 0;
speed = 0;
Symbol 427 MovieClip Frame 11
ledge = true;
attack1 = new Sound(this);
attack1.attachSound("sonic_taunt");
attack1.start(0, 0);
Instance of Symbol 397 MovieClip in Symbol 427 MovieClip Frame 11
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if (_root.paus == false) {
this.play();
}
}
Symbol 427 MovieClip Frame 12
_parent.damage = "X_X";
noland = false;
_root.camFrame.hud[("p" + _parent.player) + "dmg"] = "X_X";
ledge = true;
attack = true;
if (dietype == 1) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = _parent._x;
_root["MC" + _parent.player]._y = (_root.camFrame._y + (_root.camFrame._height / 2)) + 10;
}
if (dietype == 2) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x - (_root.camFrame._width / 2)) - 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = 90;
}
if (dietype == 3) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x + (_root.camFrame._width / 2)) + 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = -90;
}
_root["lives" + _parent.player]--;
attack1 = new Sound(this);
attack1.attachSound("sonic_kie");
attack1.start(0, 0);
Instance of Symbol 80 MovieClip in Symbol 427 MovieClip Frame 12
onClipEvent (load) {
timer = 130;
}
onClipEvent (enterFrame) {
if (!_root.paus) {
timer--;
if ((timer < 0) && (_root["lives" + _parent._parent.player] >= 1)) {
_parent._parent._x = _root["spawn" + _parent._parent.player]._x;
_parent._parent._y = _root["spawn" + _parent._parent.player]._y;
_parent.gotoAndStop("rebirth");
}
}
}
Symbol 427 MovieClip Frame 13
_parent.damage = 0;
died = false;
_root.camFrame.hud[("p" + _parent.player) + "dmg"] = 0;
Instance of Symbol 312 MovieClip in Symbol 427 MovieClip Frame 13
onClipEvent (load) {
going = 80;
stuff = 150;
}
onClipEvent (enterFrame) {
if (!_root.paus) {
going--;
stuff--;
_parent.grav = 0;
if (going > 0) {
_parent._parent._y = _parent._parent._y + 2;
}
if (stuff < 0) {
_parent.ledge = false;
_parent.attack = false;
_parent.gotoAndStop(1);
}
if (stuff < 80) {
if (((((Key.isDown(37) || (Key.isDown(39))) || (Key.isDown(38))) || (Key.isDown(40))) || (Key.isDown(65))) || (Key.isDown(87))) {
_root["invincible" + _parent._parent.player] = stuff;
stuff = -1;
}
}
}
}
Symbol 427 MovieClip Frame 14
attack = true;
Instance of Symbol 404 MovieClip "atk" in Symbol 427 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if (_root.paus == false) {
this.play();
}
}
Symbol 427 MovieClip Frame 15
attack = true;
Instance of Symbol 426 MovieClip "atk" in Symbol 427 MovieClip Frame 15
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 8, true) && (this._currentframe < 13)) {
this.gotoAndPlay(15);
}
if ((this._currentframe > 2) && (this._currentframe < 14)) {
if (_parent._xscale == _parent.sca) {
_parent._parent._x = _parent._parent._x + 10;
} else {
_parent._parent._x = _parent._parent._x - 10;
}
}
}
onClipEvent (enterFrame) {
if (_root.paus == true) {
this.stop();
}
if ((_root.paus == false) && (this._currentframe != 9)) {
this.play();
}
}
Symbol 457 MovieClip Frame 1
stop();
Symbol 457 MovieClip Frame 5
stop();
Symbol 457 MovieClip Frame 6
gotoAndStop (5);
Instance of Symbol 457 MovieClip in Symbol 458 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
play();
}
}
Symbol 485 MovieClip Frame 10
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 10
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 11
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 14
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 14
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 15
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 18
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 18
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 19
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 22
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 22
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 23
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 26
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 26
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 27
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 30
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 30
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 31
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 34
stop();
Instance of Symbol 461 MovieClip in Symbol 485 MovieClip Frame 34
onClipEvent (load) {
hold = true;
}
onClipEvent (enterFrame) {
if ((Key.isDown(38) && (!hold)) || (Key.isDown(83) && (!hold))) {
_parent.play();
}
if ((!Key.isDown(38)) && (!Key.isDown(83))) {
hold = false;
}
}
Symbol 485 MovieClip Frame 35
_parent._parent.grav = (-_parent._parent.jumpHeight) * 0.6;
Symbol 485 MovieClip Frame 40
stop();
Instance of Symbol 457 MovieClip in Symbol 485 MovieClip Frame 40
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
play();
}
}
Symbol 486 MovieClip Frame 4
stop();
Instance of Symbol 458 MovieClip in Symbol 486 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.275;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.275;
}
}
Symbol 486 MovieClip Frame 5
stop();
Instance of Symbol 485 MovieClip in Symbol 486 MovieClip Frame 5
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
}
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 498 MovieClip Frame 10
onClipEvent (load) {
_parent._parent._parent.dmg1 = 5;
_parent._parent._parent.kbx1 = 70 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 0;
}
Symbol 498 MovieClip Frame 17
_parent.gotoAndStop(1);
Symbol 510 MovieClip Frame 10
punchy = 20;
Instance of Symbol 506 MovieClip in Symbol 510 MovieClip Frame 10
onClipEvent (enterFrame) {
_parent.punchy--;
if (_parent._parent._xscale == _parent._parent.scale) {
_parent._parent._parent._x = _parent._parent._parent._x + _parent.punchy;
} else {
_parent._parent._parent._x = _parent._parent._parent._x + (-_parent.punchy);
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 510 MovieClip Frame 10
onClipEvent (load) {
_parent._parent._parent.dmg1 = 7;
_parent._parent._parent.kbx1 = 100 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 0;
}
Instance of Symbol 508 MovieClip in Symbol 510 MovieClip Frame 14
onClipEvent (enterFrame) {
_parent.punchy--;
if (_parent._parent._xscale == _parent._parent.scale) {
_parent._parent._parent._x = _parent._parent._parent._x + _parent.punchy;
} else {
_parent._parent._parent._x = _parent._parent._parent._x + (-_parent.punchy);
}
}
Symbol 510 MovieClip Frame 30
_parent.gotoAndStop(1);
Symbol 525 MovieClip Frame 6
duplicateMovieClip (_root.obj3, "pro" + _parent.projmin, _parent.projmin);
if (_parent._xscale == _parent.scale) {
_root["pro" + _parent.projmin]._x = _parent._parent._x + 50;
} else {
_root["pro" + _parent.projmin]._x = _parent._parent._x - 50;
}
Symbol 525 MovieClip Frame 78
_parent.gotoAndStop(1);
Instance of Symbol 457 MovieClip in Symbol 527 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
play();
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 528 MovieClip Frame 3
onClipEvent (load) {
_parent._parent._parent.dmg1 = 8;
_parent._parent._parent.kbx1 = 100 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 100;
}
Symbol 528 MovieClip Frame 13
stop();
_parent.attack = false;
_parent.recov = false;
Symbol 535 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 535 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 535 MovieClip Frame 2
_parent.ledge = true;
Symbol 535 MovieClip Frame 3
_parent.ledge = true;
Symbol 535 MovieClip Frame 4
_parent.ledge = true;
Symbol 535 MovieClip Frame 5
_parent.ledge = true;
Symbol 535 MovieClip Frame 6
_parent.ledge = true;
Symbol 535 MovieClip Frame 7
_parent.ledge = true;
Symbol 535 MovieClip Frame 8
_parent.ledge = true;
Symbol 535 MovieClip Frame 9
_parent.ledge = true;
Symbol 535 MovieClip Frame 10
_parent.ledge = true;
Symbol 535 MovieClip Frame 11
_parent.ledge = true;
Symbol 535 MovieClip Frame 12
_parent.ledge = true;
Symbol 535 MovieClip Frame 13
_parent.ledge = true;
Symbol 535 MovieClip Frame 14
_parent.ledge = true;
Symbol 535 MovieClip Frame 15
_parent.ledge = true;
Symbol 535 MovieClip Frame 16
_parent.ledge = true;
Symbol 535 MovieClip Frame 17
_parent.ledge = true;
Symbol 535 MovieClip Frame 18
_parent.ledge = true;
Symbol 535 MovieClip Frame 19
_parent.ledge = true;
Symbol 535 MovieClip Frame 20
_parent.ledge = true;
Symbol 535 MovieClip Frame 21
_parent.ledge = true;
Symbol 535 MovieClip Frame 22
_parent._parent._x = _parent._parent._x + (130 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 90;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 538 MovieClip Frame 61
_parent.attack = false;
_parent.gotoAndStop(1);
Symbol 539 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 24;
Symbol 539 MovieClip Frame 3
stop();
attack = false;
recov = false;
timer = 12;
Symbol 539 MovieClip Frame 4
attack = true;
Instance of Symbol 498 MovieClip "atk" in Symbol 539 MovieClip Frame 4
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 539 MovieClip Frame 5
attack = true;
Instance of Symbol 510 MovieClip "atk" in Symbol 539 MovieClip Frame 5
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 539 MovieClip Frame 6
attack = true;
Symbol 539 MovieClip Frame 7
recov = true;
upbd = true;
jump = false;
air = false;
dj = false;
speedgah = 0;
grav = (-jumpHeight) * 0.8;
_parent._y = _parent._y - 4;
Instance of Symbol 528 MovieClip "atk" in Symbol 539 MovieClip Frame 7
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 539 MovieClip Frame 8
timer = 24;
Symbol 539 MovieClip Frame 10
stop();
attack = true;
Symbol 573 MovieClip Frame 9
stop();
Instance of Symbol 575 MovieClip in Symbol 578 MovieClip Frame 1
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 1;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 1;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 578 MovieClip Frame 5
stop();
Instance of Symbol 575 MovieClip in Symbol 578 MovieClip Frame 5
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 1;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 1;
}
}
Symbol 578 MovieClip Frame 6
stop();
Instance of Symbol 575 MovieClip in Symbol 578 MovieClip Frame 6
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 1;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 1;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 582 MovieClip Frame 1
xkik = 18 * (_parent._xscale / _parent.scale);
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 1
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 4
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 7
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 10
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 13
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 16
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 19
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 22
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 25
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 28
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 31
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 34
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 336 MovieClip in Symbol 582 MovieClip Frame 35
onClipEvent (enterFrame) {
if ((Key.isDown(38) || (Key.isDown(83))) || (Key.isDown(65))) {
_parent._parent.grav = -(_parent._parent.jumpHeight + 1);
_parent._parent._parent._y = _parent._parent._parent._y - 4;
_parent._parent.jump = true;
_parent._parent.hold = true;
_parent._parent.gotoAndStop(3);
_parent._parent.attack = false;
}
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 37
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 40
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 43
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 46
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 49
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 52
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 55
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 58
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 61
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 64
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 67
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 70
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = Math.round(_parent.xkik);
_parent._parent._parent.kby1 = 5;
}
Instance of Symbol 336 MovieClip in Symbol 582 MovieClip Frame 73
onClipEvent (enterFrame) {
if ((Key.isDown(38) || (Key.isDown(83))) || (Key.isDown(65))) {
_parent._parent.grav = -(_parent._parent.jumpHeight + 1);
_parent._parent._parent._y = _parent._parent._parent._y - 4;
_parent._parent.jump = true;
_parent._parent.hold = true;
_parent._parent.gotoAndStop(3);
_parent._parent.attack = false;
}
}
Symbol 582 MovieClip Frame 97
_parent.timer = 30;
_parent.gotoAndStop(1);
Symbol 582 MovieClip Frame 98
_parent.speed = 15;
_parent.ledge = true;
hit1._visible = false;
Instance of Symbol 80 MovieClip "hit1" in Symbol 582 MovieClip Frame 98
onClipEvent (load) {
_parent._parent._parent.dmg1 = 10;
_parent._parent._parent.kbx1 = Math.round(70 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 10;
}
Symbol 582 MovieClip Frame 115
stop();
_parent.ledge = false;
_parent.grav = 0;
_parent.attack = false;
_parent.upbd = true;
Symbol 584 MovieClip Frame 11
stop();
Instance of Symbol 80 MovieClip "hit1" in Symbol 586 MovieClip Frame 15
onClipEvent (load) {
_parent._parent._parent.dmg1 = 14;
_parent._parent._parent.kbx1 = Math.round(50 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 130;
}
Symbol 586 MovieClip Frame 40
stop();
_parent.speed = 1.5;
_parent.attack = false;
_parent.ledge = false;
_parent.grav = 0;
_parent.timer = 20;
_parent.upbd = true;
Instance of Symbol 80 MovieClip "hit1" in Symbol 607 MovieClip Frame 3
onClipEvent (load) {
_parent._parent._parent.dmg1 = 7;
_parent._parent._parent.kbx1 = Math.round(100 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 15;
}
Symbol 607 MovieClip Frame 20
stop();
_parent.attack = false;
_parent.ledge = false;
_parent.grav = 0;
_parent.timer = 30;
_parent.upbd = false;
Instance of Symbol 80 MovieClip "hit1" in Symbol 607 MovieClip Frame 23
onClipEvent (load) {
_parent._parent._parent.dmg1 = 0;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 8;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 607 MovieClip Frame 28
onClipEvent (load) {
_parent._parent._parent.dmg1 = 7;
_parent._parent._parent.kbx1 = Math.round(5 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = -100;
}
Symbol 607 MovieClip Frame 40
stop();
_parent.attack = false;
_parent.ledge = false;
_parent.grav = 0;
_parent.timer = 30;
_parent.upbd = false;
_parent.gotoAndStop(1);
Symbol 609 MovieClip Frame 1
_parent.chaosc = true;
cc = new Sound(this);
cc.attachSound("chaosc");
cc.setVolume(100);
cc.start(0, 1);
_parent.ledge = true;
Instance of Symbol 80 MovieClip "hit1" in Symbol 609 MovieClip Frame 5
onClipEvent (load) {
_parent._parent._parent.dmg1 = 13;
_parent._parent._parent.kbx1 = Math.round(50 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 100;
}
Symbol 609 MovieClip Frame 11
_parent.ledge = false;
if (Key.isDown(40)) {
_parent.grav = _parent.jumpHeight * 1.3;
} else if (Key.isDown(38)) {
_parent.grav = (-_parent.jumpHeight) * 1.3;
} else if ((!Key.isDown(37)) && (!Key.isDown(39))) {
_parent.grav = (-_parent.jumpHeight) * 1.3;
}
Instance of Symbol 336 MovieClip in Symbol 609 MovieClip Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(37)) {
_parent._parent._parent._x = _parent._parent._parent._x - _parent._parent.speed;
} else if (Key.isDown(39)) {
_parent._parent._parent._x = _parent._parent._parent._x + _parent._parent.speed;
}
}
Symbol 609 MovieClip Frame 30
cc.start(0, 1);
_parent.ledge = true;
_parent.speedgah = 0;
Instance of Symbol 80 MovieClip "hit1" in Symbol 609 MovieClip Frame 35
onClipEvent (load) {
_parent._parent._parent.dmg1 = 13;
_parent._parent._parent.kbx1 = Math.round(50 * (_parent._parent._xscale / _parent._parent.scale));
_parent._parent._parent.kby1 = 100;
}
Symbol 609 MovieClip Frame 40
_parent.ledge = false;
_parent.grav = 0;
Symbol 609 MovieClip Frame 41
_parent.chaosc = false;
stop();
Symbol 615 MovieClip Frame 4
stop();
Symbol 616 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 616 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 616 MovieClip Frame 2
_parent.ledge = true;
Symbol 616 MovieClip Frame 3
_parent.ledge = true;
Symbol 616 MovieClip Frame 4
_parent.ledge = true;
Symbol 616 MovieClip Frame 5
_parent.ledge = true;
Symbol 616 MovieClip Frame 6
_parent.ledge = true;
Symbol 616 MovieClip Frame 7
_parent.ledge = true;
Symbol 616 MovieClip Frame 8
_parent.ledge = true;
Symbol 616 MovieClip Frame 9
_parent.ledge = true;
Symbol 616 MovieClip Frame 10
_parent.ledge = true;
Symbol 616 MovieClip Frame 11
_parent.ledge = true;
Symbol 616 MovieClip Frame 12
_parent.ledge = true;
Symbol 616 MovieClip Frame 13
_parent.ledge = true;
Symbol 616 MovieClip Frame 14
_parent.ledge = true;
Symbol 616 MovieClip Frame 15
_parent.ledge = true;
Symbol 616 MovieClip Frame 16
_parent.ledge = true;
Symbol 616 MovieClip Frame 17
_parent.ledge = true;
Symbol 616 MovieClip Frame 18
_parent.ledge = true;
Symbol 616 MovieClip Frame 19
_parent.ledge = true;
Symbol 616 MovieClip Frame 20
_parent.ledge = true;
Symbol 616 MovieClip Frame 21
_parent.ledge = true;
Symbol 616 MovieClip Frame 22
_parent._parent._x = _parent._parent._x + (100 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 621 MovieClip Frame 61
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 622 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
Symbol 622 MovieClip Frame 3
stop();
attack = false;
recov = false;
timer = 10;
Symbol 622 MovieClip Frame 4
attack = true;
timer = 130;
Instance of Symbol 582 MovieClip "atk" in Symbol 622 MovieClip Frame 4
onClipEvent (load) {
this.hit1._visible = false;
if (!_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 8, true)) {
this.gotoAndPlay(98);
}
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
if (this._currentframe != 115) {
if (_parent._xscale == _parent.scale) {
_parent._parent._x = _parent._parent._x + _parent.speed;
} else {
_parent._parent._x = _parent._parent._x - _parent.speed;
}
}
}
Symbol 622 MovieClip Frame 5
attack = true;
speedgah = 0;
ledge = true;
timer = 50;
if (Key.isDown(37)) {
_xscale = (-scale);
} else if (Key.isDown(39)) {
_xscale = scale;
}
Instance of Symbol 586 MovieClip "atk" in Symbol 622 MovieClip Frame 5
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
if (this._currentframe != 40) {
_parent.grav = -1;
}
if ((this._currentframe > 15) && (this._currentframe != 40)) {
if (_parent._xscale == _parent.scale) {
_parent._parent._x = _parent._parent._x + _parent.speed;
} else {
_parent._parent._x = _parent._parent._x - _parent.speed;
}
}
}
Symbol 622 MovieClip Frame 6
attack = true;
ledge = true;
speed = 0;
speedgah = 0;
timer = 50;
Instance of Symbol 607 MovieClip "atk" in Symbol 622 MovieClip Frame 6
onClipEvent (load) {
this.hit1._visible = false;
if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 8, true)) {
this.gotoAndPlay(1);
} else {
_parent.grav = (-_parent.jumpheight) / 2;
this.gotoAndPlay(21);
}
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 622 MovieClip Frame 7
upbd = true;
jump = false;
air = true;
dj = false;
speedgah = 0;
grav = (-jumpHeight) * 1.3;
_parent._y = _parent._y - 4;
Instance of Symbol 609 MovieClip "atk" in Symbol 622 MovieClip Frame 7
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
Symbol 622 MovieClip Frame 10
stop();
speedgah = 0;
speed = 0;
Symbol 622 MovieClip Frame 11
ledge = true;
Symbol 665 MovieClip Frame 4
stop();
Symbol 666 MovieClip Frame 1
stop();
Instance of Symbol 660 MovieClip in Symbol 666 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -5)) {
_parent.play();
}
}
Symbol 666 MovieClip Frame 4
stop();
Symbol 668 MovieClip Frame 41
stop();
Instance of Symbol 660 MovieClip in Symbol 669 MovieClip Frame 1
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = (-_parent._parent.speedduh) * 0.7;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = _parent._parent.speedduh * 0.7;
}
}
}
Symbol 669 MovieClip Frame 4
stop();
Instance of Symbol 666 MovieClip in Symbol 669 MovieClip Frame 4
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.35;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.35;
}
}
Symbol 669 MovieClip Frame 5
stop();
Instance of Symbol 668 MovieClip in Symbol 669 MovieClip Frame 5
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.5;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.5;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) {
_alpha = 16.6666666666667;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
_alpha = (_alpha + 33.3333333333333);
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 1
onClipEvent (load) {
_alpha = 16.6666666666667;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
_alpha = (_alpha + 33.3333333333333);
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 3
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 8000;
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 7
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 7
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 3000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 11
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 15
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 19
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 23
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 27
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 31
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 35
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 1;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 2000;
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 37
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
_alpha = (_alpha - 7.69230769230769);
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 37
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
_alpha = (_alpha - 7.69230769230769);
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 693 MovieClip Frame 39
onClipEvent (load) {
hahahaha = random(2);
fixed = true;
_parent._parent._parent.dmg1 = 4;
if (hahahaha == 1) {
_parent._parent._parent.kbx1 = 5000;
} else {
_parent._parent._parent.kbx1 = -5000;
}
_parent._parent._parent.kby1 = 5000;
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 50
onClipEvent (enterFrame) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
}
Instance of Symbol 672 MovieClip in Symbol 693 MovieClip Frame 50
onClipEvent (enterFrame) {
_alpha = 0;
}
onClipEvent (enterFrame) {
_rotation = (_rotation + 67.5);
}
Symbol 693 MovieClip Frame 51
_parent.attack = false;
_parent.recov = false;
Symbol 693 MovieClip Frame 57
stop();
Instance of Symbol 692 MovieClip in Symbol 693 MovieClip Frame 57
onClipEvent (enterFrame) {
_rotation = (_rotation + 10);
}
Symbol 697 MovieClip Frame 4
stop();
Symbol 704 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 704 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 704 MovieClip Frame 2
_parent.ledge = true;
Symbol 704 MovieClip Frame 3
_parent.ledge = true;
Symbol 704 MovieClip Frame 4
_parent.ledge = true;
Symbol 704 MovieClip Frame 5
_parent.ledge = true;
Symbol 704 MovieClip Frame 6
_parent.ledge = true;
Symbol 704 MovieClip Frame 7
_parent.ledge = true;
Symbol 704 MovieClip Frame 8
_parent.ledge = true;
Symbol 704 MovieClip Frame 9
_parent.ledge = true;
Symbol 704 MovieClip Frame 10
_parent.ledge = true;
Symbol 704 MovieClip Frame 11
_parent.ledge = true;
Symbol 704 MovieClip Frame 12
_parent.ledge = true;
Symbol 704 MovieClip Frame 13
_parent.ledge = true;
Symbol 704 MovieClip Frame 14
_parent.ledge = true;
Symbol 704 MovieClip Frame 15
_parent.ledge = true;
Symbol 704 MovieClip Frame 16
_parent.ledge = true;
Symbol 704 MovieClip Frame 17
_parent.ledge = true;
Symbol 704 MovieClip Frame 18
_parent.ledge = true;
Symbol 704 MovieClip Frame 19
_parent.ledge = true;
Symbol 704 MovieClip Frame 20
_parent.ledge = true;
Symbol 704 MovieClip Frame 21
_parent.ledge = true;
Symbol 704 MovieClip Frame 22
_parent.ledge = true;
Symbol 704 MovieClip Frame 23
_parent.ledge = true;
Symbol 704 MovieClip Frame 24
_parent.ledge = true;
Symbol 704 MovieClip Frame 25
_parent._parent._x = _parent._parent._x + (150 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 705 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
Symbol 705 MovieClip Frame 3
stop();
attack = false;
recov = false;
timer = 12;
Symbol 705 MovieClip Frame 4
attack = true;
Instance of Symbol 265 MovieClip in Symbol 705 MovieClip Frame 4
onClipEvent (load) {
bc = 30 * _root["char" + _parent._parent.player];
count = 3;
}
onClipEvent (enterFrame) {
if (_currentframe == 11) {
duplicateMovieClip (_root.obj2, "pro" + bc, bc);
_root["pro" + bc].rotaty = 10;
_root["pro" + bc].bah = 60;
_root["pro" + bc]._xscale = 30 + (_parent.wane * 70);
_root["pro" + bc]._yscale = 30 + (_parent.wane * 70);
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = (_parent._parent._x + (((_parent.wid / 2) - (7 * (_parent._xscale / _parent.scale))) * (_parent._xscale / _parent.scale))) + ((_root["pro" + bc]._width / 3) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = (_parent._parent._y - ((_parent.hei / 1.75) - 6)) + (_root["pro" + bc]._height / 3);
_root["pro" + bc].xspeed = (3 * (_parent._xscale / _parent.scale)) * (_parent.wane + 1);
_root["pro" + bc].yspeed = 0;
bc++;
if (bc > ((30 * _root["char" + _parent._parent.player]) + 2)) {
bc = 30 * _root["char" + _parent._parent.player];
}
_parent.wane = _parent.wane - 0.05;
_parent._parent._x = _parent._parent._x - (0.6 * (_parent._xscale / _parent.scale));
}
}
Symbol 705 MovieClip Frame 5
attack = true;
Symbol 705 MovieClip Frame 6
attack = true;
Instance of Symbol 276 MovieClip "atk" in Symbol 705 MovieClip Frame 6
onClipEvent (load) {
bc = 30 * _root["char" + _parent._parent.player];
count = 3;
}
onClipEvent (enterFrame) {
if ((Key.isDown(65) && (_currentframe > 18)) && (_currentframe < 27)) {
stop();
} else {
play();
}
if ((_currentframe > 18) && (_currentframe < 27)) {
_parent.wane = _parent.wane / 1.01;
duplicateMovieClip (_root.obj1, "pro" + bc, bc);
_root["pro" + bc].rotaty = 12 - random(24);
_root["pro" + bc].bah = 20;
_root["pro" + bc].scalplus = 10 * _parent.wane;
_root["pro" + bc]._xscale = 20 + (_parent.wane * 80);
_root["pro" + bc]._yscale = 20 + (_parent.wane * 80);
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = (_parent._parent._x + (((_parent.wid / 2) - (7 * (_parent._xscale / _parent.scale))) * (_parent._xscale / _parent.scale))) + ((_root["pro" + bc]._width / 3) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = (_parent._parent._y - ((_parent.hei / 1.75) - 6)) + (_root["pro" + bc]._height / 3);
_root["pro" + bc].speed = (5 * (_parent._xscale / _parent.scale)) * _parent.wane;
bc++;
if (bc > ((30 * _root["char" + _parent._parent.player]) + 29)) {
bc = 30 * _root["char" + _parent._parent.player];
}
_parent._parent._x = _parent._parent._x - (0.6 * (_parent._xscale / _parent.scale));
}
}
Symbol 705 MovieClip Frame 7
upbd = true;
jump = false;
air = false;
dj = false;
speedgah = 0;
grav = (-jumpHeight) * 0.8;
_parent._y = _parent._y - 4;
Symbol 705 MovieClip Frame 10
stop();
attack = false;
recov = false;
timer = 12;
Symbol 720 MovieClip Frame 3
stop();
Symbol 721 MovieClip Frame 1
stop();
Instance of Symbol 717 MovieClip in Symbol 721 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_parent._parent._parent.grav > -1) {
_parent.play();
}
}
Symbol 721 MovieClip Frame 5
stop();
Symbol 722 MovieClip Frame 13
stop();
Instance of Symbol 717 MovieClip in Symbol 722 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent._parent._parent.grav > -1) {
_parent.play();
}
}
Symbol 722 MovieClip Frame 17
stop();
Symbol 723 MovieClip Frame 1
_parent._parent.speedduh == 5;
Instance of Symbol 80 MovieClip in Symbol 723 MovieClip Frame 1
onClipEvent (load) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
if (Key.isDown(65)) {
_parent._parent.attack = true;
_parent._parent.upbd = true;
_parent._parent.gotoAndStop(7);
}
}
Symbol 723 MovieClip Frame 2
_parent._parent.speedduh == 5;
Symbol 723 MovieClip Frame 5
_parent._parent.speedduh == 5;
Symbol 723 MovieClip Frame 6
_parent.grav = -_parent.jumpHeight;
_parent._parent._y = _parent._parent._y - 4;
_parent.jump = true;
_parent.attack = false;
_parent.timer = 12;
Symbol 723 MovieClip Frame 7
_parent.attack = false;
Symbol 723 MovieClip Frame 9
stop();
stop();
Instance of Symbol 721 MovieClip in Symbol 723 MovieClip Frame 9
onClipEvent (enterFrame) {
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.3;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.3;
}
}
Symbol 723 MovieClip Frame 10
stop();
stop();
Instance of Symbol 722 MovieClip in Symbol 723 MovieClip Frame 10
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.5;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.5;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Instance of Symbol 80 MovieClip "hit2" in Symbol 724 MovieClip Frame 21
onClipEvent (load) {
_parent._parent._parent.dmg2 = 12;
_parent._parent._parent.kbx2 = 45 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby2 = 45;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 724 MovieClip Frame 21
onClipEvent (load) {
_parent._parent._parent.dmg1 = 17;
_parent._parent._parent.kbx1 = 65 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 65;
}
Symbol 724 MovieClip Frame 50
_parent.gotoAndStop(1);
Instance of Symbol 80 MovieClip "hit1" in Symbol 727 MovieClip Frame 7
onClipEvent (load) {
_parent._parent._parent.dmg1 = 3 + (_parent._parent.speedduh / 10);
_parent._parent._parent.kbx1 = 20 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 20;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 727 MovieClip Frame 10
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 3 + (_parent._parent.speedduh / 5);
_parent._parent._parent.kbx1 = 300 * (_parent._parent.speedduh / 2);
_parent._parent._parent.kby1 = 300 * (_parent._parent.speedduh / 2);
}
Symbol 727 MovieClip Frame 32
stop();
_parent.attack = false;
_parent.ledge = false;
_parent.timer = 20;
_parent.upbd = true;
Instance of Symbol 80 MovieClip in Symbol 728 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent._parent.grav = 0;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 728 MovieClip Frame 12
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 7;
_parent._parent._parent.kbx1 = 990 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 10000;
}
Instance of Symbol 80 MovieClip in Symbol 728 MovieClip Frame 16
onClipEvent (enterFrame) {
_parent._parent.grav = -25;
}
Instance of Symbol 80 MovieClip in Symbol 728 MovieClip Frame 16
onClipEvent (load) {
_parent._parent._parent.dmg1 = 17;
_parent._parent._parent.kbx1 = 65 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 65;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 728 MovieClip Frame 17
onClipEvent (load) {
_parent._parent._parent.dmg1 = 2;
_parent._parent._parent.kbx1 = 0;
_parent._parent._parent.kby1 = 0;
}
Instance of Symbol 80 MovieClip in Symbol 728 MovieClip Frame 25
onClipEvent (load) {
_parent._parent._parent.dmg1 = 17;
_parent._parent._parent.kbx1 = 65 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = 65;
}
Symbol 728 MovieClip Frame 26
_parent.grav = -5;
Symbol 728 MovieClip Frame 35
stop();
Instance of Symbol 192 MovieClip in Symbol 728 MovieClip Frame 35
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 9, true)) {
_parent._parent.attack = true;
_parent._parent.recov = true;
_parent.play();
}
}
Instance of Symbol 80 MovieClip in Symbol 728 MovieClip Frame 35
onClipEvent (enterFrame) {
_parent._parent.grav = 25;
}
Instance of Symbol 80 MovieClip "hit1" in Symbol 728 MovieClip Frame 35
onClipEvent (load) {
fixed = true;
_parent._parent._parent.dmg1 = 4;
_parent._parent._parent.kbx1 = 1200 * (_parent._parent._xscale / _parent._parent.scale);
_parent._parent._parent.kby1 = -13000;
}
Symbol 728 MovieClip Frame 53
_parent.noland = false;
_parent.gotoAndStop(1);
Symbol 729 MovieClip Frame 6
stop();
Symbol 730 MovieClip Frame 5
stop();
Symbol 731 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 731 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 731 MovieClip Frame 2
_parent.ledge = true;
Symbol 731 MovieClip Frame 3
_parent.ledge = true;
Symbol 731 MovieClip Frame 4
_parent.ledge = true;
Symbol 731 MovieClip Frame 5
_parent.ledge = true;
Symbol 731 MovieClip Frame 6
_parent.ledge = true;
Symbol 731 MovieClip Frame 7
_parent.ledge = true;
Symbol 731 MovieClip Frame 8
_parent.ledge = true;
Symbol 731 MovieClip Frame 9
_parent.ledge = true;
Symbol 731 MovieClip Frame 10
_parent.ledge = true;
Symbol 731 MovieClip Frame 11
_parent.ledge = true;
Symbol 731 MovieClip Frame 12
_parent.ledge = true;
Symbol 731 MovieClip Frame 13
_parent.ledge = true;
Symbol 731 MovieClip Frame 14
_parent.ledge = true;
Symbol 731 MovieClip Frame 15
_parent.ledge = true;
Symbol 731 MovieClip Frame 16
_parent.ledge = true;
Symbol 731 MovieClip Frame 17
_parent.ledge = true;
Symbol 731 MovieClip Frame 18
_parent.ledge = true;
Symbol 731 MovieClip Frame 19
_parent.ledge = true;
Symbol 731 MovieClip Frame 20
_parent.ledge = true;
Symbol 731 MovieClip Frame 21
_parent.ledge = true;
Symbol 731 MovieClip Frame 22
_parent.ledge = true;
Symbol 731 MovieClip Frame 23
_parent.ledge = true;
Symbol 731 MovieClip Frame 24
_parent.ledge = true;
Symbol 731 MovieClip Frame 25
_parent.ledge = true;
Symbol 731 MovieClip Frame 26
_parent._parent._x = _parent._parent._x + (80 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 732 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
Symbol 732 MovieClip Frame 3
stop();
recov = false;
Symbol 732 MovieClip Frame 4
attack = true;
Instance of Symbol 724 MovieClip "atk" in Symbol 732 MovieClip Frame 4
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
onClipEvent (load) {
this.hit2._visible = false;
}
onClipEvent (enterFrame) {
this.hit2._visible = false;
}
Symbol 732 MovieClip Frame 5
attack = true;
Instance of Symbol 727 MovieClip "atk" in Symbol 732 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_root.ground.hitTest(_parent._parent._x, _parent._parent._y + 7, true)) {
_parent._parent._x = _parent._parent._x + ((_parent.speedduh * (_parent._xscale / _parent.scale)) / 2);
}
}
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
onClipEvent (load) {
this.hit2._visible = false;
}
onClipEvent (enterFrame) {
this.hit2._visible = false;
}
Symbol 732 MovieClip Frame 6
attack = true;
Instance of Symbol 276 MovieClip "atk" in Symbol 732 MovieClip Frame 6
onClipEvent (load) {
bc = 30 * _root["char" + _parent._parent.player];
count = 3;
}
onClipEvent (enterFrame) {
if ((Key.isDown(65) && (_currentframe > 18)) && (_currentframe < 27)) {
stop();
} else {
play();
}
if ((_currentframe > 18) && (_currentframe < 27)) {
_parent.wane = _parent.wane / 1.01;
duplicateMovieClip (_root.obj1, "pro" + bc, bc);
_root["pro" + bc].rotaty = 12 - random(24);
_root["pro" + bc].bah = 20;
_root["pro" + bc].scalplus = 10 * _parent.wane;
_root["pro" + bc]._xscale = 20 + (_parent.wane * 80);
_root["pro" + bc]._yscale = 20 + (_parent.wane * 80);
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = (_parent._parent._x + (((_parent.wid / 2) - (7 * (_parent._xscale / _parent.scale))) * (_parent._xscale / _parent.scale))) + ((_root["pro" + bc]._width / 3) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = (_parent._parent._y - ((_parent.hei / 1.75) - 6)) + (_root["pro" + bc]._height / 3);
_root["pro" + bc].speed = (5 * (_parent._xscale / _parent.scale)) * _parent.wane;
bc++;
if (bc > ((30 * _root["char" + _parent._parent.player]) + 29)) {
bc = 30 * _root["char" + _parent._parent.player];
}
_parent._parent._x = _parent._parent._x - (0.6 * (_parent._xscale / _parent.scale));
}
}
Symbol 732 MovieClip Frame 7
noland = true;
upbd = true;
jump = false;
air = false;
dj = false;
speedgah = 0;
grav = -3;
_parent._y = _parent._y - 4;
Instance of Symbol 728 MovieClip "atk" in Symbol 732 MovieClip Frame 7
onClipEvent (load) {
bc = _parent.projmin;
}
onClipEvent (enterFrame) {
if (_currentframe == 38) {
duplicateMovieClip (_root.obj4, "pro" + bc, bc);
_root["pro" + bc].bah = 24;
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = _parent._parent._x + ((_parent.wid / 1.25) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = _parent._parent._y;
_root["pro" + bc].xspeed = 11 * (_parent._xscale / _parent.scale);
_root["pro" + bc]._xscale = _root["pro" + bc]._xscale * (_parent._xscale / _parent.scale);
bc++;
if (bc >= _parent.projmax) {
bc = _parent.projmin;
}
}
}
onClipEvent (load) {
this.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.hit1._visible = false;
}
onClipEvent (load) {
this.hit2._visible = false;
}
onClipEvent (enterFrame) {
this.hit2._visible = false;
}
Symbol 732 MovieClip Frame 9
noland = false;
Symbol 732 MovieClip Frame 10
stop();
noland = false;
attack = false;
recov = false;
timer = 12;
Symbol 732 MovieClip Frame 11
_parent.damage = "X_X";
noland = false;
_root.hud[("p" + _parent.player) + "dmg"] = "X_X";
ledge = true;
attack = true;
if (dietype == 1) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = _parent._x;
_root["MC" + _parent.player]._y = (_root.camFrame._y + (_root.camFrame._height / 2)) + 10;
}
if (dietype == 2) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x - (_root.camFrame._width / 2)) - 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = 90;
}
if (dietype == 3) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x + (_root.camFrame._width / 2)) + 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = -90;
}
_parent.lives--;
Instance of Symbol 80 MovieClip in Symbol 732 MovieClip Frame 11
onClipEvent (load) {
timer = 130;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_parent._parent._x = _root["spawn" + _parent._parent.player]._x;
_parent._parent._y = _root["spawn" + _parent._parent.player]._y;
_parent.gotoAndStop("rebirth");
}
}
Symbol 732 MovieClip Frame 12
_parent.damage = 0;
died = false;
_root.hud[("p" + _parent.player) + "dmg"] = 0;
Instance of Symbol 718 MovieClip in Symbol 732 MovieClip Frame 12
onClipEvent (load) {
going = 80;
stuff = 150;
}
onClipEvent (enterFrame) {
going--;
stuff--;
_parent.grav = 0;
if (going > 0) {
_parent._parent._y = _parent._parent._y + 2;
}
if (stuff < 0) {
_parent.ledge = false;
_parent.attack = false;
_parent.gotoAndStop(1);
}
}
Symbol 749 MovieClip Frame 1
stop();
onEnterFrame = function () {
if (((_parent._parent._parent.charged == true) || (_parent._parent._parent._parent.charged == true)) || (_parent._parent._parent._parent._parent.charged == true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 749 MovieClip Frame 2
stop();
onEnterFrame = function () {
if (((_parent._parent._parent.charged == true) || (_parent._parent._parent._parent.charged == true)) || (_parent._parent._parent._parent._parent.charged == true)) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
};
Symbol 760 MovieClip Frame 5
stop();
Symbol 761 MovieClip Frame 1
stop();
Symbol 761 MovieClip Frame 5
stop();
Instance of Symbol 761 MovieClip in Symbol 762 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((_currentframe == 1) && (_parent._parent._parent.grav > -1)) {
play();
}
}
Symbol 764 MovieClip Frame 51
stop();
Instance of Symbol 763 MovieClip in Symbol 764 MovieClip Frame 51
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 5;
}
Instance of Symbol 80 MovieClip in Symbol 765 MovieClip Frame 1
onClipEvent (load) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
}
onClipEvent (enterFrame) {
if (!_root.ground.hitTest(_parent._parent._parent._x, _parent._parent._parent._y + 8, true)) {
_parent.gotoAndPlay("jum");
}
if (Key.isDown(65)) {
_parent._parent.attack = true;
_parent._parent.upbd = true;
_parent._parent.gotoAndStop(7);
}
}
Symbol 765 MovieClip Frame 4
_parent.grav = -_parent.jumpHeight;
_parent._parent._y = _parent._parent._y - 4;
_parent.jump = true;
_parent.attack = false;
_parent.timer = 12;
Symbol 765 MovieClip Frame 5
_parent.attack = false;
Symbol 765 MovieClip Frame 7
stop();
Symbol 765 MovieClip Frame 8
stop();
Instance of Symbol 764 MovieClip in Symbol 765 MovieClip Frame 8
onClipEvent (load) {
can = 5;
}
onClipEvent (enterFrame) {
can--;
if ((!Key.isDown(37)) && (_parent._parent.speedgah < 0)) {
_parent._parent.speedgah = _parent._parent.speedgah + 0.275;
}
if ((!Key.isDown(39)) && (_parent._parent.speedgah > 0)) {
_parent._parent.speedgah = _parent._parent.speedgah - 0.275;
}
if (can > 0) {
if (Key.isDown(37)) {
_parent._parent._xscale = -_parent._parent.scale;
_parent._parent.speedgah = -4;
}
}
if (can > 0) {
if (Key.isDown(39)) {
_parent._parent._xscale = _parent._parent.scale;
_parent._parent.speedgah = 4;
}
}
}
Symbol 773 MovieClip Frame 1
charge = 0;
Instance of Symbol 80 MovieClip in Symbol 773 MovieClip Frame 1
onClipEvent (enterFrame) {
_parent.charge = _parent._currentframe;
}
Symbol 773 MovieClip Frame 2
charge = 0;
Symbol 773 MovieClip Frame 4
if (_parent.charged == true) {
charge = 200;
_parent.charged = false;
gotoAndPlay (200);
}
Instance of Symbol 768 MovieClip in Symbol 773 MovieClip Frame 4
onClipEvent (enterFrame) {
this._xscale = _parent.charge / 2;
this._yscale = this._xscale;
}
Instance of Symbol 80 MovieClip in Symbol 773 MovieClip Frame 15
onClipEvent (enterFrame) {
if (!Key.isDown(65)) {
_parent.gotoAndPlay("release");
} else {
play();
}
_parent.charge = _parent._currentframe;
}
Symbol 773 MovieClip Frame 200
stop();
Instance of Symbol 768 MovieClip in Symbol 773 MovieClip Frame 200
onClipEvent (enterFrame) {
this._xscale = _parent.charge / 2;
this._yscale = this._xscale;
if (Key.isDown(37)) {
_parent._parent.charged = true;
_parent._parent._parent._x = _parent._parent._parent._x - 25;
_parent._parent.gotoAndStop(1);
}
if (Key.isDown(39)) {
_parent._parent.charged = true;
_parent._parent._parent._x = _parent._parent._parent._x + 25;
_parent._parent.gotoAndStop(1);
}
}
Symbol 773 MovieClip Frame 205
charge = 0;
_parent.gotoAndStop(1);
Symbol 784 MovieClip Frame 13
punchy = 25;
Instance of Symbol 336 MovieClip in Symbol 784 MovieClip Frame 13
onClipEvent (enterFrame) {
if (_parent.punchy > 0) {
_parent.punchy--;
}
if (_parent._parent._xscale == _parent._parent.scale) {
_parent._parent._parent._x = _parent._parent._parent._x + _parent.punchy;
} else {
_parent._parent._parent._x = _parent._parent._parent._x + (-_parent.punchy);
}
}
Symbol 784 MovieClip Frame 42
_parent.attack = false;
_parent.upbd = true;
stop();
Instance of Symbol 783 MovieClip in Symbol 784 MovieClip Frame 42
onClipEvent (enterFrame) {
_rotation = (_rotation + 5);
}
Symbol 791 MovieClip Frame 35
goto = new Array("36", "61", "86", "116", "141");
current = random(5);
gotoAndPlay(goto[current]);
Symbol 791 MovieClip Frame 60
gotoAndPlay (160);
Symbol 791 MovieClip Frame 85
gotoAndPlay (160);
Symbol 791 MovieClip Frame 115
gotoAndPlay (160);
Symbol 791 MovieClip Frame 140
gotoAndPlay (160);
Symbol 791 MovieClip Frame 160
_parent._parent.gotoAndStop(8);
_parent._parent.attack = false;
Symbol 800 MovieClip Frame 1
_parent.ledge = true;
Instance of Symbol 336 MovieClip in Symbol 800 MovieClip Frame 23
onClipEvent (enterFrame) {
if ((!Key.isDown(38)) && (!Key.isDown(40))) {
if (Key.isDown(37) || (Key.isDown(39))) {
_parent._parent.grav = -0.85;
}
}
if (Key.isDown(37)) {
_parent._parent._parent._x = _parent._parent._parent._x - _parent._parent.speed;
} else if (Key.isDown(39)) {
_parent._parent._parent._x = _parent._parent._parent._x + _parent._parent.speed;
}
}
Symbol 800 MovieClip Frame 24
_parent.ledge = false;
if (Key.isDown(40)) {
_parent.grav = _parent.jumpHeight * 1.3;
} else if (Key.isDown(38)) {
_parent.grav = (-_parent.jumpHeight) * 1.3;
}
if ((((!Key.isDown(40)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) {
_parent.grav = (-_parent.jumpHeight) * 1.3;
}
Symbol 800 MovieClip Frame 50
_parent.ledge = true;
Symbol 800 MovieClip Frame 55
_parent.ledge = false;
_parent.grav = 0;
Symbol 800 MovieClip Frame 66
_parent.ledge = false;
_parent.upbd = true;
_parent.attack = false;
_parent.recov = false;
Instance of Symbol 763 MovieClip in Symbol 800 MovieClip Frame 66
onClipEvent (enterFrame) {
_parent._rotation = _parent._rotation + 5;
}
Symbol 800 MovieClip Frame 74
gotoAndPlay (66);
Symbol 806 MovieClip Frame 3
stop();
Symbol 808 MovieClip Frame 1
stop();
Instance of Symbol 224 MovieClip in Symbol 808 MovieClip Frame 1
onClipEvent (load) {
can = 0;
}
onClipEvent (enterFrame) {
can++;
if (can > 19) {
if (_parent._parent._xscale < 0) {
if (Key.isDown(37) || (Key.isDown(37) && (Key.isDown(38)))) {
_parent.play();
}
}
if (_parent._parent._xscale > 0) {
if (Key.isDown(39) || (Key.isDown(39) && (Key.isDown(38)))) {
_parent.play();
}
}
if (Key.isDown(65)) {
_parent.play();
}
}
if (can > 19) {
if (((Key.isDown(38) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
if (((Key.isDown(83) && (!_parent._parent.hold)) && (!Key.isDown(37))) && (!Key.isDown(39))) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y - 30;
_parent._parent.timer = 5;
_parent._parent.grav = -_parent._parent.jumpheight;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
if (can > 10) {
if (Key.isDown(40) || (can > 300)) {
_parent._parent._parent._x = _parent._parent._parent._x - (30 * (_parent._xscale / _parent.scale));
_parent._parent._parent._y = _parent._parent._parent._y + 30;
_parent._parent.timer = 5;
_parent._parent.grav = 8;
_parent._parent.ledge = false;
_parent._parent.gotoAndStop(3);
}
}
}
Symbol 808 MovieClip Frame 2
_parent.ledge = true;
Symbol 808 MovieClip Frame 3
_parent.ledge = true;
Symbol 808 MovieClip Frame 4
_parent.ledge = true;
Symbol 808 MovieClip Frame 5
_parent.ledge = true;
Symbol 808 MovieClip Frame 6
_parent.ledge = true;
Symbol 808 MovieClip Frame 7
_parent.ledge = true;
Symbol 808 MovieClip Frame 8
_parent.ledge = true;
Symbol 808 MovieClip Frame 9
_parent.ledge = true;
Symbol 808 MovieClip Frame 10
_parent.ledge = true;
Symbol 808 MovieClip Frame 11
_parent.ledge = true;
Symbol 808 MovieClip Frame 12
_parent.ledge = true;
Symbol 808 MovieClip Frame 13
_parent.ledge = true;
Symbol 808 MovieClip Frame 14
_parent.ledge = true;
Symbol 808 MovieClip Frame 15
_parent.ledge = true;
Symbol 808 MovieClip Frame 16
_parent.ledge = true;
Symbol 808 MovieClip Frame 17
_parent.ledge = true;
Symbol 808 MovieClip Frame 18
_parent.ledge = true;
Symbol 808 MovieClip Frame 19
_parent.ledge = true;
Symbol 808 MovieClip Frame 20
_parent.ledge = true;
Symbol 808 MovieClip Frame 21
_parent.ledge = true;
Symbol 808 MovieClip Frame 22
_parent.ledge = true;
Symbol 808 MovieClip Frame 23
_parent.ledge = true;
Symbol 808 MovieClip Frame 24
_parent.ledge = true;
Symbol 808 MovieClip Frame 25
_parent._parent._x = _parent._parent._x + (150 * (_parent._xscale / _parent.scale));
_parent._parent._y = _parent._parent._y - 100;
_parent.ledge = false;
_parent.gotoAndStop(1);
Symbol 810 MovieClip Frame 1
stop();
upbd = false;
attack = false;
recov = false;
timer = 12;
if (_root.ground.hitTest(_parent._x, _parent._y + 4)) {
sidebd = false;
}
Symbol 810 MovieClip Frame 3
stop();
recov = false;
Symbol 810 MovieClip Frame 4
attack = true;
Instance of Symbol 773 MovieClip "atk" in Symbol 810 MovieClip Frame 4
onClipEvent (load) {
bc = _parent.projmin;
}
onClipEvent (enterFrame) {
if (_currentframe == 201) {
duplicateMovieClip (_root.obj5, "pro" + bc, bc);
_root["pro" + bc].bah = 60;
_root["pro" + bc]._xscale = charge / 2;
_root["pro" + bc]._yscale = charge / 2;
_root["pro" + bc].wid = _root["pro" + bc]._width;
_root["pro" + bc].hei = _root["pro" + bc]._height;
_root["pro" + bc]._x = (_parent._parent._x + (((_parent.wid / 2) - (7 * (_parent._xscale / _parent.scale))) * (_parent._xscale / _parent.scale))) + ((_root["pro" + bc]._width / 3) * (_parent._xscale / _parent.scale));
_root["pro" + bc]._y = (_parent._parent._y - ((_parent.hei / 1.75) + 10)) + (_root["pro" + bc]._height / 3);
if (_parent._xscale > 0) {
_root["pro" + bc].xspeed = (charge / 40) + 10;
} else {
_root["pro" + bc].xspeed = (charge / 40) + -10;
}
bc++;
if (bc >= _parent.projmax) {
bc = _parent.projmin;
}
_parent._parent._x = _parent._parent._x - ((charge / 2) * (_parent._xscale / _parent.scale));
}
}
Symbol 810 MovieClip Frame 5
attack = true;
Instance of Symbol 784 MovieClip in Symbol 810 MovieClip Frame 5
onClipEvent (enterFrame) {
if (_currentframe < 42) {
_parent.grav = 0;
}
}
Symbol 810 MovieClip Frame 6
attack = true;
Symbol 810 MovieClip Frame 7
recov = true;
attack = true;
upbd = true;
jump = false;
air = false;
dj = false;
speedgah = 0;
Instance of Symbol 801 MovieClip in Symbol 810 MovieClip Frame 8
onClipEvent (enterFrame) {
if (!Key.isDown(40)) {
_parent.crouch = false;
_parent.gotoAndStop(1);
}
}
Symbol 810 MovieClip Frame 10
stop();
attack = false;
recov = false;
timer = 12;
Symbol 810 MovieClip Frame 11
_parent.damage = "X_X";
_root.hud[("p" + _parent.player) + "dmg"] = "X_X";
ledge = true;
attack = true;
if (dietype == 1) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = _parent._x;
_root["MC" + _parent.player]._y = (_root.camFrame._y + (_root.camFrame._height / 2)) + 10;
}
if (dietype == 2) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x - (_root.camFrame._width / 2)) - 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = 90;
}
if (dietype == 3) {
_root.attachMovie("diep" + _parent.player, "MC" + _parent.player, 10000 + _parent.player);
_root["MC" + _parent.player]._x = (_root.camFrame._x + (_root.camFrame._width / 2)) + 10;
_root["MC" + _parent.player]._y = _parent._y;
_root["MC" + _parent.player]._rotation = -90;
}
_parent.lives--;
Instance of Symbol 80 MovieClip in Symbol 810 MovieClip Frame 11
onClipEvent (load) {
timer = 130;
}
onClipEvent (enterFrame) {
timer--;
if (timer < 0) {
_parent._parent._x = _root["spawn" + _parent._parent.player]._x;
_parent._parent._y = _root["spawn" + _parent._parent.player]._y;
_parent.gotoAndStop("rebirth");
}
}
Symbol 810 MovieClip Frame 12
_parent.damage = 0;
died = false;
_root.hud[("p" + _parent.player) + "dmg"] = 0;
Instance of Symbol 759 MovieClip in Symbol 810 MovieClip Frame 12
onClipEvent (load) {
going = 80;
stuff = 150;
}
onClipEvent (enterFrame) {
going--;
stuff--;
_parent.grav = 0;
if (going > 0) {
_parent._parent._y = _parent._parent._y + 2;
}
if (stuff < 0) {
_parent.ledge = false;
_parent.attack = false;
_parent.gotoAndStop(1);
}
}
Symbol 811 MovieClip Frame 1
stop();
Instance of Symbol 236 MovieClip "circle" in Symbol 811 MovieClip Frame 1
onClipEvent (load) {
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 5.5;
}
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 15;
maxfall = 19;
slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
sca = _xscale;
ysc = _yscale;
var ex = 5;
var dam = 25;
recov = false;
crouch = false;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (_currentframe == 5) {
fallspeed = 0.5;
} else {
fallspeed = 0.85;
}
if (grav < maxfall) {
grav = grav + fallspeed;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.85;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.4;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.4;
}
}
if ((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
_parent._x = _parent._x + ((speed / 3) * run._currentframe);
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if ((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
_parent._x = _parent._x - ((speed / 3) * run._currentframe);
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if (((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) {
attack = true;
gotoAndPlay (3);
}
if (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) {
grav = (-jumpHeight) * 0.95;
jump = true;
dj = true;
j.gotoAndStop("dj");
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
}
while (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
_parent._y = _parent._y + 10;
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if (((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if ((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 7;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.6) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
hold = true;
}
if (!Key.isDown(38)) {
hold = false;
}
}
Symbol 811 MovieClip Frame 2
stop();
Instance of Symbol 244 MovieClip "circle" in Symbol 811 MovieClip Frame 2
onClipEvent (load) {
if (_currentframe == 5) {
speed = o;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = o;
}
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 0;
maxfall = 15;
slow = 0.7;
weight = 8;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (grav < maxfall) {
grav = grav + 0.85;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.85;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
}
Symbol 811 MovieClip Frame 3
stop();
Instance of Symbol 293 MovieClip "circle" in Symbol 811 MovieClip Frame 3
onClipEvent (load) {
sca = _xscale;
ysc = _yscale;
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 2.5;
}
projmin = (10 * _parent.player) - 9;
projmax = 10 * _parent.player;
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
slwfl = false;
grav = 0;
jumpHeight = 14;
maxfall = 33;
slow = 0.7;
wane = 1;
wane2 = 1;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
}
onClipEvent (enterFrame) {
if ((wane < 1) && (_currentframe != 6)) {
wane = wane + 0.001;
}
if (timer > 0) {
timer--;
}
if (slwfl && (_currentframe == 7)) {
fallspeed = 0.3;
} else {
fallspeed = 0.6;
}
if (_currentframe != 7) {
slwfl = false;
}
if (grav < maxfall) {
grav = grav + fallspeed;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.6;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah < 2.2) {
speedgah = speedgah + 0.4;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah > -2.2) {
speedgah = speedgah - 0.4;
}
}
if ((_currentframe != 2) && (_currentframe != 3)) {
speeddah = 0;
}
if ((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
speedduh = (speed / 4) * run._currentframe;
_parent._x = _parent._x + speedduh;
speeddah = speedduh;
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if ((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
speedduh = (speed / 4) * run._currentframe;
_parent._x = _parent._x - speedduh;
speeddah = speedduh;
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if (((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if (((((((Key.isDown(83) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) || ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd))) {
attack = true;
gotoAndPlay (3);
}
if ((((((((Key.isDown(83) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) || (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd))) {
grav = (-jumpHeight) * 0.9;
_parent._y = _parent._y - 4;
jump = true;
dj = true;
j.gotoAndStop("dj");
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
}
if (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
grav = 1;
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if (((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if ((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 6;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.6) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) {
gotoAndStop (1);
}
if (Key.isDown(83) || (Key.isDown(38))) {
hold = true;
}
if ((!Key.isDown(83)) && (!Key.isDown(38))) {
hold = false;
}
}
Symbol 811 MovieClip Frame 4
stop();
Instance of Symbol 427 MovieClip "circle" in Symbol 811 MovieClip Frame 4
onClipEvent (load) {
jumpland = 0;
if (_currentframe == 5) {
if (this.atk._currentframe > 15) {
speed = 500;
} else {
speed = 0;
}
} else if (this._currentframe == 4) {
if ((this.atk._currentframe < 236) && (this.atk._currentframe > 150)) {
speed = 5;
} else if ((this.atk._currentframe > 235) && (this.atk._currentframe != 253)) {
speed = 20;
}
} else {
speed = 22;
}
sca = _xscale;
ysc = _yscale;
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 25;
maxfall = 25;
slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
this.atk.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.atk.hit1._visible = false;
if (!_root.paus) {
if (timer > 0) {
timer--;
}
if (grav < maxfall) {
grav = grav + 2;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
if (this._currentframe != 5) {
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.85;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 7) {
speedgah = speedgah + 7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -7) {
speedgah = speedgah - 7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 1.65;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 1.65;
}
}
if ((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
_parent._x = _parent._x + ((speed / 9) * run._currentframe);
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if ((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
_parent._x = _parent._x - ((speed / 9) * run._currentframe);
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if (((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) {
grav = -jumpHeight;
_parent._y = _parent._y - 4;
jump = true;
step = new Sound(this);
step.attachSound("swingm");
step.start(0, 0);
hup = new Sound(this);
hup.attachSound("sonic_jump");
hup.start(0, 0);
}
if (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) {
grav = (-jumpHeight) * 0.8;
step = new Sound(this);
step.attachSound("swingm");
step.start(0, 0);
_parent._y = _parent._y - 4;
jump = true;
dj = true;
j.gotoAndStop(6);
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
if ((this._currentframe == 4) && (this.atk._currentframe > 99)) {
ledge = false;
attack = false;
this.gotoAndStop(1);
}
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
if ((this._currentframe == 4) && (this.atk._currentframe > 99)) {
ledge = false;
attack = false;
this.gotoAndStop(1);
}
}
if (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
grav = 1;
if (((this._currentframe == 6) && (this.atk._currentframe > 10)) || (this._currentframe == 7)) {
ledge = false;
attack = false;
upbd = true;
this.gotoAndStop(3);
grav = 10;
_parent._y = _parent._y + 10;
}
if ((this._currentframe == 6) && (this.atk._currentframe < 11)) {
this.atk.gotoAndStop(10);
}
}
if (this._currentframe == 7) {
while (_root.ground.hitTest(_parent._x, _parent._y - hei, true) || (_root.ground.hitTest(_parent._x, _parent._y - (hei * 0.5), true))) {
ledge = false;
attack = false;
upbd = true;
this.gotoAndStop(3);
grav = 10;
_parent._y = _parent._y + 10;
}
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if ((((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) && (!ledge)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if (((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) && (!attack)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
if (this.atk._currentframe > 15) {
speed = 50;
} else {
speed = 0;
}
} else if (_currentframe == 4) {
if ((atk._currentframe < 236) && (atk._currentframe > 150)) {
speed = 5;
} else {
speed = 20;
if ((atk._currentframe != 253) && (atk._currentframe > 235)) {
grav = 0;
}
}
} else {
speed = 15;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.1) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!attack)) && (!land)) {
gotoAndStop (1);
}
if (Key.isDown(83) || (Key.isDown(38))) {
hold = true;
}
if ((!Key.isDown(83)) && (!Key.isDown(38))) {
hold = false;
}
if (((((((Key.isDown(68) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) && (!ledge)) {
this.gotoAndStop(11);
}
if (((((Key.isDown(87) && (!ledge)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(14);
}
if (((((Key.isDown(87) && (!ledge)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(15);
}
}
}
Symbol 811 MovieClip Frame 5
stop();
Instance of Symbol 539 MovieClip "circle" in Symbol 811 MovieClip Frame 6
onClipEvent (load) {
sca = _xscale;
ysc = _yscale;
i = 0;
speed = 5;
wid = _width;
hei = _height;
projmin = 40 + _parent.player;
projmax = 40 + _parent.player;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 9;
maxfall = 14;
slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (grav < maxfall) {
grav = grav + 0.45;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.45;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.4;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.4;
}
}
if ((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
_parent._x = _parent._x + speed;
gotoAndStop (2);
_xscale = scale;
} else if ((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
_parent._x = _parent._x - speed;
gotoAndStop (2);
_xscale = (-scale);
} else if (((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if (((((((Key.isDown(83) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) || ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd))) {
grav = -jumpHeight;
_parent._y = _parent._y - 4;
jump = true;
}
if ((((((((Key.isDown(83) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) || (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd))) {
grav = (-jumpHeight) * 0.8;
_parent._y = _parent._y - 4;
jump = true;
dj = true;
j.gotoAndStop(6);
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
}
if (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
grav = 1;
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if (((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if ((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) {
gotoAndStop (1);
crouch = false;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.6) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) {
gotoAndStop (1);
}
if (Key.isDown(83) || (Key.isDown(38))) {
hold = true;
}
if ((!Key.isDown(83)) && (!Key.isDown(38))) {
hold = false;
}
if (((((((Key.isDown(68) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) && (!ledge)) {
this.gotoAndStop(10);
}
}
Instance of Symbol 622 MovieClip "circle" in Symbol 811 MovieClip Frame 7
onClipEvent (load) {
jumpland = 0;
if (_currentframe == 5) {
if (this.atk._currentframe > 15) {
speed = 25;
} else {
speed = 0;
}
} else if (_currentframe == 4) {
if (atk._currentframe < 98) {
speed = 5;
} else {
speed = 20;
if (atk._currentframe != 115) {
grav = 0;
}
}
} else {
speed = 9;
}
sca = _xscale;
ysc = _yscale;
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 22;
maxfall = 25;
slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
this.atk.hit1._visible = false;
}
onClipEvent (enterFrame) {
this.atk.hit1._visible = false;
if (timer > 0) {
timer--;
}
if (grav < maxfall) {
grav = grav + 1.5;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.85;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 7) {
speedgah = speedgah + 7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -7) {
speedgah = speedgah - 7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 1.65;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 1.65;
}
}
if (((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!chaosc)) {
if (_currentframe == 2) {
_parent._x = _parent._x + ((speed / 9) * run._currentframe);
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if (((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!chaosc)) {
if (_currentframe == 2) {
_parent._x = _parent._x - ((speed / 9) * run._currentframe);
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if ((((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) && (!chaosc)) {
gotoAndStop (1);
}
if (((((((Key.isDown(83) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) || ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd))) {
grav = -jumpHeight;
_parent._y = _parent._y - 4;
jump = true;
}
if ((((((((Key.isDown(83) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) || (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd))) {
grav = (-jumpHeight) * 0.8;
_parent._y = _parent._y - 4;
jump = true;
dj = true;
j.gotoAndStop(6);
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
if ((((this._currentframe == 4) && (this.atk._currentframe > 97)) || (this._currentframe == 5)) || (this._currentframe == 6)) {
attack = false;
ledge = false;
grav = 0;
this.gotoAndStop(1);
}
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
if ((((this._currentframe == 4) && (this.atk._currentframe > 97)) || (this._currentframe == 5)) || (this._currentframe == 6)) {
attack = false;
ledge = false;
grav = 0;
this.gotoAndStop(1);
}
}
if (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
grav = 1;
if (this._currentframe == 6) {
ledge = false;
attack = false;
upbd = true;
this.gotoAndStop(3);
grav = 10;
}
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if ((((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) && (!chaosc)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if ((((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) && (!ledge)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if ((((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) && (!chaosc)) {
gotoAndStop (8);
crouch = true;
} else if (((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) && (!attack)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
if (this.atk._currentframe > 15) {
speed = 25;
} else {
speed = 0;
}
} else if (_currentframe == 4) {
if (atk._currentframe < 98) {
speed = 5;
} else {
speed = 20;
if (atk._currentframe != 115) {
grav = 0;
}
}
} else {
speed = 9;
}
if ((((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.1) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) && (!chaosc)) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!attack)) && (!land)) {
gotoAndStop (1);
}
if (Key.isDown(83) || (Key.isDown(38))) {
hold = true;
}
if ((!Key.isDown(83)) && (!Key.isDown(38))) {
hold = false;
}
if (((((((Key.isDown(68) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) && (!ledge)) {
this.gotoAndStop(11);
}
}
Instance of Symbol 705 MovieClip "circle" in Symbol 811 MovieClip Frame 8
onClipEvent (load) {
sca = _xscale;
ysc = _yscale;
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 6.6;
}
wid = _width - 10;
hei = _height - 5;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 15;
maxfall = 16;
slow = 0.7;
wane = 1;
wane2 = 1;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
}
onClipEvent (enterFrame) {
if ((wane < 1) && (_currentframe != 6)) {
wane = wane + 0.001;
}
if (timer > 0) {
timer--;
}
if (_currentframe == 7) {
fallspeed = 0.45;
} else {
fallspeed = 0.65;
}
if (grav < maxfall) {
grav = grav + fallspeed;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - fallspeed;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah < 3.2) {
speedgah = speedgah + 0.8;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (speedgah > -3.2) {
speedgah = speedgah - 0.8;
}
}
if ((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
speedduh = (speed / 3) * run._currentframe;
_parent._x = _parent._x + speedduh;
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if ((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
speedduh = (speed / 3) * run._currentframe;
_parent._x = _parent._x - speedduh;
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if (((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if (((((((Key.isDown(83) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) || ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd))) {
grav = -jumpHeight;
_parent._y = _parent._y - 4;
jump = true;
}
if ((((((((Key.isDown(83) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) || (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd))) {
grav = (-jumpHeight) * 0.9;
_parent._y = _parent._y - 4;
jump = true;
dj = true;
j.gotoAndStop(6);
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
}
while (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
_parent._y = _parent._y + 1;
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if (((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if ((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 6;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.6) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) {
gotoAndStop (1);
}
if (Key.isDown(83) || (Key.isDown(38))) {
hold = true;
}
if ((!Key.isDown(83)) && (!Key.isDown(38))) {
hold = false;
}
}
Symbol 811 MovieClip Frame 9
stop();
Instance of Symbol 732 MovieClip "circle" in Symbol 811 MovieClip Frame 9
onClipEvent (load) {
sca = _xscale;
ysc = _yscale;
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 2.5;
}
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
slwfl = false;
grav = 0;
jumpHeight = 14;
noland = false;
maxfall = 22;
slow = 0.7;
wane = 1;
wane2 = 1;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
var ex = 5;
var dam = 25;
}
onClipEvent (enterFrame) {
if (wane < 1) {
wane = wane + 0.01;
}
if (timer > 0) {
timer--;
}
if (slwfl && (_currentframe == 7)) {
fallspeed = 0.5;
} else {
fallspeed = 0.8;
}
if (_currentframe != 7) {
slwfl = false;
}
if (grav < maxfall) {
grav = grav + fallspeed;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.6;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah < 3.3) {
speedgah = speedgah + 0.7;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah > -3.3) {
speedgah = speedgah - 0.7;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah < 2.2) {
speedgah = speedgah + 0.4;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah > -2.2) {
speedgah = speedgah - 0.4;
}
}
if (((((Key.isDown(39) && (!noland)) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
speedduh = (speed / 4) * run._currentframe;
_parent._x = _parent._x + speedduh;
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if (((((Key.isDown(37) && (!noland)) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
speedduh = (speed / 3) * run._currentframe;
_parent._x = _parent._x - speedduh;
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if ((((((!noland) && (!ledge)) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if (((((((Key.isDown(83) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) || ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd))) {
attack = true;
gotoAndStop (3);
}
if ((((((((Key.isDown(83) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) || (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd))) {
grav = (-jumpHeight) * 0.9;
_parent._y = _parent._y - 4;
jump = true;
dj = true;
j.gotoAndStop("dj");
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
}
while (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
_parent._y = _parent._y + 1;
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 13, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 13, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if (((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if ((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 6;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.6) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) {
gotoAndStop (1);
}
if (Key.isDown(83) || (Key.isDown(38))) {
hold = true;
}
if ((!Key.isDown(83)) && (!Key.isDown(38))) {
hold = false;
}
}
Instance of Symbol 810 MovieClip "circle" in Symbol 811 MovieClip Frame 10
onClipEvent (load) {
charged = false;
projmin = (2 * _parent.player) + 46;
projmax = (2 * _parent.player) + 48;
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 5.5;
}
wid = _width;
hei = _height;
timer = 0;
neg = speed;
ledge = false;
grav = 0;
jumpHeight = 16;
maxfall = 19;
slow = 0.7;
var slowspd = (speed / 2);
var setspeed = speed;
scale = _xscale;
sca = _xscale;
ysc = _yscale;
var ex = 5;
var dam = 25;
}
onClipEvent (enterFrame) {
if (timer > 0) {
timer--;
}
if (_currentframe == 5) {
fallspeed = 0.5;
} else {
fallspeed = 0.85;
}
if (grav < maxfall) {
grav = grav + fallspeed;
}
if (!ledge) {
_parent._y = _parent._y + grav;
}
while (_root.ground.hitTest(_parent._x, _parent._y, true)) {
_parent._y = _parent._y - 0.85;
grav = 0;
speedgah = 0;
dj = false;
air = false;
}
if (_root.water.hitTest(_parent._x, _parent._y, true)) {
if (grav > 0) {
grav = grav * slow;
}
speed = slowspd;
} else {
speed = setspeed;
}
if (((!recov) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
_parent._x = _parent._x + speedgah;
}
if (((((Key.isDown(39) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah < 5.5) {
speedgah = speedgah + 1.375;
}
} else if (((((Key.isDown(37) && (!upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah > -5.5) {
speedgah = speedgah - 1.375;
}
}
if (((((Key.isDown(39) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah < 5.5) {
speedgah = speedgah + 0.5;
}
} else if (((((Key.isDown(37) && (upbd)) && (!ledge)) && (!recov)) && (!crouch)) && (!_root.ground.hitTest(_x, _y + 8, true))) {
if (speedgah > -5.5) {
speedgah = speedgah - 0.5;
}
}
if ((((Key.isDown(39) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
_parent._x = _parent._x + ((speed / 3) * run._currentframe);
} else {
_parent._x = _parent._x + speed;
}
gotoAndStop (2);
_xscale = scale;
} else if ((((Key.isDown(37) && (!ledge)) && (!attack)) && (!crouch)) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) {
if (_currentframe == 2) {
_parent._x = _parent._x - ((speed / 3) * run._currentframe);
} else {
_parent._x = _parent._x - speed;
}
gotoAndStop (2);
_xscale = (-scale);
} else if (((((!ledge) && (!recov)) && (!crouch)) && (!attack)) && (_root.ground.hitTest(_parent._x, _parent._y + 6, true))) {
gotoAndStop (1);
}
if ((((((Key.isDown(38) && (_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!attack)) && (!crouch)) && (!hold)) && (!upbd)) {
attack = true;
gotoAndPlay (3);
}
if (((((((Key.isDown(38) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) && (!ledge)) && (!dj)) && (!hold)) && (!attack)) && (!crouch)) && (!upbd)) {
grav = (-jumpHeight) * 0.95;
jump = true;
dj = true;
j.gotoAndStop("dj");
bounce.play();
}
while ((((!Key.isDown(38)) && (_currentframe == 2)) && (_root.ground.hitTest(_parent._x, _parent._y + 18, true))) && (!_root.ground.hitTest(_parent._x, _parent._y + 3, true))) {
_parent._y++;
}
while (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x + (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x - speed;
}
while (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - (hei / 2), true) || (_root.ground.hitTest(_parent._x - (wid / 2), _parent._y - ((hei / 6) * 4), true))) {
_parent._x = _parent._x + speed;
}
while (_root.ground.hitTest(_parent._x, _parent._y - hei, true)) {
_parent._y = _parent._y + 10;
}
if (jump) {
gotoAndStop (3);
jump = false;
}
if (((_currentframe == 1) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true))) || ((_currentframe == 2) && (!_root.ground.hitTest(_parent._x, _parent._y + 8, true)))) {
gotoAndStop (3);
jump = false;
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(4);
}
if ((((((((Key.isDown(65) && (!ledge)) && (!Key.isDown(38))) && (!Key.isDown(40))) && (Key.isDown(37))) && (!attack)) && (timer == 0)) && (!upbd)) || (((((((Key.isDown(39) && (!ledge)) && (Key.isDown(65))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd))) {
this.gotoAndStop(5);
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (!_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 9;
upbd = true;
}
if ((((((((Key.isDown(65) && (!ledge)) && (Key.isDown(38))) && (!Key.isDown(40))) && (!recov)) && (!attack)) && (timer == 0)) && (!upbd)) && (_root.ground.hitTest(_parent._x, _parent._y + 7, true))) {
this.gotoAndStop(7);
_parent._y = _parent._y - 15;
upbd = true;
}
if (((((!_root.ground.hitTest(_parent._x, _parent._y + 3, true)) && (!ledge)) && (!air)) && (!upbd)) && (!attack)) {
gotoAndStop (3);
air = true;
}
if (_root.ground.hitTest(_parent._x, _parent._y + 8, true) && (!hold)) {
upbd = false;
}
if (((((((Key.isDown(65) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (Key.isDown(40))) && (!attack)) && (timer == 0)) && (!upbd)) {
this.gotoAndStop(6);
}
if (Key.isDown(65) && (crouch == true)) {
this.gotoAndStop(6);
crouch = false;
}
if (((((_root.ground.hitTest(_parent._x, _parent._y + 3, true) && (Key.isDown(40))) && (!Key.isDown(37))) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!attack)) {
gotoAndStop (8);
crouch = true;
} else if ((((((!Key.isDown(37)) && (!Key.isDown(39))) && (!Key.isDown(38))) && (!Key.isDown(40))) && (_root.ground.hitTest(_parent._x, _parent._y + 3, true))) && (crouch)) {
gotoAndStop (1);
crouch = false;
}
if (_currentframe == 5) {
speed = 1.5;
} else if (_currentframe == 4) {
speed = 0;
} else {
speed = 7;
}
if (((!attack) && (!recov)) && (_root.ledges.hitTest(_parent._x + ((wid / 1.6) * (_xscale / scale)), _parent._y - ((hei / 6) * 4), true))) {
gotoAndStop ("ledge");
if (l._currentframe == 1) {
ledge = true;
}
speedgah = 0;
dj = false;
upbd = false;
}
if (((_currentframe == 2) && (!Key.isDown(37))) && (!Key.isDown(39))) {
gotoAndStop (1);
}
if (Key.isDown(38)) {
hold = true;
}
if (!Key.isDown(38)) {
hold = false;
}
}
Symbol 826 MovieClip Frame 1
stop();
Instance of Symbol 80 MovieClip in Symbol 826 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.pl1.circle.atk.hit1.hitTest(this) && (!_root.pl1.circle.atk.hit2.hitTest(this))) {
ouch = new Sound(this);
ouch.attachSound(_root.pl1.circle.atk.hit1.sound);
ouch.start(0, 1);
_parent.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (_root.pl1.circle.atk.hit2.hitTest(this) && (!_root.pl1.circle.atk.hit1.hitTest(this))) {
ouch = new Sound(this);
ouch.attachSound(_root.pl1.circle.atk.hit2.sound);
ouch.start(0, 1);
_parent.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
if (_root.pl1.circle.atk.hit2.hitTest(this) && (_root.pl1.circle.atk.hit1.hitTest(this))) {
ouch = new Sound(this);
ouch.attachSound(_root.pl1.circle.atk.hit2.sound);
ouch.start(0, 1);
_parent.gotoAndPlay(3);
}
}
onClipEvent (enterFrame) {
i = 45;
while (i < 49) {
if (this.hitTest(_root["pro" + i]) && (_root["pro" + i].active == true)) {
ouch = new Sound(this);
ouch.attachSound(_root["pro" + i].sound);
ouch.start(0, 1);
_parent.gotoAndPlay(3);
}
i++;
}
}
Symbol 826 MovieClip Frame 2
gotoAndPlay (1);
Symbol 826 MovieClip Frame 3
_root.matoremain--;
Symbol 826 MovieClip Frame 23
gotoAndPlay (22);
Symbol 832 MovieClip Frame 3
active = true;
Symbol 840 MovieClip Frame 3
active = true;
Symbol 840 MovieClip Frame 6
active = true;
Symbol 840 MovieClip Frame 9
active = true;
Symbol 840 MovieClip Frame 12
active = true;
Symbol 840 MovieClip Frame 15
active = true;
Symbol 840 MovieClip Frame 18
active = true;
Symbol 840 MovieClip Frame 21
active = true;
Symbol 840 MovieClip Frame 24
active = true;
Symbol 840 MovieClip Frame 27
active = true;
Symbol 840 MovieClip Frame 30
active = true;
Symbol 840 MovieClip Frame 33
active = true;
Symbol 840 MovieClip Frame 36
active = true;
Symbol 840 MovieClip Frame 39
active = true;
Symbol 840 MovieClip Frame 42
active = true;
Symbol 840 MovieClip Frame 45
active = true;
Symbol 840 MovieClip Frame 48
active = true;
Symbol 840 MovieClip Frame 61
stop();
this.removeMovieClip();
Symbol 843 MovieClip Frame 3
active = true;
Symbol 844 MovieClip Frame 3
active = true;
Symbol 908 MovieClip Frame 1
pl1 = new Color("pa");
pl2 = new Color("pb");
pl3 = new Color("pc");
pl4 = new Color("pd");
onEnterFrame = function () {
if (_root.pl1.damage <= 5) {
pl1.setRGB(16777215);
} else if ((_root.pl1.damage <= 25) && (_root.pl1.damage > 5)) {
pl1.setRGB(16751001);
} else if ((_root.pl1.damage <= 75) && (_root.pl1.damage > 25)) {
pl1.setRGB(16724787);
} else if ((_root.pl1.damage <= 125) && (_root.pl1.damage > 75)) {
pl1.setRGB(13369344);
} else if (_root.pl1.damage > 125) {
pl1.setRGB(10027008);
}
if (_root.pl2.damage <= 5) {
pl2.setRGB(16777215);
} else if ((_root.pl2.damage <= 25) && (_root.pl2.damage > 5)) {
pl2.setRGB(16751001);
} else if ((_root.pl2.damage <= 75) && (_root.pl2.damage > 25)) {
pl2.setRGB(16724787);
} else if ((_root.pl2.damage <= 125) && (_root.pl2.damage > 75)) {
pl2.setRGB(13369344);
} else if (_root.pl2.damage > 125) {
pl2.setRGB(10027008);
}
if (_root.pl3.damage <= 5) {
pl3.setRGB(16777215);
} else if ((_root.pl3.damage <= 25) && (_root.pl3.damage > 5)) {
pl3.setRGB(16751001);
} else if ((_root.pl3.damage <= 75) && (_root.pl3.damage > 25)) {
pl3.setRGB(16724787);
} else if ((_root.pl3.damage <= 125) && (_root.pl3.damage > 75)) {
pl3.setRGB(13369344);
} else if (_root.pl3.damage > 125) {
pl3.setRGB(10027008);
}
if (_root.pl4.damage <= 5) {
pl4.setRGB(16777215);
} else if ((_root.pl4.damage <= 25) && (_root.pl4.damage > 5)) {
pl4.setRGB(16751001);
} else if ((_root.pl4.damage <= 75) && (_root.pl4.damage > 25)) {
pl4.setRGB(16724787);
} else if ((_root.pl4.damage <= 125) && (_root.pl4.damage > 75)) {
pl4.setRGB(13369344);
} else if (_root.pl4.damage > 125) {
pl4.setRGB(10027008);
}
};
Instance of Symbol 899 MovieClip in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.pl1._currentframe);
face.gotoAndStop(_root.lives1 + 1);
face.liveses = _root.lives1;
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pl1._currentframe);
face.gotoAndStop(_root.lives1 + 1);
face.liveses = _root.lives1;
}
Instance of Symbol 899 MovieClip in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.pl2._currentframe);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pl2._currentframe);
}
Instance of Symbol 899 MovieClip in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.pl3._currentframe);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pl3._currentframe);
}
Instance of Symbol 899 MovieClip in Symbol 908 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(_root.pl3._currentframe);
}
onClipEvent (enterFrame) {
this.gotoAndStop(_root.pl4._currentframe);
}
Symbol 914 MovieClip Frame 7
stop();
Symbol 918 Button
on (release) {
_root.death = false;
_root.scoreb = 0;
_root.score = _root.score / 1.5;
_root.prevFrame();
}
Symbol 919 MovieClip Frame 41
if (_root.lives < 1) {
_root.gotoAndStop("gameover");
} else {
play();
}
Symbol 919 MovieClip Frame 69
stop();
Symbol 922 MovieClip Frame 7
stop();
Symbol 924 Button
on (release) {
if (_root.matotest == true) {
_root.gotoAndStop(["win" + _root.test]);
}
}
Symbol 925 MovieClip Frame 69
stop();
Symbol 926 MovieClip Frame 1
stop();
Symbol 926 MovieClip Frame 2
stop();
Symbol 926 MovieClip Frame 3
stop();
Symbol 927 MovieClip Frame 1
function camControl() {
parentColor.setTransform(camColor.getTransform());
var _local4 = sX / this._width;
var _local3 = sY / this._height;
_parent._x = cX - (this._x * _local4);
_parent._y = cY - (this._y * _local3);
_parent._xscale = 100 * _local4;
_parent._yscale = 100 * _local3;
}
function resetStage() {
var _local2 = {ra:100, rb:0, ga:100, gb:0, ba:100, bb:0, aa:100, ab:0};
parentColor.setTransform(_local2);
_parent._xscale = 100;
_parent._yscale = 100;
_parent._x = 0;
_parent._y = 0;
}
s._visible = false;
var oldMode = Stage.scaleMode;
Stage.scaleMode = "exactFit";
var cX = (Stage.width / 2);
var cY = (Stage.height / 2);
var sX = Stage.width;
var sY = Stage.height;
Stage.scaleMode = oldMode;
var camColor = new Color(this);
var parentColor = new Color(_parent);
this.onEnterFrame = camControl;
camControl();
this.onUnload = resetStage;
Instance of Symbol 859 MovieClip in Symbol 927 MovieClip Frame 1
onClipEvent (load) {
if (_root.matotest == false) {
this.visible = 0;
}
gotoAndStop(_root.matoremain + 1);
}
onClipEvent (enterFrame) {
if ((_root.matoremain > 0) && (_root.camFrame.messages._currentframe == 1)) {
_root.timetaken = _root.timetaken + 0.02;
}
timetaken = Math.floor(_root.timetaken) + "s";
gotoAndStop(_root.matoremain + 1);
}
Instance of Symbol 908 MovieClip "hud" in Symbol 927 MovieClip Frame 1
onClipEvent (enterFrame) {
if (((p1dmg != undefined) && (p1dmg != "X_X")) && (p1dmg != "")) {
p1dmg = Math.round(_root.pl1.damage) + "%";
}
if (((p2dmg != undefined) && (p2dmg != "X_X")) && (p2dmg != "")) {
p2dmg = Math.round(_root.pl2.damage) + "%";
}
if (((p3dmg != undefined) && (p3dmg != "X_X")) && (p3dmg != "")) {
p3dmg = Math.round(_root.pl3.damage) + "%";
}
if (((p4dmg != undefined) && (p4dmg != "X_X")) && (p4dmg != "")) {
p4dmg = Math.round(_root.pl4.damage) + "%";
}
if (_root.pl1._currentframe == 5) {
p1dmg = "";
}
if (_root.pl2._currentframe == 5) {
p2dmg = "";
}
if (_root.pl3._currentframe == 5) {
p3dmg = "";
}
if (_root.pl4._currentframe == 5) {
p4dmg = "";
}
}
Symbol 929 MovieClip Frame 1
stop();
Symbol 941 Button
on (release) {
_root.gotoAndStop("test" + test);
}