Frame 1
var easyhighscore = 0;
var medhighscore = 0;
var hardhighscore = 0;
var slowhighscore = 0;
var fasthighscore = 0;
var lavahighscore = 0;
var rpdhighscore = 0;
var stahighscore = 0;
var afashighscore = 0;
var rockhighscore = 0;
var goalhighscore = 0;
var upghighscore = 0;
var dead = true;
var lastgame = 2;
var prevscore = 0;
var menus = 0;
Frame 2
var dead = true;
stop();
var touched = 0;
if (menus == 1) {
gotoAndStop (15);
}
Instance of Symbol 114 MovieClip in Frame 2
onClipEvent (enterFrame) {
if (_root.lastgame == 3) {
_root.prevscore = _root.easyscore;
}
if (_root.lastgame == 4) {
_root.prevscore = _root.medscore;
}
if (_root.lastgame == 5) {
_root.prevscore = _root.hardscore;
}
if (_root.lastgame == 6) {
_root.prevscore = _root.slowscore;
}
if (_root.lastgame == 7) {
_root.prevscore = _root.fastscore;
}
if (_root.lastgame == 8) {
_root.prevscore = _root.lavascore;
}
if (_root.lastgame == 9) {
_root.prevscore = _root.rpdscore;
}
if (_root.lastgame == 10) {
_root.prevscore = _root.stascore;
}
if (_root.lastgame == 11) {
_root.prevscore = _root.afasscore;
}
if (_root.lastgame == 12) {
_root.prevscore = _root.rockscore;
}
if (_root.lastgame == 13) {
_root.prevscore = _root.goalsscore;
}
}
Frame 3
var ulttimer = 150;
var easyscore = 0;
var dead = false;
_root.prevscore = easyscore;
stop();
lastgame = 3;
Instance of Symbol 154 MovieClip "char" in Frame 3
onClipEvent (load) {
decay = 0.9;
speedu = 0;
speedd = 0;
speedr = 0;
speedl = 0;
moveup = 0;
movedown = 0;
moveleft = 0;
moveright = 0;
thrust = 1.5;
bs = 0;
bs2 = 0;
bs3 = 0;
max = 12;
}
onClipEvent (enterFrame) {
if ((Key.isDown(39) && (!_root.ground.hitTest(_x + 12, _y, true))) && (!Key.isDown(37))) {
moveright = moveright + speedr;
speedr++;
} else {
moveright = moveright * decay;
}
if ((Key.isDown(37) && (!_root.ground.hitTest(_x - 12, _y, true))) && (!Key.isDown(39))) {
moveright = moveright + speedr;
speedr--;
} else {
moveright = moveright * decay;
}
if ((!Key.isDown(39)) && (!Key.isDown(37))) {
speedr = 0;
}
if (speedr >= 2) {
speedr = 2;
}
if (speedr <= -2) {
speedr = -2;
}
if (moveright >= max) {
moveright = max;
}
if (moveright <= (-max)) {
moveright = -max;
}
this._y = this._y - moveup;
this._y = this._y + movedown;
this._x = this._x + moveright;
}
onClipEvent (load) {
grav = 0;
gravmax = 20;
}
onClipEvent (enterFrame) {
this._y = this._y + grav;
grav = grav + 1;
if (grav >= gravmax) {
grav = gravmax;
}
if ((moveright >= -0.05) && (moveright <= 0.05)) {
moveright = 0;
}
if ((_root.ground.hitTest(_x, _y + 10, true) && (_root.ground.hitTest(_x, _y + 11, true))) && (bs == 0)) {
bs = 1;
grav = grav * -0.5;
} else {
bs = 0;
}
if (_root.ground.hitTest(_x, _y + 10, true) && (!_root.ground.hitTest(_x, _y + 9, true))) {
grav = 0;
}
if (_root.ground.hitTest(_x - 5, _y + 10, true) && (!_root.ground.hitTest(_x, _y + 9, true))) {
grav = 0;
}
if (_root.ground.hitTest(_x + 5, _y + 10, true) && (!_root.ground.hitTest(_x, _y + 9, true))) {
grav = 0;
}
if (_root.ground.hitTest(_x + 10, _y, true) && (bs2 == 0)) {
moveright = moveright * -1;
bs2 = 1;
} else {
bs2 = 0;
}
if (_root.ground.hitTest(_x - 10, _y, true) && (bs3 == 0)) {
moveright = moveright * -1;
bs3 = 1;
} else {
bs3 = 0;
}
if (_root.ground.hitTest(_x, _y - 1, true) && (bs3 == 0)) {
moveright = moveright * -1;
bs3 = 1;
} else {
bs3 = 0;
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 11, true))) {
grav = -10;
}
if ((Key.isDown(38) && (!_root.ground.hitTest(_x, _y + 11, true))) && (_root.ground.hitTest(_x + 10, _y, true))) {
grav = -10;
moveright = -10;
}
if (Key.isDown(38) && (_root.ground.hitTest(_x, _y + 11, true))) {
grav = -10;
}
if ((Key.isDown(38) && (!_root.ground.hitTest(_x, _y + 11, true))) && (_root.ground.hitTest(_x - 10, _y, true))) {
grav = -10;
moveright = 10;
}
if (_root.ground.hitTest(_x, _y - 10, true) && (bs4 == 0)) {
grav = grav * -1;
bs4 = 1;
} else {
bs4 = 0;
}
if (this.hitTest(_root.glitched)) {
this._x = 200;
this._y = 200;
}
if (this.hitTest(_root.glitched2)) {
this._x = 200;
this._y = 200;
}
while (_root.ground.hitTest(_x, _y + 8, true)) {
_y = (_y-1);
}
while (_root.ground.hitTest(_x, _y - 12, true)) {
_y = (_y+1);
}
while (_root.ground.hitTest(_x - 12, _y, true)) {
_x = (_x+1);
}
while (_root.ground.hitTest(_x + 9, _y, true)) {
_x = (_x-1);
}
}
Instance of Symbol 169 MovieClip "rocket" in Frame 3
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(15);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 3
onClipEvent (load) {
blast = 1;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("roket" + blast, blast + 7000);
blast++;
timer = -50;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
_root.easyscore++;
if (_root.easyscore >= _root.easyhighscore) {
_root.easyhighscore = _root.easyscore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Frame 4
var ulttimer = 0;
stop();
var medscore = 0;
var dead = false;
lastgame = 4;
Instance of Symbol 169 MovieClip "rocket" in Frame 4
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 4
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 4
onClipEvent (load) {
blast = 1;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rocketjetson" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
_root.medscore++;
if (_root.medscore >= _root.medhighscore) {
_root.medhighscore = _root.medscore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 4
onClipEvent (load) {
blst = 6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjetq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(9999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Frame 5
var ulttimer = -190;
var hardscore = 0;
var dead = false;
stop();
lastgame = 5;
Instance of Symbol 174 MovieClip "launcher1" in Frame 5
onClipEvent (load) {
blast = 0;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rockjet" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
_root.hardscore++;
if (_root.hardscore >= _root.hardhighscore) {
_root.hardhighscore = _root.hardscore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 5
onClipEvent (load) {
blt = -6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjettq" + blt, blt + 7000);
blt++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 169 MovieClip "rocket" in Frame 5
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
} else {
deadd == false;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketw" in Frame 5
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
} else {
deadd == false;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 5
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
} else {
deadd == false;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Frame 6
var ulttimer = -190;
var slowscore = 0;
var dead = false;
stop();
lastgame = 6;
Instance of Symbol 169 MovieClip "rocket" in Frame 6
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(1);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x + 3, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 90;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x - 3, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 270;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x, this._y - 3, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x, this._y + 3, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 180;
} else {
deadd == false;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketw" in Frame 6
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(1);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x + 1, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 90;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x - 1, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 270;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x, this._y - 1, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x, this._y + 1, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 180;
} else {
deadd == false;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 6
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(1);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x + 1, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 270;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x - 1, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 90;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x, this._y - 1, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
} else {
deadd == false;
}
if (_root.ground.hitTest(this._x, this._y + 10, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
this._rotation = 180;
} else {
deadd == false;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 6
onClipEvent (load) {
blast = 1;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rockekkt" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
_root.slowscore++;
if (_root.slowscore >= _root.slowhighscore) {
_root.slowhighscore = _root.slowscore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 6
onClipEvent (load) {
blst = 6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjetq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(99999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 6
onClipEvent (load) {
blt = -6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjettq" + blt, blt + 7000);
blt++;
timer = -60;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Frame 7
var ulttimer = -370;
var fastscore = 0;
var dead = false;
stop();
lastgame = 7;
Instance of Symbol 261 MovieClip "rocketw" in Frame 7
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(15);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true)) {
this.gotoAndStop(2);
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 7
onClipEvent (load) {
blast = 1;
timer = -60;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rocket" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
_root.fastscore++;
if (_root.fastscore >= _root.fasthighscore) {
_root.fasthighscore = _root.fastscore;
}
if (_level0.ulttimer >= 100) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 7
onClipEvent (load) {
blst = 6000;
timer = -60;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjetq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(99999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 100) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 7
onClipEvent (load) {
blt = -6000;
timer = -60;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjettq" + blt, blt + 7000);
blt++;
timer = -60;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 100) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 169 MovieClip "rocket" in Frame 7
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 7
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Frame 8
var ulttimer = 0;
var lavascore = 0;
var dead = false;
stop();
lastgame = 8;
Instance of Symbol 269 MovieClip in Frame 8
onClipEvent (enterFrame) {
if (this.hitTest(_root.char._x, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
}
Instance of Symbol 169 MovieClip "rocket" in Frame 8
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 8
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 8
onClipEvent (load) {
blast = 1;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rockfhehht" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
_root.lavascore++;
if (_root.lavascore >= _root.lavahighscore) {
_root.lavahighscore = _root.lavascore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 8
onClipEvent (load) {
blst = 6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjjjetq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(99999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Frame 9
var ulttimer = -190;
var rpdscore = 0;
var dead = false;
stop();
lastgame = 9;
Instance of Symbol 169 MovieClip "rocket" in Frame 9
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(8);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketw" in Frame 9
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(8);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 9
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(8);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 9
onClipEvent (load) {
blast = 1;
timer = -130;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rockfhet" + blast, blast + 7000);
blast++;
timer = -10;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
_root.rpdscore++;
if (_root.rpdscore >= _root.rpdhighscore) {
_root.rpdhighscore = _root.rpdscore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 9
onClipEvent (load) {
blst = 6000;
timer = -130;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjetq" + blst, blst + 7000);
blst++;
timer = -10;
this.swapDepths(99999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 9
onClipEvent (load) {
blt = -6000;
timer = -130;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjettq" + blt, blt + 7000);
blt++;
timer = -10;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Frame 10
var ulttimer = 100;
var stascore = 0;
var dead = false;
stop();
lastgame = 10;
Instance of Symbol 174 MovieClip "launcher1" in Frame 10
onClipEvent (load) {
blast = 1;
timer = -180;
}
onClipEvent (enterFrame) {
this._x = 434;
this._y = 29.9;
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rockfhet" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.stascore++;
if (_root.stascore >= _root.stahighscore) {
_root.stahighscore = _root.stascore;
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 10
onClipEvent (load) {
blst = 6000;
timer = -180;
}
onClipEvent (enterFrame) {
this._x = 523;
this._y = 29.9;
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjetq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(99999999);
}
timer++;
_root.ulttimer++;
if (_root.dead == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 10
onClipEvent (load) {
blt = -6000;
timer = -180;
}
onClipEvent (enterFrame) {
this._x = 346;
this._y = 29.9;
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjetson" + blt, blt + 7000);
blt++;
timer = -60;
this.swapDepths(99999);
}
timer++;
if (_root.dead == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 169 MovieClip "rocket" in Frame 10
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketw" in Frame 10
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 10
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Frame 11
var ulttimer = -190;
var afasscore = 0;
var dead = false;
stop();
lastgame = 11;
Instance of Symbol 169 MovieClip "rocket" in Frame 11
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = 16;
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketw" in Frame 11
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = 16;
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 11
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = 16;
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 11
onClipEvent (load) {
blast = 1;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rocket" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
_root.afasscore++;
if (_root.afasscore >= _root.afashighscore) {
_root.afashighscore = _root.afasscore;
}
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 11
onClipEvent (load) {
blst = 6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjetq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(99999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 11
onClipEvent (load) {
blt = -6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjettq" + blt, blt + 7000);
blt++;
timer = -60;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Frame 12
var ulttimer = -190;
var rockscore = 0;
var dead = false;
stop();
lastgame = 12;
Instance of Symbol 169 MovieClip "rocket" in Frame 12
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = 12;
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 290 MovieClip "rocketq" in Frame 12
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = 8;
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 12
onClipEvent (enterFrame) {
_root.ulttimer = _root.ulttimer + 3;
_root.rockscore++;
if (_root.rockscore >= _root.rockhighscore) {
_root.rockhighscore = _root.rockscore;
}
}
Frame 13
var ulttimer = -190;
var goalscore = 0;
var goalsscore = 0;
var dead = false;
stop();
lastgame = 13;
Instance of Symbol 169 MovieClip "rocket" in Frame 13
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher1._x;
this._y = _root.launcher1._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketw" in Frame 13
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher3._x;
this._y = _root.launcher3._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 169 MovieClip "rocketq" in Frame 13
onClipEvent (load) {
thrust = 2;
decay = 0.99;
maxSpeed = random(16);
xSpeed = 0;
ySpeed = 0;
grav = 0;
sight = 200;
range = 100;
deadd = false;
this._x = _root.launcher2._x;
this._y = _root.launcher2._y;
}
onClipEvent (enterFrame) {
if (deadd == false) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
xSpeed = xSpeed + (thrust * Math.sin(_rotation * (Math.PI/180)));
ySpeed = ySpeed + (thrust * Math.cos(_rotation * (Math.PI/180)));
speed = Math.sqrt((xSpeed * xSpeed) + (ySpeed * ySpeed));
}
if (speed > maxSpeed) {
xSpeed = xSpeed * (maxSpeed / speed);
ySpeed = ySpeed * (maxSpeed / speed);
}
_y = (_y - ySpeed);
_x = (_x + xSpeed);
if (_root.ground.hitTest(this._x, this._y, true) && (deadd == false)) {
this.gotoAndPlay(2);
deadd = true;
}
if (maxSpeed == 0) {
maxSpeed = 1;
}
if (this.hitTest(_root.char._x, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x - 10, _root.char._y + 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (this.hitTest(_root.char._x + 10, _root.char._y - 10, true) && (deadd == false)) {
_level0.gotoAndStop(2);
}
if (_root.dead == true) {
this.gotoAndStop(14);
swapDepths(9999);
}
}
Instance of Symbol 174 MovieClip "launcher1" in Frame 13
onClipEvent (load) {
blast = 1;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocket.duplicateMovieClip("rocketjetsons" + blast, blast + 7000);
blast++;
timer = -60;
this.swapDepths(99999);
}
timer++;
_root.ulttimer++;
if (_root.goalscore >= _root.goalhighscore) {
_root.goalhighscore = _root.goalscore;
}
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(400);
}
if ((_level0.ulttimer >= 349) && (_level0.goalscore == 0)) {
_root.goal._x = _root.char._x;
_root.goal._y = _root.char._y;
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 246 MovieClip "launcher2" in Frame 13
onClipEvent (load) {
blst = 6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketq.duplicateMovieClip("rockjethjkq" + blst, blst + 7000);
blst++;
timer = -60;
this.swapDepths(9999999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
_root.goalsscore = _root.goalsscore + _root.goalscore;
if (_root.goalsscore >= _root.goalhighscore) {
_root.goalhighscore = _root.goalsscore;
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if ((_level0.ulttimer >= 349) && (_level0.goalscore == 0)) {
_root.goal._x = _root.char._x;
_root.goal._y = _root.char._y;
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 249 MovieClip "launcher3" in Frame 13
onClipEvent (load) {
blt = -6000;
timer = -100;
}
onClipEvent (enterFrame) {
myRadians = Math.atan2(_root.char._y - this._y, _root.char._x - this._x);
myDegrees = Math.round((myRadians * 180) / Math.PI);
_root.yChange = Math.round(_root.char._y - this._y);
_root.xChange = Math.round(_root.char._x - this._x);
this._rotation = myDegrees + 90;
if (timer >= 0) {
_root.rocketw.duplicateMovieClip("rockjettq" + blt, blt + 7000);
blt++;
timer = -60;
this.swapDepths(9999);
}
timer++;
_root.ulttimer++;
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(400);
}
if ((_level0.ulttimer >= 349) && (_level0.goalscore == 0)) {
_root.goal._x = _root.char._x;
_root.goal._y = _root.char._y;
}
if (_root.dead == true) {
this.gotoAndStop(2);
}
if (_root.ground.hitTest(this._x + 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x - 25, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y + 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y - 25, true)) {
this._x = random(550);
this._y = random(400);
}
if (_root.ground.hitTest(this._x, this._y, true)) {
this._x = random(550);
this._y = random(400);
}
}
Instance of Symbol 297 MovieClip "goal" in Frame 13
onClipEvent (enterFrame) {
if (_root.char.hitTest(this)) {
this._x = random(550);
this._y = random(350);
_root.goalscore = _root.goalscore + 1;
}
}
Frame 15
var dead = true;
stop();
var touched = 0;
menus = 1;
Symbol 46 Button
on (release) {
getURL ("http://www.newgrounds.com", "_blank");
}
Symbol 48 MovieClip Frame 40
stop();
Symbol 73 Button
on (release) {
startMovie();
}
Symbol 74 MovieClip Frame 1
function timerHandler() {
if (!loadingComplete) {
var _local4 = _root.getBytesLoaded() / _root.getBytesTotal();
bar._xscale = 100 * _local4;
if (_local4 == 1) {
loadingComplete = true;
if (AUTO_PLAY) {
startMovie();
} else {
gotoAndStop ("loaded");
}
return(undefined);
}
}
dt = getTimer() - time;
time = time + dt;
frameAccum = frameAccum + dt;
var _local3 = 0;
while ((frameAccum >= FRAME_TIME) && (_local3 < MAX_FRAME_SKIP)) {
advanceFrame(tankLogo, true, true);
advanceFrame(loadingText, false, true);
advanceFrame(barGfx, false, true);
if (loadingComplete) {
advanceFrame(this, false, false);
}
(frameAccum = frameAccum - FRAME_TIME);
_local3++;
}
updateAfterEvent();
}
function advanceFrame(clip, recurse, loop) {
if (!clip) {
return(undefined);
}
clip.stop();
if (clip._currentframe == clip._totalframes) {
if (loop) {
clip.gotoAndStop(1);
}
} else {
clip.nextFrame();
}
if (recurse) {
for (childName in clip) {
if (typeof(clip[childName]) == "movieclip") {
advanceFrame(clip[childName], recurse, loop);
}
}
}
}
function startMovie() {
clearInterval(intervalId);
_root.play();
}
_root.stop();
stop();
var FRAME_TIME = 33.3333333333333;
var AUTO_PLAY = false;
var MAX_FRAME_SKIP = 5;
var loadingComplete;
var intervalId;
var time;
var frameAccum;
loadingComplete = false;
intervalId = setInterval(this, "timerHandler", FRAME_TIME / 2);
frameAccum = 0;
time = getTimer();
timerHandler();
Symbol 79 Button
on (release) {
gotoAndStop(_root.lastgame);
}
Symbol 84 Button
on (release) {
_level0.gotoAndStop(3);
}
Symbol 86 Button
on (release) {
_level0.gotoAndStop(12);
}
Symbol 88 Button
on (release) {
_level0.gotoAndStop(11);
}
Symbol 91 Button
on (release) {
_level0.gotoAndStop(10);
}
Symbol 93 Button
on (release) {
_level0.gotoAndStop(9);
}
Symbol 95 Button
on (release) {
_level0.gotoAndStop(8);
}
Symbol 97 Button
on (release) {
_level0.gotoAndStop(7);
}
Symbol 99 Button
on (release) {
_level0.gotoAndStop(6);
}
Symbol 101 Button
on (release) {
_level0.gotoAndStop(5);
}
Symbol 103 Button
on (release) {
_level0.gotoAndStop(4);
}
Symbol 105 Button
on (release) {
_level0.gotoAndStop(13);
}
Symbol 111 Button
on (release) {
_level0.gotoAndStop(14);
}
Symbol 133 MovieClip Frame 1
stop();
Symbol 137 Button
on (release) {
_root.music.gotoAndStop(1);
}
Symbol 140 Button
on (release) {
_root.music.gotoAndStop(2);
}
Symbol 143 Button
on (release) {
_root.music.gotoAndStop(3);
}
Symbol 146 Button
on (release) {
_root.music.gotoAndStop(4);
}
Symbol 149 Button
on (release) {
_root.music.gotoAndStop(5);
}
Symbol 151 Button
on (release) {
_root.music.gotoAndStop(6);
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 158 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Symbol 169 MovieClip Frame 1
stop();
deadd = false;
Symbol 169 MovieClip Frame 2
play();
maxSpeed = 0;
Symbol 169 MovieClip Frame 14
stop();
if ((!this.name) == rocket) {
swapDepths(999999);
removeMovieClip(this);
}
maxSpeed = 0;
deadd = true;
Symbol 174 MovieClip Frame 1
stop();
Symbol 174 MovieClip Frame 2
swapDepths(_root.getNextHighestDepth());
removeMovieClip(this);
Symbol 238 MovieClip Frame 180
stop();
Instance of Symbol 157 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 241 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Symbol 246 MovieClip Frame 1
stop();
Symbol 246 MovieClip Frame 2
swapDepths(_root.getNextHighestDepth());
removeMovieClip(this);
Instance of Symbol 157 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 248 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Symbol 249 MovieClip Frame 1
stop();
Symbol 249 MovieClip Frame 2
swapDepths(_root.getNextHighestDepth());
removeMovieClip(this);
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 254 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 100) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 260 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 99) {
this._x = random(550);
this._y = random(350);
}
}
Symbol 261 MovieClip Frame 1
stop();
Symbol 261 MovieClip Frame 2
if ((!this.name) == rocketw) {
swapDepths(_root.getNextHighestDepth());
removeMovieClip(this);
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 267 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(350);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 350) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 275 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 349) {
this._x = random(550);
this._y = random(385);
}
}
Instance of Symbol 157 MovieClip in Symbol 281 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_level0.ulttimer >= 100) {
this._x = random(550);
this._y = random(350);
_level0.ulttimer = 0;
}
}
Symbol 290 MovieClip Frame 1
stop();
Symbol 290 MovieClip Frame 2
if ((!this.name) == rocket) {
swapDepths(_root.getNextHighestDepth());
removeMovieClip(this);
}
Symbol 305 Button
on (release) {
gotoAndStop (15);
}
Symbol 310 Button
on (release) {
_level0.gotoAndStop(2);
_root.menus = 0;
}
Symbol 313 Button
on (release) {
gotoAndStop(_root.lastgame);
}
Symbol 316 Button
on (release) {
_level0.gotoAndStop(3);
}
Symbol 318 Button
on (release) {
_level0.gotoAndStop(12);
}
Symbol 320 Button
on (release) {
_level0.gotoAndStop(11);
}
Symbol 323 Button
on (release) {
_level0.gotoAndStop(10);
}
Symbol 325 Button
on (release) {
_level0.gotoAndStop(9);
}
Symbol 327 Button
on (release) {
_level0.gotoAndStop(8);
}
Symbol 329 Button
on (release) {
_level0.gotoAndStop(7);
}
Symbol 331 Button
on (release) {
_level0.gotoAndStop(6);
}
Symbol 333 Button
on (release) {
_level0.gotoAndStop(5);
}
Symbol 335 Button
on (release) {
_level0.gotoAndStop(4);
}
Symbol 337 Button
on (release) {
_level0.gotoAndStop(13);
}