Combined Code
frame 1 {
ifFrameLoaded (95) {
gotoAndStop(3);
}
loaded = Math.round(getBytesLoaded() / 1024);
total = Math.round(getBytesTotal() / 1024);
percent = Math.round((loaded / total) * 100);
loadBar.gotoAndStop(percent);
}
movieClip 6 {
}
movieClip 17 {
}
frame 2 {
gotoAndPlay(1);
}
frame 3 {
_quality = 'high';
fscommand('showmenu', 'false');
stop();
}
movieClip 29 {
frame 10 {
stop();
}
}
button 31 {
on (release) {
_root.gotoAndPlay('instructions');
}
}
movieClip 32 {
frame 1 {
stop();
}
}
movieClip 42 {
frame 9 {
stop();
}
}
button 43 {
on (release) {
_root.demo = 0;
_root.nextFrame();
_root.play();
}
}
movieClip 44 {
frame 1 {
stop();
}
}
button 49 {
on (release) {
gotoAndStop(2);
}
}
button 52 {
on (release) {
gotoAndStop(1);
}
}
movieClip 53 {
frame 1 {
_root.gameDetail = 'high';
stop();
}
frame 2 {
_root.gameDetail = 'low';
stop();
}
}
button 56 {
on (release) {
_root.soundOn = 1;
gotoAndStop(2);
}
}
button 57 {
on (release) {
_root.SFXjet.gotoAndStop('off');
_root.SFXelectric.gotoAndStop('off');
_root.soundOn = 0;
gotoAndStop(1);
}
}
movieClip 58 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 59 {
}
instance menu of movieClip 59 {
onClipEvent (enterFrame) {
if (_root.veryFirstGame == 1) {
} else {
_root.soundOn = 1;
_root.veryFirstGame = 1;
}
0;
(_root.soundOn == 1) ? menuSound.gotoAndStop(2) : menuSound.gotoAndStop(1);
}
}
movieClip 63 {
}
movieClip 64 {
}
movieClip 65 {
frame 51 {
stop();
}
}
instance of movieClip 65 {
onClipEvent (enterFrame) {
if (timeChecked != 1) {
var theTimerObj = new Date();
timer = theTimerObj - startTime;
timer = String(timer);
if (timerSet != 1) {
timerSet = 1;
startTime = theTimerObj.getTime();
}
if (2500 < timer and timer < 5000 and timerSet == 1 and SpeedSet != 1) {
_root.speed = count;
SpeedSet = 1;
timeChecked = 1;
(_root.soundOn == 1) ? _root.SFXbeep.gotoAndPlay(2) : 0;
_root.playButtonMC.gotoAndStop(2);
_root.InstrButtonMC.gotoAndStop(2);
}
++count;
}
}
}
movieClip 67 {
}
frame 26 {
gotoAndPlay(56);
}
button 71 {
on (release) {
nextFrame();
play();
}
}
frame 54 {
stop();
}
frame 55 {
gotoAndPlay(56);
}
frame 56 {
cage._visible = false;
}
movieClip 74 {
}
movieClip 76 {
}
movieClip 79 {
}
movieClip 81 {
}
movieClip 82 {
frame 1 {
gotoAndPlay(time);
}
frame 24 {
(_root.soundOn == 1) ? _root.SFXclank.gotoAndPlay(2) : 0;
}
}
movieClip 85 {
}
movieClip 87 {
}
movieClip 88 {
}
movieClip 91 {
}
movieClip 92 {
frame 1 {
stop();
}
frame 2 {
(_root.soundOn == 1) ? _root.SFXdoorOpen.gotoAndPlay(2) : 0;
}
frame 7 {
_root.doorOpen = true;
}
frame 20 {
if (_root.levelDisplay == 25) {
_root.scenery.nextFrame();
_root.scenery.play();
}
stop();
}
}
movieClip 95 {
}
movieClip 98 {
}
movieClip 99 {
}
movieClip 100 {
}
movieClip 103 {
}
movieClip 104 {
}
movieClip 107 {
}
movieClip 108 {
}
movieClip 111 {
}
movieClip 112 {
}
movieClip 115 {
}
movieClip 116 {
}
movieClip 118 {
}
movieClip 119 {
}
movieClip 123 {
}
movieClip 125 {
}
movieClip 127 {
}
movieClip 130 {
}
movieClip 131 {
frame 97 {
(_root.soundOn == 1) ? _root.sfxElectric.gotoAndPlay(2) : 0;
}
frame 187 {
(_root.soundOn == 1) ? _root.sfxElectric.gotoAndStop('off') : 0;
}
}
movieClip 132 {
instance laser of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 11) {
play();
} else {
stop();
}
}
}
instance of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 7) {
play();
} else {
stop();
}
}
}
instance of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 10) {
play();
} else {
stop();
}
}
}
instance laser of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 13) {
play();
} else {
stop();
}
}
}
instance laser of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 13) {
play();
} else {
stop();
}
}
}
instance laser of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 13) {
play();
} else {
stop();
}
}
}
instance of movieClip 131 {
onClipEvent (enterFrame) {
if (_root.level == 4) {
play();
} else {
stop();
}
}
}
}
movieClip 134 {
}
movieClip 137 {
frame 1 {
stop();
}
frame 2 {
_root.fuelAnimating = true;
(_root.soundON == 1) ? _root.SFXblip.gotoAndPlay(2) : 0;
play();
}
frame 13 {
_root.fuelAnimating = false;
stop();
}
}
movieClip 139 {
frame 2 {
stop();
}
}
movieClip 141 {
}
movieClip 143 {
}
movieClip 144 {
frame 44 {
stop();
}
}
movieClip 145 {
frame 1 {
stop();
}
frame 12 {
gotoAndPlay(1);
}
frame 13 {
_root.score += int(_root.fuel) * 11;
_root.SFXkey.gotoAndPlay(2);
stop();
}
frame 16 {
stop();
}
frame 17 {
stop();
}
frame 18 {
stop();
}
}
movieClip 147 {
}
movieClip 148 {
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
}
movieClip 149 {
frame 1 {
point = new object();
point.x = enemy._x;
point.y = enemy._y;
localToGlobal(point);
_root.xEnemy = point.x;
_root.yEnemy = point.y;
}
}
movieClip 150 {
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 4) {
time = 15;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 2) {
time = 10;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 6) {
time = 5;
play();
} else {
stop();
}
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(10);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(5);
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 5) {
time = 7;
play();
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 5) {
time = 8;
play();
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 5) {
time = 9;
play();
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 5) {
time = 10;
play();
} else {
gotoAndStop(10);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 2) {
time = 5;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 10) {
time = 10;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 10) {
time = 5;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 10) {
time = 5;
play();
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(10);
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(10);
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 9) {
time = 5;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 12) {
time = 5;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 12) {
time = 10;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 12) {
time = 8;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level != 12) {
stop();
} else {
time = 10;
play();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 6) {
time = 2;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 3) {
time = 5;
play();
} else {
gotoAndStop(9);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 3) {
time = 2;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 3) {
time = 8;
play();
} else {
gotoAndStop(9);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 3) {
time = 2;
play();
} else {
gotoAndStop(9);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 3) {
time = 5;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 3) {
time = 8;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level != 5) {
gotoAndStop(10);
} else {
time = 11;
play();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 5) {
time = 6;
play();
} else {
gotoAndStop(5);
}
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(10);
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level != 6) {
gotoAndStop(5);
} else {
time = 7;
play();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level != 6) {
gotoAndStop(2);
} else {
time = 8;
play();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level != 6) {
gotoAndStop(5);
} else {
time = 9;
play();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level != 6) {
gotoAndStop(5);
} else {
time = 6;
play();
}
}
}
instance of movieClip 88 {
onClipEvent (load) {
gotoAndPlay(10);
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 12) {
time = 11;
play();
} else {
stop();
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 5) {
time = 3;
play();
} else {
gotoAndStop(2);
}
}
}
instance of movieClip 82 {
onClipEvent (enterFrame) {
if (_root.level == 10) {
time = 15;
play();
} else {
stop();
}
}
}
frame 2 {
point = new object();
point.x = this['startPos' + _root.level]._x;
point.y = this['startPos' + _root.level]._y;
localToGlobal(point);
_root.player._x = point.x;
_root.player._y = point.y;
_root.xStart = point.x;
_root.yStart = point.y;
pointE = new object();
pointE.x = this['startPos' + (_root.level + 1)]._x;
pointE.y = this['startPos' + (_root.level + 1)]._y;
localToGlobal(pointE);
_root.xEnd = pointE.x;
_root.yEnd = pointE.y;
door._x = this['door' + _root.level]._x;
door._y = this['door' + _root.level]._y;
door._rotation = this['door' + _root.level]._rotation;
key._x = this['key' + _root.level]._x;
key._y = this['key' + _root.level]._y;
kkey._x = this['kkey' + _root.level]._x;
kkey._y = this['kkey' + _root.level]._y;
kkkey._x = this['kkkey' + _root.level]._x;
kkkey._y = this['kkkey' + _root.level]._y;
fuelPod._x = this['fuelPod' + _root.level]._x;
fuelPod._y = this['fuelPod' + _root.level]._y;
this['key' + _root.level]._x = -999;
this['kkey' + _root.level]._x = -999;
this['kkkey' + _root.level]._x = -999;
this['fuelPod' + _root.level].gotoAndStop('off');
this['door' + _root.level].gotoAndStop('off');
this['door' + (_root.level - 1)].gotoAndStop(1);
stop();
}
frame 4 {
point = new object();
point.x = this['startPos' + _root.level]._x;
point.y = this['startPos' + _root.level]._y;
localToGlobal(point);
_root.player._x = point.x;
_root.player._y = point.y;
_root.xStart = point.x;
_root.yStart = point.y;
pointE = new object();
pointE.x = this['startPos' + (_root.level - 1)]._x;
pointE.y = this['startPos' + (_root.level - 1)]._y;
localToGlobal(pointE);
_root.xEnd = pointE.x;
_root.yEnd = pointE.y;
door._x = this['door' + (_root.level - 1)]._x;
door._y = this['door' + (_root.level - 1)]._y;
door._rotation = this['door' + (_root.level - 1)]._rotation;
key._x = this['key' + _root.level]._x;
key._y = this['key' + _root.level]._y;
kkey._x = this['kkey' + _root.level]._x;
kkey._y = this['kkey' + _root.level]._y;
kkkey._x = this['kkkey' + _root.level]._x;
kkkey._y = this['kkkey' + _root.level]._y;
if (_root.levelDisplay != 25) {
} else {
key._xscale = 120;
key._yscale = 120;
}
0;
fuelPod._x = this['fuelPod' + _root.level]._x;
fuelPod._y = this['fuelPod' + _root.level]._y;
this['key' + _root.level]._x = -999;
this['kkey' + _root.level]._x = -999;
this['kkkey' + _root.level]._x = -999;
this['fuelPod' + _root.level].gotoAndStop('off');
this['door' + (_root.level - 1)].gotoAndStop('off');
this['door' + _root.level].gotoAndStop(1);
stop();
}
}
movieClip 151 {
frame 1 {
rock.gotoAndPlay(1);
_root.player._visible = true;
stop();
}
frame 15 {
_root.player._visible = true;
}
frame 16 {
rock.gotoAndPlay(1);
stop();
}
frame 30 {
_root.player._visible = true;
}
frame 31 {
rock.gotoAndPlay(1);
stop();
}
frame 45 {
_root.player._visible = true;
}
frame 46 {
rock.gotoAndPlay(1);
stop();
}
frame 60 {
_root.player._visible = true;
}
frame 61 {
rock.gotoAndPlay(1);
stop();
}
frame 75 {
_root.player._visible = true;
}
frame 76 {
rock.gotoAndPlay(1);
stop();
}
frame 90 {
_root.player._visible = true;
}
frame 91 {
rock.gotoAndPlay(1);
stop();
}
frame 105 {
_root.player._visible = true;
}
frame 106 {
rock.gotoAndPlay(1);
stop();
}
frame 120 {
_root.player._visible = true;
}
frame 121 {
rock.gotoAndPlay(1);
stop();
}
frame 136 {
rock.gotoAndPlay(1);
_root.player._visible = true;
stop();
}
frame 151 {
rock.gotoAndPlay(1);
_root.player._visible = true;
stop();
}
frame 166 {
rock.gotoAndPlay(1);
_root.player._visible = true;
stop();
}
frame 180 {
rock.gotoAndPlay('out');
_root.direction = 'out';
_root.player._visible = true;
_root.beyonce._visible = true;
_root.cage._visible = true;
stop();
}
frame 181 {
_root.cage._visible = false;
}
frame 195 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 210 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 225 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 240 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 255 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 270 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 285 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 300 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 315 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 330 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 345 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 360 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.beyonce.gotoAndStop(1);
stop();
}
frame 409 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
_root.gameComplete.gotoAndStop(2);
stop();
}
}
movieClip 153 {
}
movieClip 159 {
}
movieClip 163 {
}
movieClip 167 {
}
movieClip 168 {
frame 1 {
stop();
}
frame 1 {
smokeSingle._xscale = random(50) + 50;
smokeSingle._yscale = random(50) + 50;
}
frame 2 {
smokeSingle._xscale = random(50) + 50;
smokeSingle._yscale = random(50) + 50;
}
frame 3 {
smokeSingle._xscale = random(50) + 50;
smokeSingle._yscale = random(50) + 50;
}
frame 4 {
smokeSingle._xscale = random(50) + 50;
smokeSingle._yscale = random(50) + 50;
}
frame 5 {
smokeSingle._xscale = random(50) + 50;
smokeSingle._yscale = random(50) + 50;
}
}
movieClip 169 {
frame 1 {
a = random(4) + 1;
smokeSingle.gotoAndStop(a);
}
frame 42 {
stop();
}
}
movieClip 170 {
frame 13 {
stop();
}
}
movieClip 175 {
frame 1 {
stop();
}
frame 2 {
stop();
}
frame 3 {
stop();
}
}
movieClip 178 {
frame 1 {
stop();
}
}
movieClip 181 {
frame 1 {
stop();
}
}
movieClip 185 {
frame 2 {
if (_root.soundOn != 0) {
} else {
gotoAndPlay(4);
}
0;
}
frame 3 {
gotoAndPlay(2);
}
frame 5 {
if (_root.soundOn != 1) {
} else {
gotoAndPlay(1);
}
0;
}
frame 6 {
gotoAndPlay(5);
}
}
movieClip 189 {
frame 1 {
stop();
}
}
movieClip 192 {
frame 1 {
stop();
}
}
movieClip 197 {
frame 1 {
stop();
}
}
movieClip 199 {
}
instance menu of movieClip 59 {
onClipEvent (enterFrame) {
if (_root.veryFirstGame == 1) {
} else {
_root.soundOn = 1;
_root.veryFirstGame = 1;
}
0;
(_root.soundOn == 1) ? menuSound.gotoAndStop(2) : menuSound.gotoAndStop(1);
}
}
frame 57 {
if (40 >= _root.speed) {
_root.gameDetail = 'low';
} else {
_root.gameDetail = 'high';
}
'low';
if (_root.speed >= 30) {
} else {
_quality = 'medium';
}
0;
if (_root.speed >= 20) {
} else {
_quality = 'low';
}
0;
}
frame 61 {
function reset() {
status = 'play';
player.gotoAndStop('playerMiddle');
bossManCount = 0;
hitReady = 0;
hitDelay = 5;
doorOpen = false;
KeyGot = false;
scenery.rock.door.gotoAndStop(1);
nextLevel.gotoAndStop(1);
_root.MouseDown = false;
player._x = xStart;
player._y = yStart;
player._xscale = xScStart;
player._yscale = yScStart;
player._alpha = alpStart;
cage._visible = false;
gravInert = 0;
fallAmm = 0;
HorizAmm = 0;
Hinert = 0;
thrustPower = 0.8;
gravity = 0.4;
bounceCount = 0;
outOfFuel = false;
bounceY = 99;
ready.gotoAndPlay(2);
}
function doFuel() {
fuelfNum = int(fuel);
fuelDisp.gotoAndStop(fuelfNum);
if (fuel < 0) {
outOfFuel = true;
}
}
scenery.rock.gotoAndPlay(1);
direction = 'in';
playerFacing = 'left';
shitCount - 9;
smLev = 0;
fuel = 100;
MovH = 400;
MovW = 400;
score = 0;
level = 1;
levelDisplay = level;
speedLimit = 6;
fuelDisp.gotoAndStop(100);
beyonce.gotoAndStop('off');
circle.startDrag(true);
xStart = player._x;
yStart = player._y;
xScStart = player._xscale;
yScStart = player._yscale;
alpStart = player._alpha;
gotBeyonce = false;
_root.gameover = false;
bossManActive = false;
scenery.rock.key.gotoAndStop(1);
scenery.rock.kkey.gotoAndStop(1);
scenery.rock.kkkey.gotoAndStop(1);
KeyGot = false;
reset();
(_root.demo == 1) ? practiceMC.gotoAndStop(2) : practiceMC.gotoAndStop(1);
}
movieClip 205 {
}
movieClip 207 {
}
movieClip 209 {
}
movieClip 210 {
}
movieClip 214 {
}
movieClip 216 {
}
movieClip 217 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 219 {
}
movieClip 221 {
}
movieClip 223 {
}
movieClip 226 {
}
movieClip 228 {
}
movieClip 231 {
}
movieClip 233 {
}
movieClip 234 {
}
movieClip 235 {
frame 1 {
stop();
}
frame 20 {
stop();
}
}
movieClip 237 {
}
movieClip 239 {
}
movieClip 241 {
}
movieClip 242 {
frame 1 {
point = new object();
point.x = hitP1._x;
point.y = hitP1._y;
localToGlobal(point);
_root.hitP1x = point.x;
_root.hitP1y = point.y;
}
}
movieClip 243 {
frame 1 {
if (_root.checkPlayerPoints == true) {
_root.checkPlayerPoints = false;
pointM1 = new object();
pointM1.x = MatCheck1._x;
pointM1.y = MatCheck1._y;
localToGlobal(pointM1);
_root.MatCheck1x = pointM1.x;
_root.MatCheck1y = pointM1.y;
pointM2 = new object();
pointM2.x = MatCheck2._x;
pointM2.y = MatCheck2._y;
localToGlobal(pointM2);
_root.MatCheck2x = pointM2.x;
_root.MatCheck2y = pointM2.y;
pointM3 = new object();
pointM3.x = MatCheck3._x;
pointM3.y = MatCheck3._y;
localToGlobal(pointM3);
_root.MatCheck3x = pointM3.x;
_root.MatCheck3y = pointM3.y;
pointM4 = new object();
pointM4.x = MatCheck4._x;
pointM4.y = MatCheck4._y;
localToGlobal(pointM4);
_root.MatCheck4x = pointM4.x;
_root.MatCheck4y = pointM4.y;
pointM5 = new object();
pointM5.x = MatCheck5._x;
pointM5.y = MatCheck5._y;
localToGlobal(pointM5);
_root.MatCheck5x = pointM5.x;
_root.MatCheck5y = pointM5.y;
pointM6 = new object();
pointM6.x = MatCheck6._x;
pointM6.y = MatCheck6._y;
localToGlobal(pointM6);
_root.MatCheck6x = pointM6.x;
_root.MatCheck6y = pointM6.y;
pointM7 = new object();
pointM7.x = MatCheck7._x;
pointM7.y = MatCheck7._y;
localToGlobal(pointM7);
_root.MatCheck7x = pointM7.x;
_root.MatCheck7y = pointM7.y;
pointM8 = new object();
pointM8.x = MatCheck8._x;
pointM8.y = MatCheck8._y;
localToGlobal(pointM8);
_root.MatCheck8x = pointM8.x;
_root.MatCheck8y = pointM8.y;
}
}
}
movieClip 244 {
}
movieClip 245 {
frame 1 {
nextFrame();
stop();
}
frame 2 {
nextFrame();
stop();
}
frame 3 {
stop();
}
frame 31 {
stop();
}
frame 32 {
prevFrame();
stop();
}
frame 33 {
prevFrame();
stop();
}
frame 60 {
play();
}
frame 61 {
(_root.soundOn == 1) ? _root.SFXhit.gotoAndPlay(2) : 0;
}
frame 68 {
gotoAndPlay(15);
}
frame 88 {
gotoAndStop(15);
}
frame 89 {
gotoAndStop(15);
}
frame 120 {
rock.gotoAndPlay('out');
_root.player._visible = true;
_root.beyonce._visible = true;
stop();
}
}
movieClip 247 {
}
movieClip 249 {
}
movieClip 252 {
}
button 256 {
on (release) {
nextFrame();
}
}
movieClip 260 {
}
movieClip 264 {
}
movieClip 266 {
}
movieClip 269 {
}
movieClip 270 {
}
movieClip 271 {
}
movieClip 272 {
}
movieClip 274 {
frame 1 {
play();
}
frame 7 {
stop();
}
}
movieClip 275 {
frame 1 {
frm = random(50);
gotoAndPlay(frm);
}
frame 54 {
gotoAndPlay(1);
}
}
movieClip 276 {
frame 1 {
pcount = 0;
pactive = true;
}
frame 2 {
++pcount;
if (60 < pcount) {
pactive = false;
}
if (90 < pcount) {
pcount = 0;
c = 1;
while (c < 8) {
removeMovieClip('blob' + c);
++c;
}
}
}
frame 3 {
gotoAndPlay(2);
}
}
button 277 {
on (release) {
getURL('http://www.miniworldgames.com/index.cfm?page=prize', '');
}
}
movieClip 278 {
}
movieClip 279 {
frame 1 {
stop();
}
frame 48 {
stop();
}
}
instance gameoverMC of movieClip 279 {
onClipEvent (keyDown) {
if (5 < this.currentframe) {
_root.gameover = true;
}
}
}
movieClip 283 {
}
movieClip 288 {
}
movieClip 292 {
frame 1 {
stop();
}
frame 3 {
gotoAndPlay(2);
}
}
movieClip 293 {
frame 1 {
stop();
}
frame 27 {
if (0 >= _root.timeBonus) {
gotoAndPlay(30);
} else {
_root.timeBonus -= 1;
_root.score += 10;
}
undefined;
if (0 >= _root.timeBonus) {
gotoAndPlay(30);
} else {
_root.timeBonus -= 1;
_root.score += 10;
}
undefined;
undefined;
undefined;
}
frame 28 {
gotoAndPlay(27);
}
frame 30 {
(_root.soundOn == 1) ? countingSFX.gotoAndPlay(2) : 0;
}
frame 44 {
_root.status = 'nextLevel';
stop();
}
}
movieClip 299 {
}
movieClip 301 {
frame 54 {
gotoAndStop(1);
}
}
movieClip 302 {
frame 69 {
_root.playOn = true;
gotoAndStop(1);
}
}
movieClip 307 {
frame 44 {
gotoAndPlay(31);
}
}
movieClip 308 {
}
movieClip 309 {
frame 1 {
stop();
}
frame 2 {
stop();
}
}
movieClip 312 {
frame 1 {
stop();
}
}
frame 62 {
if (0 >= Hinert) {
} else {
Hinert -= 0.2;
}
0;
if (Hinert >= 0) {
} else {
Hinert += 0.2;
}
0;
++hitReady;
if (_root.MouseDown == true) {
smokeOK = true;
if (smokeOK == true and _root.gameDetail == 'high') {
duplicateMovieClip('smoke', 'smoke' + smLev, smLev);
this['smoke' + smLev]._x = player._x;
this['smoke' + smLev]._y = player._y + 20;
this['smoke' + smLev].smokesource.smokesingle.gotoAndStop(random(6));
++smLev;
if (100 >= smLev) {
} else {
smLev = 0;
}
0;
}
fuel -= 0.12;
doFuel();
fallAmm -= thrustPower;
(_root.soundOn == 1) ? SFXjet.gotoAndStop(2) : 0;
player.jetPack.gotoAndStop(2);
} else {
(_root.soundOn == 1) ? SFXjet.gotoAndStop(3) : 0;
player.jetPack.gotoAndStop(1);
}
if (gotBeyonce == true) {
beyonce._x = player._x + 10;
beyonce._y = player._y - 10;
}
if (playOn == true) {
if (level == 13) {
beyonce.gotoAndStop(1);
}
if (player.hitPoints.hitTest(beyonce._x, beyonce._y, true) == true and level == 13 and gotBeyonce == false) {
gotBeyonce = true;
gotKey1 = true;
gotKey2 = true;
gotKey3 = true;
bossManActive = true;
}
if (bossManActive == true) {
++bossManCount;
50 + random(50) < bossManCount ? 'chase' : 0;
if (bossStatus == 'chase') {
xEnemyM = player._x - xEnemy;
yEnemyM = player._y - yEnemy;
scenery.rock.enemy._x += xEnemyM / 50;
scenery.rock.enemy._y += yEnemyM / 50;
if (scenery.rock.enemy._rotation >= 50) {
} else {
scenery.rock.enemy._rotation -= yEnemyM / 100;
}
0;
}
if (bossStatus == 'stupid') {
scenery.rock.enemy._x += xEnemyM / 50;
scenery.rock.enemy._y += yEnemyM / 50;
if (-50 >= scenery.rock.enemy._rotation) {
} else {
scenery.rock.enemy._rotation += yEnemyM / 100;
}
0;
}
}
_root.MouseDown = false;
if (player._currentFrame < 40) {
if (Key.isDown(39)) {
player.nextFrame();
Hinert += 0.7;
} else {
if (Key.isDown(37)) {
player.prevFrame();
Hinert -= 0.7;
} else {
16 < player._currentFrame ? player.prevFrame() : 0;
player._currentFrame < 17 ? player.nextFrame() : 0;
}
}
}
if (!(Key.isDown(32) or Key.isDown(38))) {
} else {
_root.MouseDown = true;
}
0;
++shitCount;
if (Key.isDown(9) and 10 < shitCount) {
fuel = 100;
shitCount = 0;
status = 'nextLevel';
}
if (scenery.rock.fuelPod.hitTest(player.hitPoints) == true) {
if (_root.fuelAnimating != true) {
(_root.soundOn == 1) ? SFX3ting.gotoAndPlay(2) : 0;
scenery.rock.fuelPod.gotoAndPlay(2);
fuel += 20;
if (100 >= fuel) {
} else {
fuel = 100;
}
0;
}
} else {
if (scenery.rock.key.hitTest(player.hitPoints) == true) {
gotKey1 = true;
scenery.rock.key.gotoAndStop('collected');
} else {
if (scenery.rock.kkey.hitTest(player.hitPoints) == true) {
gotKey2 = true;
scenery.rock.kkey.gotoAndStop('collected');
} else {
if (scenery.rock.kkkey.hitTest(player.hitPoints) == true) {
gotKey3 = true;
scenery.rock.kkkey.gotoAndStop('collected');
} else {
if (_root.doorOpen == true and scenery.rock.door.hitTest(_root.hitP1x, _root.hitP1y, true) == true) {
if (doorOpen == true) {
_root.MouseDown = false;
playOn = false;
status = 'intoDoor';
timeBonus = int(fuel);
}
} else {
if (scenery.rock.lasers2.hitTest(_root.hitP1x, _root.hitP1y, true) == true) {
player.gotoAndPlay('laserHit');
fuel -= 2;
fuelDisp.fuelRod.gotoAndPlay(2);
doFuel();
} else {
if (scenery.rock.hitTest(_root.hitP1x, _root.hitP1y, true) == true) {
bounceY = 0;
_root.checkPlayerPoints = true;
HorizMove = 0;
VertMove = 0;
if (scenery.rock.hitTest(_root.MatCheck1x, _root.MatCheck1y, true) != true) {
} else {
VertMove += 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck2x, _root.MatCheck2y, true) != true) {
} else {
HorizMove -= 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck3x, _root.MatCheck3y, true) != true) {
} else {
VertMove -= 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck4x, _root.MatCheck4y, true) != true) {
} else {
HorizMove += 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck5x, _root.MatCheck5y, true) != true) {
} else {
VertMove += 2;
HorizMove -= 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck6x, _root.MatCheck6y, true) != true) {
} else {
VertMove -= 2;
HorizMove -= 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck7x, _root.MatCheck7y, true) != true) {
} else {
VertMove -= 2;
HorizMove += 2;
}
0;
if (scenery.rock.hitTest(_root.MatCheck8x, _root.MatCheck8y, true) != true) {
} else {
VertMove += 2;
HorizMove += 2;
}
0;
Hinert = HorizMove;
fallAmm = VertMove;
player.gotoAndPlay('hit');
if (hitDelay < hitReady) {
fuel -= 3;
hitReady = 0;
fuelDisp.fuelRod.gotoAndPlay(2);
doFuel();
}
}
}
}
}
}
}
}
fallAmm += gravity;
player._y += fallAmm;
if (speedLimit >= fallAmm) {
} else {
fallAmm = speedLimit;
}
0;
if (fallAmm >= -speedLimit) {
} else {
fallAmm = -speedLimit;
}
0;
player._x += Hinert;
if (speedLimit >= Hinert) {
} else {
Hinert = speedLimit;
}
0;
if (Hinert >= -speedLimit) {
} else {
Hinert = -speedLimit;
}
0;
}
if (status == 'intoDoor') {
player.gotoAndPlay('shrink');
(gotBeyonce == true) ? beyonce.gotoAndPlay('shrink') : 0;
status = 'intoDoor2';
endOfLevelCount = 0;
}
if (status == 'intoDoor2') {
++endOfLevelCount;
player._x += (_root.xEnd - player._x) / 25;
player._y += (_root.yEnd - player._y) / 25;
if (20 < endOfLevelCount) {
nextLevel.gotoAndPlay(2);
status = '';
}
}
if (status == 'nextLevel') {
status = '';
reset();
(direction == 'in') ? level++ : level--;
if (direction != 'in') {
_root.levelDisplay = 26 - level;
} else {
_root.levelDisplay = level;
}
_root.levelDisplay;
gotKey1 = false;
gotKey2 = false;
gotKey3 = false;
scenery.rock.key.gotoAndStop(1);
scenery.rock.kkey.gotoAndStop(1);
scenery.rock.kkkey.gotoAndStop(1);
scenery.rock.fuelPod.gotoAndStop(1);
scenery.nextFrame();
scenery.play();
player._visible = false;
beyonce._visible = false;
}
if (playOn == true and MovH + 50 < player._y or player._y < -50 or MovW + 100 < player._x or player._x < -100) {
reset();
}
if (outOfFuel == true) {
_root.gameover = 'ready';
gameOverMC.gotoAndPlay(2);
outOfFuel = null;
_root.MouseDown = false;
playOn = false;
gotoAndPlay(70);
}
if (_root.demo == 1 and 7000 < score and playOn == true) {
playOn = false;
demoGameoverMC.gotoAndPlay(2);
gotoAndPlay(70);
}
if (gotKey1 == true and gotKey2 == true and gotKey3 == true) {
gotKey1 = '';
gotKey2 = '';
gotKey3 = '';
KeyGot = true;
scenery.rock.door.gotoAndPlay(2);
(_root.levelDisplay == 25) ? scenery.rock.finalDoor.gotoAndPlay(2) : 0;
}
}
frame 63 {
gotoAndPlay(62);
}
frame 71 {
if (_root.gotoIntro == true) {
_root.gotoIntro = '';
gotoAndPlay(3);
}
}
frame 72 {
gotoAndPlay(71);
}