Frame 3
_root.soundOn = true;
_root.currentSound = null;
function fMoveStars(tx, ty) {
var _local3 = tx * 0.2;
var _local2 = ty * 0.2;
var _local1 = 0;
while (_local1 < 4) {
pStars[_local1]._x = pStars[_local1]._x - _local3;
pStars[_local1]._y = pStars[_local1]._y - _local2;
_local1++;
}
}
function fStartGame() {
_root.shipType = 1;
_root.gotoAndStop("getReady");
}
function fTimeString(tNum) {
var _local2 = tNum.toString();
var _local3 = false;
var tRet = "";
var _local1 = 0;
while (_local1 < _local2.length) {
if (_local3 == false) {
tRet = tRet + _local2.charAt(_local1);
if (_local2.charAt(_local1) == ".") {
_local3 = _local1;
}
} else {
if (_local1 > (_local3 + 2)) {
break;
}
tRet = tRet + _local2.charAt(_local1);
}
_local1++;
}
if (_local3 == false) {
tRet = tRet + ".00";
} else if (_local1 <= (_local3 + 2)) {
tRet = tRet + "0";
}
return(tRet);
}
pMenuWaitTime = 100;
pTimeCount = 0;
var pTimes = new Array();
var l = 0;
while (l < 15) {
pTimes[l] = 0;
l++;
}
stop();
Instance of Symbol 55 MovieClip in Frame 3
onClipEvent (enterFrame) {
this.bar._xscale = (_root.getBytesLoaded() / _root.getBytesTotal()) * 100;
if (_root.getBytesLoaded() >= _root.getBytesTotal()) {
_root.gotoAndStop("loadArrays");
}
}
Frame 4
limitsArray = new Array();
limitsArray[0] = new Array();
limitsArray[0][0] = 2.5;
limitsArray[0][1] = 15;
limitsArray[1] = new Array();
limitsArray[1][0] = 100;
limitsArray[1][1] = 400;
limitsArray[2] = new Array();
limitsArray[2][0] = 60;
limitsArray[2][1] = 250;
limitsArray[3] = new Array();
limitsArray[3][0] = 0.87;
limitsArray[3][1] = 0.98;
shipsArray = new Array();
shipsArray[0] = new Array();
shipsArray[0][0] = 10;
shipsArray[0][1] = 150;
shipsArray[0][2] = 200;
shipsArray[0][3] = 0.98;
shipsArray[0][4] = "Swift";
shipsArray[1] = new Array();
shipsArray[1][0] = 8;
shipsArray[1][1] = 200;
shipsArray[1][2] = 150;
shipsArray[1][3] = 0.94;
shipsArray[1][4] = "Viper";
shipsArray[2] = new Array();
shipsArray[2][0] = 7.5;
shipsArray[2][1] = 350;
shipsArray[2][2] = 80;
shipsArray[2][3] = 0.92;
shipsArray[2][4] = "Wolf";
mapsArray = new Array();
mapsArray[0] = new Array();
mapsArray[0][0] = "cdzyz";
mapsArray[0][1] = 10;
mapsArray[0][2] = new Array(450, 850);
mapsArray[0][3] = new Array(450, 350);
mapsArray[0][4] = new Array();
mapsArray[0][4][0] = new Array("moveTo", 0, 0);
mapsArray[0][4][1] = new Array("point", 900, 0);
mapsArray[0][4][2] = new Array("point", 900, 1200);
mapsArray[0][4][3] = new Array("point", 0, 1200);
mapsArray[0][4][4] = new Array("moveTo", 400, 300);
mapsArray[0][4][5] = new Array("point", 500, 300);
mapsArray[0][4][6] = new Array("point", 500, 900);
mapsArray[0][4][7] = new Array("point", 400, 900);
mapsArray[0][4][8] = new Array("point", 400, 300);
mapsArray[0][5] = new Array();
mapsArray[0][5][0] = new Array("chomp", 450, 600, 90, 50, 100, 50, 25, 5, 0);
mapsArray[0][6] = new Array();
mapsArray[1] = new Array();
mapsArray[1][0] = "oldzy";
mapsArray[1][1] = 12;
mapsArray[1][2] = new Array(450, 650);
mapsArray[1][3] = new Array(850, 350);
mapsArray[1][4] = new Array();
mapsArray[1][4][0] = new Array("moveTo", 0, 0);
mapsArray[1][4][1] = new Array("point", 1300, 0);
mapsArray[1][4][2] = new Array("point", 1300, 1000);
mapsArray[1][4][3] = new Array("point", 0, 1000);
mapsArray[1][4][4] = new Array("moveTo", 400, 300);
mapsArray[1][4][5] = new Array("point", 900, 300);
mapsArray[1][4][6] = new Array("point", 900, 400);
mapsArray[1][4][7] = new Array("point", 600, 400);
mapsArray[1][4][8] = new Array("point", 500, 500);
mapsArray[1][4][9] = new Array("point", 500, 500);
mapsArray[1][4][10] = new Array("point", 500, 700);
mapsArray[1][4][11] = new Array("point", 400, 700);
mapsArray[1][5] = new Array();
mapsArray[1][6] = new Array();
mapsArray[1][6][0] = new Array("speedP", 500, 400);
mapsArray[2] = new Array();
mapsArray[2][0] = "zataz";
mapsArray[2][1] = 15;
mapsArray[2][2] = new Array(450, 850);
mapsArray[2][3] = new Array(800, 350);
mapsArray[2][4] = new Array();
mapsArray[2][4][0] = new Array("moveTo", 0, 0);
mapsArray[2][4][1] = new Array("point", 1250, 0);
mapsArray[2][4][2] = new Array("point", 1250, 1200);
mapsArray[2][4][3] = new Array("point", 0, 1200);
mapsArray[2][4][4] = new Array("moveTo", 400, 550);
mapsArray[2][4][5] = new Array("point", 650, 550);
mapsArray[2][4][6] = new Array("point", 750, 450);
mapsArray[2][4][7] = new Array("point", 750, 300);
mapsArray[2][4][8] = new Array("point", 850, 300);
mapsArray[2][4][9] = new Array("point", 850, 650);
mapsArray[2][4][10] = new Array("point", 600, 650);
mapsArray[2][4][11] = new Array("point", 500, 750);
mapsArray[2][4][12] = new Array("point", 500, 900);
mapsArray[2][4][13] = new Array("point", 400, 900);
mapsArray[2][4][14] = new Array("point", 400, 550);
mapsArray[2][5] = new Array();
mapsArray[2][5][0] = new Array("slide", 625, 600, 0, 25, 50, 100, 60, 0, 0);
mapsArray[2][6] = new Array();
mapsArray[3] = new Array();
mapsArray[3][0] = "ttvtt";
mapsArray[3][1] = 12;
mapsArray[3][2] = new Array(1050, 1050);
mapsArray[3][3] = new Array(450, 350);
mapsArray[3][4] = new Array();
mapsArray[3][4][0] = new Array("moveTo", 0, 0);
mapsArray[3][4][1] = new Array("point", 1500, 0);
mapsArray[3][4][2] = new Array("point", 1500, 1400);
mapsArray[3][4][3] = new Array("point", 0, 1400);
mapsArray[3][4][4] = new Array("moveTo", 400, 300);
mapsArray[3][4][5] = new Array("point", 1100, 300);
mapsArray[3][4][6] = new Array("point", 1100, 1100);
mapsArray[3][4][7] = new Array("point", 1000, 1100);
mapsArray[3][4][8] = new Array("point", 1000, 600);
mapsArray[3][4][9] = new Array("point", 800, 600);
mapsArray[3][4][10] = new Array("point", 600, 400);
mapsArray[3][4][11] = new Array("point", 400, 400);
mapsArray[3][4][12] = new Array("point", 400, 300);
mapsArray[3][5] = new Array();
mapsArray[3][5][0] = new Array("spin", 950, 450, 300, 100, 0, 0, 0, 0, 0);
mapsArray[3][5][1] = new Array("doorRed", 1050, 800, 90, 50, 100, 0, 0, 0, 0);
mapsArray[3][6] = new Array();
mapsArray[3][6][0] = new Array("keyRed", 1050, 900);
mapsArray[3][6][1] = new Array("time", 1050, 700);
mapsArray[4] = new Array();
mapsArray[4][0] = "dvdcd";
mapsArray[4][1] = 14;
mapsArray[4][2] = new Array(700, 950);
mapsArray[4][3] = new Array(450, 450);
mapsArray[4][4] = new Array();
mapsArray[4][4][0] = new Array("moveTo", 0, 0);
mapsArray[4][4][1] = new Array("point", 1450, 0);
mapsArray[4][4][2] = new Array("point", 1450, 1300);
mapsArray[4][4][3] = new Array("point", 0, 1300);
mapsArray[4][4][4] = new Array("moveTo", 400, 400);
mapsArray[4][4][5] = new Array("point", 650, 400);
mapsArray[4][4][6] = new Array("point", 750, 300);
mapsArray[4][4][7] = new Array("point", 1050, 300);
mapsArray[4][4][8] = new Array("point", 1050, 650);
mapsArray[4][4][9] = new Array("point", 750, 800);
mapsArray[4][4][10] = new Array("point", 750, 1000);
mapsArray[4][4][11] = new Array("point", 650, 1000);
mapsArray[4][4][12] = new Array("point", 650, 650);
mapsArray[4][4][13] = new Array("point", 950, 550);
mapsArray[4][4][14] = new Array("point", 650, 550);
mapsArray[4][4][15] = new Array("point", 600, 500);
mapsArray[4][4][16] = new Array("point", 400, 500);
mapsArray[4][4][17] = new Array("point", 400, 400);
mapsArray[4][5] = new Array();
mapsArray[4][6] = new Array();
mapsArray[4][6][0] = new Array("coin", 1000, 550);
mapsArray[4][6][1] = new Array("accelP", 700, 850);
mapsArray[5] = new Array();
mapsArray[5][0] = "madiflotie";
mapsArray[5][1] = 16;
mapsArray[5][2] = new Array(450, 1550);
mapsArray[5][3] = new Array(450, 350);
mapsArray[5][4] = new Array();
mapsArray[5][4][0] = new Array("moveTo", 0, 0);
mapsArray[5][4][1] = new Array("point", 900, 0);
mapsArray[5][4][2] = new Array("point", 900, 1900);
mapsArray[5][4][3] = new Array("point", 0, 1900);
mapsArray[5][4][4] = new Array("moveTo", 400, 300);
mapsArray[5][4][5] = new Array("point", 500, 300);
mapsArray[5][4][6] = new Array("point", 500, 700);
mapsArray[5][4][7] = new Array("point", 450, 725);
mapsArray[5][4][8] = new Array("point", 500, 750);
mapsArray[5][4][9] = new Array("point", 500, 1000);
mapsArray[5][4][10] = new Array("point", 450, 1025);
mapsArray[5][4][11] = new Array("point", 500, 1050);
mapsArray[5][4][12] = new Array("point", 500, 1600);
mapsArray[5][4][13] = new Array("point", 400, 1600);
mapsArray[5][4][14] = new Array("point", 400, 1200);
mapsArray[5][4][15] = new Array("point", 450, 1175);
mapsArray[5][4][16] = new Array("point", 400, 1150);
mapsArray[5][4][17] = new Array("point", 400, 900);
mapsArray[5][4][18] = new Array("point", 450, 875);
mapsArray[5][4][19] = new Array("point", 400, 850);
mapsArray[5][4][20] = new Array("point", 400, 300);
mapsArray[5][5] = new Array();
mapsArray[5][6] = new Array();
mapsArray[5][6][0] = new Array("coin", 425, 725);
mapsArray[5][6][1] = new Array("coin", 475, 875);
mapsArray[5][6][2] = new Array("coin", 425, 1025);
mapsArray[5][6][3] = new Array("coin", 475, 1175);
mapsArray[6] = new Array();
mapsArray[6][0] = "catseatdog";
mapsArray[6][1] = 25;
mapsArray[6][2] = new Array(600, 1450);
mapsArray[6][3] = new Array(450, 350);
mapsArray[6][4] = new Array();
mapsArray[6][4][0] = new Array("moveTo", 0, 0);
mapsArray[6][4][1] = new Array("point", 1200, 0);
mapsArray[6][4][2] = new Array("point", 1200, 1800);
mapsArray[6][4][3] = new Array("point", 0, 1800);
mapsArray[6][4][4] = new Array("moveTo", 400, 300);
mapsArray[6][4][5] = new Array("point", 800, 300);
mapsArray[6][4][6] = new Array("point", 800, 600);
mapsArray[6][4][7] = new Array("point", 600, 600);
mapsArray[6][4][8] = new Array("point", 600, 550);
mapsArray[6][4][9] = new Array("point", 500, 550);
mapsArray[6][4][10] = new Array("point", 500, 700);
mapsArray[6][4][11] = new Array("point", 600, 800);
mapsArray[6][4][12] = new Array("point", 800, 800);
mapsArray[6][4][13] = new Array("point", 800, 1100);
mapsArray[6][4][14] = new Array("point", 650, 1100);
mapsArray[6][4][15] = new Array("point", 650, 1150);
mapsArray[6][4][16] = new Array("point", 700, 1150);
mapsArray[6][4][17] = new Array("point", 700, 1350);
mapsArray[6][4][18] = new Array("point", 650, 1350);
mapsArray[6][4][19] = new Array("point", 650, 1500);
mapsArray[6][4][20] = new Array("point", 550, 1500);
mapsArray[6][4][21] = new Array("point", 550, 1350);
mapsArray[6][4][22] = new Array("point", 500, 1350);
mapsArray[6][4][23] = new Array("point", 500, 1150);
mapsArray[6][4][24] = new Array("point", 550, 1150);
mapsArray[6][4][25] = new Array("point", 550, 1000);
mapsArray[6][4][26] = new Array("point", 650, 1000);
mapsArray[6][4][27] = new Array("point", 650, 900);
mapsArray[6][4][28] = new Array("point", 400, 900);
mapsArray[6][4][29] = new Array("point", 400, 500);
mapsArray[6][4][30] = new Array("point", 650, 500);
mapsArray[6][4][31] = new Array("point", 700, 450);
mapsArray[6][4][32] = new Array("point", 650, 400);
mapsArray[6][4][33] = new Array("point", 400, 400);
mapsArray[6][4][34] = new Array("point", 400, 300);
mapsArray[6][4][35] = new Array("moveTo", 700, 900);
mapsArray[6][4][36] = new Array("point", 750, 900);
mapsArray[6][4][37] = new Array("point", 750, 1000);
mapsArray[6][4][38] = new Array("point", 700, 1000);
mapsArray[6][4][39] = new Array("point", 700, 900);
mapsArray[6][5] = new Array();
mapsArray[6][5][0] = new Array("doorYellow", 575, 350, 0, 50, 100, 0, 0, 0, 0);
mapsArray[6][5][1] = new Array("spin", 600, 1250, 200, 100, 0, 0, 0, 0, 0);
mapsArray[6][6] = new Array();
mapsArray[6][6][0] = new Array("keyYellow", 750, 550);
mapsArray[6][6][1] = new Array("coin", 775, 950);
mapsArray[6][6][2] = new Array("accelP", 600, 1100);
mapsArray[6][6][3] = new Array("speedP", 600, 1150);
mapsArray[7] = new Array();
mapsArray[7][0] = "flyzruleus";
mapsArray[7][1] = 40;
mapsArray[7][2] = new Array(500, 850);
mapsArray[7][3] = new Array(500, 1000);
mapsArray[7][4] = new Array();
mapsArray[7][4][0] = new Array("moveTo", 0, 0);
mapsArray[7][4][1] = new Array("point", 1650, 0);
mapsArray[7][4][2] = new Array("point", 1650, 2050);
mapsArray[7][4][3] = new Array("point", 0, 2050);
mapsArray[7][4][4] = new Array("moveTo", 400, 450);
mapsArray[7][4][5] = new Array("point", 550, 300);
mapsArray[7][4][6] = new Array("point", 1100, 300);
mapsArray[7][4][7] = new Array("point", 1250, 450);
mapsArray[7][4][8] = new Array("point", 1250, 700);
mapsArray[7][4][9] = new Array("point", 900, 700);
mapsArray[7][4][10] = new Array("point", 850, 850);
mapsArray[7][4][11] = new Array("point", 850, 950);
mapsArray[7][4][12] = new Array("point", 800, 1100);
mapsArray[7][4][13] = new Array("point", 800, 1200);
mapsArray[7][4][14] = new Array("point", 900, 1200);
mapsArray[7][4][15] = new Array("point", 950, 1150);
mapsArray[7][4][16] = new Array("point", 950, 750);
mapsArray[7][4][17] = new Array("point", 1100, 750);
mapsArray[7][4][18] = new Array("point", 1100, 950);
mapsArray[7][4][19] = new Array("point", 1250, 950);
mapsArray[7][4][20] = new Array("point", 1250, 1150);
mapsArray[7][4][21] = new Array("point", 1200, 1200);
mapsArray[7][4][22] = new Array("point", 1200, 1550);
mapsArray[7][4][23] = new Array("point", 1000, 1750);
mapsArray[7][4][24] = new Array("point", 850, 1750);
mapsArray[7][4][25] = new Array("point", 850, 1650);
mapsArray[7][4][26] = new Array("point", 800, 1650);
mapsArray[7][4][27] = new Array("point", 800, 1750);
mapsArray[7][4][28] = new Array("point", 650, 1750);
mapsArray[7][4][29] = new Array("point", 450, 1550);
mapsArray[7][4][30] = new Array("point", 450, 1400);
mapsArray[7][4][31] = new Array("point", 550, 1300);
mapsArray[7][4][32] = new Array("point", 550, 1250);
mapsArray[7][4][33] = new Array("point", 450, 1150);
mapsArray[7][4][34] = new Array("point", 450, 950);
mapsArray[7][4][35] = new Array("point", 550, 950);
mapsArray[7][4][36] = new Array("point", 550, 1150);
mapsArray[7][4][37] = new Array("point", 650, 1250);
mapsArray[7][4][38] = new Array("point", 650, 1300);
mapsArray[7][4][39] = new Array("point", 550, 1400);
mapsArray[7][4][40] = new Array("point", 550, 1550);
mapsArray[7][4][41] = new Array("point", 650, 1650);
mapsArray[7][4][42] = new Array("point", 650, 1600);
mapsArray[7][4][43] = new Array("point", 1000, 1600);
mapsArray[7][4][44] = new Array("point", 1000, 1650);
mapsArray[7][4][45] = new Array("point", 1100, 1550);
mapsArray[7][4][46] = new Array("point", 1100, 1050);
mapsArray[7][4][47] = new Array("point", 1050, 950);
mapsArray[7][4][48] = new Array("point", 1050, 850);
mapsArray[7][4][49] = new Array("point", 1000, 850);
mapsArray[7][4][50] = new Array("point", 1000, 950);
mapsArray[7][4][51] = new Array("point", 1050, 1050);
mapsArray[7][4][52] = new Array("point", 1050, 1300);
mapsArray[7][4][53] = new Array("point", 750, 1300);
mapsArray[7][4][54] = new Array("point", 700, 1250);
mapsArray[7][4][55] = new Array("point", 700, 1100);
mapsArray[7][4][56] = new Array("point", 750, 950);
mapsArray[7][4][57] = new Array("point", 750, 850);
mapsArray[7][4][58] = new Array("point", 800, 700);
mapsArray[7][4][59] = new Array("point", 800, 550);
mapsArray[7][4][60] = new Array("point", 1050, 550);
mapsArray[7][4][61] = new Array("point", 1050, 450);
mapsArray[7][4][62] = new Array("point", 550, 450);
mapsArray[7][4][63] = new Array("point", 500, 500);
mapsArray[7][4][64] = new Array("point", 500, 600);
mapsArray[7][4][65] = new Array("point", 550, 650);
mapsArray[7][4][66] = new Array("point", 550, 900);
mapsArray[7][4][67] = new Array("point", 450, 900);
mapsArray[7][4][68] = new Array("point", 450, 650);
mapsArray[7][4][69] = new Array("point", 400, 600);
mapsArray[7][4][70] = new Array("point", 400, 450);
mapsArray[7][5] = new Array();
mapsArray[7][6] = new Array();
mapsArray[7][6][0] = new Array("coin", 650, 350);
mapsArray[7][6][1] = new Array("coin", 750, 350);
mapsArray[7][6][2] = new Array("time", 850, 350);
mapsArray[7][6][3] = new Array("time", 1000, 1100);
mapsArray[7][6][4] = new Array("speedP", 800, 1625);
mapsArray[7][6][5] = new Array("accelP", 850, 1625);
mapsArray[8] = new Array();
mapsArray[8][0] = "tootatatoo";
mapsArray[8][1] = 40;
mapsArray[8][2] = new Array(800, 1050);
mapsArray[8][3] = new Array(800, 350);
mapsArray[8][4] = new Array();
mapsArray[8][4][0] = new Array("moveTo", 0, 0);
mapsArray[8][4][1] = new Array("point", 1600, 0);
mapsArray[8][4][2] = new Array("point", 1600, 1400);
mapsArray[8][4][3] = new Array("point", 0, 1400);
mapsArray[8][4][4] = new Array("moveTo", 400, 650);
mapsArray[8][4][5] = new Array("point", 700, 650);
mapsArray[8][4][6] = new Array("point", 700, 600);
mapsArray[8][4][7] = new Array("point", 750, 600);
mapsArray[8][4][8] = new Array("point", 750, 300);
mapsArray[8][4][9] = new Array("point", 850, 300);
mapsArray[8][4][10] = new Array("point", 850, 600);
mapsArray[8][4][11] = new Array("point", 900, 600);
mapsArray[8][4][12] = new Array("point", 900, 650);
mapsArray[8][4][13] = new Array("point", 1000, 650);
mapsArray[8][4][14] = new Array("point", 1050, 600);
mapsArray[8][4][15] = new Array("point", 1050, 300);
mapsArray[8][4][16] = new Array("point", 1200, 300);
mapsArray[8][4][17] = new Array("point", 1200, 750);
mapsArray[8][4][18] = new Array("point", 900, 750);
mapsArray[8][4][19] = new Array("point", 900, 800);
mapsArray[8][4][20] = new Array("point", 850, 800);
mapsArray[8][4][21] = new Array("point", 850, 1100);
mapsArray[8][4][22] = new Array("point", 750, 1100);
mapsArray[8][4][23] = new Array("point", 750, 800);
mapsArray[8][4][24] = new Array("point", 700, 800);
mapsArray[8][4][25] = new Array("point", 700, 750);
mapsArray[8][4][26] = new Array("point", 600, 750);
mapsArray[8][4][27] = new Array("point", 550, 800);
mapsArray[8][4][28] = new Array("point", 550, 1100);
mapsArray[8][4][29] = new Array("point", 400, 1100);
mapsArray[8][4][30] = new Array("point", 400, 650);
mapsArray[8][4][31] = new Array("moveTo", 1100, 400);
mapsArray[8][4][32] = new Array("point", 1150, 400);
mapsArray[8][4][33] = new Array("point", 1150, 500);
mapsArray[8][4][34] = new Array("point", 1100, 500);
mapsArray[8][4][35] = new Array("point", 1100, 400);
mapsArray[8][4][36] = new Array("moveTo", 450, 900);
mapsArray[8][4][37] = new Array("point", 500, 900);
mapsArray[8][4][38] = new Array("point", 500, 1000);
mapsArray[8][4][39] = new Array("point", 450, 1000);
mapsArray[8][4][40] = new Array("point", 450, 900);
mapsArray[8][5] = new Array();
mapsArray[8][5][0] = new Array("spin", 800, 700, 200, -100, 0, 0, 0, 0, 0);
mapsArray[8][5][1] = new Array("chomp", 800, 825, 90, 50, 100, 20, 10, 20, 0);
mapsArray[8][5][2] = new Array("doorGreen", 675, 700, 0, 50, 100, 0, 0, 0, 0);
mapsArray[8][5][3] = new Array("doorBlue", 800, 575, 90, 50, 100, 0, 0, 0, 0);
mapsArray[8][5][4] = new Array("doorYellow", 925, 700, 0, 50, 100, 0, 0, 0, 0);
mapsArray[8][6] = new Array();
mapsArray[8][6][0] = new Array("keyYellow", 800, 750);
mapsArray[8][6][1] = new Array("keyGreen", 1125, 350);
mapsArray[8][6][2] = new Array("brakeP", 1125, 650);
mapsArray[8][6][3] = new Array("rotateP", 475, 750);
mapsArray[8][6][4] = new Array("keyBlue", 475, 1050);
mapsArray[9] = new Array();
mapsArray[9][0] = "zappyzippy";
mapsArray[9][1] = 50;
mapsArray[9][2] = new Array(1000, 1075);
mapsArray[9][3] = new Array(600, 350);
mapsArray[9][4] = new Array();
mapsArray[9][4][0] = new Array("moveTo", 0, 0);
mapsArray[9][4][1] = new Array("point", 2250, 0);
mapsArray[9][4][2] = new Array("point", 2250, 1700);
mapsArray[9][4][3] = new Array("point", 0, 1700);
mapsArray[9][4][4] = new Array("moveTo", 550, 300);
mapsArray[9][4][5] = new Array("point", 650, 300);
mapsArray[9][4][6] = new Array("point", 650, 450);
mapsArray[9][4][7] = new Array("point", 700, 450);
mapsArray[9][4][8] = new Array("point", 800, 550);
mapsArray[9][4][9] = new Array("point", 1100, 550);
mapsArray[9][4][10] = new Array("point", 1200, 450);
mapsArray[9][4][11] = new Array("point", 1500, 450);
mapsArray[9][4][12] = new Array("point", 1550, 400);
mapsArray[9][4][13] = new Array("point", 1850, 400);
mapsArray[9][4][14] = new Array("point", 1850, 550);
mapsArray[9][4][15] = new Array("point", 1800, 600);
mapsArray[9][4][16] = new Array("point", 1800, 1400);
mapsArray[9][4][17] = new Array("point", 400, 1400);
mapsArray[9][4][18] = new Array("point", 400, 1100);
mapsArray[9][4][19] = new Array("point", 550, 950);
mapsArray[9][4][20] = new Array("point", 550, 300);
mapsArray[9][4][21] = new Array("moveTo", 650, 550);
mapsArray[9][4][22] = new Array("point", 700, 550);
mapsArray[9][4][23] = new Array("point", 800, 650);
mapsArray[9][4][24] = new Array("point", 1100, 650);
mapsArray[9][4][25] = new Array("point", 1200, 550);
mapsArray[9][4][26] = new Array("point", 1500, 550);
mapsArray[9][4][27] = new Array("point", 1550, 600);
mapsArray[9][4][28] = new Array("point", 1550, 1250);
mapsArray[9][4][29] = new Array("point", 1500, 1300);
mapsArray[9][4][30] = new Array("point", 1250, 1300);
mapsArray[9][4][31] = new Array("point", 1250, 1150);
mapsArray[9][4][32] = new Array("point", 500, 1150);
mapsArray[9][4][33] = new Array("point", 500, 1300);
mapsArray[9][4][34] = new Array("point", 450, 1300);
mapsArray[9][4][35] = new Array("point", 450, 1100);
mapsArray[9][4][36] = new Array("point", 550, 1000);
mapsArray[9][4][37] = new Array("point", 950, 1000);
mapsArray[9][4][38] = new Array("point", 950, 1125);
mapsArray[9][4][39] = new Array("point", 1050, 1125);
mapsArray[9][4][40] = new Array("point", 1050, 1000);
mapsArray[9][4][41] = new Array("point", 1250, 1000);
mapsArray[9][4][42] = new Array("point", 1300, 1050);
mapsArray[9][4][43] = new Array("point", 1500, 1050);
mapsArray[9][4][44] = new Array("point", 1500, 850);
mapsArray[9][4][45] = new Array("point", 1300, 850);
mapsArray[9][4][46] = new Array("point", 1250, 900);
mapsArray[9][4][47] = new Array("point", 1050, 900);
mapsArray[9][4][48] = new Array("point", 1000, 950);
mapsArray[9][4][49] = new Array("point", 950, 900);
mapsArray[9][4][50] = new Array("point", 750, 900);
mapsArray[9][4][51] = new Array("point", 700, 950);
mapsArray[9][4][52] = new Array("point", 650, 950);
mapsArray[9][4][53] = new Array("point", 600, 900);
mapsArray[9][4][54] = new Array("point", 650, 850);
mapsArray[9][4][55] = new Array("point", 650, 550);
mapsArray[9][4][56] = new Array("moveTo", 650, 1250);
mapsArray[9][4][57] = new Array("point", 700, 1250);
mapsArray[9][4][58] = new Array("point", 700, 1350);
mapsArray[9][4][59] = new Array("point", 650, 1350);
mapsArray[9][4][60] = new Array("point", 650, 1250);
mapsArray[9][4][61] = new Array("moveTo", 750, 1200);
mapsArray[9][4][62] = new Array("point", 800, 1200);
mapsArray[9][4][63] = new Array("point", 800, 1300);
mapsArray[9][4][64] = new Array("point", 750, 1300);
mapsArray[9][4][65] = new Array("point", 750, 1200);
mapsArray[9][4][66] = new Array("moveTo", 950, 1300);
mapsArray[9][4][67] = new Array("point", 1050, 1300);
mapsArray[9][4][68] = new Array("point", 1050, 1350);
mapsArray[9][4][69] = new Array("point", 950, 1350);
mapsArray[9][4][70] = new Array("point", 950, 1300);
mapsArray[9][4][71] = new Array("moveTo", 1100, 1200);
mapsArray[9][4][72] = new Array("point", 1200, 1200);
mapsArray[9][4][73] = new Array("point", 1200, 1250);
mapsArray[9][4][74] = new Array("point", 1100, 1250);
mapsArray[9][4][75] = new Array("point", 1100, 1200);
mapsArray[9][4][76] = new Array("moveTo", 850, 1300);
mapsArray[9][4][77] = new Array("point", 900, 1300);
mapsArray[9][4][78] = new Array("point", 900, 1400);
mapsArray[9][4][79] = new Array("point", 850, 1400);
mapsArray[9][4][80] = new Array("point", 850, 1300);
mapsArray[9][5] = new Array();
mapsArray[9][5][0] = new Array("spin", 1400, 950, 200, 75, 0, 0, 0, 0, 0);
mapsArray[9][5][1] = new Array("doorBlue", 825, 950, 0, 50, 100, 0, 0, 0, 0);
mapsArray[9][5][2] = new Array("doorRed", 675, 500, 0, 50, 100, 0, 0, 0, 0);
mapsArray[9][5][3] = new Array("doorGreen", 600, 425, 90, 50, 100, 0, 0, 0, 0);
mapsArray[9][5][4] = new Array("slide", 875, 1275, 0, 50, 750, 250, 150, 0, 0);
mapsArray[9][5][5] = new Array("doorRed", 1275, 1350, 0, 50, 100, 0, 0, 0, 0);
mapsArray[9][6] = new Array();
mapsArray[9][6][0] = new Array("keyBlue", 1450, 950);
mapsArray[9][6][1] = new Array("keyRed", 1000, 1250);
mapsArray[9][6][2] = new Array("rotateP", 1700, 1250);
mapsArray[9][6][3] = new Array("speedP", 1700, 1150);
mapsArray[9][6][4] = new Array("keyGreen", 1800, 450);
mapsArray[9][6][5] = new Array("speedN", 1200, 500);
mapsArray[9][6][6] = new Array("accelN", 800, 600);
mapsArray[9][6][7] = new Array("mAccel", 1700, 1050);
mapsArray[10] = new Array();
mapsArray[10][0] = "aeiouaeiouaeiou";
mapsArray[10][1] = 30;
mapsArray[10][2] = new Array(450, 1350);
mapsArray[10][3] = new Array(850, 350);
mapsArray[10][4] = new Array();
mapsArray[10][4][0] = new Array("moveTo", 0, 0);
mapsArray[10][4][1] = new Array("point", 1300, 0);
mapsArray[10][4][2] = new Array("point", 1300, 1700);
mapsArray[10][4][3] = new Array("point", 0, 1700);
mapsArray[10][4][4] = new Array("moveTo", 800, 300);
mapsArray[10][4][5] = new Array("point", 900, 300);
mapsArray[10][4][6] = new Array("point", 900, 1000);
mapsArray[10][4][7] = new Array("point", 800, 1100);
mapsArray[10][4][8] = new Array("point", 500, 1100);
mapsArray[10][4][9] = new Array("point", 500, 1400);
mapsArray[10][4][10] = new Array("point", 400, 1400);
mapsArray[10][4][11] = new Array("point", 400, 700);
mapsArray[10][4][12] = new Array("point", 500, 600);
mapsArray[10][4][13] = new Array("point", 800, 600);
mapsArray[10][4][14] = new Array("moveTo", 550, 700);
mapsArray[10][4][15] = new Array("point", 800, 700);
mapsArray[10][4][16] = new Array("point", 800, 950);
mapsArray[10][4][17] = new Array("point", 750, 1000);
mapsArray[10][4][18] = new Array("point", 500, 1000);
mapsArray[10][4][19] = new Array("point", 500, 750);
mapsArray[10][5] = new Array();
mapsArray[10][5][0] = new Array("chomp", 575, 650, 0, 50, 100, 20, 10, 10, 0);
mapsArray[10][5][1] = new Array("chomp", 675, 650, 0, 50, 100, 20, 10, 10, 20);
mapsArray[10][5][2] = new Array("chomp", 850, 775, 90, 50, 100, 20, 10, 10, 0);
mapsArray[10][5][3] = new Array("chomp", 850, 875, 90, 50, 100, 20, 10, 10, 20);
mapsArray[10][5][4] = new Array("chomp", 625, 1050, 0, 50, 100, 20, 10, 10, 0);
mapsArray[10][5][5] = new Array("chomp", 725, 1050, 0, 50, 100, 20, 10, 10, 20);
mapsArray[10][5][6] = new Array("chomp", 450, 825, 90, 50, 100, 20, 10, 10, 0);
mapsArray[10][5][7] = new Array("chomp", 450, 925, 90, 50, 100, 20, 10, 10, 20);
mapsArray[10][5][8] = new Array("doorBlue", 525, 1050, 0, 50, 100, 0, 0, 0, 0);
mapsArray[10][5][9] = new Array("doorBlue", 850, 575, 90, 50, 100, 0, 0, 0, 0);
mapsArray[10][6] = new Array();
mapsArray[10][6][0] = new Array("keyBlue", 575, 1050);
mapsArray[11] = new Array();
mapsArray[11][0] = "twoandtwoisfour";
mapsArray[11][1] = 25;
mapsArray[11][2] = new Array(450, 800);
mapsArray[11][3] = new Array(1450, 500);
mapsArray[11][4] = new Array();
mapsArray[11][4][0] = new Array("moveTo", 0, 0);
mapsArray[11][4][1] = new Array("point", 1900, 0);
mapsArray[11][4][2] = new Array("point", 1900, 1300);
mapsArray[11][4][3] = new Array("point", 0, 1300);
mapsArray[11][4][4] = new Array("moveTo", 400, 600);
mapsArray[11][4][5] = new Array("point", 600, 600);
mapsArray[11][4][6] = new Array("point", 600, 500);
mapsArray[11][4][7] = new Array("point", 550, 450);
mapsArray[11][4][8] = new Array("point", 550, 350);
mapsArray[11][4][9] = new Array("point", 600, 300);
mapsArray[11][4][10] = new Array("point", 900, 300);
mapsArray[11][4][11] = new Array("point", 950, 350);
mapsArray[11][4][12] = new Array("point", 950, 450);
mapsArray[11][4][13] = new Array("point", 900, 500);
mapsArray[11][4][14] = new Array("point", 900, 600);
mapsArray[11][4][15] = new Array("point", 1400, 600);
mapsArray[11][4][16] = new Array("point", 1400, 450);
mapsArray[11][4][17] = new Array("point", 1500, 450);
mapsArray[11][4][18] = new Array("point", 1500, 700);
mapsArray[11][4][19] = new Array("point", 1300, 700);
mapsArray[11][4][20] = new Array("point", 1300, 800);
mapsArray[11][4][21] = new Array("point", 1350, 850);
mapsArray[11][4][22] = new Array("point", 1350, 950);
mapsArray[11][4][23] = new Array("point", 1300, 1000);
mapsArray[11][4][24] = new Array("point", 1000, 1000);
mapsArray[11][4][25] = new Array("point", 950, 950);
mapsArray[11][4][26] = new Array("point", 950, 850);
mapsArray[11][4][27] = new Array("point", 1000, 800);
mapsArray[11][4][28] = new Array("point", 1000, 700);
mapsArray[11][4][29] = new Array("point", 500, 700);
mapsArray[11][4][30] = new Array("point", 500, 850);
mapsArray[11][4][31] = new Array("point", 400, 850);
mapsArray[11][4][32] = new Array("moveTo", 700, 500);
mapsArray[11][4][33] = new Array("point", 750, 450);
mapsArray[11][4][34] = new Array("point", 800, 500);
mapsArray[11][4][35] = new Array("point", 800, 600);
mapsArray[11][4][36] = new Array("point", 700, 600);
mapsArray[11][4][37] = new Array("moveTo", 1100, 700);
mapsArray[11][4][38] = new Array("point", 1200, 700);
mapsArray[11][4][39] = new Array("point", 1200, 800);
mapsArray[11][4][40] = new Array("point", 1150, 850);
mapsArray[11][4][41] = new Array("point", 1100, 800);
mapsArray[11][5] = new Array();
mapsArray[11][5][0] = new Array("doorGreen", 925, 650, 0, 50, 100, 0, 0, 0, 0);
mapsArray[11][5][1] = new Array("doorYellow", 975, 650, 0, 50, 100, 0, 0, 0, 0);
mapsArray[11][5][2] = new Array("doorBlue", 1325, 650, 0, 50, 100, 0, 0, 0, 0);
mapsArray[11][5][3] = new Array("doorCyan", 1375, 650, 0, 50, 100, 0, 0, 0, 0);
mapsArray[11][6] = new Array();
mapsArray[11][6][0] = new Array("keyGreen", 650, 400);
mapsArray[11][6][1] = new Array("keyYellow", 850, 400);
mapsArray[11][6][2] = new Array("keyBlue", 1050, 900);
mapsArray[11][6][3] = new Array("keyCyan", 1250, 900);
mapsArray[12] = new Array();
mapsArray[12][0] = "startherefinish";
mapsArray[12][1] = 40;
mapsArray[12][2] = new Array(1250, 1000);
mapsArray[12][3] = new Array(500, 350);
mapsArray[12][4] = new Array();
mapsArray[12][4][0] = new Array("moveTo", 0, 0);
mapsArray[12][4][1] = new Array("point", 2000, 0);
mapsArray[12][4][2] = new Array("point", 2000, 1650);
mapsArray[12][4][3] = new Array("point", 0, 1650);
mapsArray[12][4][4] = new Array("moveTo", 450, 300);
mapsArray[12][4][5] = new Array("point", 550, 300);
mapsArray[12][4][6] = new Array("point", 550, 650);
mapsArray[12][4][7] = new Array("point", 450, 750);
mapsArray[12][4][8] = new Array("point", 450, 950);
mapsArray[12][4][9] = new Array("point", 550, 1050);
mapsArray[12][4][10] = new Array("point", 550, 1250);
mapsArray[12][4][11] = new Array("point", 1100, 1250);
mapsArray[12][4][12] = new Array("point", 1200, 1150);
mapsArray[12][4][13] = new Array("point", 1400, 1150);
mapsArray[12][4][14] = new Array("point", 1400, 500);
mapsArray[12][4][15] = new Array("point", 1350, 450);
mapsArray[12][4][16] = new Array("point", 850, 450);
mapsArray[12][4][17] = new Array("point", 700, 600);
mapsArray[12][4][18] = new Array("point", 700, 800);
mapsArray[12][4][19] = new Array("point", 650, 800);
mapsArray[12][4][20] = new Array("point", 600, 850);
mapsArray[12][4][21] = new Array("point", 600, 950);
mapsArray[12][4][22] = new Array("point", 650, 950);
mapsArray[12][4][23] = new Array("point", 700, 1000);
mapsArray[12][4][24] = new Array("point", 1000, 1000);
mapsArray[12][4][25] = new Array("point", 1000, 850);
mapsArray[12][4][26] = new Array("point", 950, 800);
mapsArray[12][4][27] = new Array("point", 950, 550);
mapsArray[12][4][28] = new Array("point", 1300, 550);
mapsArray[12][4][29] = new Array("point", 1300, 1050);
mapsArray[12][4][30] = new Array("point", 1200, 1050);
mapsArray[12][4][31] = new Array("point", 1200, 650);
mapsArray[12][4][32] = new Array("point", 1100, 650);
mapsArray[12][4][33] = new Array("point", 1050, 700);
mapsArray[12][4][34] = new Array("point", 1050, 1050);
mapsArray[12][4][35] = new Array("point", 600, 1050);
mapsArray[12][4][36] = new Array("point", 550, 1000);
mapsArray[12][4][37] = new Array("point", 550, 800);
mapsArray[12][4][38] = new Array("point", 600, 750);
mapsArray[12][4][39] = new Array("point", 600, 300);
mapsArray[12][4][40] = new Array("point", 1600, 300);
mapsArray[12][4][41] = new Array("point", 1600, 550);
mapsArray[12][4][42] = new Array("point", 1500, 650);
mapsArray[12][4][43] = new Array("point", 1500, 800);
mapsArray[12][4][44] = new Array("point", 1450, 850);
mapsArray[12][4][45] = new Array("point", 1450, 1100);
mapsArray[12][4][46] = new Array("point", 1500, 1150);
mapsArray[12][4][47] = new Array("point", 1500, 1300);
mapsArray[12][4][48] = new Array("point", 1450, 1350);
mapsArray[12][4][49] = new Array("point", 500, 1350);
mapsArray[12][4][50] = new Array("point", 400, 1250);
mapsArray[12][4][51] = new Array("point", 400, 700);
mapsArray[12][4][52] = new Array("point", 500, 600);
mapsArray[12][4][53] = new Array("point", 500, 500);
mapsArray[12][4][54] = new Array("point", 450, 450);
mapsArray[12][5] = new Array();
mapsArray[12][6] = new Array();
mapsArray[12][6][0] = new Array("mAccel", 850, 1025);
mapsArray[12][6][1] = new Array("mRotate", 1100, 375);
mapsArray[12][6][2] = new Array("mSpeed", 1450, 1200);
mapsArray[12][6][3] = new Array("mBrake", 425, 950);
mapsArray[13] = new Array();
mapsArray[13][0] = "twentypercentof";
mapsArray[13][1] = 40;
mapsArray[13][2] = new Array(450, 1900);
mapsArray[13][3] = new Array(1150, 350);
mapsArray[13][4] = new Array();
mapsArray[13][4][0] = new Array("moveTo", 0, 0);
mapsArray[13][4][1] = new Array("point", 1600, 0);
mapsArray[13][4][2] = new Array("point", 1600, 2250);
mapsArray[13][4][3] = new Array("point", 0, 2250);
mapsArray[13][4][4] = new Array("moveTo", 450, 450);
mapsArray[13][4][5] = new Array("point", 900, 450);
mapsArray[13][4][6] = new Array("point", 950, 500);
mapsArray[13][4][7] = new Array("point", 1000, 450);
mapsArray[13][4][8] = new Array("point", 1100, 450);
mapsArray[13][4][9] = new Array("point", 1100, 300);
mapsArray[13][4][10] = new Array("point", 1200, 300);
mapsArray[13][4][11] = new Array("point", 1200, 550);
mapsArray[13][4][12] = new Array("point", 850, 550);
mapsArray[13][4][13] = new Array("point", 800, 500);
mapsArray[13][4][14] = new Array("point", 750, 550);
mapsArray[13][4][15] = new Array("point", 550, 550);
mapsArray[13][4][16] = new Array("point", 600, 700);
mapsArray[13][4][17] = new Array("point", 500, 750);
mapsArray[13][4][18] = new Array("point", 500, 850);
mapsArray[13][4][19] = new Array("point", 650, 850);
mapsArray[13][4][20] = new Array("point", 650, 1100);
mapsArray[13][4][21] = new Array("point", 500, 1100);
mapsArray[13][4][22] = new Array("point", 500, 1150);
mapsArray[13][4][23] = new Array("point", 550, 1150);
mapsArray[13][4][24] = new Array("point", 550, 1400);
mapsArray[13][4][25] = new Array("point", 600, 1400);
mapsArray[13][4][26] = new Array("point", 650, 1450);
mapsArray[13][4][27] = new Array("point", 700, 1450);
mapsArray[13][4][28] = new Array("point", 700, 1400);
mapsArray[13][4][29] = new Array("point", 650, 1350);
mapsArray[13][4][30] = new Array("point", 650, 1200);
mapsArray[13][4][31] = new Array("point", 950, 1200);
mapsArray[13][4][32] = new Array("point", 950, 1750);
mapsArray[13][4][33] = new Array("point", 650, 1750);
mapsArray[13][4][34] = new Array("point", 650, 1650);
mapsArray[13][4][35] = new Array("point", 500, 1650);
mapsArray[13][4][36] = new Array("point", 500, 1950);
mapsArray[13][4][37] = new Array("point", 400, 1950);
mapsArray[13][4][38] = new Array("point", 400, 1550);
mapsArray[13][4][39] = new Array("point", 700, 1550);
mapsArray[13][4][40] = new Array("point", 700, 1700);
mapsArray[13][4][41] = new Array("point", 900, 1700);
mapsArray[13][4][42] = new Array("point", 900, 1650);
mapsArray[13][4][43] = new Array("point", 850, 1650);
mapsArray[13][4][44] = new Array("point", 850, 1300);
mapsArray[13][4][45] = new Array("point", 750, 1300);
mapsArray[13][4][46] = new Array("point", 750, 1350);
mapsArray[13][4][47] = new Array("point", 800, 1450);
mapsArray[13][4][48] = new Array("point", 750, 1500);
mapsArray[13][4][49] = new Array("point", 450, 1500);
mapsArray[13][4][50] = new Array("point", 450, 1200);
mapsArray[13][4][51] = new Array("point", 400, 1150);
mapsArray[13][4][52] = new Array("point", 400, 1050);
mapsArray[13][4][53] = new Array("point", 550, 1050);
mapsArray[13][4][54] = new Array("point", 550, 1000);
mapsArray[13][4][55] = new Array("point", 400, 850);
mapsArray[13][4][56] = new Array("point", 400, 750);
mapsArray[13][4][57] = new Array("point", 450, 700);
mapsArray[13][5] = new Array();
mapsArray[13][5][0] = new Array("slide", 900, 1375, 90, 50, 50, 100, 40, 0, 0);
mapsArray[13][5][1] = new Array("slide", 900, 1475, 90, 50, 50, 100, 30, 0, 0);
mapsArray[13][5][2] = new Array("slide", 900, 1575, 90, 50, 50, 100, 40, 0, 0);
mapsArray[13][6] = new Array();
mapsArray[13][6][0] = new Array("rotateP", 700, 1725);
mapsArray[13][6][1] = new Array("speedP", 800, 1725);
mapsArray[13][6][2] = new Array("brakeP", 900, 1725);
mapsArray[13][6][3] = new Array("lives", 600, 900);
mapsArray[14] = new Array();
mapsArray[14][0] = "whensitallover";
mapsArray[14][1] = 55;
mapsArray[14][2] = new Array(650, 2500);
mapsArray[14][3] = new Array(850, 2500);
mapsArray[14][4] = new Array();
mapsArray[14][4][0] = new Array("moveTo", 0, 0);
mapsArray[14][4][1] = new Array("point", 1900, 0);
mapsArray[14][4][2] = new Array("point", 1900, 2850);
mapsArray[14][4][3] = new Array("point", 0, 2850);
mapsArray[14][4][4] = new Array("moveTo", 700, 300);
mapsArray[14][4][5] = new Array("point", 1300, 300);
mapsArray[14][4][6] = new Array("point", 1400, 400);
mapsArray[14][4][7] = new Array("point", 1400, 600);
mapsArray[14][4][8] = new Array("point", 1300, 700);
mapsArray[14][4][9] = new Array("point", 1300, 800);
mapsArray[14][4][10] = new Array("point", 1200, 900);
mapsArray[14][4][11] = new Array("point", 1200, 1000);
mapsArray[14][4][12] = new Array("point", 1300, 1100);
mapsArray[14][4][13] = new Array("point", 1300, 1150);
mapsArray[14][4][14] = new Array("point", 1450, 1200);
mapsArray[14][4][15] = new Array("point", 1450, 1600);
mapsArray[14][4][16] = new Array("point", 1350, 2000);
mapsArray[14][4][17] = new Array("point", 1350, 2100);
mapsArray[14][4][18] = new Array("point", 1500, 2250);
mapsArray[14][4][19] = new Array("point", 1500, 2550);
mapsArray[14][4][20] = new Array("point", 1000, 2550);
mapsArray[14][4][21] = new Array("point", 1000, 2250);
mapsArray[14][4][22] = new Array("point", 1150, 2100);
mapsArray[14][4][23] = new Array("point", 1150, 2000);
mapsArray[14][4][24] = new Array("point", 1050, 1600);
mapsArray[14][4][25] = new Array("point", 1050, 1200);
mapsArray[14][4][26] = new Array("point", 1200, 1150);
mapsArray[14][4][27] = new Array("point", 1200, 1100);
mapsArray[14][4][28] = new Array("point", 1100, 1000);
mapsArray[14][4][29] = new Array("point", 1100, 900);
mapsArray[14][4][30] = new Array("point", 1200, 800);
mapsArray[14][4][31] = new Array("point", 1200, 500);
mapsArray[14][4][32] = new Array("point", 800, 500);
mapsArray[14][4][33] = new Array("point", 800, 1200);
mapsArray[14][4][34] = new Array("point", 500, 1200);
mapsArray[14][4][35] = new Array("point", 500, 1350);
mapsArray[14][4][36] = new Array("point", 600, 1350);
mapsArray[14][4][37] = new Array("point", 700, 1250);
mapsArray[14][4][38] = new Array("point", 800, 1350);
mapsArray[14][4][39] = new Array("point", 800, 2150);
mapsArray[14][4][40] = new Array("point", 900, 2250);
mapsArray[14][4][41] = new Array("point", 900, 2550);
mapsArray[14][4][42] = new Array("point", 800, 2550);
mapsArray[14][4][43] = new Array("point", 800, 2250);
mapsArray[14][4][44] = new Array("point", 750, 2200);
mapsArray[14][4][45] = new Array("point", 700, 2250);
mapsArray[14][4][46] = new Array("point", 700, 2550);
mapsArray[14][4][47] = new Array("point", 600, 2550);
mapsArray[14][4][48] = new Array("point", 600, 1750);
mapsArray[14][4][49] = new Array("point", 700, 1450);
mapsArray[14][4][50] = new Array("point", 600, 1450);
mapsArray[14][4][51] = new Array("point", 500, 1550);
mapsArray[14][4][52] = new Array("point", 400, 1450);
mapsArray[14][4][53] = new Array("point", 400, 1100);
mapsArray[14][4][54] = new Array("point", 700, 800);
mapsArray[14][4][55] = new Array("point", 700, 700);
mapsArray[14][4][56] = new Array("point", 600, 600);
mapsArray[14][4][57] = new Array("point", 600, 400);
mapsArray[14][4][58] = new Array("moveTo", 1150, 1600);
mapsArray[14][4][59] = new Array("point", 1250, 1500);
mapsArray[14][4][60] = new Array("point", 1350, 1600);
mapsArray[14][4][61] = new Array("point", 1250, 2000);
mapsArray[14][4][62] = new Array("moveTo", 650, 1900);
mapsArray[14][4][63] = new Array("point", 750, 1900);
mapsArray[14][4][64] = new Array("point", 750, 2050);
mapsArray[14][4][65] = new Array("point", 650, 2150);
mapsArray[14][4][66] = new Array("moveTo", 700, 900);
mapsArray[14][4][67] = new Array("point", 700, 1100);
mapsArray[14][4][68] = new Array("point", 500, 1100);
mapsArray[14][4][69] = new Array("moveTo", 1250, 2150);
mapsArray[14][4][70] = new Array("point", 1350, 2250);
mapsArray[14][4][71] = new Array("point", 1250, 2350);
mapsArray[14][4][72] = new Array("point", 1150, 2250);
mapsArray[14][5] = new Array();
mapsArray[14][5][0] = new Array("doorRed", 850, 2375, 90, 50, 100, 0, 0, 0, 0);
mapsArray[14][5][1] = new Array("spin", 1150, 1300, 200, 100, 0, 0, 0, 0, 0);
mapsArray[14][5][2] = new Array("spin", 1350, 1300, 200, 100, 0, 0, 0, 0, 0);
mapsArray[14][6] = new Array();
mapsArray[14][6][0] = new Array("mFunk", 700, 1750);
mapsArray[14][6][1] = new Array("lives", 750, 1150);
mapsArray[14][6][2] = new Array("coin", 1100, 1600);
mapsArray[14][6][3] = new Array("coin", 1400, 1600);
mapsArray[14][6][4] = new Array("time", 1200, 2000);
mapsArray[14][6][5] = new Array("time", 1300, 2000);
mapsArray[14][6][6] = new Array("keyRed", 1250, 2450);
_root.gotoAndPlay("prefs");
Instance of Symbol 291 MovieClip "inPrefs" in Frame 4
onClipEvent (load) {
pDataName = "spaceescape";
}
on (release) {
fSaveDetails(_parent.pDefaultPrefs);
}
Frame 5
function fSJ(tVal) {
var _local1 = tVal;
if (_local1 != pJMode) {
switch (_local1) {
case "on" :
if (soundOn == true) {
sJetOn.onSoundComplete = function () {
sJetLoop.start(0, 99);
};
sJetOn.setVolume(70);
sJetOn.start(0, 1);
pJMode = _local1;
}
return;
case "off" :
sJetLoop.stop();
if (soundOn != true) {
break;
}
sJetOff.setVolume(70);
sJetOff.start(0, 1);
pJMode = _local1;
}
}
}
function fSJs(tVal) {
var _local1 = tVal;
if (_local1 != pJsMode) {
switch (_local1) {
case "on" :
if (soundOn == true) {
sJetOns.onSoundComplete = function () {
sJetLoops.start(0, 99);
};
sJetOns.setVolume(60);
sJetOns.start(0, 1);
pJsMode = _local1;
}
return;
case "off" :
sJetLoops.stop();
if (soundOn != true) {
break;
}
sJetOffs.start(0, 1);
pJsMode = _local1;
}
}
}
function fS(tVal) {
var _local1 = tVal;
switch (_local1) {
case "music" :
if ((pMode != "music") and (soundOn == true)) {
sMusicLoop.stop();
sMusicWin.stop();
sMusicLoop.setVolume(60);
sMusicLoop.start(0, 500);
pMode = _local1;
}
return;
case "lose" :
sMusicLoop.stop();
if (soundOn == true) {
sMusicLose.setVolume(100);
sMusicLose.start(0, 1);
pMode = _local1;
}
return;
case "win" :
sMusicLoop.stop();
if (soundOn == true) {
sMusicWin.setVolume(100);
sMusicWin.start(0, 1);
pMode = _local1;
}
return;
case "stop" :
sMusicLoop.stop();
sMusicWin.stop();
sMusicLose.stop();
sJetLoops.stop();
sJetOns.stop();
sJetOffs.stop();
sJetLoop.stop();
sJetOn.stop();
sJetOff.stop();
pMode = _local1;
}
}
sMusicLoop = new Sound(_root.inS1);
sMusicLoop.attachSound("setune.wav");
sMusicLose = new Sound(_root.inS1);
sMusicLose.attachSound("setunelose.wav");
sMusicWin = new Sound(_root.inS1);
sMusicWin.attachSound("setunewin.wav");
sJetLoop = new Sound(_root.inS2);
sJetLoop.attachSound("JetLoop2.wav");
sJetOn = new Sound(_root.inS2);
sJetOn.attachSound("JetStart.wav");
sJetOff = new Sound(_root.inS2);
sJetOff.attachSound("JetFinish.wav");
sJetLoops = new Sound(_root.inS3);
sJetLoops.attachSound("JetLoops.wav");
sJetOns = new Sound(_root.inS3);
sJetOns.attachSound("JetStarts.wav");
sJetOffs = new Sound(_root.inS3);
sJetOffs.attachSound("JetFinishs.wav");
pJMode = "off";
pJsMode = "off";
pMode = "off";
_root.pTimeTrial = false;
pDefaultPrefs = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0];
pTimes = inPrefs.fLoadDetails();
if (pTimes == 0) {
inPrefs.fSaveDetails(pDefaultPrefs);
pTimes = inPrefs.fLoadDetails();
}
Instance of Symbol 295 MovieClip "inStars1" in Frame 5
onClipEvent (load) {
pPos = {x:this._x, y:this._y};
}
onClipEvent (enterFrame) {
pPos.y = pPos.y + 1;
if (pPos.y > 450) {
pPos.y = -380;
}
this._y = pPos.y;
}
Instance of Symbol 295 MovieClip "inStars2" in Frame 5
onClipEvent (load) {
pPos = {x:this._x, y:this._y};
}
onClipEvent (enterFrame) {
pPos.y = pPos.y + 1;
if (pPos.y > 450) {
pPos.y = -380;
}
this._y = pPos.y;
}
Frame 6
fS("music");
_root.oldScore = 0;
_root.score = 0;
_root.coins = 0;
_root.coinsBy50 = 0;
_root.timeBonus = 0;
_root.lives = 3;
_root.difficulty = 1;
_root.shipType = 1;
_root.levelNumber = 0;
if (_root.game) {
removeMovieClip(_root.game);
}
_root.pTimeTrial = false;
stop();
Frame 7
stop();
Frame 8
stop();
Frame 9
stop();
Frame 10
stop();
Frame 11
_root.pTimeTrial = true;
stop();
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 0;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 1;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 2;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 3;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 4;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 5;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 6;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 7;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 8;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 9;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 10;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 11;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 12;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 13;
}
Instance of Symbol 366 MovieClip in Frame 11
onClipEvent (load) {
pLevelNum = 14;
}
Frame 12
stop();
Instance of Symbol 374 MovieClip in Frame 12
onClipEvent (load) {
shipNum = 0;
}
Instance of Symbol 374 MovieClip in Frame 12
onClipEvent (load) {
shipNum = 1;
}
Instance of Symbol 374 MovieClip in Frame 12
onClipEvent (load) {
shipNum = 2;
}
Frame 13
stop();
_root.oldScore = score;
_root.coins = 0;
_root.coinsBy50 = 0;
_root.timeBonus = _root.mapsArray[_root.levelNumber][1];
levelMessage = "Level: " + (_root.levelNumber + 1);
passwordMessage = "Password: " + _root.mapsArray[_root.levelNumber][0];
scoreMessage = "Score: " + _root.score;
livesMessage = "Lives: " + _root.lives;
Instance of Symbol 384 MovieClip in Frame 13
onClipEvent (load) {
pWait = _root.pMenuWaitTime;
}
onClipEvent (enterFrame) {
pWait--;
if (pWait == 0) {
}
}
on (keyPress "<Up>") {
_root.gotoAndStop("game");
}
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("game");
}
Frame 14
fS("music");
stop();
this.attachMovie("game", "game", 0);
pStars = [this.inStars1, this.inStars2, this.inStars3, this.inStars4];
Frame 15
fS("win");
txTime.text = fTimeString(pTimeCount);
if ((pTimeCount < pTimes[levelNumber]) or (pTimes[levelNumber] == 0)) {
pTimes[levelNumber] = pTimeCount;
inPrefs.fSaveDetails(pTimes);
inRecord.gotoAndStop(2);
} else {
inRecord.txTime.text = fTimeString(pTimes[levelNumber]);
}
timeBonus = Math.round(timeBonus);
_root.coinsBy50 = coins * 50;
_root.score = (oldScore + coinsBy50) + timeBonus;
_root.levelNumber++;
stop();
Instance of Symbol 295 MovieClip "inStars1" in Frame 15
onClipEvent (load) {
pPos = {x:this._x, y:this._y};
}
onClipEvent (enterFrame) {
pPos.y = pPos.y + 1;
if (pPos.y > 450) {
pPos.y = -380;
}
this._y = pPos.y;
}
Instance of Symbol 295 MovieClip "inStars2" in Frame 15
onClipEvent (load) {
pPos = {x:this._x, y:this._y};
}
onClipEvent (enterFrame) {
pPos.y = pPos.y + 1;
if (pPos.y > 450) {
pPos.y = -380;
}
this._y = pPos.y;
}
Instance of Symbol 387 MovieClip in Frame 15
onClipEvent (load) {
pWait = _root.pMenuWaitTime;
}
onClipEvent (enterFrame) {
pWait--;
if (pWait == 0) {
if (_root.levelNumber >= _root.mapsArray.length) {
_root.gotoAndStop("gameOver");
} else {
_root.gotoAndStop("getReady");
}
}
}
on (keyPress "<Up>") {
if (_root.levelNumber >= _root.mapsArray.length) {
_root.gotoAndStop("gameOver");
} else {
_root.gotoAndStop("getReady");
}
}
Frame 16
fS("lose");
stop();
_root.lives--;
Instance of Symbol 412 MovieClip in Frame 16
onClipEvent (load) {
pWait = _root.pMenuWaitTime;
}
onClipEvent (enterFrame) {
pWait--;
if (pWait == 0) {
_root.gotoAndStop("getReady");
}
}
on (keyPress "<Up>") {
_root.gotoAndStop("getReady");
}
Frame 17
fS("lose");
stop();
oldScore = score;
score = oldScore + (oldScore * lives);
Frame 18
stop();
Instance of Symbol 454 MovieClip "comHighscores" in Frame 18
//component parameters
onClipEvent (initialize) {
scoreLocation = "_root.score";
gamename = "spaceescape";
saveScore = true;
scoreIsTime = false;
scoreReversed = false;
negativeScoreAllowed = false;
}
Frame 19
fS("win");
txTime.text = fTimeString(pTimeCount);
if ((pTimeCount < pTimes[levelNumber]) or (pTimes[levelNumber] == 0)) {
pTimes[levelNumber] = pTimeCount;
inPrefs.fSaveDetails(pTimes);
inRecord.gotoAndStop(2);
} else {
inRecord.txTime.text = fTimeString(pTimes[levelNumber]);
}
stop();
Instance of Symbol 387 MovieClip in Frame 19
onClipEvent (load) {
pWait = _root.pMenuWaitTime;
}
onClipEvent (enterFrame) {
}
on (keyPress "<Up>") {
_root.gotoAndStop("getReady");
}
Frame 20
fS("lose");
stop();
Instance of Symbol 412 MovieClip in Frame 20
onClipEvent (load) {
}
onClipEvent (enterFrame) {
}
on (keyPress "<Up>") {
_root.gotoAndStop("getReady");
}
Symbol 1 MovieClip [game_world] Frame 1
function powerUpsTextMessage(xLoc, yLoc, textValue) {
_root.game.world.powerUps.attachMovie("game_world_powerUps_message", "U" + _root.game.world.powerUps.count, _root.game.world.powerUps.count);
eval ("_root.game.world.powerUps.U" + _root.game.world.powerUps.count)._x = xLoc;
eval ("_root.game.world.powerUps.U" + _root.game.world.powerUps.count)._y = yLoc;
eval ("_root.game.world.powerUps.U" + _root.game.world.powerUps.count).textValue = textValue;
_root.game.world.powerUps.count++;
}
this.createEmptyMovieClip("startFinish", 0);
this.startFinish.attachMovie("game_world_startFinish_startPlate", "startPlate", 0);
this.startFinish.startPlate._x = _root.mapsArray[_root.levelNumber][2][0];
this.startFinish.startPlate._y = _root.mapsArray[_root.levelNumber][2][1];
this.startFinish.attachMovie("game_world_startFinish_endPlate", "endPlate", 1);
this.startFinish.endPlate._x = _root.mapsArray[_root.levelNumber][3][0];
this.startFinish.endPlate._y = _root.mapsArray[_root.levelNumber][3][1];
this.createEmptyMovieClip("powerUps", 1);
this.powerUps.count = 0;
i = 0;
while (i < _root.mapsArray[_root.levelNumber][6].length) {
this.powerUps.attachMovie("game_world_powerUps_U#" + _root.mapsArray[_root.levelNumber][6][this.powerUps.count][0], "U" + this.powerUps.count, this.powerUps.count);
eval ("this.powerUps.U" + i)._x = _root.mapsArray[_root.levelNumber][6][this.powerUps.count][1];
eval ("this.powerUps.U" + i)._y = _root.mapsArray[_root.levelNumber][6][this.powerUps.count][2];
this.powerUps.count++;
i++;
}
this.createEmptyMovieClip("objects", 2);
this.objects.count = 0;
i = 0;
while (i < _root.mapsArray[_root.levelNumber][5].length) {
this.objects.attachMovie("game_world_objects_U#" + _root.mapsArray[_root.levelNumber][5][this.objects.count][0], "U" + this.objects.count, this.objects.count);
eval ("this.objects.U" + i)._x = _root.mapsArray[_root.levelNumber][5][this.objects.count][1];
eval ("this.objects.U" + i)._y = _root.mapsArray[_root.levelNumber][5][this.objects.count][2];
eval ("this.objects.U" + i).var1 = _root.mapsArray[_root.levelNumber][5][this.objects.count][3];
eval ("this.objects.U" + i).var2 = _root.mapsArray[_root.levelNumber][5][this.objects.count][4];
eval ("this.objects.U" + i).var3 = _root.mapsArray[_root.levelNumber][5][this.objects.count][5];
eval ("this.objects.U" + i).var4 = _root.mapsArray[_root.levelNumber][5][this.objects.count][6];
eval ("this.objects.U" + i).var5 = _root.mapsArray[_root.levelNumber][5][this.objects.count][7];
eval ("this.objects.U" + i).var6 = _root.mapsArray[_root.levelNumber][5][this.objects.count][8];
eval ("this.objects.U" + i).var7 = _root.mapsArray[_root.levelNumber][5][this.objects.count][9];
this.objects.count++;
i++;
}
this.createEmptyMovieClip("shape", 3);
this.shape.beginFill("0x000011", 100);
i = 0;
while (i < _root.mapsArray[_root.levelNumber][4].length) {
if (_root.mapsArray[_root.levelNumber][4][i][0] == "moveTo") {
this.shape.moveTo(_root.mapsArray[_root.levelNumber][4][i][1], _root.mapsArray[_root.levelNumber][4][i][2]);
} else {
this.shape.lineTo(_root.mapsArray[_root.levelNumber][4][i][1], _root.mapsArray[_root.levelNumber][4][i][2]);
}
i++;
}
this.shape.endFill();
this._x = (-_root.mapsArray[_root.levelNumber][2][0]) + 300;
this._y = (-_root.mapsArray[_root.levelNumber][2][1]) + 225;
Symbol 7 MovieClip Frame 1
this._visible = false;
Symbol 13 Button
on (release) {
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 18 MovieClip Frame 1
pushSWF1 = "http://www.miniclip.com/swfcontent/push/didyouknow.swf";
totalAds = 1;
gotoAndPlay ("ReadCookie");
Symbol 18 MovieClip Frame 9
so = SharedObject.getLocal("MiniclipLoaderAd");
showThisAd = so.data.showThisAd + 1;
if (showThisAd > totalAds) {
showThisAd = 1;
}
so.data.showThisAd = showThisAd;
gotoAndPlay ("prepareAd");
Symbol 18 MovieClip Frame 20
doReadCookie();
showAd = ((this["pushSWF" + showThisAd] + "?cacheBuster=") + getTimer()) + random(999999);
gotoAndPlay ("loadAd");
Symbol 18 MovieClip Frame 31
if (_url.indexOf(http) > 0) {
mcAd.loadMovie(showAd);
}
mcCookie.doWriteCookie(showThisAd);
Symbol 18 MovieClip Frame 33
if ((mcAd.getBytesTotal() != 0) && (mcAd.getBytesLoaded() == mcAd.getBytesTotal())) {
lastAdShown = showThisAd;
doWriteCookie();
gotoAndStop ("showAd");
} else {
gotoAndPlay(_currentframe - 1);
}
Symbol 18 MovieClip Frame 41
stop();
Symbol 28 MovieClip Frame 1
stop();
Symbol 28 MovieClip Frame 100
stop();
Symbol 30 MovieClip Frame 1
stop();
Symbol 30 MovieClip Frame 12
_root.play();
_root.isFinished = true;
_parent.stop();
stop();
Symbol 34 Button
on (release) {
getURL ("http://www.miniclip.com/", "_blank");
}
Symbol 35 MovieClip Frame 2
_parent.mcAnimation.play();
stop();
Symbol 35 MovieClip Frame 13
_parent.gotoAndPlay("preload");
stop();
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 60
Symbol 49 MovieClip Frame 121
_parent.mcBackground.play();
stop();
Symbol 50 MovieClip Frame 1
_root.stop();
play();
Instance of Symbol 7 MovieClip "mcIntro" in Symbol 50 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 50 MovieClip Frame 2
xPos = _x;
yPos = _y;
mcBackground._x = mcBackground._x - xPos;
mcBackground._y = mcBackground._y - yPos;
mcAnimation._x = mcAnimation._x - xPos;
mcAnimation._y = mcAnimation._y - yPos;
var stageWidth = Stage.width;
var stageHeight = Stage.height;
var centerStageX = (stageWidth / 2);
var centerStageY = (stageHeight / 2);
mcBackground._width = stageWidth;
mcBackground._height = stageHeight;
mcAnimation._x = mcAnimation._x + centerStageX;
mcAnimation._y = mcAnimation._y + (centerStageY - (stageHeight / 10));
stop();
Instance of Symbol 30 MovieClip "mcLoadingAnimated" in Symbol 50 MovieClip Frame 2
onClipEvent (load) {
_visible = false;
}
Symbol 50 MovieClip Frame 3
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent == 100) {
_root.play();
stop();
} else {
mcLoadingAnimated._visible = true;
}
Symbol 50 MovieClip Frame 5
var loadedPercent = int((_root.getBytesLoaded() / _root.getBytesTotal()) * 100);
if (loadedPercent < 100) {
mcLoadingAnimated.mcLoading.gotoAndStop(loadedPercent);
mcLoadingAnimated.mcLoading.txtPercentLoaded1 = ("The game is loading (" + loadedPercent) + "%)";
mcLoadingAnimated.mcLoading.txtPercentLoaded2 = ("The game is loading (" + loadedPercent) + "%)";
gotoAndPlay(_currentframe - 1);
} else {
mcLoadingAnimated.play();
stop();
}
Symbol 57 Button
on (release) {
getURL ("http://www.miniclip.com", "_blank");
}
Symbol 58 MovieClip [game] Frame 1
this.attachMovie("game_world", "world", 0);
this.attachMovie("game_ship", "ship", 1);
this.attachMovie("game_display", "display", 2);
this.ship._x = 300;
this.ship._y = 225;
active = true;
paused = false;
inactiveCount = 0;
thisFrameTime = getTimer();
lastFrameTime = getTimer();
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
thisFrameTime = getTimer();
_local1.timeSecs = (thisFrameTime - lastFrameTime) / 1000;
if (!Key.isToggled(20)) {
paused = false;
} else {
paused = true;
}
if (active == true) {
if (paused == false) {
shipHitAX = _local2.ship._x;
shipHitAY = _local2.ship._y;
shipHitBX = _local2.ship._x + (10 * Math.sin((_local2.ship._rotation + 90) * (Math.PI/180)));
shipHitBY = _local2.ship._y - (10 * Math.cos((_local2.ship._rotation + 90) * (Math.PI/180)));
shipHitCX = _local2.ship._x + (10 * Math.sin((_local2.ship._rotation - 90) * (Math.PI/180)));
shipHitCY = _local2.ship._y - (10 * Math.cos((_local2.ship._rotation - 90) * (Math.PI/180)));
if (((((_local2.world.shape.hitTest(shipHitAX, shipHitAY, true) || (_local2.world.objects.hitTest(shipHitAX, shipHitAY, true))) || (_local2.world.shape.hitTest(shipHitBX, shipHitBY, true))) || (_local2.world.objects.hitTest(shipHitBX, shipHitBY, true))) || (_local2.world.shape.hitTest(shipHitCX, shipHitCY, true))) || (_local2.world.objects.hitTest(shipHitCX, shipHitCY, true))) {
active = false;
_local2.ship.active = false;
_local2.ship.attachMovie("game_ship_graphic#explosion", "graphic", 0);
if (_local1.soundOn == true) {
_local1.effectsSound = new Sound();
_local1.effectsSound.attachSound("sound_explosion");
_local1.effectsSound.start(0, 0);
}
}
if (_local1.game.world.startFinish.endPlate.hitTest(_local1.game.ship._x, _local1.game.ship._y, true)) {
active = false;
_local2.ship.active = false;
_local2.ship.attachMovie("game_ship_graphic#finish_" + _local1.shipType, "graphic", 0);
if (_local1.soundOn == true) {
_local1.effectsSound = new Sound();
_local1.effectsSound.attachSound("sound_fanfare");
_local1.effectsSound.start(0, 0);
}
}
if (_local1.timeBonus > 0) {
_local1.timeBonus = _local1.timeBonus - _local1.timeSecs;
}
}
} else {
paused = false;
if (inactiveCount >= 60) {
if (_local1.pTimeTrial == true) {
if (_local1.game.world.startFinish.endPlate.hitTest(_local1.game.ship._x, _local1.game.ship._y, true)) {
_local1.gotoAndStop("trialCompleted");
removeMovieClip(_local2);
} else {
_local1.gotoAndStop("trialFailed");
removeMovieClip(_local2);
}
} else if (_local1.game.world.startFinish.endPlate.hitTest(_local1.game.ship._x, _local1.game.ship._y, true)) {
_local1.gotoAndStop("levelCompleted");
removeMovieClip(_local2);
} else if (_local1.lives > 0) {
_local1.gotoAndStop("levelFailed");
removeMovieClip(_local2);
} else {
_local1.gotoAndStop("gameOver");
removeMovieClip(_local2);
}
} else {
inactiveCount++;
}
}
lastFrameTime = thisFrameTime;
};
Symbol 65 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("menu");
removeMovieClip(_root.game);
}
Symbol 69 Button
on (release) {
_root.soundOn = false;
_root.fS("stop");
}
Symbol 72 Button
on (release) {
_root.soundOn = true;
_root.inS.fPlay("button");
_root.fs("music");
}
Symbol 73 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.soundOn == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
Symbol 75 MovieClip Frame 2
stop();
Symbol 99 MovieClip Frame 1
if (pStill == true) {
gotoAndPlay (9);
} else {
gotoAndPlay (2);
}
Symbol 99 MovieClip Frame 2
_root.inS.fPlay("whoosh");
Symbol 99 MovieClip Frame 9
stop();
Symbol 102 MovieClip [game_display] Frame 1
limitAccelMin = _root.limitsArray[0][0];
limitAccelMax = _root.limitsArray[0][1];
limitSpeedMin = _root.limitsArray[1][0];
limitSpeedMax = _root.limitsArray[1][1];
limitRotateMin = _root.limitsArray[2][0];
limitRotateMax = _root.limitsArray[2][1];
limitBrakepowerMin = _root.limitsArray[3][0];
limitBrakepowerMax = _root.limitsArray[3][1];
this.accelBar._xscale = ((shipAccel - limitAccelMin) / (limitAccelMax - limitAccelMin)) * 100;
this.speedBar._xscale = ((shipSpeed - limitSpeedMin) / (limitSpeedMax - limitSpeedMin)) * 100;
this.rotateBar._xscale = ((shipRotate - limitRotateMin) / (limitRotateMax - limitRotateMin)) * 100;
this.brakepowerBar._xscale = ((shipBrakepower - limitBrakepowerMin) / (limitBrakepowerMax - limitBrakepowerMin)) * 100;
levelNumber = _root.levelNumber + 1;
lives = _root.lives;
score = _root.score;
pTimeCount = 0;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.paused == false) {
if (_local2.map) {
removeMovieClip(_local2.map);
}
} else if (!_local2.map) {
_local2.attachMovie("game_display_map", "map", 0);
}
lives = _local1.lives;
shipAccel = _local1.game.ship.accel;
shipSpeed = _local1.game.ship.speed;
shipRotate = _local1.game.ship.rotate;
shipBrakepower = _local1.game.ship.brakepower;
_local2.accelBar._xscale = ((shipAccel - limitAccelMin) / (limitAccelMax - limitAccelMin)) * 100;
_local2.speedBar._xscale = ((shipSpeed - limitSpeedMin) / (limitSpeedMax - limitSpeedMin)) * 100;
_local2.rotateBar._xscale = ((shipRotate - limitRotateMin) / (limitRotateMax - limitRotateMin)) * 100;
_local2.brakepowerBar._xscale = ((shipBrakepower - limitBrakepowerMin) / (limitBrakepowerMax - limitBrakepowerMin)) * 100;
timeBonus = Math.round(_local1.timeBonus);
coins = _local1.coins;
if (_local1.game.active == true) {
pTimeCount = pTimeCount + _local1.timeSecs;
timeCount = _local1.fTimeString(pTimeCount);
_local1.pTimeCount = pTimeCount;
}
roughFps = 1 / _local1.timeSecs;
fps = Math.round(roughFps);
};
if (_root.pTimeTrial == false) {
stop();
} else {
gotoAndStop (2);
}
Instance of Symbol 99 MovieClip in Symbol 102 MovieClip [game_display] Frame 1
onClipEvent (load) {
pStill = true;
}
Symbol 106 MovieClip [game_display_map] Frame 1
if (_root.game.world._width > _root.game.world._height) {
divide = _root.game.world._width;
} else {
divide = _root.game.world._height;
}
this.createEmptyMovieClip("shape", 0);
this.shape.beginFill("0x00FFFF", 75);
i = 0;
while (i < _root.mapsArray[_root.levelNumber][4].length) {
if (_root.mapsArray[_root.levelNumber][4][i][0] == "moveTo") {
this.shape.moveTo((_root.mapsArray[_root.levelNumber][4][i][1] / divide) * 350, (_root.mapsArray[_root.levelNumber][4][i][2] / divide) * 350);
} else {
this.shape.lineTo((_root.mapsArray[_root.levelNumber][4][i][1] / divide) * 350, (_root.mapsArray[_root.levelNumber][4][i][2] / divide) * 350);
}
i++;
}
this.shape.endFill();
halfWidth = (50 / divide) * 350;
halfHeight = (50 / divide) * 350;
startLocX = (_root.mapsArray[_root.levelNumber][2][0] / divide) * 350;
startLocY = (_root.mapsArray[_root.levelNumber][2][1] / divide) * 350;
this.shape.beginFill("0xFF0000", 75);
this.shape.moveTo(startLocX - halfWidth, startLocY - halfHeight);
this.shape.lineTo(startLocX + halfWidth, startLocY - halfHeight);
this.shape.lineTo(startLocX + halfWidth, startLocY + halfHeight);
this.shape.lineTo(startLocX - halfWidth, startLocY + halfHeight);
this.shape.lineTo(startLocX - halfWidth, startLocY - halfHeight);
this.shape.endFill();
endLocX = (_root.mapsArray[_root.levelNumber][3][0] / divide) * 350;
endLocY = (_root.mapsArray[_root.levelNumber][3][1] / divide) * 350;
this.shape.beginFill("0x00FF00", 75);
this.shape.moveTo(endLocX - halfWidth, endLocY - halfHeight);
this.shape.lineTo(endLocX + halfWidth, endLocY - halfHeight);
this.shape.lineTo(endLocX + halfWidth, endLocY + halfHeight);
this.shape.lineTo(endLocX - halfWidth, endLocY + halfHeight);
this.shape.lineTo(endLocX - halfWidth, endLocY - halfHeight);
this.shape.endFill();
yourLocX = (((-_root.game.world._x) + 300) / divide) * 350;
yourLocY = (((-_root.game.world._y) + 225) / divide) * 350;
this.shape.beginFill("0xFFFF00", 100);
this.shape.moveTo(yourLocX - 2, yourLocY - 2);
this.shape.lineTo(yourLocX + 2, yourLocY - 2);
this.shape.lineTo(yourLocX + 2, yourLocY + 2);
this.shape.lineTo(yourLocX - 2, yourLocY + 2);
this.shape.lineTo(yourLocX - 2, yourLocY - 2);
this.shape.endFill();
this.shape._x = (600 - this.shape._width) / 2;
this.shape._y = (450 - this.shape._height) / 2;
Symbol 107 MovieClip [game_ship] Frame 1
this.attachMovie("game_ship_graphic#" + _root.shipType, "graphic", 0);
accel = _root.shipsArray[_root.shipType][0];
speed = _root.shipsArray[_root.shipType][1];
rotate = _root.shipsArray[_root.shipType][2];
brakepower = _root.shipsArray[_root.shipType][3];
keyBlue = false;
keyGreen = false;
keyRed = false;
keyYellow = false;
keyCyan = false;
keyPink = false;
active = true;
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if ((active == true) && (_local1.game.paused == false)) {
if (accel > _local1.limitsArray[0][1]) {
accel = _local1.limitsArray[0][1];
} else if (accel < _local1.limitsArray[0][0]) {
accel = _local1.limitsArray[0][0];
}
if (speed > _local1.limitsArray[1][1]) {
speed = _local1.limitsArray[1][1];
} else if (speed < _local1.limitsArray[1][0]) {
speed = _local1.limitsArray[1][0];
}
if (rotate > _local1.limitsArray[2][1]) {
rotate = _local1.limitsArray[2][1];
} else if (rotate < _local1.limitsArray[2][0]) {
rotate = _local1.limitsArray[2][0];
}
if (brakepower > _local1.limitsArray[3][1]) {
brakepower = _local1.limitsArray[3][1];
} else if (brakepower < _local1.limitsArray[3][0]) {
brakepower = _local1.limitsArray[3][0];
}
if (Key.isDown(38)) {
moveX = moveX + (accel * Math.sin(_rotation * (Math.PI/180)));
moveY = moveY - (accel * Math.cos(_rotation * (Math.PI/180)));
_local2.graphic.thrust._visible = true;
_local1.fSJ("on");
} else {
_local2.graphic.thrust._visible = false;
_local1.fSJ("off");
}
if (Key.isDown(32) || (Key.isDown(40))) {
moveX = moveX * (_local1.limitsArray[3][0] + (_local1.limitsArray[3][1] - brakepower));
moveY = moveY * (_local1.limitsArray[3][0] + (_local1.limitsArray[3][1] - brakepower));
}
if (Key.isDown(37) && (Key.isDown(39))) {
rotation = 0;
_local2.graphic.left._visible = true;
_local2.graphic.right._visible = true;
_local1.fSJs("on");
} else if (Key.isDown(37) || (Key.isDown(39))) {
rotation = 0;
_local2.graphic.left._visible = false;
_local2.graphic.right._visible = false;
if (Key.isDown(37)) {
rotation = -rotate;
_local2.graphic.left._visible = true;
}
if (Key.isDown(39)) {
rotation = rotate;
_local2.graphic.right._visible = true;
}
_local1.fSJs("on");
} else {
_local1.fSJs("off");
rotation = 0;
_local2.graphic.left._visible = false;
_local2.graphic.right._visible = false;
}
currentSpeed = Math.sqrt((moveX * moveX) + (moveY * moveY));
if (currentSpeed >= speed) {
moveX = moveX * (speed / currentSpeed);
moveY = moveY * (speed / currentSpeed);
}
finalMoveX = moveX * _local1.timeSecs;
finalMoveY = moveY * _local1.timeSecs;
finalRotation = rotation * _local1.timeSecs;
_local2._rotation = _local2._rotation + finalRotation;
_local1.game.world._x = _local1.game.world._x - finalMoveX;
_local1.game.world._y = _local1.game.world._y - finalMoveY;
_local1.game.objects._x = _local1.game.objects._x - finalMoveX;
_local1.game.objects._y = _local1.game.objects._y - finalMoveY;
_local1.fMoveStars(finalMoveX, finalMoveY);
} else {
_local1.fSJ("off");
_local1.fSJs("off");
_local2.graphic.thrust._visible = false;
_local2.graphic.left._visible = false;
_local2.graphic.right._visible = false;
}
};
Instance of Symbol 115 MovieClip "left" in Symbol 120 MovieClip [game_ship_graphic#1] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 116 MovieClip "right" in Symbol 120 MovieClip [game_ship_graphic#1] Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 119 MovieClip "thrust" in Symbol 120 MovieClip [game_ship_graphic#1] Frame 1
onClipEvent (load) {
this._visible = false;
}
Symbol 127 MovieClip [game_ship_graphic#explosion] Frame 2
_root.inS.fPlay("explosion1");
Symbol 127 MovieClip [game_ship_graphic#explosion] Frame 9
_root.inS.fPlay("explosion2");
Symbol 127 MovieClip [game_ship_graphic#explosion] Frame 24
stop();
Symbol 130 MovieClip [game_ship_graphic#finish_1] Frame 2
_root.inS.fPlay("finish");
Symbol 130 MovieClip [game_ship_graphic#finish_1] Frame 19
_root.inS.fPlay("takeoff");
Symbol 130 MovieClip [game_ship_graphic#finish_1] Frame 62
stop();
Symbol 134 MovieClip [game_world_objects_U#chomp] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
timeOpen = var4;
timeClosing = var5;
timeClosed = var6;
count = var7;
this.bar1._y = -((var3 / 4) * 3);
this.bar2._y = (var3 / 4) * 3;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
count++;
if (count < timeOpen) {
_local1.bar1._y = -((var3 / 4) * 3);
_local1.bar2._y = (var3 / 4) * 3;
} else if (count < (timeOpen + timeClosing)) {
_local1.bar1._y = _local1.bar1._y + ((var3 / 2) / timeClosing);
_local1.bar2._y = _local1.bar2._y - ((var3 / 2) / timeClosing);
} else if (count < ((timeOpen + timeClosing) + timeClosed)) {
_local1.bar1._y = -(var3 / 4);
_local1.bar2._y = var3 / 4;
} else if (count < (((timeOpen + timeClosing) + timeClosed) + timeClosing)) {
_local1.bar1._y = _local1.bar1._y - ((var3 / 2) / timeClosing);
_local1.bar2._y = _local1.bar2._y + ((var3 / 2) / timeClosing);
} else {
count = 0;
}
if (_local1.bar._y >= (zone / 2)) {
move = -1;
} else if (_local1.bar._y <= (-(zone / 2))) {
move = 1;
}
_local1.bar._y = _local1.bar._y + (moveAmount * move);
}
};
Symbol 137 MovieClip [game_world_objects_U#doorBlue] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
this.bar1._y = -(var3 / 4);
this.bar2._y = var3 / 4;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_root.game.ship.keyBlue == true) {
if ((_local1.bar1._y > (-((var3 / 4) * 3))) && (_local1.bar2._y < ((var3 / 4) * 3))) {
_local1.bar1._y = _local1.bar1._y - 6;
_local1.bar2._y = _local1.bar2._y + 6;
}
}
}
};
Symbol 140 MovieClip [game_world_objects_U#doorCyan] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
this.bar1._y = -(var3 / 4);
this.bar2._y = var3 / 4;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_root.game.ship.keyCyan == true) {
if ((_local1.bar1._y > (-((var3 / 4) * 3))) && (_local1.bar2._y < ((var3 / 4) * 3))) {
_local1.bar1._y = _local1.bar1._y - 6;
_local1.bar2._y = _local1.bar2._y + 6;
}
}
}
};
Symbol 143 MovieClip [game_world_objects_U#doorGreen] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
this.bar1._y = -(var3 / 4);
this.bar2._y = var3 / 4;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_root.game.ship.keyGreen == true) {
if ((_local1.bar1._y > (-((var3 / 4) * 3))) && (_local1.bar2._y < ((var3 / 4) * 3))) {
_local1.bar1._y = _local1.bar1._y - 6;
_local1.bar2._y = _local1.bar2._y + 6;
}
}
}
};
Symbol 146 MovieClip [game_world_objects_U#doorPink] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
this.bar1._y = -(var3 / 4);
this.bar2._y = var3 / 4;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_root.game.ship.keyPink == true) {
if ((_local1.bar1._y > (-((var3 / 4) * 3))) && (_local1.bar2._y < ((var3 / 4) * 3))) {
_local1.bar1._y = _local1.bar1._y - 6;
_local1.bar2._y = _local1.bar2._y + 6;
}
}
}
};
Symbol 148 MovieClip [game_world_objects_U#doorRed] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
this.bar1._y = -(var3 / 4);
this.bar2._y = var3 / 4;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_root.game.ship.keyRed == true) {
if ((_local1.bar1._y > (-((var3 / 4) * 3))) && (_local1.bar2._y < ((var3 / 4) * 3))) {
_local1.bar1._y = _local1.bar1._y - 6;
_local1.bar2._y = _local1.bar2._y + 6;
}
}
}
};
Symbol 151 MovieClip [game_world_objects_U#doorYellow] Frame 1
_rotation = var1;
this.bar1._width = var2;
this.bar2._width = var2;
this.bar1._height = var3 / 2;
this.bar2._height = var3 / 2;
this.bar1._y = -(var3 / 4);
this.bar2._y = var3 / 4;
this.bar1._width = var2;
this.bar2._width = var2;
this.marker1._y = -(var3 / 2);
this.marker2._y = var3 / 2;
this.marker1._width = var2;
this.marker2._width = var2;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_root.game.ship.keyYellow == true) {
if ((_local1.bar1._y > (-((var3 / 4) * 3))) && (_local1.bar2._y < ((var3 / 4) * 3))) {
_local1.bar1._y = _local1.bar1._y - 6;
_local1.bar2._y = _local1.bar2._y + 6;
}
}
}
};
Symbol 152 MovieClip [game_world_objects_U#slide] Frame 1
_rotation = var1;
this.bar._height = var2;
this.bar._width = var3;
zone = var4 - var2;
moveAmount = zone / var5;
this.marker1._y = -(var4 / 2);
this.marker2._y = var4 / 2;
this.marker1._width = var3;
this.marker2._width = var3;
this.bar._y = moveAmount * var6;
move = 1;
this.onEnterFrame = function () {
var _local1 = this;
if (_root.game.paused == false) {
if (_local1.bar._y >= (zone / 2)) {
move = -1;
} else if (_local1.bar._y <= (-(zone / 2))) {
move = 1;
}
_local1.bar._y = _local1.bar._y + (moveAmount * move);
}
};
Symbol 157 MovieClip [game_world_objects_U#spin] Frame 1
this.blade._xscale = var1 / 2;
this.blade._yscale = var1 / 2;
this.blade._rotation = (360 / var2) * var3;
this.onEnterFrame = function () {
if (_root.game.paused == false) {
this.blade._rotation = this.blade._rotation + (360 / var2);
}
};
Symbol 179 MovieClip [game_world_powerUps_message] Frame 2
_root.inS.fPlay("pickup");
Symbol 179 MovieClip [game_world_powerUps_message] Frame 21
stop();
removeMovieClip(this);
Symbol 195 MovieClip [game_world_powerUps_U#accelN] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.accel = _local1.game.ship.accel - ((_local1.limitsArray[0][1] - _local1.limitsArray[0][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Accel-");
removeMovieClip(_local2);
}
};
Symbol 197 MovieClip [game_world_powerUps_U#accelP] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.accel = _local1.game.ship.accel + ((_local1.limitsArray[0][1] - _local1.limitsArray[0][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Accel+");
removeMovieClip(_local2);
}
};
Symbol 199 MovieClip [game_world_powerUps_U#brakeN] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.brakepower = _local1.game.ship.brakepower - ((_local1.limitsArray[3][1] - _local1.limitsArray[3][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Brake-");
removeMovieClip(_local2);
}
};
Symbol 201 MovieClip [game_world_powerUps_U#brakeP] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.brakepower = _local1.game.ship.brakepower + ((_local1.limitsArray[3][1] - _local1.limitsArray[3][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Brake+");
removeMovieClip(_local2);
}
};
Symbol 203 MovieClip [game_world_powerUps_U#coin] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.coins = _local2.coins + 1;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Coin");
removeMovieClip(_local1);
}
};
Symbol 213 MovieClip [game_world_powerUps_U#keyBlue] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.keyBlue = true;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Blue Key");
removeMovieClip(_local1);
}
};
Symbol 215 MovieClip [game_world_powerUps_U#keyCyan] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.keyCyan = true;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Cyan Key");
removeMovieClip(_local1);
}
};
Symbol 217 MovieClip [game_world_powerUps_U#keyGreen] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.keyGreen = true;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Green Key");
removeMovieClip(_local1);
}
};
Symbol 219 MovieClip [game_world_powerUps_U#keyPink] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.keyPink = true;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Pink Key");
removeMovieClip(_local1);
}
};
Symbol 221 MovieClip [game_world_powerUps_U#keyRed] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.keyRed = true;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Red Key");
removeMovieClip(_local1);
}
};
Symbol 223 MovieClip [game_world_powerUps_U#keyYellow] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.keyYellow = true;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Yellow Key");
removeMovieClip(_local1);
}
};
Symbol 225 MovieClip [game_world_powerUps_U#lives] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.lives = _local2.lives + 1;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Extra Life");
removeMovieClip(_local1);
}
};
Symbol 228 MovieClip [game_world_powerUps_U#mAccel] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.accel = _local2.limitsArray[0][1];
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Magic Accel");
removeMovieClip(_local1);
}
};
Symbol 229 MovieClip [game_world_powerUps_U#mBrake] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.brakepower = _local2.limitsArray[3][1];
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Magic Brake Power");
removeMovieClip(_local1);
}
};
Symbol 230 MovieClip [game_world_powerUps_U#mFunk] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.accel = _local1.limitsArray[0][1];
_local1.game.ship.speed = _local1.limitsArray[1][1];
_local1.game.ship.rotate = _local1.limitsArray[2][1];
_local1.game.ship.brakepower = _local1.limitsArray[3][1];
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Magic Funk");
removeMovieClip(_local2);
}
};
Symbol 232 MovieClip [game_world_powerUps_U#mRotate] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.rotate = _local2.limitsArray[2][1];
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Magic Rotate");
removeMovieClip(_local1);
}
};
Symbol 234 MovieClip [game_world_powerUps_U#mSpeed] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.game.ship.speed = _local2.limitsArray[1][1];
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Magic Speed");
removeMovieClip(_local1);
}
};
Symbol 235 MovieClip [game_world_powerUps_U#rotateN] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.rotate = _local1.game.ship.rotate - ((_local1.limitsArray[2][1] - _local1.limitsArray[2][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Rotate-");
removeMovieClip(_local2);
}
};
Symbol 237 MovieClip [game_world_powerUps_U#rotateP] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.rotate = _local1.game.ship.rotate + ((_local1.limitsArray[2][1] - _local1.limitsArray[2][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Rotate+");
removeMovieClip(_local2);
}
};
Symbol 238 MovieClip [game_world_powerUps_U#speedN] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.speed = _local1.game.ship.speed - ((_local1.limitsArray[1][1] - _local1.limitsArray[1][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Speed-");
removeMovieClip(_local2);
}
};
Symbol 240 MovieClip [game_world_powerUps_U#speedP] Frame 1
this.onEnterFrame = function () {
var _local1 = _root;
var _local2 = this;
if (_local1.game.ship.hitTest(_local2._x + _parent._parent._x, _local2._y + _parent._parent._y, true) && (_local1.game.ship.active == true)) {
_local1.game.ship.speed = _local1.game.ship.speed + ((_local1.limitsArray[1][1] - _local1.limitsArray[1][0]) / 3);
_local1.game.world.powerUpsTextMessage(_local2._x, _local2._y, "Speed+");
removeMovieClip(_local2);
}
};
Symbol 242 MovieClip [game_world_powerUps_U#time] Frame 1
this.onEnterFrame = function () {
var _local1 = this;
var _local2 = _root;
if (_local2.game.ship.hitTest(_local1._x + _parent._parent._x, _local1._y + _parent._parent._y, true) && (_local2.game.ship.active == true)) {
_local2.timeBonus = _local2.timeBonus + 5;
_local2.game.world.powerUpsTextMessage(_local1._x, _local1._y, "Time Bonus");
removeMovieClip(_local1);
}
};
Symbol 289 MovieClip Frame 1
function fPlay(tVal) {
if (_root.soundOn == true) {
gotoAndPlay(tVal);
}
}
stop();
Symbol 289 MovieClip Frame 35
stop();
Symbol 289 MovieClip Frame 85
stop();
Symbol 289 MovieClip Frame 106
stop();
Symbol 289 MovieClip Frame 118
stop();
Symbol 289 MovieClip Frame 150
stop();
Symbol 289 MovieClip Frame 165
stop();
Symbol 289 MovieClip Frame 178
stop();
Symbol 291 MovieClip Frame 1
function fLoadDetails() {
sO = SharedObject.getLocal(pDataName);
if (sO.data.times != undefined) {
var _local1 = sO.data.times;
} else {
var _local1 = 0;
}
return(_local1);
}
function fSaveDetails(tTimes) {
sO.data.times = tTimes;
if (!sO.flush()) {
}
}
if (_parent.DB == 1) {
stop();
}
Symbol 291 MovieClip Frame 2
stop();
Symbol 299 Button
on (release) {
_root.fStartGame();
_root.inS.fPlay("button");
}
Symbol 302 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("timeTrials");
}
Symbol 305 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("help1");
}
Symbol 308 Button
on (release) {
_root.soundOn = false;
_root.fS("stop");
}
Symbol 311 Button
on (release) {
_root.soundOn = true;
_root.inS.fPlay("button");
_root.fS("music");
}
Symbol 312 MovieClip Frame 1
this.onEnterFrame = function () {
if (_root.soundOn == true) {
this.gotoAndStop(1);
} else {
this.gotoAndStop(2);
}
};
Symbol 313 Button
on (release) {
_root.inS.fPlay("button");
_root.fStartGame();
}
Symbol 314 MovieClip Frame 1
gotoAndPlay (2);
Symbol 314 MovieClip Frame 32
stop();
Symbol 321 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("help2");
}
Symbol 330 MovieClip Frame 1
gotoAndPlay (2);
Symbol 330 MovieClip Frame 2
_root.inS.fPlay("whoosh");
Symbol 330 MovieClip Frame 11
stop();
Symbol 335 Button
on (release) {
_root.inS.fPlay("button");
gotoAndStop ("menu");
}
Symbol 353 Button
on (release) {
foundLevel = false;
upperInput = inputValue.toUpperCase();
i = 0;
while (i < _root.mapsArray.length) {
upperName = _root.mapsArray[i][0];
upperName = upperName.toUpperCase();
if (upperName == upperInput) {
_root.levelNumber = i;
_root.gotoAndStop("selectShip");
foundLevel = true;
break;
}
i++;
}
if (foundLevel == false) {
messageValue = "Password Incorrect";
inputValue = "";
}
}
on (press) {
foundLevel = false;
upperInput = inputValue.toUpperCase();
i = 0;
while (i < _root.mapsArray.length) {
upperName = _root.mapsArray[i][0];
upperName = upperName.toUpperCase();
if (upperName == upperInput) {
_root.levelNumber = i;
_root.gotoAndStop("selectShip");
foundLevel = true;
break;
}
i++;
}
if (foundLevel == false) {
messageValue = "Password Incorrect";
inputValue = "";
}
}
Symbol 354 MovieClip Frame 1
messageValue = "";
Symbol 356 MovieClip Frame 1
gotoAndPlay (2);
Symbol 356 MovieClip Frame 2
_root.inS.fPlay("whoosh");
Symbol 356 MovieClip Frame 11
stop();
Symbol 362 Button
on (release) {
_root.inS.fPlay("button");
_root.levelNumber = pLevelNum;
_root.gotoAndStop("getReady");
}
Symbol 366 MovieClip Frame 1
pBestTime = _root.fTimeString(_root.pTimes[pLevelNum]);
pLevelNumDisplay = pLevelNum + 1;
if (_root.game.world._width > _root.game.world._height) {
divide = _root.game.world._width;
} else {
divide = _root.game.world._height;
}
divide = 21000;
this.createEmptyMovieClip("shape", 0);
this.shape.beginFill("0x405482", 100);
i = 0;
while (i < _root.mapsArray[pLevelNum][4].length) {
if (_root.mapsArray[pLevelNum][4][i][0] == "moveTo") {
this.shape.moveTo((_root.mapsArray[pLevelNum][4][i][1] / divide) * 350, (_root.mapsArray[pLevelNum][4][i][2] / divide) * 350);
} else {
this.shape.lineTo((_root.mapsArray[pLevelNum][4][i][1] / divide) * 350, (_root.mapsArray[pLevelNum][4][i][2] / divide) * 350);
}
i++;
}
this.shape.endFill();
halfWidth = 50 / divide;
halfHeight = 50 / divide;
startLocX = 0;
startLocY = 0;
this.shape.beginFill("0xFF0000", 100);
this.shape.moveTo(startLocX - halfWidth, startLocY - halfHeight);
this.shape.lineTo(startLocX + halfWidth, startLocY - halfHeight);
this.shape.lineTo(startLocX + halfWidth, startLocY + halfHeight);
this.shape.lineTo(startLocX - halfWidth, startLocY + halfHeight);
this.shape.lineTo(startLocX - halfWidth, startLocY - halfHeight);
this.shape.endFill();
endLocX = (_root.mapsArray[pLevelNum][3][0] / divide) * 350;
endLocY = (_root.mapsArray[pLevelNum][3][1] / divide) * 350;
this.shape.beginFill("0x00FF00", 100);
this.shape.moveTo(endLocX - halfWidth, endLocY - halfHeight);
this.shape.lineTo(endLocX + halfWidth, endLocY - halfHeight);
this.shape.lineTo(endLocX + halfWidth, endLocY + halfHeight);
this.shape.lineTo(endLocX - halfWidth, endLocY + halfHeight);
this.shape.lineTo(endLocX - halfWidth, endLocY - halfHeight);
this.shape.endFill();
this.shape._x = 50 - (this.shape._width / 2);
this.shape._y = 50 - (this.shape._height / 2);
if (_root.pTimes[pLevelNum] == 0) {
stop();
} else {
gotoAndStop (2);
txTime.text = pBestTime;
}
Symbol 366 MovieClip Frame 2
stop();
Symbol 370 Button
on (release) {
_root.shipType = shipNum;
_root.gotoAndStop("getReady");
}
Symbol 374 MovieClip Frame 1
shipAccel = _root.shipsArray[shipNum][0];
shipSpeed = _root.shipsArray[shipNum][1];
shipRotate = _root.shipsArray[shipNum][2];
shipBrakepower = _root.shipsArray[shipNum][3];
shipName = _root.shipsArray[shipNum][4];
limitAccelMin = _root.limitsArray[0][0];
limitAccelMax = _root.limitsArray[0][1];
limitSpeedMin = _root.limitsArray[1][0];
limitSpeedMax = _root.limitsArray[1][1];
limitRotateMin = _root.limitsArray[2][0];
limitRotateMax = _root.limitsArray[2][1];
limitBrakepowerMin = _root.limitsArray[3][0];
limitBrakepowerMax = _root.limitsArray[3][1];
this.accelBar._xscale = ((shipAccel - limitAccelMin) / (limitAccelMax - limitAccelMin)) * 100;
this.speedBar._xscale = ((shipSpeed - limitSpeedMin) / (limitSpeedMax - limitSpeedMin)) * 100;
this.rotateBar._xscale = ((shipRotate - limitRotateMin) / (limitRotateMax - limitRotateMin)) * 100;
this.brakepowerBar._xscale = ((shipBrakepower - limitBrakepowerMin) / (limitBrakepowerMax - limitBrakepowerMin)) * 100;
this.attachMovie("game_ship_graphic#" + shipNum, "graphic", 0);
Symbol 377 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("game");
}
Symbol 384 MovieClip Frame 1
gotoAndPlay (2);
Symbol 384 MovieClip Frame 2
_root.inS.fPlay("whoosh");
Symbol 384 MovieClip Frame 26
stop();
Symbol 387 MovieClip Frame 1
_root.inS.fPlay("whoosh");
gotoAndPlay (2);
Symbol 387 MovieClip Frame 9
stop();
Symbol 388 Button
on (release) {
_root.inS.fPlay("button");
if (_root.levelNumber >= _root.mapsArray.length) {
_root.gotoAndStop("gameOver");
} else {
_root.gotoAndStop("getReady");
}
}
Symbol 403 MovieClip Frame 1
stop();
Symbol 403 MovieClip Frame 2
stop();
Symbol 406 Button
on (release) {
_root.gotoAndStop("menu");
}
Symbol 412 MovieClip Frame 1
gotoAndPlay (2);
Symbol 412 MovieClip Frame 2
_root.inS.fPlay("whoosh");
Symbol 412 MovieClip Frame 8
_root.inS.fPlay("explosion1");
Symbol 412 MovieClip Frame 13
stop();
Symbol 413 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("getReady");
}
Symbol 422 MovieClip Frame 1
_root.inS.fPlay("whoosh");
gotoAndPlay (2);
Symbol 422 MovieClip Frame 9
_root.inS.fPlay("explosion1");
Symbol 422 MovieClip Frame 15
stop();
Symbol 425 Button
on (release) {
_root.inS.fPlay("button");
gotoAndStop ("highscores");
}
Symbol 433 MovieClip Frame 1
this._visible = false;
Symbol 448 Button
on (release) {
gameURL = ("http://www.miniclip.com/" + gamename) + ".htm";
getURL (gameURL, "_blank");
}
Instance of Symbol 433 MovieClip "mcHighscores" in Symbol 454 MovieClip Frame 1
onClipEvent (load) {
_visible = false;
}
Symbol 454 MovieClip Frame 2
if (_url.indexOf("miniclip.com") == -1) {
gotoAndStop(_currentframe + 1);
} else {
var noCache = (getTimer() + random(100000));
mcTarget.loadMovie("http://www.miniclip.com/swfcontent/highscore.swf?" + noCache);
stop();
}
Symbol 454 MovieClip Frame 3
stop();
Symbol 459 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("timeTrials");
}
Symbol 462 Button
on (release) {
_root.inS.fPlay("button");
_root.gotoAndStop("getReady");
}