Frame 1
sounds = false;
var debug = true;
var gameID = 73;
var gameName = "spacemonkey";
stop();
fscommand ("showmenu", "false");
prel.onEnterFrame = function () {
prel.procent.text = Math.ceil((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
prel.gotoAndStop(prel.procent.text);
if (Number(prel.procent.text) > 99) {
play();
delete this.onEnterFrame;
}
};
Instance of Symbol 60 MovieClip "cover1" in Frame 1
onClipEvent (load) {
this.swapDepths(9999999);
}
Instance of Symbol 61 MovieClip "cover2" in Frame 1
onClipEvent (load) {
this.swapDepths(9999998);
}
Instance of Symbol 62 MovieClip "cover3" in Frame 1
onClipEvent (load) {
this.swapDepths(9999997);
}
Instance of Symbol 63 MovieClip "cover4" in Frame 1
onClipEvent (load) {
this.swapDepths(9999896);
}
Instance of Symbol 64 MovieClip "cover5" in Frame 1
onClipEvent (load) {
this.swapDepths(9999996);
}
Instance of Symbol 65 MovieClip "cover6" in Frame 1
onClipEvent (load) {
this.swapDepths(9997996);
}
Instance of Symbol 67 MovieClip in Frame 1
onClipEvent (enterFrame) {
if (_root.score <= 0) {
_root.score = 0;
_root.score = 0;
}
}
Instance of Symbol 71 MovieClip in Frame 1
onClipEvent (load) {
music = new Sound(this);
music.attachSound("gamemusic");
bikesound = 0;
}
onClipEvent (enterFrame) {
if (_root.sounds == true) {
if (_root.sounds == true) {
if (bikesound == 0) {
bikesound = 1;
}
}
} else if ((!_root.sounds) == true) {
bikesound = 0;
music.stop();
}
if (bikesound == 1) {
bikesound = 2;
music.start(0, 1);
}
music.onSoundComplete = function () {
bikesound = 1;
};
}
onClipEvent (enterFrame) {
if (_root.sounds == false) {
bikesound = 0;
music.stop();
}
}
Frame 2
stop();
Frame 3
if (!okToPlay) {
gotoAndStop (2);
}
Frame 4
gotoAndStop (12);
Frame 12
game = 0;
_root.balls = 0;
level = 20;
_root.score = 0;
sounds = true;
lives = 0;
_root.score = 0;
stop();
Frame 13
stop();
Frame 19
game = 0;
_root.balls = 0;
stop();
Instance of Symbol 234 MovieClip in Frame 19
onClipEvent (enterFrame) {
if (_root.score < 200) {
_root.youare = "Worthless Monkey";
}
if (_root.score < 1000) {
_root.youare = "Bad job.";
}
if (_root.score > 1000) {
_root.youare = "Not bad.";
}
if (_root.score > 2000) {
_root.youare = "Nice job.";
}
if (_root.score > 4000) {
_root.youare = "You did good.";
}
if (_root.score > 6000) {
_root.youare = "Great job!";
}
if (_root.score > 9000) {
_root.youare = "Awesome job!";
}
}
onClipEvent (load) {
_root.lives = Number(_root.lives) - 1;
}
Instance of Symbol 236 MovieClip in Frame 19
onClipEvent (load) {
this.score = _root.score;
}
onClipEvent (load) {
if (this.score <= 0) {
this.score = 0;
_root.score = 0;
}
}
Frame 20
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
bu = 0;
_root.boom = false;
level = 20;
sounds = true;
stop();
Instance of Symbol 5 MovieClip in Frame 20
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 20
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 4) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
_root.brake1 = true;
_root.brake2 = true;
_root.brake3 = true;
_root.brake4 = true;
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 305 MovieClip "hero" in Frame 20
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 343 MovieClip in Frame 20
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 20
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 20
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 20
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 361 MovieClip "menu" in Frame 20
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Instance of Symbol 364 MovieClip in Frame 20
onClipEvent (enterFrame) {
_root.buu = _root.bu;
}
Frame 21
game = 0;
_root.balls = 0;
Frame 22
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 22;
stop();
Instance of Symbol 5 MovieClip in Frame 22
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 22
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 22
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 4) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 22
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 22
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 22
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 22
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 22
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 23
game = 0;
_root.balls = 0;
Frame 24
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 24;
stop();
Instance of Symbol 5 MovieClip in Frame 24
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 24
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 24
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 8) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
_root.brake1 = true;
_root.brake4 = true;
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 24
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 24
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 24
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 24
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 24
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 25
game = 0;
_root.balls = 0;
Frame 26
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 26;
stop();
Instance of Symbol 5 MovieClip in Frame 26
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 26
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 26
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 16) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
_root.brake1 = true;
_root.brake2 = true;
_root.brake3 = true;
_root.brake4 = true;
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 26
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 26
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 26
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 26
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 26
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 27
game = 0;
_root.balls = 0;
Frame 28
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 28;
stop();
Instance of Symbol 5 MovieClip in Frame 28
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 28
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 28
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 16) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
_root.brake1 = true;
_root.brake2 = true;
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 28
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 28
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 28
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 28
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 28
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 29
game = 0;
_root.balls = 0;
Frame 30
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 30;
stop();
Instance of Symbol 5 MovieClip in Frame 30
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 30
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 30
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 20) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
_root.brake1 = true;
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 30
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 30
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 30
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 30
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 30
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 31
game = 0;
_root.balls = 0;
Frame 32
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 32;
stop();
Instance of Symbol 5 MovieClip in Frame 32
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 32
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 32
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 20) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
_root.brake1 = true;
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 32
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 32
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 32
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 32
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 32
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 33
game = 0;
_root.balls = 0;
Frame 34
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 34;
stop();
Instance of Symbol 5 MovieClip in Frame 34
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 34
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 34
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 32) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
_root.brake1 = true;
_root.brake2 = true;
_root.brake3 = true;
_root.brake4 = true;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 34
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 34
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 34
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 34
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 34
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 35
game = 0;
_root.balls = 0;
Frame 36
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 36;
stop();
Instance of Symbol 5 MovieClip in Frame 36
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 36
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 36
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 32) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 36
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 36
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 36
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 36
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 36
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 37
game = 0;
_root.balls = 0;
Frame 38
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 38;
stop();
Instance of Symbol 5 MovieClip in Frame 38
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 38
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 38
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 48) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 38
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 38
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 38
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 38
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 38
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 39
game = 0;
_root.balls = 0;
Frame 40
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 40;
stop();
Instance of Symbol 5 MovieClip in Frame 40
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 40
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 40
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 48) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 40
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 40
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 40
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 40
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 40
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 41
game = 0;
_root.balls = 0;
Frame 42
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 42;
stop();
Instance of Symbol 5 MovieClip in Frame 42
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 42
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 42
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 32) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
_root.brake1 = true;
_root.brake2 = true;
_root.brake3 = true;
_root.brake4 = true;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 42
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 42
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 42
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 42
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 42
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 43
game = 0;
_root.balls = 0;
Frame 44
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 44;
stop();
Instance of Symbol 5 MovieClip in Frame 44
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 44
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 44
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 48) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
_root.brake1 = true;
_root.brake2 = true;
_root.brake3 = true;
_root.brake4 = true;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 44
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 44
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 44
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 44
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 44
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 45
game = 0;
_root.balls = 0;
Frame 46
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 46;
stop();
Instance of Symbol 5 MovieClip in Frame 46
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 46
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 46
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 48) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
_root.brake1 = true;
_root.brake2 = true;
_root.brake3 = true;
_root.brake4 = true;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 46
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 46
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 46
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 46
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 46
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 47
game = 0;
_root.balls = 0;
Frame 48
game = 1;
icanshoot = true;
grav = 0.45;
guntype = 1;
p = false;
totalballN = 0;
depthballN = 10000;
balldepth = 1000;
totalball1 = 0;
depthball1 = 1000;
totalball2 = 0;
depthball2 = 2000;
totalball3 = 0;
depthball3 = 3000;
totalball4 = 0;
depthball4 = 4000;
totalball5 = 0;
depthball5 = 5000;
totalball6 = 0;
depthball6 = 6000;
totalball7 = 0;
depthball7 = 7000;
active = 1;
_root.boom = false;
level = 48;
stop();
Instance of Symbol 5 MovieClip in Frame 48
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 305 MovieClip "hero" in Frame 48
onClipEvent (load) {
_root.totalbullet = 0;
xpos = _x;
ypos = _y;
angle = 0;
scale = _xscale;
draggun = false;
_root.herodead = false;
}
onClipEvent (enterFrame) {
dx = _root._xmouse - _x;
dy = _root._ymouse - _y;
if (((dx > 0) and (this.dead == false)) and ((!_root.p) == true)) {
dx = dx - hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = scale;
_root.hero.hand._rotation = (rad * 180) / Math.PI;
_root.hero.finger._rotation = (rad * 180) / Math.PI;
} else if ((!_root.p) == true) {
dx + hand._x;
dy = dy - hand._y;
rad = Math.atan(dy / dx);
_xscale = (-scale);
_root.hero.hand._rotation = (rad * -180) / Math.PI;
_root.hero.finger._rotation = (rad * -180) / Math.PI;
}
if ((this.legsbusy == true) and ((!this.dead) == true)) {
speed = 0;
} else {
speed = 7;
}
if (_root.p == true) {
}
}
onClipEvent (mouseDown) {
_root.shoot = true;
}
onClipEvent (mouseUp) {
_root.shoot = false;
}
onClipEvent (enterFrame) {
if (_root.shield2 == true) {
this.gotoAndStop(2);
}
if ((_root.shoot == true) and ((!_root.p) == true)) {
if (_root.icanshoot and (this.dead == false)) {
_root.icanshoot = false;
_root.totalbullet++;
if ((_root.totalbullet > 14) and (this.dead == false)) {
_root.totalbullet = 0;
}
if ((_xscale > 0) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:hand._rotation});
_root.currentvel = _root.shake1;
} else if ((this.hand.ready == true) and (this.dead == false)) {
_root.hero.hand.play();
_root.bulletsss.gotoAndStop(_root.bulletsss._currentframe + 7);
_root.score = Number(_root.score) + 1;
_root.attachMovie("bullet", "bullet" + _root.totalbullet, _root.totalbullet, {_x:_x + hand._x, _y:_y + hand._y, _rotation:180 - hand._rotation});
}
}
}
}
onClipEvent (enterFrame) {
if (((!_root.p) == false) or ((!this.dead) == false)) {
} else if (_x > _root._xmouse) {
_xscale = (-scale);
_x = (_x - 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = (-scale);
this.legs.gotoAndStop(1);
_x = (_x + 10);
}
} else {
_xscale = scale;
_x = (_x + 10);
this.legs.gotoAndStop(2);
if (_xmouse <= 0) {
_xscale = scale;
this.legs.gotoAndStop(1);
_x = (_x - 10);
}
if (this._xscale <= 100) {
this.up._xscale = -100;
}
if (this._xscale >= 100) {
this.up._xscale = 100;
}
}
}
Instance of Symbol 289 MovieClip "bulletsss" in Frame 48
onClipEvent (load) {
time2 = 30;
_root.balls = 0;
this.gotoAndStop(1);
time = 2;
}
onClipEvent (enterFrame) {
time = time - 1;
if ((!_root.p) == true) {
this.gotoAndStop(this._currentframe - 2);
time = 2;
}
}
onClipEvent (enterFrame) {
if (_root.balls >= 64) {
time2 = time2 - 1;
if (time2 <= 0) {
_root.cover4.gotoAndPlay(2);
time2 = 3000;
}
}
}
onClipEvent (load) {
time3 = 10;
}
onClipEvent (enterFrame) {
time3 = time3 - 1;
if (time3 <= 0) {
_root.brake1 = false;
_root.brake2 = false;
_root.brake3 = false;
_root.brake4 = false;
_root.brake5 = false;
_root.brake6 = false;
}
}
Instance of Symbol 275 MovieClip "ground3" in Frame 48
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 275 MovieClip "ground2" in Frame 48
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 5 MovieClip "down" in Frame 48
onClipEvent (enterFrame) {
var i = 0;
while (i < 15) {
if (this.hitTest(_root["bullet" + i])) {
removeMovieClip(_root["bullet" + i]);
}
i++;
}
}
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 343 MovieClip in Frame 48
onClipEvent (enterFrame) {
if (_root.lives >= 5) {
this.gotoAndStop(1);
}
if (_root.lives == 4) {
this.gotoAndStop(2);
}
if (_root.lives == 3) {
this.gotoAndStop(3);
}
if (_root.lives == 2) {
this.gotoAndStop(4);
}
if (_root.lives == 1) {
this.gotoAndStop(5);
}
if (_root.lives == 0) {
this.gotoAndStop(6);
}
}
Instance of Symbol 361 MovieClip "menu" in Frame 48
onClipEvent (load) {
this.swapDepths(899999);
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(this);
}
}
Frame 49
game = 0;
_root.balls = 0;
Frame 50
game = 0;
_root.balls = 0;
stop();
Instance of Symbol 236 MovieClip in Frame 50
onClipEvent (load) {
this.score = _root.score;
}
onClipEvent (load) {
if (this.score <= 0) {
this.score = 0;
_root.score = 0;
}
}
Frame 51
game = 0;
_root.balls = 0;
function updateScoreboard(sNum) {
xmlPlayer = new XML();
xmlPlayer.ignoreWhite = true;
xmlPlayer.onLoad = function (success) {
if (success) {
_root["mcScoreboard" + sNum].mcLoading._visible = false;
myPlayer = xmlPlayer.firstChild.childNodes;
ctr2 = 0;
while (ctr2 < myPlayer.length) {
thisPlayer = _root["mcScoreboard" + sNum].sboard.mcScoreHolder.mcScore.duplicateMovieClip("mcScore" + ctr2, ctr2);
thisPlayer._y = ctr2 * thisPlayer._height;
thisPlayer._visible = true;
if ((ctr2 % 2) > 0) {
thisPlayer.gotoAndStop(2);
}
thisPlayer.txtNumber.text = (ctr2 + 1) + ")";
thisPlayer.txtNickname.text = myPlayer[ctr2].attributes.player;
thisPlayer.txtScore.text = myPlayer[ctr2].attributes.score;
ctr2++;
}
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.item = myPlayer.length;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.speedy = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.desty = 0;
_root["mcScoreboard" + sNum].sboard.mcScoreHolder.onEnterFrame = function () {
if ((this.desty < 0) && (this._parent.dir == "up")) {
trace("up");
this.desty = this.desty + 10;
if (this.desty > 0) {
this.desty = 0;
}
}
trace((this._parent.mcBlock._height + " - ") + (this.mcScore._height * this.item));
if ((this.desty > (this._parent.mcBlock._height - (this.mcScore._height * this.item))) && (this._parent.dir == "down")) {
trace("down");
this.desty = this.desty - 10;
if (this.desty < (this._parent.mcBlock._height - (this.mcScore._height * this.item))) {
this.desty = this._parent.mcBlock._height - (this.mcScore._height * this.item);
}
}
this.speedy = (this.desty - this._y) + (this.speedy * 0.4);
this._y = this._y + this.speedy;
};
}
if (sNum == 1) {
updateScoreboard(2);
}
};
if (sNum == 1) {
xmlPlayer.load((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999));
} else if (sNum == 2) {
xmlPlayer.load(((((("http://" + _root.Dsource) + ".freeonlinegames.com/scoreboard/getTopPlayer.php?id=") + _root.gameID) + "&rand=") + random(999999)) + "&filt=1");
}
}
stop();
var gameID = 73;
Dsource = "www";
mcScoreboard1.sboard.dir = "stop";
mcScoreboard2.sboard.dir = "stop";
mcScoreboard1.sboard.mcScoreHolder.mcScore._visible = false;
mcScoreboard2.sboard.mcScoreHolder.mcScore._visible = false;
updateScoreboard(1);
stop();
Symbol 4 MovieClip Frame 1
stop();
Symbol 4 MovieClip Frame 6
gotoAndStop (1);
Instance of Symbol 4 MovieClip in Symbol 5 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this) and (_root.shield == true)) {
_root.hero.shield.play();
this.play();
}
}
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this) and (_root.shield == false)) {
_root.hearts.gotoAndStop(_root.hearts._currentframe + 1);
_root.hero.gotoAndStop(3);
}
}
Instance of Symbol 8 MovieClip in Symbol 9 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 6;
}
Symbol 10 MovieClip Frame 5
gotoAndPlay (1);
Symbol 11 MovieClip [ball4right] Frame 1
yvel = -(random(10) + 5);
xvel = random(5) + 5;
grav = 0.5;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
nama = _name;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 7;
}
if (mask.hitTest(_root.ground4)) {
xvel = -xvel;
yvel = -yvel;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 11 MovieClip [ball4right] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 10 MovieClip in Symbol 11 MovieClip [ball4right] Frame 1
onClipEvent (load) {
power = 500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if (((power <= 0) or (_root.boom == true)) or (_root.brake6 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball5++;
_root.depthball5++;
_root.attachMovie("ball5right", "ball5rr" + _root.totalball5, _root.depthball5, {_x:_parent._x, _y:_parent._y});
_root.totalball5++;
_root.depthball5++;
_root.attachMovie("ball5left", "ball5rl" + _root.totalball5, _root.depthball5, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Symbol 13 MovieClip [ball4left] Frame 1
yvel = -(random(10) + 5);
xvel = -(random(5) + 5);
grav = 0.5;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
nama = _name;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 7;
}
if (mask.hitTest(_root.ground4)) {
xvel = -xvel;
yvel = -yvel;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 13 MovieClip [ball4left] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 10 MovieClip in Symbol 13 MovieClip [ball4left] Frame 1
onClipEvent (load) {
power = 500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if (((power <= 0) or (_root.boom == true)) or (_root.brake5 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball5++;
_root.depthball5++;
_root.attachMovie("ball5right", "ball5lr" + _root.totalball5, _root.depthball5, {_x:_parent._x, _y:_parent._y});
_root.totalball5++;
_root.depthball5++;
_root.attachMovie("ball5left", "ball5ll" + _root.totalball5, _root.depthball5, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Instance of Symbol 16 MovieClip in Symbol 17 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 2;
}
Symbol 18 MovieClip Frame 5
gotoAndPlay (1);
Symbol 19 MovieClip [ball3left] Frame 1
yvel = -(random(10) + 5);
xvel = -(random(5) + 5);
grav = _root.grav;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
nama = _name;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 8;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 19 MovieClip [ball3left] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 18 MovieClip in Symbol 19 MovieClip [ball3left] Frame 1
onClipEvent (load) {
power = 500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
trace(power);
if (((power <= 0) or (_root.boom == true)) or (_root.brake3 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4right", "ball4lr" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4left", "ball4ll" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Instance of Symbol 22 MovieClip in Symbol 23 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation + 0.5;
}
Symbol 24 MovieClip Frame 5
gotoAndPlay (1);
Symbol 25 MovieClip [ball2left] Frame 1
yvel = -13;
xvel = -(random(5) + 5);
grav = _root.grav;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
nama = _name;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 5;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 25 MovieClip [ball2left] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 24 MovieClip in Symbol 25 MovieClip [ball2left] Frame 1
onClipEvent (load) {
power = 1500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
trace(power);
if (((power <= 0) or (_root.boom == true)) or (_root.brake1 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball3++;
_root.depthball3++;
_root.attachMovie("ball3right", "ball3lr" + _root.totalball3, _root.depthball3, {_x:_parent._x, _y:_parent._y});
_root.totalball3++;
_root.depthball3++;
_root.attachMovie("ball3left", "ball3ll" + _root.totalball3, _root.depthball3, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Symbol 26 MovieClip [ball3right] Frame 1
yvel = -(random(10) + 5);
xvel = random(5) + 5;
grav = _root.grav;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
nama = _name;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 8;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 26 MovieClip [ball3right] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 18 MovieClip in Symbol 26 MovieClip [ball3right] Frame 1
onClipEvent (load) {
power = 500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
trace(power);
if (((power <= 0) or (_root.boom == true)) or (_root.brake4 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4right", "ball4rr" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4left", "ball4rl" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Symbol 27 MovieClip [ball2right] Frame 1
yvel = -13;
xvel = random(5) + 5;
grav = _root.grav;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
nama = _name;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 5;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 27 MovieClip [ball2right] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 24 MovieClip in Symbol 27 MovieClip [ball2right] Frame 1
onClipEvent (load) {
power = 1500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
trace(power);
if (((power <= 0) or (_root.boom == true)) or (_root.brake2 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball3++;
_root.depthball3++;
_root.attachMovie("ball3right", "ball3rr" + _root.totalball3, _root.depthball3, {_x:_parent._x, _y:_parent._y});
_root.totalball3++;
_root.depthball3++;
_root.attachMovie("ball3left", "ball3rl" + _root.totalball3, _root.depthball3, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Instance of Symbol 30 MovieClip in Symbol 31 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 4;
}
Symbol 32 MovieClip Frame 5
gotoAndPlay (1);
Symbol 33 MovieClip [ball5right] Frame 1
yvel = -(random(10) + 5);
xvel = -(random(5) + 5);
grav = 0.2;
rad = this._height / 2;
bounce = -1.01;
hit = 0;
hitdelay = 0;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 5;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 33 MovieClip [ball5right] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 32 MovieClip in Symbol 33 MovieClip [ball5right] Frame 1
onClipEvent (load) {
power = 500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if (power <= 0) {
_root.balls = Number(_root.balls) + 1;
removeMovieClip(_parent);
_root.score = Number(_root.score) + 50;
}
}
Symbol 34 MovieClip [ball5left] Frame 1
yvel = -(random(10) + 5);
xvel = random(5) + 5;
grav = 0.2;
rad = this._height / 2;
bounce = -1.01;
hit = 0;
hitdelay = 0;
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((mask.hitTest(_root.ground) and (hit == 0)) or (mask.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 5;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
_root.boom = false;
Instance of Symbol 5 MovieClip "mask" in Symbol 34 MovieClip [ball5left] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 32 MovieClip in Symbol 34 MovieClip [ball5left] Frame 1
onClipEvent (load) {
power = 500;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if (power <= 0) {
_root.balls = Number(_root.balls) + 1;
removeMovieClip(_parent);
_root.score = Number(_root.score) + 50;
}
}
Symbol 38 MovieClip [bullet] Frame 1
this.onLoad = function () {
trace(this._rotation);
};
this.onEnterFrame = function () {
this._x = this._x + (20 * Math.cos((this._rotation * Math.PI) / 180));
this._y = this._y + (20 * Math.sin((this._rotation * Math.PI) / 180));
};
stop();
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip [bullet] Frame 1
onClipEvent (enterFrame) {
if (_root.buu >= 1) {
_parent.gotoAndStop(2);
}
}
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip [bullet] Frame 2
onClipEvent (enterFrame) {
if (_root.buu >= 2) {
_parent.gotoAndStop(3);
}
}
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip [bullet] Frame 3
onClipEvent (enterFrame) {
if (_root.buu >= 3) {
_parent.gotoAndStop(4);
}
}
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip [bullet] Frame 4
onClipEvent (enterFrame) {
if (_root.buu >= 4) {
_parent.gotoAndStop(5);
}
}
Instance of Symbol 37 MovieClip in Symbol 38 MovieClip [bullet] Frame 5
onClipEvent (enterFrame) {
if (_root.buu >= 5) {
_parent.gotoAndStop(6);
}
}
Symbol 38 MovieClip [bullet] Frame 6
stop();
this.onLoad = function () {
trace(this._rotation);
};
this.onEnterFrame = function () {
this._x = this._x + (20 * Math.cos((this._rotation * Math.PI) / 180));
this._y = this._y + (20 * Math.sin((this._rotation * Math.PI) / 180));
};
Symbol 42 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Symbol 45 MovieClip Frame 1
_root.earl223 = function (val) {
var _local3 = new Array("_", "Z", "y", "x", "W", "v", "u", "T", "s", "r", "Q", "P", "O", "n", "m", "L", "K", "j", "i", "H", "g", "F", "e", "d", "C", "B", "a");
var _local2 = "";
val1 = 0;
while (val1 < val.length) {
if (val.substr(val1, 1) == ":") {
_local2 = _local2 + ":";
} else if (Number(val.substr(val1, 2)) > 26) {
_local2 = _local2 + _local3[Number(val.substr(val1, 1))];
} else if (Number(val.substr(val1, 1)) == 0) {
_local2 = _local2 + "_";
} else {
_local2 = _local2 + _local3[Number(val.substr(val1, 2))];
val1++;
}
val1++;
}
return(_local2);
};
Symbol 56 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 1
stop();
Symbol 60 MovieClip Frame 15
game = 0;
_root.gotoAndStop(12);
Symbol 61 MovieClip Frame 1
stop();
Symbol 61 MovieClip Frame 15
game = 0;
_root.gotoAndStop(19);
Symbol 62 MovieClip Frame 1
stop();
Symbol 62 MovieClip Frame 15
game = 1;
_root.gotoAndStop(_root.level);
Symbol 63 MovieClip Frame 1
stop();
Symbol 63 MovieClip Frame 15
_root.gotoAndStop(_root._currentframe + 1);
Symbol 64 MovieClip Frame 1
stop();
Symbol 64 MovieClip Frame 15
_root.gotoAndStop(51);
Symbol 65 MovieClip Frame 1
stop();
Symbol 65 MovieClip Frame 15
_root.gotoAndStop(13);
Symbol 91 MovieClip Frame 42
Symbol 91 MovieClip Frame 55
stop();
_parent.play();
Symbol 132 MovieClip Frame 1
stop();
l = 0;
Instance of Symbol 76 MovieClip "mcNotice" in Symbol 132 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 132 MovieClip Frame 28
l++;
if (l < 5) {
gotoAndPlay ("loop");
} else if ((_url.indexOf("freeonlinegames.com") >= 0) && (_url.indexOf("file:") == -1)) {
_root.okToPlay = true;
_root.play();
stop();
} else if (_root.debug) {
_root.okToPlay = true;
_root.play();
stop();
} else {
mcNotice._visible = true;
l = -99999;
gotoAndPlay ("loop");
}
Instance of Symbol 132 MovieClip "logo" in Symbol 133 MovieClip Frame 1
on (release) {
getURL ("http://www.freeonlinegames.com/?" + _root.gameName, "_blank");
}
Symbol 141 MovieClip Frame 1
stop();
Symbol 148 MovieClip Frame 25
stop();
Symbol 155 MovieClip Frame 1
play();
Symbol 156 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 1
stop();
Symbol 165 MovieClip Frame 19
gotoAndStop (1);
Symbol 165 MovieClip Frame 40
gotoAndStop (1);
Symbol 173 MovieClip Frame 1
stop();
ready = true;
_root.icanshoot = true;
Symbol 175 Button
on (release) {
_root.cover6.play();
}
Symbol 181 Button
on (release) {
getURL ("http://www.freeonlinegames.com/?spacemonkey", "_blank");
}
Symbol 184 Button
on (release) {
getURL ("http://www.freegamesforyourwebsite.com/?spacemonkey", "_blank");
}
Symbol 186 Button
on (release) {
_root.cover5.gotoAndPlay(2);
}
Instance of Symbol 194 MovieClip in Symbol 211 MovieClip Frame 1
onClipEvent (load) {
_root.lives = 3;
}
Symbol 222 Button
on (release) {
_root.cover3.play();
}
Symbol 227 Button
on (release) {
_root.cover1.gotoAndPlay(2);
}
Symbol 229 MovieClip Frame 1
stop();
Symbol 232 Button
on (release) {
_root.cover3.play();
_root.score = Number(_root.score) - 500;
if (_root.lives <= 0) {
_root.score = 0;
_root.lives = 3;
}
}
Instance of Symbol 141 MovieClip "HIT" in Symbol 234 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 229 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives <= 0) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
}
Instance of Symbol 233 MovieClip in Symbol 234 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.lives <= 0) {
this.gotoAndStop(2);
} else {
this.gotoAndStop(1);
}
}
Symbol 234 MovieClip Frame 32
stop();
Symbol 240 Button
on (release) {
if (_root.score <= 0) {
submit_but.enabled = false;
submit_but._alpha = 100;
} else {
var myVar = new LoadVars();
myVar.onLoad = function () {
getURL ("http://www.freeonlinegames.com/scoreboard.php?", "_blank");
};
myVar.score = _root.score;
myVar.score2 = _root.earl223(String(_root.score));
myVar.gamer = 73;
myVar.id = random(9999999);
myVar.toString();
myVar.sendAndLoad("http://www.freeonlinegames.com/scoreboard/score_c.php", myVar, "POST");
submit_but.enabled = false;
submit_but._alpha = 20;
}
}
Symbol 264 MovieClip Frame 1
go = false;
play();
Symbol 264 MovieClip Frame 15
go = true;
Symbol 264 MovieClip Frame 104
go = true;
gotoAndPlay (1);
Instance of Symbol 264 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.go == true) {
this._x = random(500) - 250;
this._y = random(500) - 250;
}
}
Instance of Symbol 264 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.go == true) {
this._x = random(500) - 250;
this._y = random(500) - 250;
}
}
onClipEvent (load) {
this.gotoAndPlay(32);
}
Instance of Symbol 264 MovieClip in Symbol 265 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.go == true) {
this._x = random(500) - 250;
this._y = random(500) - 250;
}
}
onClipEvent (load) {
this.gotoAndPlay(20);
}
Symbol 273 MovieClip Frame 168
stop();
Symbol 288 MovieClip Frame 1
stop();
Symbol 289 MovieClip Frame 1
stop();
Instance of Symbol 282 MovieClip in Symbol 289 MovieClip Frame 1
onClipEvent (enterFrame) {
_root.icanshoot = true;
}
Instance of Symbol 282 MovieClip in Symbol 289 MovieClip Frame 130
onClipEvent (enterFrame) {
_root.shoot = false;
}
Symbol 297 MovieClip Frame 1
stop();
Symbol 297 MovieClip Frame 2
_root.shield2 = false;
_root.shield = false;
Symbol 297 MovieClip Frame 19
_root.hero.gotoAndStop(1);
Symbol 303 MovieClip Frame 10
stop();
Symbol 305 MovieClip Frame 1
dead = false;
_root.shield = false;
stop();
Instance of Symbol 141 MovieClip "HIT" in Symbol 305 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 305 MovieClip Frame 2
dead = false;
_root.shield = true;
_root.shield2 = true;
stop();
Symbol 305 MovieClip Frame 3
dead = true;
_root.shield = false;
_root.bu = 0;
Instance of Symbol 303 MovieClip in Symbol 305 MovieClip Frame 3
onClipEvent (load) {
time = 50;
}
onClipEvent (enterFrame) {
time = time - 1;
if (time <= 0) {
_root.cover2.gotoAndPlay(2);
time = 5000;
}
}
Symbol 309 MovieClip Frame 1
stop();
_root.hero.HIT.gotoAndStop(1);
Symbol 309 MovieClip Frame 2
_root.active = 0;
_root.hero.HIT.gotoAndStop(2);
Symbol 309 MovieClip Frame 90
_root.active = 1;
gotoAndStop (1);
Symbol 315 MovieClip Frame 2
_root.active = 0;
_root.p = true;
Symbol 315 MovieClip Frame 75
_root.active = 1;
_root.p = false;
Symbol 315 MovieClip Frame 101
stop();
Symbol 321 MovieClip Frame 30
stop();
Symbol 323 MovieClip Frame 30
stop();
Symbol 325 MovieClip Frame 30
stop();
Symbol 327 MovieClip Frame 30
stop();
Symbol 329 MovieClip Frame 30
stop();
Symbol 332 MovieClip Frame 30
stop();
Symbol 334 MovieClip Frame 1
stop();
Instance of Symbol 320 MovieClip in Symbol 334 MovieClip Frame 1
onClipEvent (load) {
time = 150;
}
onClipEvent (enterFrame) {
time = time - 1;
if (time <= 0) {
_parent.gotoAndStop(random(41) + 1);
time = 150;
}
}
Symbol 334 MovieClip Frame 2
stop();
Instance of Symbol 322 MovieClip in Symbol 334 MovieClip Frame 2
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this)) {
_root.hero.bloodbody.gotoAndPlay(5);
_root.hero.up.gotoAndStop(2);
_root.clockup.play();
_root.score = Number(_root.score) + 100;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 324 MovieClip in Symbol 334 MovieClip Frame 8
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this)) {
_root.hero.gotoAndStop(2);
_root.hero.bloodbody.gotoAndPlay(20);
_root.score = Number(_root.score) + 100;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 326 MovieClip in Symbol 334 MovieClip Frame 14
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this)) {
_root.bu++;
_root.bu = _root.bu + 1;
_root.hero.bloodbody.gotoAndPlay(20);
_root.score = Number(_root.score) + 150;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 328 MovieClip in Symbol 334 MovieClip Frame 20
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this)) {
_root.bulletsss.glowy.gotoAndPlay(2);
_root.bulletsss.gotoAndStop(1);
_root.hero.bloodbody.gotoAndPlay(20);
_root.score = Number(_root.score) + 150;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 330 MovieClip in Symbol 334 MovieClip Frame 28
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this)) {
_root.boom = true;
_root.hero.bloodbody.gotoAndPlay(5);
_root.score = Number(_root.score) + 150;
_parent.gotoAndStop(1);
}
}
Instance of Symbol 333 MovieClip in Symbol 334 MovieClip Frame 34
onClipEvent (enterFrame) {
if (_root.hero.HIT.hitTest(this)) {
_root.lives = Number(_root.lives) + 1;
_root.hero.bloodbody.gotoAndPlay(5);
_root.score = Number(_root.score) + 250;
_parent.gotoAndStop(1);
}
}
Symbol 345 MovieClip Frame 1
_root.boom = false;
yvel = -13;
xvel = random(5) + 5;
grav = 0.9;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
_root.totalball1++;
_root.depthball1++;
this.swapDepths(_root.depthball6);
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((this.hitTest(_root.ground) and (hit == 0)) or (this.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 10;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
Instance of Symbol 5 MovieClip "mask" in Symbol 345 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 18 MovieClip in Symbol 345 MovieClip Frame 1
onClipEvent (load) {
power = 2000;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
if (_parent.hitTest(_root.upp)) {
_parent.grav = 2;
} else {
_parent.grav = 0.9;
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if (((power <= 0) or (_root.boom == true)) or (_root.brake3 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4right", "ball4lr" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4left", "ball4ll" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Symbol 353 Button
on (release) {
play();
}
Instance of Symbol 141 MovieClip "HIT" in Symbol 358 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 360 Button
on (release) {
play();
}
Symbol 361 MovieClip Frame 1
stop();
_root.p = false;
_root.active = 1;
Instance of Symbol 358 MovieClip in Symbol 361 MovieClip Frame 2
onClipEvent (enterFrame) {
_root.p = true;
_root.active = 0;
}
Symbol 361 MovieClip Frame 10
stop();
Instance of Symbol 358 MovieClip in Symbol 361 MovieClip Frame 10
onClipEvent (enterFrame) {
_root.p = true;
_root.active = 0;
}
Symbol 366 MovieClip Frame 8
_parent.gotoAndStop(_parent._currentframe + 1);
Symbol 375 MovieClip Frame 1
_root.boom = false;
yvel = -13;
xvel = random(5) + 5;
grav = 0.9;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
_root.totalball1++;
_root.depthball1++;
this.swapDepths(_root.depthball7);
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((this.hitTest(_root.ground) and (hit == 0)) or (this.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (mask.hitTest(_root.upp)) {
yvel = 5;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
Instance of Symbol 5 MovieClip "mask" in Symbol 375 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 18 MovieClip in Symbol 375 MovieClip Frame 1
onClipEvent (load) {
power = 2000;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if (((power <= 0) or (_root.boom == true)) or (_root.brake3 == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4right", "ball4lr" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
_root.totalball4++;
_root.depthball4++;
_root.attachMovie("ball4left", "ball4ll" + _root.totalball4, _root.depthball4, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Instance of Symbol 379 MovieClip in Symbol 380 MovieClip Frame 1
onClipEvent (enterFrame) {
this._rotation = this._rotation - 0.8;
}
Symbol 381 MovieClip Frame 5
gotoAndPlay (1);
Symbol 382 MovieClip Frame 1
yvel = -5;
xvel = random(5) + 5;
grav = 0.9;
rad = this._height / 2;
bounce = -1.023;
hit = 0;
hitdelay = 0;
_root.totalball1++;
_root.depthball1++;
this.swapDepths(_root.depthball1);
this.onEnterFrame = function () {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((this.hitTest(_root.ground) and (hit == 0)) or (this.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if (((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) or mask.hitTest(_root.ground3)) {
xvel = -xvel;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
};
Instance of Symbol 5 MovieClip "mask" in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 381 MovieClip in Symbol 382 MovieClip Frame 1
onClipEvent (load) {
power = 2000;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
_root.attachMovie("ball2right", "ball2r" + _root.totalball2, _root.depthball2, {_x:_parent._x, _y:_parent._y});
_root.totalball2++;
_root.depthball2++;
_root.attachMovie("ball2left", "ball2l" + _root.totalball2, _root.depthball2, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
Symbol 392 MovieClip Frame 1
yvel = -5;
xvel = random(5) + 5;
grav = 0.2;
rad = this._height / 2;
bounce = -1.01;
hit = 0;
hitdelay = 0;
_root.totalball1++;
_root.depthball1++;
this.swapDepths(_root.depthball1);
this.onEnterFrame = function () {
if (_root.active == 1) {
yvel = yvel + grav;
this._x = this._x + xvel;
this._y = this._y + yvel;
if ((this.hitTest(_root.ground) and (hit == 0)) or (this.hitTest(_root.ground2) and (hit == 0))) {
hit = 1;
yvel = yvel * bounce;
}
if ((mask.hitTest(_root.wall1) or mask.hitTest(_root.wall2)) or mask.hitTest(_root.wall1)) {
xvel = -xvel;
}
if (hit == 1) {
hitdelay++;
if (hitdelay > 2) {
hitdelay = 0;
hit = 0;
}
}
}
};
Instance of Symbol 5 MovieClip "mask" in Symbol 392 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 381 MovieClip in Symbol 392 MovieClip Frame 1
onClipEvent (load) {
power = 2000;
}
onClipEvent (enterFrame) {
if ((!_root.game) == 1) {
removeMovieClip(_parent);
}
var i = 0;
while (i < 15) {
if (_parent.mask.hitTest(_root["bullet" + i])) {
if (_root.guntype == 2) {
power = power - 25;
if (power <= 0) {
power = 0;
}
}
if ((_root.guntype == 1) or (_root.guntype == 3)) {
power = power - 200;
if (power <= 0) {
power = 0;
}
removeMovieClip(_root["bullet" + i]);
this.gotoAndPlay(6);
}
}
i++;
}
if ((power <= 0) or (_root.boom == true)) {
_root.score = Number(_root.score) + 10;
_root.totalball2++;
_root.depthball2++;
_root.attachMovie("ball2right", "ball2r" + _root.totalball2, _root.depthball2, {_x:_parent._x, _y:_parent._y});
_root.totalball2++;
_root.depthball2++;
_root.attachMovie("ball2left", "ball2l" + _root.totalball2, _root.depthball2, {_x:_parent._x, _y:_parent._y});
removeMovieClip(_parent);
}
}
Symbol 425 MovieClip Frame 1
stop();
Symbol 425 MovieClip Frame 2
stop();
Symbol 436 Button
on (press) {
sboard.dir = "up";
}
on (release) {
sboard.dir = "stop";
}
Symbol 437 Button
on (press) {
sboard.dir = "down";
}
on (release) {
sboard.dir = "stop";
}