Frame 1
function itemHandler0(obj, item) {
getURL ("http://www.sun-studios.net", "_blank");
myMenu.customItems[0].enabled = false;
myMenu.customItems[1].enabled = true;
}
function itemHandler1(obj, item) {
getURL ("http://d-sun.newgrounds.com", "_blank");
myMenu.customItems[0].enabled = true;
myMenu.customItems[1].enabled = false;
}
stop();
fscommand ("showMenu", false);
var myMenu = new ContextMenu();
myMenu.hideBuiltInItems();
myMenu.customItems.push(new ContextMenuItem("Visit SuN-Studios.net", itemHandler0));
myMenu.customItems.push(new ContextMenuItem("Visit D-SuN.newgrounds.com", itemHandler1));
myMenu.customItems[1].separatorBefore = true;
_root.menu = myMenu;
Frame 410
stop();
play();
Frame 590
stop();
Frame 619
stopAllSounds();
Instance of Symbol 132 MovieClip "were" in Frame 619
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
_root.gotoAndPlay("1player");
}
if (this._currentframe == 2) {
_root.gotoAndPlay("2player");
}
}
Frame 622
_quality = "LOW";
play();
Instance of Symbol 137 MovieClip in Frame 622
onClipEvent (load) {
_root.score = 0;
}
Instance of Symbol 145 MovieClip "music" in Frame 622
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
this.gotoAndStop(random(5));
}
}
Frame 623
stop();
Instance of Symbol 159 MovieClip in Frame 623
onClipEvent (load) {
this.gotoAndStop(random(4));
}
Instance of Symbol 175 MovieClip in Frame 623
onClipEvent (load) {
this.gotoAndStop(random(2));
}
Instance of Symbol 216 MovieClip "davel" in Frame 623
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p1inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 115) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(90)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 14) && (this.power < 20)) {
this.boom.gotoAndPlay("hit1");
_root.npc1._x = _root.npc1._x + 10;
_root.npc2._x = _root.npc2._x - 7;
_root.npchit.xSpeed = _root.npchit.xSpeed - 7;
_root.score = _root.score + 50;
}
if ((this.power > 19) && (this.power < 30)) {
this.boom.gotoAndPlay("hit2");
_root.npc1._x = _root.npc1._x - 13;
_root.npc2._x = _root.npc2._x + 11;
_root.npchit.xSpeed = _root.npchit.xSpeed + 7;
_root.score = _root.score + 100;
}
if ((this.power > 29) && (this.power < 49)) {
this.boom.gotoAndPlay("hit3");
_root.npc1._x = _root.npc1._x - 25;
_root.npc2._x = _root.npc2._x + 20;
_root.npchit.xSpeed = _root.npchit.xSpeed + 10;
_root.score = _root.score + 150;
}
if (this.power == 49) {
this.boom.gotoAndPlay("hit4");
_root.npc1._x = _root.npc1._x - 35;
_root.npc2._x = _root.npc2._x + 30;
_root.npchit.xSpeed = _root.npchit.xSpeed + 15;
_root.score = _root.score + 500;
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = false;
_root.ball.tright = true;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = true;
_root.ball.tleft = false;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 35;
this.gotoAndPlay("hurt");
}
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x - xSpeed;
}
if (this.hit.hitTest(_root.p1edge)) {
if (_root.p1edge._currentframe == 1) {
_root.p1edge.gotoAndStop(2);
_root.camera.goLeft = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = 15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p1fall._x;
_root.camera._x = _root.p1death._x;
_root.camera._y = _root.p1death._y;
death = true;
this.gotoAndStop("fall");
_root.stock = _root.stock - 1;
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 75) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
if (this._currentframe == 160) {
_root.nextFrame();
}
}
Instance of Symbol 225 MovieClip "ball" in Frame 623
onClipEvent (load) {
gotoAndStop ("coming");
xSpeed = 0;
tleft = true;
tright = false;
activeme = false;
}
onClipEvent (enterFrame) {
if (_root.p1menu._currentframe == 51) {
this.activeme = true;
this.play();
}
if (activeme == true) {
if (this._currentframe == 115) {
xSpeed = 5;
}
if (tleft == true) {
this._x = this._x - xSpeed;
}
if (tright == true) {
this._x = this._x + xSpeed;
}
if ((this.xSpeed > 20) && (this.xSpeed < 30)) {
this.power.gotoAndStop("hit1");
}
if (this.xSpeed > 29) {
this.power.gotoAndStop("hit2");
}
if ((this._currentframe == 5) && (this.xSpeed < 5)) {
this.xSpeed = this.xSpeed + 1;
}
}
if (this._currentframe == 117) {
this.activeme = false;
play();
}
if (this._currentframe > 117) {
if (xSpeed > 0) {
xSpeed = xSpeed - 0.25;
this._x = this._x + xSpeed;
}
if (xSpeed < 0) {
xSpeed = xSpeed + 0.25;
this._x = this._x + xSpeed;
}
}
if (this._x < -503.2) {
this._x = 456.8;
this.gotoAndPlay(40);
this.xSpeed = 0;
}
if (this._x > 1416.8) {
this._x = 456.8;
this.gotoAndPlay(40);
this.xSpeed = 0;
}
}
Instance of Symbol 216 MovieClip "daver" in Frame 623
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p2inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if ((_root.npchit.fdirection == true) && (_root.npchit.hitTest(_root.ball.hit))) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 14) && (this.power < 20)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 19) && (this.power < 30)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 29) && (this.power < 49)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power == 49) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = true;
_root.ball.tright = false;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = false;
_root.ball.tleft = true;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hitTest(_root.eagle.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 38;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x + xSpeed;
}
if (this.hit.hitTest(_root.p2edge)) {
if (_root.p2edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.p2edge.gotoAndStop(2);
_root.camera.goRight = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = -15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p2fall._x;
_root.camera._x = _root.p2death._x;
_root.camera._y = _root.p2death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 75) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
}
Instance of Symbol 243 MovieClip "chang" in Frame 623
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 1.5;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p1inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(90)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
_root.npc1._x = _root.npc1._x + 10;
_root.npc2._x = _root.npc2._x - 7;
_root.npchit.xSpeed = _root.npchit.xSpeed - 7;
_root.score = _root.score + 50;
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
_root.npc1._x = _root.npc1._x - 13;
_root.npc2._x = _root.npc2._x + 11;
_root.npchit.xSpeed = _root.npchit.xSpeed + 7;
_root.score = _root.score + 100;
}
if ((this.power > 24) && (this.power < 45)) {
this.boom.gotoAndPlay("hit3");
_root.npc1._x = _root.npc1._x - 25;
_root.npc2._x = _root.npc2._x + 20;
_root.npchit.xSpeed = _root.npchit.xSpeed + 10;
_root.score = _root.score + 150;
}
if (this.power > 44) {
this.boom.gotoAndPlay("hit4");
_root.npc1._x = _root.npc1._x - 35;
_root.npc2._x = _root.npc2._x + 30;
_root.npchit.xSpeed = _root.npchit.xSpeed + 15;
_root.score = _root.score + 500;
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = false;
_root.ball.tright = true;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = true;
_root.ball.tleft = false;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 20;
this.gotoAndPlay("hurt");
}
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x - xSpeed;
}
if (this.hit.hitTest(_root.p1edge)) {
if (_root.p1edge._currentframe == 1) {
_root.p1edge.gotoAndStop(2);
_root.camera.goLeft = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = 15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p1fall._x;
_root.camera._x = _root.p1death._x;
_root.camera._y = _root.p1death._y;
death = true;
this.gotoAndStop("fall");
_root.stock = _root.stock - 1;
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 63) {
this.play();
}
}
}
if (this._currentframe == 117) {
_root.retry.play();
}
if (this._currentframe == 110) {
_root.nextFrame();
}
}
Instance of Symbol 243 MovieClip "changr" in Frame 623
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 1.5;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p2inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if ((_root.npchit.fdirection == true) && (_root.npchit.hitTest(_root.ball.hit))) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 24) && (this.power < 45)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power > 44) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = true;
_root.ball.tright = false;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = false;
_root.ball.tleft = true;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hitTest(_root.eagle.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 30;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x + xSpeed;
}
if (this.hit.hitTest(_root.p2edge)) {
if (_root.p2edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.p2edge.gotoAndStop(2);
_root.camera.goRight = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = -15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p2fall._x;
_root.camera._x = _root.p2death._x;
_root.camera._y = _root.p2death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 63) {
this.play();
}
}
}
if (this._currentframe == 117) {
_root.retry.play();
}
}
Instance of Symbol 262 MovieClip "jimr" in Frame 623
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
activeme = false;
fall = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p2inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if ((_root.npchit.fdirection == true) && (_root.npchit.hitTest(_root.ball.hit))) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 24) && (this.power < 33)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power > 32) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = true;
_root.ball.tright = false;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = false;
_root.ball.tleft = true;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hitTest(_root.eagle.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 34;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x + xSpeed;
}
if (this.hit.hitTest(_root.p2edge)) {
if (_root.p2edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.p2edge.gotoAndStop(2);
_root.camera.goRight = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = -15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p2fall._x;
_root.camera._x = _root.p2death._x;
_root.camera._y = _root.p2death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 60) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
}
Instance of Symbol 262 MovieClip "jiml" in Frame 623
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p1inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(90)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
_root.npc1._x = _root.npc1._x + 10;
_root.npc2._x = _root.npc2._x - 7;
_root.npchit.xSpeed = _root.npchit.xSpeed - 7;
_root.score = _root.score + 50;
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
_root.npc1._x = _root.npc1._x - 13;
_root.npc2._x = _root.npc2._x + 8;
_root.npchit.xSpeed = _root.npchit.xSpeed + 7;
_root.score = _root.score + 100;
}
if ((this.power > 24) && (this.power < 33)) {
this.boom.gotoAndPlay("hit3");
_root.npc1._x = _root.npc1._x - 25;
_root.npc2._x = _root.npc2._x + 13;
_root.npchit.xSpeed = _root.npchit.xSpeed + 10;
_root.score = _root.score + 150;
}
if (this.power > 32) {
this.boom.gotoAndPlay("hit4");
_root.npc1._x = _root.npc1._x - 35;
_root.npc2._x = _root.npc2._x + 17;
_root.npchit.xSpeed = _root.npchit.xSpeed + 15;
_root.score = _root.score + 500;
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = false;
_root.ball.tright = true;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = true;
_root.ball.tleft = false;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 30;
this.gotoAndPlay("hurt");
}
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x - xSpeed;
}
if (this.hit.hitTest(_root.p1edge)) {
if (_root.p1edge._currentframe == 1) {
_root.p1edge.gotoAndStop(2);
_root.camera.goLeft = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = 15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p1fall._x;
_root.camera._x = _root.p1death._x;
_root.camera._y = _root.p1death._y;
death = true;
this.gotoAndStop("fall");
_root.stock = _root.stock - 1;
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 60) {
this.play();
}
}
}
if (this._currentframe == 160) {
_root.nextFrame();
}
}
Instance of Symbol 264 MovieClip "p2menu" in Frame 623
onClipEvent (load) {
activeme = true;
}
onClipEvent (enterFrame) {
if (activeme == true) {
if (this._currentframe == 1) {
_root.jimr._x = 600;
_root.jimr._y = 200;
}
if ((this._currentframe == 1) == false) {
_root.jimr._x = 700.5;
_root.jimr._y = -424.3;
}
if (this._currentframe == 2) {
_root.daver._x = 643;
_root.daver._y = 297;
}
if ((this._currentframe == 2) == false) {
_root.daver._x = 858.3;
_root.daver._y = -336.1;
}
if (this._currentframe == 3) {
_root.changr._x = 660;
_root.changr._y = 190;
}
if ((this._currentframe == 3) == false) {
_root.changr._x = 1012.9;
_root.changr._y = -433.3;
}
}
}
Instance of Symbol 277 MovieClip "eg1" in Frame 623
onClipEvent (enterFrame) {
if (this._currentframe == 860) {
_root.eagle.play();
}
}
Instance of Symbol 303 MovieClip "p1edge" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 303 MovieClip "p2edge" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "ground" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 306 MovieClip "npchit" in Frame 623
onClipEvent (load) {
xSpeed = 5;
fdirection = true;
_visible = false;
}
onClipEvent (enterFrame) {
if (this.fdirection == true) {
this._x = this._x - xSpeed;
}
if (this.fdirection == false) {
this._x = this._x + xSpeed;
}
if (this.hitTest(_root.npc1)) {
this.fdirection = false;
}
if (this.hitTest(_root.npc2)) {
this.fdirection = true;
}
if (this.xSpeed > 35) {
this.xSpeed = 5;
}
}
Instance of Symbol 308 MovieClip "npc1" in Frame 623
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this._x < 192) {
this._x = 192;
}
}
Instance of Symbol 308 MovieClip "npc2" in Frame 623
onClipEvent (load) {
_visible = false;
}
onClipEvent (enterFrame) {
if (this._x > 1030) {
this._x = 1030;
}
}
Instance of Symbol 310 MovieClip "camera" in Frame 623
onClipEvent (load) {
goLeft = false;
goRight = false;
xSpeed = 0;
}
onClipEvent (enterFrame) {
if (goLeft == true) {
this._x = this._x - xSpeed;
xSpeed = xSpeed - 1;
}
if (goRight == true) {
this._x = this._x + xSpeed;
xSpeed = xSpeed - 1;
}
if (this.xSpeed < 0) {
this.xSpeed = 0;
}
}
Instance of Symbol 312 MovieClip "p1death" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "p1fall" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "p2death" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "p2fall" in Frame 623
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 322 MovieClip "retry" in Frame 623
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Frame 624
stop();
yourname = "type";
Frame 647
stopAllSounds();
gotoAndPlay (589);
Frame 648
_quality = "LOW";
play();
Instance of Symbol 145 MovieClip "music" in Frame 648
onClipEvent (enterFrame) {
if (this._currentframe == 1) {
this.gotoAndStop(random(5));
}
}
Frame 649
stop();
Instance of Symbol 159 MovieClip in Frame 649
onClipEvent (load) {
this.gotoAndStop(random(4));
}
Instance of Symbol 175 MovieClip in Frame 649
onClipEvent (load) {
this.gotoAndStop(random(4));
}
Instance of Symbol 216 MovieClip "davel" in Frame 649
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p1inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 115) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(90)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 14) && (this.power < 20)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 19) && (this.power < 30)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 29) && (this.power < 49)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power == 49) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = false;
_root.ball.tright = true;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = true;
_root.ball.tleft = false;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 25;
this.gotoAndPlay("hurt");
}
}
if (this.hitTest(_root.eagle2.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 38;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x - xSpeed;
}
if (this.hit.hitTest(_root.p1edge)) {
if (_root.p1edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.eg2.gotoAndStop(1);
_root.p1edge.gotoAndStop(2);
_root.camera.goLeft = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = 15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p1fall._x;
_root.camera._x = _root.p1death._x;
_root.camera._y = _root.p1death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 75) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
}
Instance of Symbol 225 MovieClip "ball" in Frame 649
onClipEvent (load) {
gotoAndStop ("coming");
xSpeed = 0;
tleft = true;
tright = false;
activeme = false;
}
onClipEvent (enterFrame) {
if (_root.p1menu._currentframe == 51) {
this.activeme = true;
this.play();
}
if (activeme == true) {
if (this._currentframe == 115) {
xSpeed = 5;
}
if (tleft == true) {
this._x = this._x - xSpeed;
}
if (tright == true) {
this._x = this._x + xSpeed;
}
if ((this.xSpeed > 20) && (this.xSpeed < 30)) {
this.power.gotoAndStop("hit1");
}
if (this.xSpeed > 29) {
this.power.gotoAndStop("hit2");
}
if ((this._currentframe == 5) && (this.xSpeed < 5)) {
this.xSpeed = this.xSpeed + 1;
}
}
if (this._currentframe == 117) {
this.activeme = false;
play();
}
if (this._currentframe > 117) {
if (xSpeed > 0) {
xSpeed = xSpeed - 0.25;
this._x = this._x + xSpeed;
}
if (xSpeed < 0) {
xSpeed = xSpeed + 0.25;
this._x = this._x + xSpeed;
}
}
if (this._x < -503.2) {
this._x = 456.8;
this.gotoAndPlay(40);
this.xSpeed = 0;
}
if (this._x > 1416.8) {
this._x = 456.8;
this.gotoAndPlay(40);
this.xSpeed = 0;
}
}
Instance of Symbol 216 MovieClip "daver" in Frame 649
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p2inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(77)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 14) && (this.power < 20)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 19) && (this.power < 30)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 29) && (this.power < 49)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power == 49) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = true;
_root.ball.tright = false;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = false;
_root.ball.tleft = true;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle2.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle2.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 25;
this.gotoAndPlay("hurt");
}
}
if (this.hitTest(_root.eagle.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 38;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x + xSpeed;
}
if (this.hit.hitTest(_root.p2edge)) {
if (_root.p2edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.eg2.gotoAndStop(1);
_root.p2edge.gotoAndStop(2);
_root.camera.goRight = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = -15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p2fall._x;
_root.camera._x = _root.p2death._x;
_root.camera._y = _root.p2death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 75) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
}
Instance of Symbol 243 MovieClip "chang" in Frame 649
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 1.5;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p1inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(90)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 24) && (this.power < 45)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power > 44) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = false;
_root.ball.tright = true;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = true;
_root.ball.tleft = false;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 13;
this.gotoAndPlay("hurt");
}
}
if (this.hitTest(_root.eagle2.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 25;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x - xSpeed;
}
if (this.hit.hitTest(_root.p1edge)) {
if (_root.p1edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.eg2.gotoAndStop(1);
_root.p1edge.gotoAndStop(2);
_root.camera.goLeft = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = 15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p1fall._x;
_root.camera._x = _root.p1death._x;
_root.camera._y = _root.p1death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 63) {
this.play();
}
}
}
if (this._currentframe == 117) {
_root.retry.play();
}
}
Instance of Symbol 243 MovieClip "changr" in Frame 649
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 1.5;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p2inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(77)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 24) && (this.power < 45)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power > 44) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = true;
_root.ball.tright = false;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = false;
_root.ball.tleft = true;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle2.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle2.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 13;
this.gotoAndPlay("hurt");
}
}
if (this.hitTest(_root.eagle.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 30;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x + xSpeed;
}
if (this.hit.hitTest(_root.p2edge)) {
if (_root.p2edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.eg2.gotoAndStop(1);
_root.p2edge.gotoAndStop(2);
_root.camera.goRight = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = -15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p2fall._x;
_root.camera._x = _root.p2death._x;
_root.camera._y = _root.p2death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 63) {
this.play();
}
}
}
if (this._currentframe == 117) {
_root.retry.play();
}
}
Instance of Symbol 277 MovieClip "eg1" in Frame 649
onClipEvent (enterFrame) {
if (this._currentframe == 860) {
_root.eagle.play();
}
}
Instance of Symbol 277 MovieClip "eg2" in Frame 649
onClipEvent (enterFrame) {
if (this._currentframe == 430) {
_root.eagle2.play();
}
}
Instance of Symbol 262 MovieClip "jimr" in Frame 649
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
activeme = false;
fall = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p2inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(77)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 24) && (this.power < 33)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power > 32) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = true;
_root.ball.tright = false;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = false;
_root.ball.tleft = true;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle2.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle2.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 20;
this.gotoAndPlay("hurt");
}
}
if (this.hitTest(_root.eagle.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 34;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x + xSpeed;
}
if (this.hit.hitTest(_root.p2edge)) {
if (_root.p2edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.eg2.gotoAndStop(1);
_root.p2edge.gotoAndStop(2);
_root.camera.goRight = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = -15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p2fall._x;
_root.camera._x = _root.p2death._x;
_root.camera._y = _root.p2death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 60) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
}
Instance of Symbol 262 MovieClip "jiml" in Frame 649
onClipEvent (load) {
xSpeed = 0;
ySpeed = 0;
sub = 3;
fall = false;
activeme = false;
death = false;
}
onClipEvent (enterFrame) {
if (this.hit.hitTest(_root.p1inac)) {
this.activeme = false;
}
if (_root.ball._currentframe == 116) {
this.activeme = true;
}
if (activeme == true) {
if (Key.isDown(90)) {
if (this._currentframe < 31) {
this.gotoAndStop("charge");
}
}
if (this.wall.hitTest(_root.ball)) {
this.play();
_root.ball.xSpeed = this.power;
_root.ball.gotoAndPlay("hit2");
if ((this.power > 9) && (this.power < 15)) {
this.boom.gotoAndPlay("hit1");
}
if ((this.power > 14) && (this.power < 25)) {
this.boom.gotoAndPlay("hit2");
}
if ((this.power > 24) && (this.power < 33)) {
this.boom.gotoAndPlay("hit3");
}
if (this.power > 32) {
this.boom.gotoAndPlay("hit4");
}
}
if (_root.ball.hitTest(this.wall)) {
_root.ball.tleft = false;
_root.ball.tright = true;
if (_root.ball.power._currentframe > 1) {
_root.ball.xSpeed = _root.ball.xSpeed / 1.5;
this.xSpeed = _root.ball.xSpeed;
}
}
if (this.hit.hitTest(_root.ball.hit)) {
_root.ball.tright = true;
_root.ball.tleft = false;
_root.ball.gotoAndPlay("hit");
if ((this._currentframe == 31) == false) {
if (_root.ball.xSpeed > 10) {
_root.ball.xSpeed = _root.ball.xSpeed / 2;
this.gotoAndPlay("hurt");
this.xSpeed = _root.ball.xSpeed;
}
}
}
if (this.hit.hitTest(_root.eagle.hit)) {
if (this._currentframe == 31) {
this.play();
this.boom.gotoAndPlay("hit4");
_root.eagle.gotoAndPlay("hit");
}
if (this._currentframe < 31) {
this.xSpeed = this.xSpeed + 20;
this.gotoAndPlay("hurt");
}
}
if (this.hitTest(_root.eagle2.hit)) {
this.gotoAndPlay("hurt");
this.xSpeed = this.xSpeed + 34;
}
}
if (this.xSpeed > 0) {
this.xSpeed = this.xSpeed - sub;
this._x = this._x - xSpeed;
}
if (this.hit.hitTest(_root.p1edge)) {
if (_root.p1edge._currentframe == 1) {
_root.eg1.gotoAndStop(1);
_root.eg2.gotoAndStop(1);
_root.p1edge.gotoAndStop(2);
_root.camera.goLeft = true;
_root.camera.xSpeed = 40;
this.xSpeed = this.xSpeed + 30;
this.ySpeed = this.ySpeed + 10;
fall = true;
activeme = false;
_root.ball.gotoAndPlay("win");
_root.ball.xSpeed = 15;
this.boom.gotoAndPlay("hit3");
}
}
if (this.fall == true) {
this.ySpeed = this.ySpeed - 2;
this._y = this._y - ySpeed;
}
if (this.hitTest(_root.ground)) {
if (fall == true) {
this.fall = false;
this._y = this._y - 2000;
this._x = _root.p1fall._x;
_root.camera._x = _root.p1death._x;
_root.camera._y = _root.p1death._y;
death = true;
this.gotoAndStop("fall");
}
}
if (this.death == true) {
if (this.hitTest(_root.ground) == false) {
this.ySpeed = 40;
this._y = this._y + ySpeed;
}
if (this.hitTest(_root.ground)) {
this.ySpeed = 0;
if (this._currentframe == 60) {
this.play();
}
}
}
if (this._currentframe == 169) {
_root.retry.play();
}
}
Instance of Symbol 334 MovieClip "p1menu" in Frame 649
onClipEvent (enterFrame) {
if (_root.p2menu._currentframe == 51) {
this.play();
}
}
Instance of Symbol 303 MovieClip "p1edge" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 303 MovieClip "p2edge" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "ground" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 310 MovieClip "camera" in Frame 649
onClipEvent (load) {
goLeft = false;
goRight = false;
xSpeed = 0;
}
onClipEvent (enterFrame) {
if (goLeft == true) {
this._x = this._x - xSpeed;
xSpeed = xSpeed - 1;
}
if (goRight == true) {
this._x = this._x + xSpeed;
xSpeed = xSpeed - 1;
}
if (this.xSpeed < 0) {
this.xSpeed = 0;
}
}
Instance of Symbol 312 MovieClip "p1death" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "p1fall" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "p2death" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 312 MovieClip "p2fall" in Frame 649
onClipEvent (enterFrame) {
this._visible = false;
}
Instance of Symbol 322 MovieClip "retry" in Frame 649
onClipEvent (enterFrame) {
this._x = _root.camera._x;
this._y = _root.camera._y;
}
Frame 650
stopAllSounds();
gotoAndPlay (589);
Symbol 21 MovieClip Frame 7
stop();
Symbol 27 Button
on (release) {
_root.play();
}
Symbol 30 MovieClip Frame 1
_root.stop();
PercentLoaded = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (PercentLoaded != 100) {
bar._xscale = PercentLoaded;
} else {
gotoAndPlay ("loaded");
}
Symbol 30 MovieClip Frame 2
gotoAndPlay (1);
Symbol 30 MovieClip Frame 50
stop();
Symbol 35 Button
on (release) {
getURL ("http://www.dabontv.com", "_blank");
}
Symbol 41 MovieClip Frame 70
stop();
Symbol 87 Button
on (press) {
getURL ("http://www.dabontv.com", "_blank");
}
Symbol 97 MovieClip Frame 38
stop();
Symbol 100 MovieClip Frame 13
stop();
Symbol 103 MovieClip Frame 13
stop();
Symbol 106 Button
on (rollOver) {
_root.single.play();
}
on (rollOut) {
_root.single.gotoAndStop(1);
}
on (release) {
_root.were.gotoAndStop(1);
_root.play();
}
Symbol 107 Button
on (rollOver) {
_root.multi.play();
}
on (rollOut) {
_root.multi.gotoAndStop(1);
}
on (release) {
stopAllSounds();
_root.were.gotoAndStop(2);
_root.gotoAndPlay("2player");
}
Symbol 108 Button
on (rollOver) {
_root.sun.play();
}
on (rollOut) {
_root.sun.gotoAndStop(1);
}
on (release) {
getURL ("http://www.sun-studios.net", "_blank");
}
Symbol 109 Button
on (rollOver) {
_root.sponser.play();
}
on (rollOut) {
_root.sponser.gotoAndStop(1);
}
on (press) {
getURL ("http://www.dabontv.com", "_blank");
}
Symbol 112 MovieClip Frame 1
stop();
Symbol 112 MovieClip Frame 10
stop();
Symbol 114 MovieClip Frame 1
stop();
Symbol 114 MovieClip Frame 10
stop();
Symbol 116 MovieClip Frame 1
stop();
Symbol 116 MovieClip Frame 11
stop();
Symbol 118 MovieClip Frame 1
stop();
Symbol 118 MovieClip Frame 10
stop();
Symbol 119 Button
on (release) {
gotoAndStop (651);
}
Symbol 120 Button
on (release) {
getURL ("http://www.armorbot.com/mytable/?id=1505", "_blank");
}
Symbol 129 MovieClip Frame 93
stop();
Symbol 132 MovieClip Frame 1
stop();
Symbol 132 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 1
stopAllSounds();
stop();
Symbol 145 MovieClip Frame 2
stop();
Symbol 145 MovieClip Frame 3
stop();
Symbol 145 MovieClip Frame 4
stop();
Symbol 150 Button
on (release) {
_root.qual.nextFrame();
}
Symbol 154 MovieClip Frame 1
stop();
_quality = "LOW";
Symbol 154 MovieClip Frame 2
_quality = "MEDIUM";
Symbol 154 MovieClip Frame 3
_quality = "HIGH";
Symbol 154 MovieClip Frame 4
gotoAndStop (1);
Symbol 159 MovieClip Frame 1
stop();
Symbol 159 MovieClip Frame 2
stop();
Symbol 159 MovieClip Frame 3
stop();
Symbol 159 MovieClip Frame 4
stop();
Symbol 175 MovieClip Frame 2
stop();
Symbol 175 MovieClip Frame 3
stop();
Symbol 193 MovieClip Frame 1
stop();
Symbol 193 MovieClip Frame 9
gotoAndStop (1);
Symbol 193 MovieClip Frame 19
gotoAndStop (1);
Symbol 193 MovieClip Frame 48
gotoAndStop (1);
Symbol 193 MovieClip Frame 73
gotoAndStop (1);
Symbol 216 MovieClip Frame 1
power = 0;
Symbol 216 MovieClip Frame 30
gotoAndPlay (1);
Symbol 216 MovieClip Frame 31
stop();
Instance of Symbol 201 MovieClip in Symbol 216 MovieClip Frame 31
onClipEvent (enterFrame) {
this._parent.power = this._parent.power + 3.5;
if (this._currentframe == 15) {
this._parent.play();
}
}
Symbol 216 MovieClip Frame 60
gotoAndPlay (1);
Symbol 216 MovieClip Frame 74
gotoAndPlay (1);
Symbol 216 MovieClip Frame 75
stop();
Symbol 216 MovieClip Frame 174
stop();
Symbol 218 MovieClip Frame 1
stop();
Symbol 225 MovieClip Frame 5
gotoAndPlay (1);
Symbol 225 MovieClip Frame 27
gotoAndPlay ("hit");
Symbol 225 MovieClip Frame 39
gotoAndPlay (1);
Symbol 225 MovieClip Frame 116
_root.p2menu.activeme = false;
gotoAndPlay ("hit");
Symbol 225 MovieClip Frame 168
stop();
Symbol 243 MovieClip Frame 1
this.power = 0;
Symbol 243 MovieClip Frame 30
gotoAndPlay (1);
Symbol 243 MovieClip Frame 31
stop();
Instance of Symbol 233 MovieClip in Symbol 243 MovieClip Frame 31
onClipEvent (enterFrame) {
this._parent.power = this._parent.power + 6;
if (this._currentframe == 9) {
this._parent.play();
}
}
Symbol 243 MovieClip Frame 41
gotoAndPlay (1);
Symbol 243 MovieClip Frame 62
gotoAndPlay (1);
Symbol 243 MovieClip Frame 63
stop();
Symbol 243 MovieClip Frame 118
stop();
Symbol 262 MovieClip Frame 1
this.power = 0;
Symbol 262 MovieClip Frame 30
gotoAndPlay (1);
Symbol 262 MovieClip Frame 31
stop();
Instance of Symbol 251 MovieClip "charge" in Symbol 262 MovieClip Frame 31
onClipEvent (enterFrame) {
this._parent.power = this._parent.power + 1.4;
if (this._currentframe == 25) {
this._parent.play();
}
}
Symbol 262 MovieClip Frame 45
gotoAndPlay (1);
Symbol 262 MovieClip Frame 59
gotoAndPlay (1);
Symbol 262 MovieClip Frame 60
stop();
_root.eagle.gotoAndStop(1);
stop();
Symbol 262 MovieClip Frame 170
stop();
Symbol 275 MovieClip Frame 1
stop();
Symbol 275 MovieClip Frame 58
gotoAndStop (1);
Symbol 285 MovieClip Frame 8
stop();
Symbol 288 MovieClip Frame 8
stop();
Symbol 291 Button
on (release) {
this.players.play();
this.bof = 1;
}
Symbol 292 Button
on (release) {
this.play();
}
Symbol 294 Button
on (release) {
this.players.play();
this.bof = 2;
}
Symbol 296 Button
on (release) {
this.play();
_root.p2menu.stop();
}
Symbol 300 MovieClip Frame 5
stop();
Symbol 300 MovieClip Frame 15
stop();
Symbol 300 MovieClip Frame 25
stop();
Symbol 301 MovieClip Frame 1
bof = 0;
Symbol 301 MovieClip Frame 28
stop();
Instance of Symbol 300 MovieClip "players" in Symbol 301 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jiml._x = 320;
_root.jiml._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jiml._x = 1.5;
_root.jiml._y = -424.3;
}
if (this._currentframe == 15) {
_root.davel._x = 290;
_root.davel._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.davel._x = 84.8;
_root.davel._y = -336.1;
}
if (this._currentframe == 25) {
_root.chang._x = 260;
_root.chang._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.chang._x = 181;
_root.chang._y = -433.4;
}
}
Instance of Symbol 300 MovieClip "players" in Symbol 301 MovieClip Frame 29
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jimr._x = 600;
_root.jimr._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jimr._x = 700.5;
_root.jimr._y = -424.3;
}
if (this._currentframe == 15) {
_root.daver._x = 643;
_root.daver._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.daver._x = 858.3;
_root.daver._y = -336.1;
}
if (this._currentframe == 25) {
_root.changr._x = 660;
_root.changr._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.changr._x = 1012.9;
_root.changr._y = -433.3;
}
}
Instance of Symbol 300 MovieClip "players" in Symbol 301 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jimr._x = 600;
_root.jimr._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jimr._x = 700.5;
_root.jimr._y = -424.3;
}
if (this._currentframe == 15) {
_root.daver._x = 643;
_root.daver._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.daver._x = 858.3;
_root.daver._y = -336.1;
}
if (this._currentframe == 25) {
_root.changr._x = 660;
_root.changr._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.changr._x = 1012.9;
_root.changr._y = -433.3;
}
}
Symbol 301 MovieClip Frame 52
stop();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 310 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;
}
this._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;
Symbol 318 Button
on (release) {
getURL ("http://www.dabontv.com", "_blank");
}
Symbol 320 Button
on (release) {
_root.prevFrame();
}
Symbol 321 Button
on (release) {
_root.nextFrame();
}
Symbol 322 MovieClip Frame 1
stop();
Symbol 322 MovieClip Frame 38
stop();
Symbol 323 Button
on (release) {
ab20_09 = new LoadVars();
ab20_09.z = _root.yourname;
ab20_09.x = _root.score;
ab20_09.c = 1505;
ab20_09.v = "PVZCLM";
ab20_09.sendAndLoad("http://armorbot.com/s_b", ab20_09, "POST");
getURL ("http://www.armorbot.com/mytable/?id=1505", "_blank");
play();
}
Symbol 334 MovieClip Frame 1
bof = 0;
Symbol 334 MovieClip Frame 28
stop();
Instance of Symbol 300 MovieClip "players" in Symbol 334 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jiml._x = 320;
_root.jiml._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jiml._x = 1.5;
_root.jiml._y = -424.3;
}
if (this._currentframe == 15) {
_root.davel._x = 290;
_root.davel._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.davel._x = 84.8;
_root.davel._y = -336.1;
}
if (this._currentframe == 25) {
_root.chang._x = 260;
_root.chang._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.chang._x = 181;
_root.chang._y = -433.4;
}
}
Instance of Symbol 300 MovieClip "players" in Symbol 334 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jiml._x = 320;
_root.jiml._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jiml._x = 1.5;
_root.jiml._y = -424.3;
}
if (this._currentframe == 15) {
_root.davel._x = 290;
_root.davel._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.davel._x = 84.8;
_root.davel._y = -336.1;
}
if (this._currentframe == 25) {
_root.chang._x = 260;
_root.chang._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.chang._x = 181;
_root.chang._y = -433.4;
}
}
Symbol 334 MovieClip Frame 52
stop();
Symbol 336 MovieClip Frame 1
bof = 0;
Symbol 336 MovieClip Frame 28
stop();
Instance of Symbol 300 MovieClip "players" in Symbol 336 MovieClip Frame 28
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jimr._x = 600;
_root.jimr._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jimr._x = 700.5;
_root.jimr._y = -424.3;
}
if (this._currentframe == 15) {
_root.daver._x = 643;
_root.daver._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.daver._x = 858.3;
_root.daver._y = -336.1;
}
if (this._currentframe == 25) {
_root.changr._x = 660;
_root.changr._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.changr._x = 1012.9;
_root.changr._y = -433.3;
}
}
Instance of Symbol 300 MovieClip "players" in Symbol 336 MovieClip Frame 36
onClipEvent (enterFrame) {
if (this._parent.bof == 2) {
if (this._currentframe == 10) {
this.gotoAndPlay("changstart");
}
if (this._currentframe == 20) {
this.gotoAndPlay("jimstart");
}
if (this._currentframe == 30) {
this.gotoAndPlay("davestart");
}
}
if (this._currentframe == 5) {
_root.jimr._x = 600;
_root.jimr._y = 200;
}
if ((this._currentframe == 5) == false) {
_root.jimr._x = 700.5;
_root.jimr._y = -424.3;
}
if (this._currentframe == 15) {
_root.daver._x = 643;
_root.daver._y = 297;
}
if ((this._currentframe == 15) == false) {
_root.daver._x = 858.3;
_root.daver._y = -336.1;
}
if (this._currentframe == 25) {
_root.changr._x = 660;
_root.changr._y = 190;
}
if ((this._currentframe == 25) == false) {
_root.changr._x = 1012.9;
_root.changr._y = -433.3;
}
}
Symbol 336 MovieClip Frame 52
stop();
Symbol 340 Button
on (release) {
stopAllSounds();
gotoAndPlay (589);
}