Frame 197
Frame 198
load = ("LOADING " + Math.floor((this.getBytesLoaded() / this.getBytesTotal()) * 100)) + "%";
if (this.getBytesLoaded() != this.getBytesTotal()) {
gotoAndPlay (197);
}
Frame 199
function playAgain() {
_root.submit._visible = true;
_root.disabler._visible = false;
_root.gotoAndStop("menu");
knuggs = 0;
_level0.swHighScoreObject.player1Score = 0;
_quality = olderqual;
}
System.security.allowDomain("shockwave.com");
_level0.swHighScoreObject = new Object();
_level0.swHighScoreObject.showTab = "view";
_level0.swHighScoreObject.gameId = "rocketman";
_level0.swHighScoreObject.gameTitle = "Little Rocketman";
_level0.swHighScoreObject.screenWidth = 550;
_level0.swHighScoreObject.screenHeight = 400;
_level0.swHighScoreObject.scoreDescriptor = "points";
_level0.swHighScoreObject.numPlayers = 1;
_level0.swHighScoreObject.player1Score = 0;
_level0.swHighScoreObject.player2Score = 0;
_level0.swHighScoreObject.player3Score = 0;
_level0.swHighScoreObject.player4Score = 0;
_level0.HSHubURL = "http://www.shockwave.com/content/highscores/scorez-2002.swf";
knuggs = 0;
airbrakes = 0;
boost = 0;
if (traild == undefined) {
traild = 4;
maxtraild = 4;
smoke = 1;
music = 1;
changequal = 1;
_quality = "MEDIUM";
olderqual = _quality;
} else if (music == 0) {
stopAllSounds();
}
stop();
Frame 201
stop();
Instance of Symbol 177 MovieClip in Frame 204
onClipEvent (load) {
w = 150;
ns = 5;
def = _parent.traild;
valarray = ["OFF", "LOW", "MEDIUM", "HIGH", "MAXIMUM"];
}
onClipEvent (enterFrame) {
_parent.traild = steps();
}
Instance of Symbol 183 MovieClip in Frame 204
onClipEvent (load) {
gotoAndStop(_parent.music + 1 +196);
}
Instance of Symbol 185 MovieClip in Frame 204
onClipEvent (load) {
if (_parent._quality == "MEDIUM") {
gotoAndStop (197);
} else {
gotoAndStop (198);
}
onRelease = function () {
if (_parent._quality == "MEDIUM") {
gotoAndStop (198);
_parent._quality = "HIGH";
} else {
gotoAndStop (197);
_parent._quality = "MEDIUM";
}
};
}
Instance of Symbol 185 MovieClip in Frame 204
onClipEvent (load) {
gotoAndStop(_parent.changequal + 1 +196);
onRelease = function () {
_parent.changequal = !_parent.changequal;
gotoAndStop(_parent.changequal + 1 +196);
};
}
Instance of Symbol 185 MovieClip in Frame 204
onClipEvent (load) {
gotoAndStop(_parent.smoke + 1 +196);
onRelease = function () {
_parent.smoke = !_parent.smoke;
gotoAndStop(_parent.smoke + 1 +196);
};
}
Frame 210
_root.swHighScoreObject.showTab = "view";
_root.disabler._visible = true;
loadMovieNum (_root.HSHubURL, 2);
_quality = "HIGH";
Instance of Symbol 350 MovieClip "disabler" in Frame 210
onClipEvent (load) {
this.swapDepths(120001);
_visible = false;
}
Frame 214
_level0.swHighScoreObject.player1Score = knuggs;
sd = knuggs + " points.";
_quality = "HIGH";
Frame 222
stop();
Frame 227
bg.loadMovie("bg1.swf");
lti = 0;
play();
Frame 229
lti++;
if (bg._framesloaded <= 0) {
this.gotoAndPlay("level1loading");
}
if ((lti > 60) && ((bg.getBytesLoaded() == 0) || (bg.getBytesLoaded() == -1))) {
this.gotoAndPlay("level1");
}
Frame 230
stop();
onEnterFrame = function () {
if ((bg.getBytesLoaded() == bg.getBytesTotal()) && (bg._currentframe > 1)) {
onEnterFrame = null;
this.gotoAndStop("level1");
}
};
Frame 231
this.gotoAndStop("level1intro");
Instance of Symbol 484 MovieClip "game" in Frame 231
onClipEvent (load) {
function scroll() {
if (superg.scroll) {
if (_parent.changequal == 1) {
if (noscroll) {
noscroll = 0;
oldqual = _parent._quality;
}
_parent._quality = "LOW";
}
_parent.bg._x = (_x / (w - 550)) * (bgw - 550);
if (_parent.bg._x > 0) {
_parent.bg._x = 0;
}
if (_parent.bg._x < (-(bgw - 550))) {
_parent.bg._x = -(bgw - 550);
}
_parent.bg._y = ((_y / (h - 200)) * (bgh - 400)) - (bgh - 400);
if (_parent.bg._y > 0) {
_parent.bg._y = 0;
}
if (_parent.bg._y < ((-bgh) + 400)) {
_parent.bg._y = (-bgh) + 400;
}
} else {
noscroll = 1;
_parent._quality = oldqual;
}
}
oldqual = _parent._quality;
topy = -20;
topx = 20;
_parent.bg.setMask(_parent.mask);
this.setMask(_parent.mask2);
onEnterFrame = function () {
if ((_y < (topy - 1)) || (_y > (topy + 1))) {
_y = (_y + ((topy - _y) / 6));
} else {
_y = topy;
superg.begin = 1;
w = _width;
h = _height;
bgw = _parent.bg._width;
bgh = _parent.bg._height;
onEnterFrame = scroll;
}
};
}
Frame 232
stop();
soundclip.gotoAndPlay("forcestop");
Frame 233
this.gotoAndStop("level1");
Frame 280
stopAllSounds();
Mouse.show;
soundClip.play();
onMouseDown = null;
onMouseDown = function () {
onMouseDown = null;
gotoAndStop (280);
};
Frame 281
gotoAndStop (280);
Frame 284
stopAllSounds();
Mouse.show;
soundClip.play();
onMouseDown = null;
onMouseDown = function () {
onMouseDown = null;
gotoAndStop (280);
};
Frame 285
gotoAndStop (284);
Symbol 1 MovieClip [draw] Frame 1
function remove() {
_alpha = (_alpha - 25);
if (_alpha <= 0) {
removeMovieClip("");
}
}
Instance of Symbol 27 MovieClip in Symbol 28 MovieClip Frame 1
onClipEvent (load) {
gotoAndStop(int(random(_totalframes * 50) / 50) + 1);
}
Symbol 30 MovieClip [Pickuph] Frame 1
if (xspeed < 0) {
_xscale = -100;
}
stop();
onEnterFrame = function () {
_x = (_x + xspeed);
if (xspeed > 0) {
if (_x > (startx + dist)) {
_x = startx;
}
} else if (_x < (startx - dist)) {
_x = startx;
}
if (_parent.superg.hitTest(hit) && (!_parent.superg.dead)) {
_root.knuggs = _root.knuggs + _parent.snumber;
_parent.addPopUp(_x, _y, "Katra: +" + _parent.snumber, 3);
_parent.superg.collect = 1;
parent.pickUp = null;
this.gotoAndPlay("remove");
}
};
Symbol 30 MovieClip [Pickuph] Frame 2
gotoAndStop (1);
Symbol 30 MovieClip [Pickuph] Frame 6
stop();
removeMovieClip("");
Symbol 38 MovieClip [Pickup] Frame 1
onEnterFrame = function () {
if (_parent.superg.hitTest(this) && (!_parent.superg.dead)) {
_root.knuggs = _root.knuggs + _parent.snumber;
parent.pickUp = null;
_parent.addPopUp(_x, _y, "Knugg: +" + _parent.snumber, 3);
this.gotoAndPlay("remove");
}
};
Symbol 38 MovieClip [Pickup] Frame 6
stop();
Symbol 38 MovieClip [Pickup] Frame 11
removeMovieClip("");
Symbol 38 MovieClip [Pickup] Frame 16
stop();
removeMovieClip("");
Symbol 53 MovieClip Frame 99
stop();
Symbol 92 MovieClip Frame 28
stop();
Symbol 105 Button
on (release) {
knuggs = 0;
airbrakes = 0;
boost = 0;
gotoAndStop (1);
}
Symbol 110 Button
on (release) {
gotoAndStop (1);
}
Symbol 114 Button
on (release) {
gotoAndStop (1);
}
Symbol 119 Button
on (release, keyPress "<Enter>") {
if (pass.toLowerCase() == "longflight") {
stopAllSounds();
_parent.knuggs = 0;
_parent.airbrakes = 0;
_parent.gotoAndStop("level2story");
} else if (pass.toLowerCase() == "fantastic") {
_parent.knuggs = 0;
_parent.airbrakes = 0;
_parent.gotoAndStop("level3story");
} else if (pass.toLowerCase() == "coffeecup") {
_parent.knuggs = 0;
_parent.airbrakes = 0;
_parent.gotoAndStop("level4story");
} else if (pass.toLowerCase() == "lawnmower") {
_parent.knuggs = 0;
_parent.airbrakes = 0;
_parent.gotoAndStop("level5story");
} else if (pass.toLowerCase() == "etchasketch") {
_parent.knuggs = 0;
_parent.airbrakes = 0;
_parent.gotoAndStop("level6story");
}
}
on (release) {
if (pass.length <= 1) {
Selection.setFocus(secretbox);
}
}
Symbol 124 MovieClip Frame 1
stop();
Symbol 125 MovieClip Frame 1
Symbol 126 MovieClip Frame 35
stop();
_parent.play();
Symbol 128 MovieClip Frame 1
stop();
Symbol 128 MovieClip Frame 2
stopAllSounds();
Symbol 128 MovieClip Frame 3
if (!_parent.music) {
gotoAndStop (1);
}
Symbol 128 MovieClip Frame 4
gotoAndStop (1);
Symbol 128 MovieClip Frame 10
gotoAndStop (1);
Symbol 129 Button
on (release) {
gotoAndStop (207);
}
Symbol 130 Button
on (release) {
gotoAndStop (204);
}
Symbol 132 Button
on (release) {
gotoAndStop (280);
}
Symbol 134 Button
on (release) {
knuggs = 0;
airbrakes = 0;
boost = 0;
gotoAndStop (222);
}
Symbol 139 Button
on (release) {
getURL ("http://www.saydesign.com", "_blank");
}
Symbol 170 Button
on (release) {
gotoAndStop (201);
}
Symbol 177 MovieClip Frame 1
function kPress() {
knob.startDrag(1, 0, 0, w, 0);
}
function kRelease() {
stopDrag();
knob._x = steps() * (w / (ns - 1));
}
function steps() {
var t = 0;
var tw = w;
while (tw > knob._x) {
t++;
tw = tw - step;
}
if (t == 0) {
t = 1;
}
return(ns - t);
}
step = w / ns;
slider._width = w;
knob._x = def * (w / (ns - 1));
knob.onPress = kPress;
knob.onRelease = (knob.onReleaseOutside = kRelease);
onEnterFrame = function () {
val = valarray[steps()];
this[ref] = steps();
};
Symbol 180 Button
on (release) {
_parent.soundClip.play();
_parent.music = 1;
nextFrame();
}
Symbol 182 Button
on (release) {
prevFrame();
_parent.music = 0;
stopAllSounds();
}
Symbol 183 MovieClip Frame 1
stop();
Symbol 183 MovieClip Frame 2
stop();
Symbol 185 MovieClip Frame 1
stop();
Symbol 185 MovieClip Frame 2
stop();
Symbol 206 Button
on (release) {
nextFrame();
}
Symbol 236 Button
on (release) {
prevFrame();
}
Symbol 293 MovieClip Frame 1
stop();
Symbol 293 MovieClip Frame 35
stop();
Symbol 294 MovieClip [basePlatformFlowerCrumble] Frame 1
stop();
Symbol 294 MovieClip [basePlatformFlowerCrumble] Frame 10
_visible = 0;
Symbol 313 MovieClip Frame 1
stop();
Symbol 313 MovieClip Frame 8
stop();
Symbol 314 MovieClip [basePlatformPlateFire] Frame 1
stop();
Symbol 314 MovieClip [basePlatformPlateFire] Frame 10
_visible = 0;
Symbol 323 MovieClip [moveObject] Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 332 MovieClip [Object] Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 339 MovieClip Frame 1
a.gotoAndStop(1 + random(a._totalframes));
b.gotoAndStop(1 + random(b._totalframes));
this.gotoAndStop(1 + random(this._totalframes));
Symbol 345 MovieClip Frame 1
stop();
Symbol 347 Button
on (release) {
gotoAndStop (201);
_quality = olderqual;
}
Symbol 355 Button
on (release) {
_root.swHighScoreObject.showTab = "submit";
_visible = false;
docount = true;
_root.disabler._visible = true;
loadMovieNum (_root.HSHubURL, 2);
}
Symbol 357 MovieClip [basePlatform] Frame 1
stop();
Symbol 357 MovieClip [basePlatform] Frame 10
_visible = 0;
Symbol 366 MovieClip Frame 1
stop();
Symbol 366 MovieClip Frame 65
stop();
Symbol 367 MovieClip [basePlatformCrumble] Frame 1
stop();
Symbol 367 MovieClip [basePlatformCrumble] Frame 10
_visible = 0;
Symbol 369 MovieClip Frame 1
stop();
Symbol 369 MovieClip Frame 8
stop();
Symbol 370 MovieClip [basePlatformFire] Frame 1
stop();
Symbol 370 MovieClip [basePlatformFire] Frame 10
_visible = 0;
Symbol 371 MovieClip [wormhole] Frame 1
stop();
Symbol 371 MovieClip [wormhole] Frame 10
_visible = 0;
Symbol 376 MovieClip [killObject] Frame 1
gotoAndStop(1 + random(_totalframes));
Symbol 379 MovieClip [smokeBit] Frame 60
removeMovieClip("");
Symbol 392 MovieClip [Popup] Frame 38
this.removeMovieClip();
Symbol 402 MovieClip Frame 1
onMouseDown = function () {
_parent.nextFrame();
};
Symbol 410 MovieClip Frame 1
onMouseDown = function () {
_parent.nextFrame();
};
Symbol 414 MovieClip Frame 1
onMouseDown = function () {
_parent.nextFrame();
};
Symbol 421 MovieClip Frame 1
onMouseDown = function () {
_parent.play();
ass = -1;
onMouseDown = null;
};
Symbol 421 MovieClip Frame 15
if (ass == undefined) {
ass = 2;
}
Symbol 421 MovieClip Frame 50
gotoAndPlay (28);
ass--;
if (ass == 0) {
_parent.play();
onMouseDown = null;
}
Symbol 439 MovieClip Frame 1
stop();
Symbol 439 MovieClip Frame 6
gotoAndStop (1);
Symbol 439 MovieClip Frame 11
gotoAndStop (1);
Symbol 439 MovieClip Frame 16
gotoAndStop (1);
Symbol 439 MovieClip Frame 21
gotoAndStop (1);
Symbol 439 MovieClip Frame 26
gotoAndStop (1);
Symbol 439 MovieClip Frame 31
gotoAndStop (1);
Symbol 439 MovieClip Frame 36
gotoAndStop (1);
Symbol 439 MovieClip Frame 41
gotoAndStop (1);
Symbol 439 MovieClip Frame 46
gotoAndStop (1);
Symbol 439 MovieClip Frame 51
gotoAndStop (1);
Symbol 439 MovieClip Frame 56
gotoAndStop (1);
Symbol 439 MovieClip Frame 61
gotoAndStop (1);
Symbol 439 MovieClip Frame 66
gotoAndStop (1);
Symbol 439 MovieClip Frame 71
gotoAndStop (1);
Symbol 439 MovieClip Frame 76
gotoAndStop (1);
Symbol 439 MovieClip Frame 81
gotoAndStop (1);
Symbol 444 MovieClip Frame 7
_parent.go = 1;
_parent.play();
Symbol 447 MovieClip Frame 3
stop();
Symbol 453 MovieClip Frame 8
_parent.play();
stop();
Symbol 456 MovieClip Frame 3
stop();
Symbol 460 MovieClip Frame 6
stop();
Symbol 474 MovieClip Frame 32
stop();
_parent.res = 1;
Symbol 475 MovieClip Frame 23
stop();
Symbol 476 MovieClip Frame 33
_parent.go = 1;
_parent.gotoAndStop("standing");
stop();
Symbol 477 MovieClip Frame 1
stop();
Symbol 477 MovieClip Frame 3
stop();
Symbol 477 MovieClip Frame 5
stop();
Symbol 477 MovieClip Frame 6
stop();
Symbol 477 MovieClip Frame 7
stop();
Symbol 477 MovieClip Frame 8
stop();
Symbol 477 MovieClip Frame 10
stop();
Symbol 477 MovieClip Frame 14
stop();
Symbol 478 MovieClip Frame 1
stop();
Symbol 483 MovieClip Frame 23
stop();
_y = 5000;
Symbol 484 MovieClip Frame 1
function addPopUp(x, y, text, col, ydif, alpha) {
temp = this.attachMovie("Popup", "PopUp" + pu, pu);
temp._x = x;
temp._y = y;
temp.gfx.text = text;
temp._alpha = alpha;
if (col != 32) {
temp.gfx.gotoAndStop(col);
}
if ((temp._x - (temp._width / 2)) < ((-superg.destx) + 20)) {
temp._x = ((-superg.destx) + 20) + (temp._width / 2);
}
if ((temp._x + (temp._width / 2)) > (((-superg.destx) + sw) + 20)) {
temp._x = (((-superg.destx) + sw) + 20) - (temp._width / 2);
}
if ((temp._y - 50) < (-superg.desty)) {
}
pu++;
}
function fireFrame() {
this.ticks++;
if (this.work == 0) {
if (this.ticks > this.timeoff) {
this.ticks = 0;
this.work = 1;
this.gfx.play();
}
} else if (this.ticks > this.timeon) {
this.ticks = 0;
this.work = 0;
this.gfx.play();
}
}
function fireLand(override) {
if (override == undefined) {
override = 0;
}
if (override) {
if (!fire) {
return(0);
}
}
if (this.work || (override)) {
superg.gotoAndStop("burning");
superg.yspeed = -10;
superg.soundClip.gotoAndStop("fire");
superg.xspeed = -3 + random(6);
superg.die = 1;
superg.dead = 1;
superg.go = 1;
superg.aim = 0;
superg.flying = 1;
return(1);
}
this.gfx.gotoAndStop(1);
this.onEnterFrame = null;
}
function fireReset() {
this.ticks = 0;
this.work = 0;
this.gfx.gotoAndStop(1);
this.gotoAndStop(1);
this.onEnterFrame = this.frame;
}
function crumbleReset() {
this.gfx.gotoAndStop(1);
this.gotoAndStop(1);
this.timer = 0;
this.crumble = 0;
this.kill = 1;
this.onEnterFrame = null;
}
function crumbleStanding() {
this.timer++;
if (this.timer > this.time) {
if (this.gfx._currentframe == 1) {
this.gfx.play();
}
if (this.timer > (this.time + this.crumbletime)) {
if (this.kill) {
if (!this.crumble) {
this.crumble = 1;
superg.gotoAndStop("diefalling");
superg.yspeed = 0;
superg.xspeed = 0;
superg.oldy = 50000;
superg.die = 1;
superg.dead = 1;
superg.go = 1;
superg.aim = 0;
superg.flying = 1;
superg.firstdie = 1;
aimer._visible = 0;
}
}
}
}
}
function crumbleLaunch() {
this.gfx.play();
this.crumble = 1;
this.kill = 0;
}
function movingFrame() {
this.ticks++;
if (this.ticks > this.movetime) {
this.ticks = 0;
this.dir = !this.dir;
}
if (this.dir) {
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
} else {
this._x = this._x - this.xspeed;
this._y = this._y - this.yspeed;
}
}
function movingLand(override) {
this.onEnterFrame = null;
}
function movingReset() {
this.onEnterFrame = this.frame;
}
function setUpPickups(clip) {
clip.world = this;
clip.p = 0;
clip.pArray = new Array();
clip.pickUp = doPickups;
clip.unPickUp = removePickups;
}
function stationaryPickup() {
if (this.hitTest(superg)) {
this.parent.pArray[this.pos][2] = 1;
_parent.knuggs = _parent.knuggs + snumber;
addPopUp(this._x, this._y, "flower: +" + snumber, 2);
superg.soundClip.gotoAndPlay("powerup");
this.removeMovieClip("");
}
}
function movingPickup() {
this.ticks++;
this._x = this._x + this.xspeed;
this._y = this._y + this.yspeed;
if (this.xspeed < 0) {
this.fire._xscale = -100;
}
if (this.ticks > this.time) {
this._x = this.startx;
this._y = this.starty;
this.ticks = 0;
}
if (this.hit.hitTest(superg)) {
this.parent.pArray[this.pos][2] = 1;
_parent.boost = Math.min(_parent.boost + 25, 100);
addPopUp(this._x, this._y, "extra fuel!", 2);
superg.soundClip.gotoAndPlay("booster");
this.removeMovieClip("");
}
}
function addPickup(clip, x, y, type, pass) {
clip.pArray[clip.p] = new Array();
clip.pArray[clip.p][0] = x;
clip.pArray[clip.p][1] = y;
clip.pArray[clip.p][2] = 0;
clip.pArray[clip.p][3] = type;
if (pass != undefined) {
clip.pArray[clip.p][4] = pass;
}
clip.p++;
}
function doPickups() {
var i = 0;
while (i < this.p) {
if (!this.pArray[i][2]) {
if (this.pArray[i][4] != undefined) {
if (this.pArray[i][3] == 2) {
var temp = this.world.attachMovie("moveObject", (this._name + "_pickup_") + i, piu++, this.pArray[i][4]);
} else if (this.pArray[i][3] == 3) {
var temp = this.world.attachMovie("killObject", (this._name + "_pickup_") + i, piu++, this.pArray[i][4]);
} else if (this.pArray[i][3] == 4) {
var temp = this.world.attachMovie("electricObject", (this._name + "_pickup_") + i, piu++, this.pArray[i][4]);
} else {
var temp = this.world.attachMovie("object", (this._name + "_pickup_") + i, piu++, this.pArray[i][4]);
}
} else if (this.pArray[i][3] == 3) {
var temp = this.world.attachMovie("killObject", (this._name + "_pickup_") + i, piu++);
} else {
var temp = this.world.attachMovie("object", (this._name + "_pickup_") + i, piu++);
}
temp._x = this.pArray[i][0];
temp._y = this.pArray[i][1];
if (this.pArray[i][3] == 2) {
temp.onEnterFrame = movingPickup;
} else if (this.pArray[i][3] == 3) {
temp.onEnterFrame = killingPickup;
} else if (this.pArray[i][3] == 4) {
temp.onEnterFrame = electricPickup;
electricPickupSetup(temp);
} else {
temp.onEnterFrame = stationaryPickup;
}
temp.pos = i;
temp.parent = this;
}
i++;
}
}
function removePickups() {
var i = 0;
while (i < this.p) {
this.world[(this._name + "_pickup_") + i].removeMovieClip("");
i++;
}
}
w = 90;
h = 25;
sw = 510;
sh = 400;
startx = 0;
starty = 400;
p = 6000;
piu = 4000;
pu = 100000 /* 0x0186A0 */;
mt = 0;
snumber = 10;
baseLives = 5;
reset();
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = startx + (w / 2);
temp._y = starty;
superg._x = temp._x;
superg._y = temp._y - h;
setUpPickups(temp);
addPickup(temp, startx + 130, starty - 103, 1);
addPickup(temp, startx + 157, starty - 91, 1);
addPickup(temp, startx + 101, starty - 92, 1);
temp.pickUp();
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 175) + (w / 2);
temp._y = starty;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 297, starty - 53, 1);
addPickup(temp, startx + 284, starty - 75, 1);
addPickup(temp, startx + 268, starty - 99, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt, pass);
temp._visible = 0;
temp._x = (startx + 250) + (w / 2);
temp._y = starty;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 386, starty - 246, 1);
addPickup(temp, startx + 372, starty - 282, 1);
addPickup(temp, startx + 356, starty - 319, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 375) + (w / 2);
temp._y = starty;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
pass = {xspeed:5, yspeed:0, startx:startx - 75, starty:starty - 300, time:150};
addPickup(temp, startx - 75, starty - 300, 2, pass);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 222) + (w / 2);
temp._y = starty - 79;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 248, starty - 54, 1);
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 200) + (w / 2);
temp._y = starty;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 415, starty - 145, 1);
addPickup(temp, startx + 415, starty - 175, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 375) + (w / 2);
temp._y = starty - 79;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 51, starty - 256, 1);
addPickup(temp, startx + 58, starty - 285, 1);
addPickup(temp, startx + 65, starty - 315, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 302) + (w / 2);
temp._y = starty - 209;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 116) + (w / 2);
temp._y = starty - 194;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, temp._x + 248, temp._y - 49, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 195) + (w / 2);
temp._y = starty;
temp._visible = 0;
temp.parent = 1;
temp.inter = 1;
setUpPickups(temp);
addPickup(temp, temp._x + 1, temp._y - 216, 1);
addPickup(temp, temp._x + 1, temp._y - 236, 1);
addPickup(temp, temp._x + 1, temp._y - 256, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 198) + (w / 2);
temp._y = starty - 175;
temp._visible = 0;
temp.inter = 1;
setUpPickups(temp);
addPickup(temp, startx + 422, starty - 53, 1);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 375) + (w / 2);
temp._y = starty;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 375) + (w / 2);
temp._y = starty;
temp._visible = 0;
temp.parent = 1;
temp.inter = 1;
setUpPickups(temp);
addPickup(temp, startx + 51, starty - 231, 1);
addPickup(temp, startx + 61, starty - 260, 1);
addPickup(temp, startx + 72, starty - 290, 1);
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = startx + (w / 2);
temp._y = starty - 172;
temp._visible = 0;
temp.inter = 1;
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 4) + (w / 2);
temp._y = starty;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 377) + (w / 2);
temp._y = starty - 9;
temp._visible = 0;
temp.parent = 1;
temp.inter = 1;
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 188) + (w / 2);
temp._y = starty - 186;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
pass = {xspeed:5, yspeed:0, startx:startx - 75, starty:starty - 150, time:150};
addPickup(temp, startx - 75, starty - 150, 2, pass);
mt++;
temp = this.attachMovie("basePlatform", "basePlatform" + mt, mt);
temp._x = (startx + 378) + (w / 2);
temp._y = starty - 278;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 321, starty - 57, 1);
addPickup(temp, startx + 315, starty - 90, 1);
addPickup(temp, startx + 306, starty - 123, 1);
addPickup(temp, startx + 255, starty - 323, 1);
addPickup(temp, startx + 249, starty - 347, 1);
mt++;
pass = {timeoff:50, timeon:25, work:0};
temp = this.attachMovie("basePlatformFire", "basePlatform" + mt, mt, pass);
temp.frame = fireFrame;
temp.land = fireLand;
temp.reset = fireReset;
temp._visible = 0;
temp._x = (startx + 275) + (w / 2);
temp._y = starty;
startx = temp._x;
starty = temp._y;
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 355) + (w / 2);
temp._y = starty - 99;
temp._visible = 0;
temp.parent = 1;
temp.inter = 1;
mt++;
pass = {timeoff:50, timeon:25, work:0};
temp = this.attachMovie("basePlatformFire", "basePlatform" + mt, mt, pass);
temp.frame = fireFrame;
temp.land = fireLand;
temp.reset = fireReset;
temp._visible = 0;
temp._x = (startx + 44) + (w / 2);
temp._y = starty - 260;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 375) + (w / 2);
temp._y = starty - 9;
temp._visible = 0;
temp.parent = 1;
temp.inter = 1;
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 193) + (w / 2);
temp._y = starty - 172;
temp._visible = 0;
temp.inter = 1;
mt++;
pass = {time:80, crumbletime:15, work:0};
temp = this.attachMovie("basePlatformCrumble", "basePlatform" + mt, mt, pass);
temp.standing = crumbleStanding;
temp.launch = crumbleLaunch;
temp.reset = crumbleReset;
temp.reset();
temp._x = (startx + 5) + (w / 2);
temp._y = starty - 5;
temp._visible = 0;
temp.inter = 1;
setUpPickups(temp);
addPickup(temp, startx + 252, starty - 207, 1);
addPickup(temp, startx + 248, starty - 240, 1);
addPickup(temp, startx + 242, starty - 279, 1);
mt++;
pass = {timeoff:50, timeon:25, work:0};
temp = this.attachMovie("basePlatformFire", "basePlatform" + mt, mt, pass);
temp.frame = fireFrame;
temp.land = fireLand;
temp.reset = fireReset;
temp._visible = 0;
temp._x = (startx + 192) + (w / 2);
temp._y = starty - 151;
temp._visible = 0;
startx = temp._x;
starty = temp._y;
setUpPickups(temp);
addPickup(temp, startx + 433, starty - 209, 1);
addPickup(temp, startx + 452, starty - 241, 1);
addPickup(temp, startx + 470, starty - 274, 1);
addPickup(temp, startx + 453, starty - 311, 1);
addPickup(temp, startx + 432, starty - 343, 1);
mt++;
temp = this.attachMovie("wormhole", "wormhole", mt);
temp._visible = 0;
temp._x = (startx + 375) + (w / 2);
temp._y = starty - 150;
temp.standing = function () {
_parent.gotoAndPlay("endgame");
};
superg.maxtargets = mt;
Instance of Symbol 477 MovieClip "superg" in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
function aimit() {
pos = _root._xmouse - _parent._x;
if (pos > _x) {
if ((_x + _parent.aimer.radar._width) > ((-destx) + 550)) {
_xscale = -100;
} else {
_xscale = 100;
}
} else if ((_x - _parent.aimer.radar._width) < (-destx)) {
_xscale = 100;
} else {
_xscale = -100;
}
if (_xscale > 0) {
arot = ((360 - ((Math.atan2(((_x + arm._x) - _root._xmouse) + _parent._x, ((_y + arm._y) - _root._ymouse) + _parent._y) * 180) / Math.PI)) - 90) - 90;
if (arot > 270) {
arot = 270;
}
if (arot < 180) {
arot = 180;
}
guy.head._rotation = (arot - 270) / 2;
_parent.aimer._xscale = 100;
_parent.aimer._x = _x;
_parent.aimer._y = _y - 40;
} else {
arot = (((Math.atan2(((_x + arm._x) - _root._xmouse) + _parent._x, ((_y + arm._y) - _root._ymouse) + _parent._y) * 180) / Math.PI) - 90) - 90;
if (arot > -90) {
arot = -90;
}
if (arot < -180) {
arot = -180;
}
guy.head._rotation = ((arot - 270) + 360) / 2;
_parent.aimer._xscale = -100;
_parent.aimer._x = _x;
_parent.aimer._y = _y - 40;
}
}
this.gotoAndStop("blank");
this.soundClip.gotoAndPlay("wormhole");
lives = _parent.baseLives;
_parent._parent.airbrakes = 3;
_parent._parent.boost = 100;
startx = _x;
starty = _y;
boostsound = new Sound(this);
boostsound.attachSound("RocketLoop");
aim = 1;
sw = 550;
sh = 400;
destx = _parent.topx;
desty = _parent.topy;
this.swapDepths(10000);
_parent.smoke.swapDepths(10001);
i = 0;
targetnum = 1;
base = _parent.basePlatform0;
target = _parent["basePlatform" + targetnum];
first = 1;
clev = 1;
jumpno = 0;
jumpnum = 0;
combo = 0;
perfect = 1;
}
onClipEvent (enterFrame) {
_parent._parent.lives = lives;
_parent._parent.knuggsc = _parent._parent.knuggs;
_parent._parent.airbrakesc = _parent._parent.airbrakes;
_parent._parent.boostsc = _parent._parent.boost;
_parent._parent.level = clev;
if (lives <= 0) {
_parent._parent.gotoAndStop("gameover");
}
if (!first) {
if (aim) {
boostsound.stop();
aimit();
if ((_parent.aimer.dist < 125) && (_parent.aimer.ok)) {
Mouse.hide();
} else {
Mouse.show();
}
} else if (go) {
if (flying) {
die = 1;
oldy = _y;
oldx = _x;
boosting = 0;
if (Key.isDown(1)) {
if ((((_parent._parent.boost > 0) && (dead == 0)) && (bok)) && (airbrake == 0)) {
if (mdown == 0) {
boostsound.start(0, 9999);
mdown = 1;
}
yspeed = yspeed - 2;
_parent._parent.boost = _parent._parent.boost - 2;
this.gotoAndStop("flying");
booster = 1;
boosting = 1;
if (_parent._parent.boost == 14) {
this.soundclip.gotoAndPlay("lowfuel");
}
}
} else {
bok = 1;
mdown = 0;
}
if ((boosting == 0) || (dead)) {
boostsound.stop();
}
if ((((Key.isDown(32) && (_parent._parent.airbrakes > 0)) && (airbrake == 0)) && (_y < ((-desty) + sh))) && (dead == 0)) {
airbrake = 1;
xspeed = 0;
yspeed = 0;
_parent._parent.airbrakes--;
_parent.smoke.gotoAndPlay(1);
_parent.smoke._x = _x;
_parent.smoke._y = _y + 15;
soundClip.gotoAndPlay("airbrake");
}
_x = (_x + xspeed);
_y = (_y + yspeed);
if (_x > ((sw - 20) + (-destx))) {
_x = ((sw - 20) + (-destx));
xspeed = xspeed * -1;
_xscale = (_xscale * -1);
if (_currentframe == 3) {
gotoAndStop (4);
_rotation = 0;
}
ricochet++;
soundClip.gotoAndPlay("ricochet");
}
if (_x < (20 + (-destx))) {
_x = (20 + (-destx));
xspeed = xspeed * -1;
_xscale = (_xscale * -1);
if (_currentframe == 3) {
gotoAndStop (4);
_rotation = 0;
}
ricochet++;
soundClip.gotoAndPlay("ricochet");
}
if (_y < ((-desty) + 60)) {
_parent._parent.arrow._x = _parent._x + _x;
_parent._parent.arrow._y = 0;
} else {
_parent._parent.arrow._y = 5000;
}
if (yspeed >= 0) {
if (_currentframe == 3) {
gotoAndStop (4);
_rotation = 0;
}
}
if (((!dead) && (_y >= ((target._y + target.anchor._y) - Math.abs(target.yspeed)))) && (oldy <= ((target._y + target.anchor._y) + Math.abs(target.yspeed)))) {
if ((_x > (target._x + target.anchor._x)) && (_x < (target._x + target.anchor2._x))) {
if (!target.land()) {
soundClip.gotoAndPlay("land");
flying = 0;
die = 0;
_y = (target._y + target.anchor._y);
gotoAndStop (6);
_parent.smoke.gotoAndPlay(1);
_parent.smoke._x = _x;
_parent.smoke._y = _y;
im = 0;
if (targetnum < maxtargets) {
if (target.inter) {
im = 1;
if (target.parent) {
firstinter = base;
secondinter = target;
targetnuminter = targetnum;
}
} else {
lives = _parent.baseLives;
with (_parent.aimer) {
oldercrossx = 0;
oldercrossy = 5000;
oldcrossx = 0;
oldcrossy = 5000;
oldercrossxi = 0;
oldercrossyi = 5000;
oldcrossxi = 0;
oldcrossyi = 5000;
oldcross._x = 0;
oldcross._y = 5000;
oldercross._x = 0;
oldercross._y = 5000;
oldcross.gotoAndStop(1);
oldercross.gotoAndStop(1);
}
clev++;
}
targetnum++;
base.gotoAndPlay("dissapear");
base.unPickUp();
if (xs == 1) {
if (airbrake == 0) {
if (booster == 1) {
base.oldcrossf = 4;
} else {
base.oldcrossf = 2;
}
} else if (booster == 1) {
base.oldcrossf = 4;
} else {
base.oldcrossf = 3;
}
} else if (airbrake == 0) {
base.oldcrossfi = 2;
} else {
base.oldcrossf = 3;
}
base = target;
if (targetnum != maxtargets) {
target = _parent["basePlatform" + targetnum];
} else {
target = _parent.wormhole;
tika = 0;
}
if (base.inter || (target.inter)) {
if (base.aimdata) {
_parent.aimer.oldercrossx = base.oldercrossx;
_parent.aimer.oldercrossy = base.oldercrossy;
_parent.aimer.oldcrossx = base.oldcrossx;
_parent.aimer.oldcrossy = base.oldcrossy;
_parent.aimer.oldercrossxi = base.oldercrossxi;
_parent.aimer.oldercrossyi = base.oldercrossyi;
_parent.aimer.oldcrossxi = base.oldcrossxi;
_parent.aimer.oldcrossyi = base.oldcrossyi;
_parent.aimer.oldcrossf = base.oldcrossf;
_parent.aimer.oldercrossf = base.oldercrossf;
_parent.aimer.oldcrossfi = base.oldcrossfi;
_parent.aimer.oldercrossfi = base.oldercrossfi;
} else {
with (_parent.aimer) {
oldercrossx = 0;
oldercrossy = 5000;
oldcrossx = 0;
oldcrossy = 5000;
oldercrossxi = 0;
oldercrossyi = 5000;
oldcrossxi = 0;
oldcrossyi = 5000;
oldcross._x = 0;
oldcross._y = 5000;
oldercross._x = 0;
oldercross._y = 5000;
}
base.aimdata = 1;
base.oldercrossx = 0;
base.oldercrossy = 5000;
base.oldcrossx = 0;
base.oldcrossy = 5000;
base.oldercrossxi = 0;
base.oldercrossyi = 5000;
base.oldcrossxi = 0;
base.oldcrossyi = 5000;
base.oldcrossf = 1;
base.oldercrossf = 1;
base.oldcrossfi = 1;
base.oldercrossfi = 1;
}
base.landx = _x;
}
target.reset(1);
target._visible = 1;
} else {
base.unPickUp();
base.gotoAndPlay("dissapear");
base = _parent.wormhole;
lives = _parent.baseLives;
aim = 0;
first = 1;
begin = 0;
go = 0;
end = 1;
_parent.anchor.onEnterFrame = _parent.anchor.remove;
}
}
if (dead == 0) {
jumpnum++;
if (jumpnum > 2) {
_parent._parent.airbrakes++;
jumpnum = 0;
}
_parent._parent.boost = _parent._parent.boost + 2;
if (_parent._parent.boost > 100) {
_parent._parent.boost = 100;
}
totnum = 0;
if (im == 0) {
totnum = totnum + 20;
}
if (jumpno == 1) {
combo++;
if (combo > 1) {
totnum = totnum + 20;
}
totnum = totnum + 20;
}
if ((_x > (base._x - 10)) && (_x < (base._x + 10))) {
totnum = totnum + 20;
}
if (dist >= 100) {
totnum = totnum + 20;
}
r = 0;
while (r < ricochet) {
totnum = totnum + 20;
r++;
}
if (airbrake) {
totnum = totnum + 20;
}
bnum = 0;
if (((_y - 100) - totnum) < (-desty)) {
totnum = 0;
if ((_y - 100) < (-desty)) {
totnum = -50;
}
}
snumber = _parent.snumber;
if (im == 0) {
if (base._name != "wormhole") {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Level Clear: +" + (snumber * 2), 1, 0 + bnum);
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 2);
} else {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "World Clear!: +" + (snumber * 20), 32, 0 + bnum);
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 20);
if (perfect == 1) {
perfect = 2;
}
}
bnum = bnum + 20;
}
if (jumpno == 1) {
if (perfect == 2) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Impossible Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 50), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 50);
} else if (combo < 2) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 2), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 2);
} else if (combo == 2) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Combo!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 3), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 3);
} else if (combo == 3) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Double Combo!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 4), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 4);
} else if (combo == 4) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Triple Combo!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 5), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 5);
} else if (combo == 5) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Super Combo!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 6), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 6);
} else if (combo == 6) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Mega Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 7), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 7);
} else if (combo == 7) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Ultra Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 8), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 8);
} else if (combo == 8) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Hyper Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 9), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 9);
} else if (combo == 9) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Giga Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 10), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 10);
} else if (combo == 10) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Tera Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 11), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 11);
} else if (combo == 11) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Peta Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 12), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 12);
} else if (combo == 12) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Exa Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 13), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 13);
} else if (combo == 13) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Zetta Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 14), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 14);
} else if (combo == 14) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Yotta Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 15), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 15);
} else if (combo == 15) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Astral Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 16), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 16);
} else if (combo == 16) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "DayDream Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 17), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 17);
} else if (combo == 17) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "io::pred Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 18), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 18);
} else if (combo == 18) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Rocket Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 19), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 19);
} else if (combo >= 19) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Unbelievable Combo!!", 32, 0 + bnum);
bnum = bnum + 20;
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Perfect: +" + (snumber * 20), 1, 0 + bnum);
bnum = bnum + 20;
_parent._parent.knuggs = _parent._parent.knuggs + (snumber * 20);
}
}
jumpno = 0;
if ((_x > (base._x - 10)) && (_x < (base._x + 10))) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Accuracy: +" + snumber, 1, 0 + bnum);
_parent._parent.knuggs = _parent._parent.knuggs + snumber;
bnum = bnum + 20;
}
if (dist >= 100) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Full Speed: +" + snumber, 1, 0 + bnum);
_parent._parent.knuggs = _parent._parent.knuggs + snumber;
bnum = bnum + 20;
}
r = 0;
while (r < ricochet) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Ricochet: +" + snumber, 1, 0 + bnum);
_parent._parent.knuggs = _parent._parent.knuggs + snumber;
bnum = bnum + 20;
r++;
}
if (airbrake) {
_parent.addPopup(_x, (_y - 50) - (totnum - bnum), "Airbrake: +" + snumber, 1, 0 + bnum);
_parent._parent.knuggs = _parent._parent.knuggs + snumber;
bnum = bnum + 20;
}
this.soundclip.gotoAndPlay("bigpowerup");
}
}
} else if (((!dead) && (_y >= (target._y - target._height))) && (_y <= target._y)) {
if ((_x > (target._x + target.anchor._x)) && (_x < (target._x + target.anchor2._x))) {
target.land(1);
}
}
if (_y > ((sh - _parent._y) + (_height * 2))) {
flying = 0;
die = 1;
dead = 1;
soundClip.gotoAndPlay("fall");
}
yspeed++;
ticks++;
if (_parent._parent.smoke && ((yspeed < 0) || (boosting))) {
temp = _parent.anchor.attachMovie("smokeBit", "dot" + (i + 10000), i + 10000);
temp._x = _x;
temp._y = _y - 30;
temp._xscale = (temp._yscale = 25 + Math.abs(75 * (yspeed / 32)));
temp._rotation = random(360);
i++;
}
if ((ticks >= (_parent._parent.maxtraild - _parent._parent.traild)) && (_parent._parent.traild != 0)) {
temp = _parent.anchor.attachMovie("dot", "dot" + i, i);
_parent.anchor.n++;
temp._x = _x;
temp._y = _y - 30;
y = y + 10;
y2 = y2 + 5;
if (y > 255) {
y = 255;
}
if (y2 > 255) {
y2 = 255;
}
rgb = ((f << 16) | (y2 << 8)) | y;
_parent.anchor.lineStyle(2, rgb, 100);
_parent.anchor.lineTo(_x, _y - 30);
i++;
ticks = 0;
}
} else {
boostsound.stop();
tik++;
if (((Key.isDown(32) || (dead)) || (tik > 25)) || (im && (tik > 15))) {
if (die || (dead)) {
perfect = 0;
if (firstdie) {
if (im) {
base.unPickUp();
target.unPickUp();
base.gotoAndPlay("dissapear");
target.gotoAndPlay("dissapear");
base = firstinter;
base.gotoAndStop(1);
base._visible = 1;
base.pickUp();
startx = base._x;
starty = base._y + base.anchor._y;
target = secondinter;
target.gotoAndStop(1);
target._visible = 1;
target.reset(1);
base.reset();
base.land();
targetnum = targetnuminter;
if (base.aimdata) {
_parent.aimer.oldercrossx = base.oldercrossx;
_parent.aimer.oldercrossy = base.oldercrossy;
_parent.aimer.oldcrossx = base.oldcrossx;
_parent.aimer.oldcrossy = base.oldcrossy;
_parent.aimer.oldercrossxi = base.oldercrossxi;
_parent.aimer.oldercrossyi = base.oldercrossyi;
_parent.aimer.oldcrossxi = base.oldcrossxi;
_parent.aimer.oldcrossyi = base.oldcrossyi;
_parent.aimer.oldcrossf = base.oldcrossf;
_parent.aimer.oldercrossf = base.oldercrossf;
_parent.aimer.oldcrossfi = base.oldcrossfi;
_parent.aimer.oldercrossfi = base.oldercrossfi;
} else {
with (_parent.aimer) {
oldercrossx = 0;
oldercrossy = 5000;
oldcrossx = 0;
oldcrossy = 5000;
oldercrossxi = 0;
oldercrossyi = 5000;
oldcrossxi = 0;
oldcrossyi = 5000;
oldcross._x = 0;
oldcross._y = 5000;
oldercross._x = 0;
oldercross._y = 5000;
}
base.aimdata = 1;
base.oldercrossx = 0;
base.oldercrossy = 5000;
base.oldcrossx = 0;
base.oldcrossy = 5000;
base.oldercrossxi = 0;
base.oldercrossyi = 5000;
base.oldcrossxi = 0;
base.oldcrossyi = 5000;
base.oldcrossf = 1;
base.oldercrossf = 1;
base.oldcrossfi = 1;
base.oldercrossfi = 1;
}
startx = base.landx;
}
lives--;
_x = startx;
_y = starty;
back = 1;
scroll = 0;
res = 0;
_parent.anchor.onEnterFrame = _parent.anchor.remove;
this.gotoAndStop("reserect");
soundClip.gotoAndPlay("reser");
firstdie = 0;
combo = 0;
}
} else if (firstdie) {
if (!im) {
soundClip.gotoAndPlay("nextlev");
}
back = 0;
scroll = 1;
_parent.anchor.onEnterFrame = _parent.anchor.remove;
firstdie = 0;
}
}
if (back) {
base._visible = 1;
base.reset();
base.gotoAndStop(1);
if (res) {
aim = 1;
aimit();
_parent.aimer._visible = 1;
base.onEnterFrame = base.standing;
soundClip.gotoAndPlay("ready");
i = 0;
gotoAndStop (1);
back = 0;
res = 0;
}
}
if (scroll) {
if (!im) {
destx = ((-base._x) + (base._width / 2)) + _parent.topx;
desty = (_parent.topy - base._y) + sh;
}
if ((((_parent._x > (destx + 1)) || (_parent._x < (destx - 1))) || (_parent._y > (desty + 1))) || (_parent._y < (desty - 1))) {
_parent._x = _parent._x + ((destx - _parent._x) / 6);
_parent._y = _parent._y + ((desty - _parent._y) / 6);
} else {
_parent._x = destx;
_parent._y = desty;
startx = _x;
starty = _y;
with (_parent.aimer) {
_visible = 1;
}
aim = 1;
aimit();
base.onEnterFrame = base.standing;
base.pickUp();
i = 0;
gotoAndStop (1);
soundClip.gotoAndPlay("ready");
scroll = 0;
}
}
}
}
} else {
if (begin) {
this.gotoAndStop("warpin");
}
if (go) {
this.gotoAndStop("standing");
_parent.aimer._visible = 1;
first = 0;
soundClip.gotoAndPlay("ready");
}
if (end) {
tika++;
if (tika > 25) {
if (tika == 26) {
this.gotoAndStop("warpout");
this.soundClip.gotoAndPlay("wormholeout");
}
if (tika == 50) {
base.gotoAndPlay("dissapear");
}
if (tika > 50) {
if (tika > 100) {
base.onEnterFrame = base.standing;
}
}
}
}
}
dc++;
}
onClipEvent (mouseDown) {
if (((aim && (!first)) && (_parent.aimer.dist < 125)) && (_parent.aimer.ok)) {
with (_parent.aimer) {
_visible = 0;
if (_xscale > 0) {
oldercrossx = oldcrossx;
oldercrossy = oldcrossy;
oldcrossx = cross._x;
oldcrossy = cross._y;
oldercrossf = oldcrossf;
oldcrossf = 1;
} else {
oldercrossxi = oldcrossxi;
oldercrossyi = oldcrossyi;
oldcrossxi = cross._x;
oldcrossyi = cross._y;
oldercrossfi = oldcrossfi;
oldcrossfi = 1;
}
}
if (base.inter || (target.inter)) {
if (base.aimdata == 1) {
if (_xscale > 0) {
base.oldercrossx = _parent.aimer.oldercrossx;
base.oldercrossy = _parent.aimer.oldercrossy;
base.oldcrossx = _parent.aimer.oldcrossx;
base.oldcrossy = _parent.aimer.oldcrossy;
base.oldercrossf = _parent.aimer.oldercrossf;
base.oldcrossf = 1;
} else {
base.oldercrossxi = _parent.aimer.oldercrossxi;
base.oldercrossyi = _parent.aimer.oldercrossyi;
base.oldcrossxi = _parent.aimer.oldcrossxi;
base.oldcrossyi = _parent.aimer.oldcrossyi;
base.oldercrossfi = _parent.aimer.oldercrossfi;
base.oldcrossfi = 1;
}
}
}
if (_xscale > 0) {
rot = Math.floor(_parent.aimer.rot);
dist = Math.floor(Math.min(_parent.aimer.dist, 100));
speed = 7 * (dist / 22);
xs = 1;
} else {
rot = Math.floor(((Math.atan2(-_parent.aimer.cross._x, -_parent.aimer.cross._y) * 180) / Math.PI) - 180) + 1;
dist = Math.floor(Math.min(_parent.aimer.dist, 100));
speed = 7 * (-(dist / 22));
xs = -1;
}
xspeed = speed * Math.cos(((rot - 90) * Math.PI) / 180);
yspeed = speed * Math.sin(((rot - 90) * Math.PI) / 180);
aim = 0;
flying = 1;
go = 0;
bok = 0;
gotoAndStop (2);
_parent.attachMovie("draw", "anchor", 100);
_parent.anchor.moveTo(_x, _y - 30);
startx = _x;
starty = _y;
base.launch();
base.onEnterFrame = null;
dead = 0;
y = 0;
y2 = 200;
f = 255;
rgb = ((f << 16) | (y2 << 8)) | y;
tik = 0;
firstdie = 1;
res = 0;
scroll = 0;
back = 0;
airbrake = 0;
ricochet = 0;
booster = 0;
boosting = 0;
_parent.smoke.gotoAndPlay(1);
_parent.smoke._x = _x;
_parent.smoke._y = _y;
Mouse.show();
jumpno++;
soundClip.gotoAndPlay("launch");
}
if (!aim) {
}
}
Instance of Symbol 479 MovieClip "aimer" in Symbol 484 MovieClip Frame 1
onClipEvent (load) {
_visible = 0;
this.swapDepths(9999);
oldercrossx = 0;
oldercrossy = 5000;
oldcrossx = 0;
oldcrossy = 5000;
oldercrossxi = 0;
oldercrossyi = 5000;
oldcrossxi = 0;
oldcrossyi = 5000;
oldcrossf = 1;
oldercrossf = 1;
oldcrossfi = 1;
oldercrossf = 1;
}
onClipEvent (enterFrame) {
ok = 1;
if (_visible) {
if (_xscale > 0) {
oldercross._x = oldercrossx;
oldercross._y = oldercrossy;
oldcross._x = oldcrossx;
oldcross._y = oldcrossy;
oldcross.gotoAndStop(oldcrossf);
oldercross.gotoAndStop(oldercrossf);
cross._x = _root._xmouse - (_x + _parent._x);
cross._y = _root._ymouse - (_y + _parent._y);
if ((cross._y > 25) || (cross._x < -25)) {
ok = 0;
}
if (cross._y > 0) {
cross._y = 0;
}
if (cross._x < 0) {
cross._x = 0;
}
dist = Math.sqrt(((cross._x - 0) * (cross._x - 0)) + ((cross._y - 0) * (cross._y - 0)));
rot = ((360 - ((Math.atan2(-cross._x, -cross._y) * 180) / Math.PI)) - 90) + 90;
if (dist > 100) {
cross._x = 100 * Math.cos(((rot - 90) * Math.PI) / 180);
cross._y = 100 * Math.sin(((rot - 90) * Math.PI) / 180);
}
line._rotation = rot;
line.line._height = Math.sqrt(Math.pow(-_parent.aimer.cross._x, 2) + Math.pow(-_parent.aimer.cross._y, 2));
} else {
oldercross._x = oldercrossxi;
oldercross._y = oldercrossyi;
oldcross._x = oldcrossxi;
oldcross._y = oldcrossyi;
oldcross.gotoAndStop(oldcrossfi);
oldercross.gotoAndStop(oldercrossfi);
cross._x = (_x - _root._xmouse) + _parent._x;
cross._y = (_root._ymouse - _y) - _parent._y;
if ((cross._y > 25) || (cross._x < -25)) {
ok = 0;
}
if (cross._y > 0) {
cross._y = 0;
}
if (cross._x < 0) {
cross._x = 0;
}
dist = Math.sqrt(((cross._x - 0) * (cross._x - 0)) + ((cross._y - 0) * (cross._y - 0)));
rot = ((360 - ((Math.atan2(-cross._x, -cross._y) * 180) / Math.PI)) - 90) + 90;
if (dist > 100) {
cross._x = 100 * Math.cos(((rot - 90) * Math.PI) / 180);
cross._y = 100 * Math.sin(((rot - 90) * Math.PI) / 180);
}
line._rotation = rot;
line.line._height = Math.sqrt(Math.pow(-_parent.aimer.cross._x, 2) + Math.pow(-_parent.aimer.cross._y, 2));
}
pd = Math.floor(rot - 360);
pv = Math.floor(Math.min(dist, 100));
power._xscale = _xscale;
if (_xscale < 0) {
power._x = power.a._x;
pd = -pd;
} else {
power._x = 0;
}
power.deg = pd;
power.pow = pv;
}
}
Symbol 494 MovieClip Frame 1
stop();
Symbol 494 MovieClip Frame 2
stop();
Symbol 494 MovieClip Frame 3
stop();
Symbol 495 MovieClip Frame 1
onEnterFrame = function () {
if (_parent.boost == null) {
bar._xscale = 0;
} else {
bar._xscale = _parent.boost;
}
if (_parent.boost <= 14) {
if (_parent.boost > 0) {
lowfuel.gotoAndStop(2);
} else {
lowfuel.gotoAndStop(3);
}
} else {
lowfuel.gotoAndStop(1);
}
};
Symbol 521 Button
on (release) {
getURL ("http://www.miniclip.com/buy_rocketman.htm", "_blank");
}
Symbol 526 Button
on (release) {
gotoAndStop (201);
_quality = olderqual;
}
Symbol 531 MovieClip Frame 21
stop();