Frame 1
var range = 282;
var preloaderStart = -655;
preloader.bar._x = preloaderStart;
preloader.preText.gotoAndStop(1);
preloader.onEnterFrame = function () {
var _local4 = _root.getBytesLoaded();
var _local3 = _root.getBytesTotal();
if (_local3 != -1) {
var _local6 = Math.round(_local4 / 1024);
var _local5 = Math.round(_local3 / 1024);
percent = Math.round((_local6 / _local5) * 100);
if (isNaN(percent)) {
preloader.bar._x = preloaderStart;
} else {
preloader.bar._x = preloaderStart + (range * (percent / 100));
}
if ((_local4 == _local3) && (_local3 > 0)) {
delete this.onEnterFrame;
gotoAndPlay ("title");
}
}
};
stop();
Frame 10
stop();
_global.globalSound = new Sound();
globalSound.setVolume(100);
btnSelect.onRelease = function () {
gotoAndPlay ("select");
};
btnInstructions.onRelease = function () {
gotoAndPlay ("instructions");
};
Frame 20
function makeOpponents() {
i = 0;
while (i < opponents.length) {
var _local1 = planeContainer.attachMovie(opponents[i].mc, "opponent" + i, planeDepth - i);
_local1.x = positions[i].x;
_local1.y = positions[i].y;
flyIn(_local1, _local1.x, _local1.y, positions[i].w);
_local1.offsetX = positions[i].offset;
_local1.offsetY = 0;
_local1.angle_increment = opponents[i].angleInc * RAD2DEG;
_local1.angleBase = _local1.angleInc;
_local1.speed = opponents[i].speed;
_local1.waypoint_range = opponents[i].waypoint_range;
_local1.finished = false;
_local1.energy = opponents[i].energy;
_local1.energyMax = opponents[i].energyMax;
_local1.spx = _local1.x;
_local1.spy = _local1.y;
_local1.plane.gotoAndPlay(turnCenter);
_local1.waypoint = 0;
_local1.laps = 0;
_local1.gameTime = 100000000 /* 0x5F5E100 */;
_local1.filters = [planeShadow];
opponentsArray.push(_local1);
i++;
}
}
function moveOpponent(opponent, dx, dy) {
if (opponent.finished) {
opponent.speed = opponent.speed * 0.93;
opponent._xscale = Math.max(70, opponent._xscale * 0.99);
opponent._yscale = Math.max(70, opponent._yscale * 0.99);
}
if ((opponent.energy <= 0) && (opponent.ready)) {
opponent.ready = false;
opponent.filters = [];
opponent.plane.gotoAndPlay("crash");
}
if (opponent.ready) {
var _local3 = opponent._rotation;
var _local10 = waypointsArray[opponent.waypoint]._x + opponent.offsetX;
var _local9 = waypointsArray[opponent.waypoint]._y + opponent.offsetY;
var _local4 = {x:_local10, y:_local9};
markers.localToGlobal(_local4);
var _local6 = opponent._x;
var _local5 = opponent._y;
var _local7 = getRange(_local4.x, _local4.y, _local6, _local5);
var _local8 = getDir(_local4.x, _local4.y, _local6, _local5, _local3);
if (_local7 <= opponent.waypoint_range) {
opponent.waypoint++;
if (opponent.waypoint >= waypointsArray.length) {
opponent.waypoint = 0;
opponent.laps++;
if ((opponent.laps >= lapsTotal) && (!opponent.finished)) {
opponent.gameTime = _global.myTimer.getMili();
opponent.finished = true;
opponent.filters = [];
}
}
}
sDiff = _local8 - _local3;
if (sDiff < (-accuracy)) {
_local3 = _local3 - opponent.angle_increment;
} else if (sDiff > accuracy) {
_local3 = _local3 + opponent.angle_increment;
}
opponent.sdx = Math.sin(_local3 * DEG2RAD);
opponent.sdy = Math.cos(_local3 * DEG2RAD);
opponent.svx = opponent.sdx * opponent.speed;
opponent.svy = opponent.sdy * opponent.speed;
opponent.spx = (opponent.spx + opponent.svx) + dx;
opponent.spy = (opponent.spy - opponent.svy) - dy;
opponent._rotation = _local3;
opponent._x = opponent.spx;
opponent._y = opponent.spy;
}
}
function moveOpponents() {
i = 0;
while (i < opponentsArray.length) {
moveOpponent(opponentsArray[i], dx, dy);
i++;
}
}
function setPlanes(pos) {
if (pos == 0) {
selection.gotoAndPlay("bertie");
selection.stats.speed.bar._width = ((((bertie.speed - speedMin) / speedDiff) * barWidth) / 2) + (barWidth / 2);
selection.stats.manouvre.bar._width = (bertie.angleInc / angleIncMax) * barWidth;
player = bertie;
opponents = [lenny, freddie, prissie];
playerSound.attachSound("prop1");
playerSound.setVolume(5);
} else if (pos == 1) {
selection.gotoAndPlay("freddie");
selection.stats.speed.bar._width = ((((freddie.speed - speedMin) / speedDiff) * barWidth) / 2) + (barWidth / 2);
selection.stats.manouvre.bar._width = (freddie.angleInc / angleIncMax) * barWidth;
player = freddie;
opponents = [prissie, bertie, lenny];
playerSound.attachSound("Cabin");
playerSound.setVolume(5);
} else if (pos == 2) {
selection.gotoAndPlay("lenny");
selection.stats.speed.bar._width = ((((lenny.speed - speedMin) / speedDiff) * barWidth) / 2) + (barWidth / 2);
selection.stats.manouvre.bar._width = (lenny.angleInc / angleIncMax) * barWidth;
player = lenny;
opponents = [bertie, prissie, freddie];
playerSound.attachSound("Cabin");
playerSound.setVolume(5);
} else if (pos == 3) {
selection.gotoAndPlay("prissie");
selection.stats.speed.bar._width = ((((prissie.speed - speedMin) / speedDiff) * barWidth) / 2) + (barWidth / 2);
selection.stats.manouvre.bar._width = (prissie.angleInc / angleIncMax) * barWidth;
player = prissie;
opponents = [lenny, freddie, bertie];
playerSound.attachSound("prop1");
playerSound.setVolume(5);
}
}
var HALFPI = (Math.PI/2);
var TWOPI = (Math.PI*2);
var DEG2RAD = (Math.PI/180);
var RAD2DEG = 57.2957795130823;
var PI2 = (Math.PI/2);
var positions = [{x:130, y:Stage.height / 2, w:0.5, offset:(Math.random() * -40) - 40}, {x:190, y:Stage.height / 2, w:0.25, offset:Math.random() * 20}, {x:330, y:Stage.height / 2, w:0, offset:(Math.random() * 40) + 40}];
positions.shuffle();
_global.energyDeplete = 2;
var planeDepth = 1000;
var speedMin = 15.3;
var speedMax = 15.8;
var speedDiff = (speedMax - speedMin);
var angleIncMax = 0.1;
var turnMin = 1;
var turnCenter = 3;
var turnMax = 5;
var accuracy = 20;
var bertie = new Object();
var prissie = new Object();
var lenny = new Object();
var freddie = new Object();
bertie.mc = "bertie";
bertie.angleInc = 0.1;
bertie.speed = 15.4;
bertie.waypoint_range = 120;
bertie.energy = 120;
bertie.energyMax = 120;
prissie.mc = "prissie";
prissie.angleInc = 0.11;
prissie.speed = 15.3;
prissie.waypoint_range = 120;
prissie.energy = 130;
prissie.energyMax = 130;
lenny.mc = "lenny";
lenny.angleInc = 0.075;
lenny.speed = 15.8;
lenny.waypoint_range = 120;
lenny.energy = 100;
lenny.energyMax = 100;
freddie.mc = "freddie";
freddie.angleInc = 0.08;
freddie.speed = 15.75;
freddie.waypoint_range = 120;
freddie.energy = 100;
freddie.energyMax = 100;
Array.prototype.shuffle = function () {
i = 0;
while (i < this.length) {
var _local3 = this[i];
var _local2 = random(this.length);
this[i] = this[_local2];
this[_local2] = _local3;
i++;
}
};
var player = bertie;
var opponents = [lenny, freddie, prissie];
var barWidth = 200;
var selectionPosition = 0;
_root.createEmptyMovieClip("sfx", _root.getNextHighestDepth());
var playerSound = new Sound(sfx);
var powerSound = new Sound(sfx);
powerSound.attachSound("powerup");
powerSound.setVolume(80);
var hot = new Sound(sfx);
hot.attachSound("hot");
hot.setVolume(10);
setPlanes(selectionPosition);
selection.btnNext.onRelease = function () {
selectionPosition++;
if (selectionPosition > 3) {
selectionPosition = 0;
}
setPlanes(selectionPosition);
};
selection.btnPrev.onRelease = function () {
selectionPosition--;
if (selectionPosition < 0) {
selectionPosition = 3;
}
setPlanes(selectionPosition);
};
btnRace.onRelease = function () {
gotoAndPlay ("fly");
};
btnInstructions.onRelease = function () {
gotoAndPlay ("instructions");
};
stop();
Frame 30
btnSelect.onRelease = function () {
gotoAndPlay ("select");
};
stop();
Frame 40
function makeTiles(offsetX, offsetY, x, y) {
tileAA = makeTile(offsetX - (2 * tileWidth), offsetY - (2 * tileHeight), x - 1, y - 1);
tileAB = makeTile(offsetX - tileWidth, offsetY - (2 * tileHeight), x, y - 1);
tileAC = makeTile(offsetX, offsetY - (2 * tileHeight), x + 1, y - 1);
tileAD = makeTile(offsetX + tileWidth, offsetY - (2 * tileHeight), x + 2, y - 1);
tileBA = makeTile(offsetX - (2 * tileWidth), offsetY - tileHeight, x - 1, y);
tileBB = makeTile(offsetX - tileWidth, offsetY - tileHeight, x, y);
tileBC = makeTile(offsetX, offsetY - tileHeight, x + 1, y);
tileBD = makeTile(offsetX + tileWidth, offsetY - tileHeight, x + 2, y);
tileCA = makeTile(offsetX - (2 * tileWidth), offsetY, x - 1, y + 1);
tileCB = makeTile(offsetX - tileWidth, offsetY, x, y + 1);
tileCC = makeTile(offsetX, offsetY, x + 1, y + 1);
tileCD = makeTile(offsetX + tileWidth, offsetY, x + 2, y + 1);
tileDA = makeTile(offsetX - (2 * tileWidth), offsetY + tileHeight, x - 1, y + 2);
tileDB = makeTile(offsetX - tileWidth, offsetY + tileHeight, x, y + 2);
tileDC = makeTile(offsetX, offsetY + tileHeight, x + 1, y + 2);
tileDD = makeTile(offsetX + tileWidth, offsetY + tileHeight, x + 2, y + 2);
}
function setFrame(mc, x, y) {
if ((((x < 0) || (x > arraySizeX)) || (y < 0)) || (y > arraySizeY)) {
var _local4 = blankTile;
} else {
var _local4 = mapArray[y][x] + 1;
}
mc.gotoAndPlay(_local4);
mc.debug.text = (((((mc._currentframe + " x: ") + x) + " y: ") + y) + " mc: ") + mc;
}
function makeTile(offsetX, offsetY, x, y) {
panel = map.attachMovie("tileset", (("x" + x) + "y") + y, map.getNextHighestDepth());
setFrame(panel, x, y);
ringArray.push(panel);
panel.x = x;
panel.y = y;
panel._x = offsetX;
panel._y = offsetY;
return(panel);
}
function moveTiles() {
i = 0;
while (i < ringArray.length) {
var _local1 = ringArray[i];
_local1._x = _local1._x + dx;
_local1._y = _local1._y - dy;
i++;
}
if (((mapY + tileHeight) + tileCB._y) > marginBottom) {
shiftUp();
}
if ((mapY + tileBB._y) < marginTop) {
shiftDown();
}
if (((mapX + tileBC._x) + tileWidth) > marginRight) {
shiftLeft();
}
if ((mapX + tileBB._x) < marginLeft) {
shiftRight();
}
}
function shiftLeft() {
var _local1 = 4 * tileWidth;
var _local4 = tileAA;
var _local7 = tileBA;
var _local9 = tileCA;
var _local12 = tileDA;
var _local2 = tileAB;
var _local5 = tileBB;
var _local8 = tileCB;
var _local11 = tileDB;
var _local13 = tileAC;
var _local3 = tileBC;
var _local6 = tileCC;
var _local10 = tileDC;
var _local16 = tileAD;
var _local17 = tileBD;
var _local14 = tileCD;
var _local15 = tileDD;
tileAD._x = tileAD._x - _local1;
tileBD._x = tileBD._x - _local1;
tileCD._x = tileCD._x - _local1;
tileDD._x = tileDD._x - _local1;
setFrame(tileAD, tileX - 2, tileY - 1);
setFrame(tileBD, tileX - 2, tileY);
setFrame(tileCD, tileX - 2, tileY + 1);
setFrame(tileDD, tileX - 2, tileY + 2);
tileAA = tileAD;
tileBA = tileBD;
tileCA = tileCD;
tileDA = tileDD;
tileAB = _local4;
tileBB = _local7;
tileCB = _local9;
tileDB = _local12;
tileAC = _local2;
tileBC = _local5;
tileCC = _local8;
tileDC = _local11;
tileAD = _local13;
tileBD = _local3;
tileCD = _local6;
tileDD = _local10;
tileX--;
}
function shiftRight() {
var _local1 = 4 * tileWidth;
var _local14 = tileAA;
var _local15 = tileBA;
var _local16 = tileCA;
var _local17 = tileDA;
var _local2 = tileAB;
var _local5 = tileBB;
var _local7 = tileCB;
var _local10 = tileDB;
var _local12 = tileAC;
var _local3 = tileBC;
var _local6 = tileCC;
var _local9 = tileDC;
var _local11 = tileAD;
var _local13 = tileBD;
var _local4 = tileCD;
var _local8 = tileDD;
tileAA._x = tileAA._x + _local1;
tileBA._x = tileBA._x + _local1;
tileCA._x = tileCA._x + _local1;
tileDA._x = tileDA._x + _local1;
setFrame(tileAA, tileX + 3, tileY - 1);
setFrame(tileBA, tileX + 3, tileY);
setFrame(tileCA, tileX + 3, tileY + 1);
setFrame(tileDA, tileX + 3, tileY + 2);
tileAD = tileAA;
tileBD = tileBA;
tileCD = tileCA;
tileDD = tileDA;
tileAA = _local2;
tileBA = _local5;
tileCA = _local7;
tileDA = _local10;
tileAB = _local12;
tileBB = _local3;
tileCB = _local6;
tileDB = _local9;
tileAC = _local11;
tileBC = _local13;
tileCC = _local4;
tileDC = _local8;
tileX++;
}
function shiftUp() {
var _local1 = 4 * tileHeight;
var _local5 = tileAA;
var _local2 = tileAB;
var _local12 = tileAC;
var _local11 = tileAD;
var _local8 = tileBA;
var _local6 = tileBB;
var _local3 = tileBC;
var _local13 = tileBD;
var _local10 = tileCA;
var _local9 = tileCB;
var _local7 = tileCC;
var _local4 = tileCD;
tileDA._y = tileDA._y - _local1;
tileDB._y = tileDB._y - _local1;
tileDC._y = tileDC._y - _local1;
tileDD._y = tileDD._y - _local1;
setFrame(tileDA, tileX - 1, tileY - 2);
setFrame(tileDB, tileX, tileY - 2);
setFrame(tileDC, tileX + 1, tileY - 2);
setFrame(tileDD, tileX + 2, tileY - 2);
tileAA = tileDA;
tileAB = tileDB;
tileAC = tileDC;
tileAD = tileDD;
tileBA = _local5;
tileBB = _local2;
tileBC = _local12;
tileBD = _local11;
tileCA = _local8;
tileCB = _local6;
tileCC = _local3;
tileCD = _local13;
tileDA = _local10;
tileDB = _local9;
tileDC = _local7;
tileDD = _local4;
tileY--;
}
function shiftDown() {
var _local1 = 4 * tileHeight;
var _local15 = tileAA;
var _local14 = tileAB;
var _local17 = tileAC;
var _local16 = tileAD;
var _local6 = tileBA;
var _local4 = tileBB;
var _local2 = tileBC;
var _local13 = tileBD;
var _local8 = tileCA;
var _local7 = tileCB;
var _local5 = tileCC;
var _local3 = tileCD;
var _local12 = tileDA;
var _local11 = tileDB;
var _local10 = tileDC;
var _local9 = tileDD;
tileAA._y = tileAA._y + _local1;
tileAB._y = tileAB._y + _local1;
tileAC._y = tileAC._y + _local1;
tileAD._y = tileAD._y + _local1;
setFrame(tileAA, tileX - 1, tileY + 3);
setFrame(tileAB, tileX, tileY + 3);
setFrame(tileAC, tileX + 1, tileY + 3);
setFrame(tileAD, tileX + 2, tileY + 3);
tileDA = tileAA;
tileDB = tileAB;
tileDC = tileAC;
tileDD = tileAD;
tileAA = _local6;
tileAB = _local4;
tileAC = _local2;
tileAD = _local13;
tileBA = _local8;
tileBB = _local7;
tileBC = _local5;
tileBD = _local3;
tileCA = _local12;
tileCB = _local11;
tileCC = _local10;
tileCD = _local9;
tileY++;
}
function positionCloud(mc) {
mc.rate = Math.random() + 1.2;
mc._x = (Math.random() * -3500) + 500;
if (Math.random() > 0.5) {
mc._y = (Math.random() * -500) - 400;
} else {
mc._y = (Math.random() * 500) + 400;
}
}
function makeClouds() {
i = 0;
while (i < clouds) {
var _local2 = Math.floor((Math.random() * 4) + 1);
var _local1 = cloudContainer.attachMovie("cloud" + _local2, (("cloud" + i) + planeDepth) + 1, (i + planeDepth) + 1);
positionCloud(_local1);
cloudArray.push(_local1);
i++;
}
}
function moveClouds() {
i = 0;
while (i < cloudArray.length) {
var _local1 = (cloudArray[i].rate * cloudArray[i]._xscale) / 100;
cloudArray[i]._x = cloudArray[i]._x + (dx * _local1);
cloudArray[i]._y = cloudArray[i]._y - (dy * _local1);
if (cloudArray[i]._x < (-cloudLimit)) {
cloudArray[i]._x = 2 * cloudLimit;
} else if (cloudArray[i]._x > (2 * cloudLimit)) {
cloudArray[i]._x = -cloudLimit;
} else if (cloudArray[i]._y < (-cloudLimit)) {
cloudArray[i]._y = 2 * cloudLimit;
} else if (cloudArray[i]._y > (2 * cloudLimit)) {
cloudArray[i]._y = -cloudLimit;
}
if ((((cloudArray[i]._x > 800) || (cloudArray[i]._x < -300)) || (cloudArray[i]._y > 700)) || (cloudArray[i]._y < -200)) {
cloudArray[i]._visible = false;
} else {
cloudArray[i]._visible = true;
}
i++;
}
}
function getDir(Ax, Ay, Bx, By, Rotation) {
A = Math.abs(Ax - Bx);
B = Math.abs(Ay - By);
Dir = Math.atan2(B, A);
Dir = (Dir * 180) / Math.PI;
if (Ay > By) {
if (Ax < Bx) {
Dir = (-Dir) + 270;
}
if (Ax > Bx) {
Dir = Dir + 90;
}
}
if (Ay < By) {
if (Ax < Bx) {
Dir = Dir + 270;
}
if (Ax > Bx) {
Dir = (-Dir) + 90;
}
}
if (Dir > Rotation) {
if ((Dir - Rotation) > 180) {
Dir = Dir - 360;
}
} else if ((Rotation - Dir) > 180) {
Dir = Dir + 360;
}
return(Dir);
}
function getRange(Ax, Ay, Bx, By) {
return(Math.sqrt(((Ax - Bx) * (Ax - Bx)) + ((Ay - By) * (Ay - By))));
}
function two(x) {
return(((x > 9) ? "" : "0") + x);
}
function three(x) {
return((((x > 99) ? "" : "0") + ((x > 9) ? "" : "0")) + x);
}
function displaytime(ms) {
var _local2 = Math.floor(ms / 1000);
ms = ms % 1000;
var _local1 = three(ms);
var _local3 = Math.floor(_local2 / 60);
_local2 = _local2 % 60;
_local1 = (two(_local2) + ":") + _local1;
var _local5 = Math.floor(_local3 / 60);
_local3 = _local3 % 60;
_local1 = (two(_local3) + ":") + _local1;
return(_local1);
}
function makeWaypoints() {
i = 0;
while (i < waypoints.length) {
var _local1 = markers.attachMovie("waypoint", "waypoint" + i, i);
_local1._visible = false;
_local1.txt_waypoint.text = i;
_local1._x = waypoints[i][0] + wayOffsetX;
_local1._y = waypoints[i][1] + wayOffsetY;
_local1._xscale = 30;
_local1._yscale = 30;
waypointsArray.push(_local1);
i++;
}
}
function moveWaypoints() {
i = 0;
while (i < waypointsArray.length) {
waypointsArray[i]._x = waypointsArray[i]._x + dx;
waypointsArray[i]._y = waypointsArray[i]._y - dy;
i++;
}
}
function debugControls() {
if (Key.isDown(37)) {
dx = debugMoveRate;
}
if (Key.isDown(39)) {
dx = -debugMoveRate;
}
if (Key.isDown(38)) {
dy = -debugMoveRate;
}
if (Key.isDown(40)) {
dy = debugMoveRate;
}
if (Key.isDown(32)) {
trace(((("[" + (-wayOffsetX)) + ",") + (-wayOffsetY)) + ",0,\"down\"],");
}
if (Key.isDown(16)) {
heightMe = heightMe + debugMoveRate;
}
if (Key.isDown(17)) {
heightMe = heightMe - debugMoveRate;
}
}
function init() {
makeTiles(startX, startY, tileX, tileY);
makeWaypoints();
makeClouds();
plane = planeContainer.attachMovie(player.mc, "plane", planeDepth + 1);
plane._rotation = 0;
plane.plane.gotoAndPlay(turnCenter);
plane.waypoint = 0;
plane.laps = 0;
plane.energy = player.energy;
plane.energyMax = player.energyMax;
plane.angleInc = player.angleInc;
plane.angleBase = player.angleInc;
plane.speed = player.speed;
plane.ready = false;
plane.waypoint_range = waypoint_range;
plane.filters = [planeShadow];
flyIn(plane, Stage.width / 2, Stage.height / 2, angle + Math.PI);
makeOpponents();
playerSound.start(0, 999);
trace(playerSound);
_global.myTimer.start();
onEnterFrame = fly;
}
function playHotSound() {
if ((hot.position == 0) || (hot.position == hot.duration)) {
hot.start(0, 1);
}
}
function isLast() {
var _local1 = 4;
if ((plane.laps > opponentsArray[0].laps) || ((plane.laps == opponentsArray[0].laps) && (plane.waypoint > opponentsArray[0].waypoint))) {
_local1--;
}
if ((plane.laps > opponentsArray[1].laps) || ((plane.laps == opponentsArray[1].laps) && (plane.waypoint > opponentsArray[1].waypoint))) {
_local1--;
}
if ((plane.laps > opponentsArray[2].laps) || ((plane.laps == opponentsArray[2].laps) && (plane.waypoint > opponentsArray[2].waypoint))) {
_local1--;
}
if (_local1 == 4) {
return(true);
}
return(false);
}
function flyIn(clip, x, y, theta, callback) {
clip.ready = false;
clip._rotation = theta * RAD2DEG;
startX = (flyinOffset * Math.sin(-theta)) + x;
startY = (flyinOffset * Math.cos(-theta)) + y;
var _local2 = new mx.transitions.Tween(clip, "_x", mx.transitions.easing.None.easeOut, startX, x, 25, false);
var _local3 = new mx.transitions.Tween(clip, "_y", mx.transitions.easing.None.easeOut, startY, y, 25, false);
_local2.onMotionFinished = function () {
clip.ready = true;
callback();
};
}
function fly() {
movePlayer();
moveOpponents();
moveWaypoints();
moveClouds();
moveTiles();
var _local8 = waypointsArray[plane.waypoint]._x;
var _local7 = waypointsArray[plane.waypoint]._y;
var _local4 = plane._x;
var _local3 = plane._y;
var _local2 = {x:_local8, y:_local7};
markers.localToGlobal(_local2);
gate_mc.arrow._rotation = Math.atan2(_local2.y - _local3, _local2.x - _local4) * RAD2DEG;
radar_mc.blipWaypoint._x = (_local2.x - _local4) * radarScale;
radar_mc.blipWaypoint._y = (_local2.y - _local3) * radarScale;
var _local6 = getRange(_local2.x, _local2.y, _local4, _local3);
if ((_local6 > warningRange) && (plane.ready)) {
gate_mc.arrow.gotoAndPlay("blink");
} else {
gate_mc.arrow.gotoAndPlay("normal");
}
if (_local6 <= plane.waypoint_range) {
powerSound.start(0, 1);
plane.waypoint++;
if (plane.waypoint >= waypointsArray.length) {
plane.waypoint = 0;
plane.laps++;
timer_mc.laps.text = plane.laps;
if (plane.laps >= lapsTotal) {
gameOver();
} else {
var _local5 = _global.myTimer.getMili() - lapTotalTime;
if (_local5 < lapBestTime) {
lapBestTime = _local5;
timer_mc.bestLap.text = displaytime(lapBestTime);
}
lapTotalTime = lapTotalTime + _local5;
}
}
gate_mc.gate.text = plane.waypoint + 1;
}
if ((opponentsArray[0].finished && (opponentsArray[1].finished)) && (opponentsArray[2].finished)) {
gameOver();
}
radar_mc.blip0._x = (opponentsArray[0]._x - _local4) * radarScale;
radar_mc.blip0._y = (opponentsArray[0]._y - _local3) * radarScale;
radar_mc.blip1._x = (opponentsArray[1]._x - _local4) * radarScale;
radar_mc.blip1._y = (opponentsArray[1]._y - _local3) * radarScale;
radar_mc.blip2._x = (opponentsArray[2]._x - _local4) * radarScale;
radar_mc.blip2._y = (opponentsArray[2]._y - _local3) * radarScale;
timer_mc.timeDisplay.text = displaytime(_global.myTimer.getMili());
energy.mask._x = energyBarBase - (((plane.energyMax - plane.energy) / plane.energyMax) * energyBarWidth);
}
function resetPlane(mc) {
mc.plane.gotoAndStop(turnCenter);
mc.energy = mc.energyMax;
mc.filters = [planeShadow];
mc.ready = true;
}
function movePlayer() {
if ((plane.energy <= 0) && (plane.ready)) {
plane.ready = false;
plane.filters = [];
plane.plane.gotoAndPlay("crash");
}
dx = 0;
dy = 0;
if (_global.debug) {
debugControls();
} else if (plane.ready) {
if (Key.isDown(39)) {
angle = angle + plane.angleInc;
if (plane.plane._currentframe < turnMax) {
frame = plane.plane._currentframe + 1;
plane.plane.gotoAndPlay(frame);
} else {
plane.angleInc = plane.angleInc + angleTighten;
}
} else if (Key.isDown(37)) {
angle = angle - plane.angleInc;
if (plane.plane._currentframe > 1) {
frame = plane.plane._currentframe - 1;
plane.plane.gotoAndPlay(frame);
} else {
plane.angleInc = plane.angleInc + angleTighten;
}
} else {
if (plane.plane._currentframe > turnCenter) {
frame = plane.plane._currentframe - 1;
plane.plane.gotoAndPlay(frame);
} else if (plane.plane._currentframe < turnCenter) {
frame = plane.plane._currentframe + 1;
plane.plane.gotoAndPlay(frame);
}
plane.angleInc = plane.angleBase;
}
if (isLast()) {
var _local2 = plane.speed * speedBoost;
} else {
var _local2 = plane.speed;
}
dx = Math.floor(Math.sin(angle) * _local2);
dy = Math.floor(Math.cos(angle) * _local2);
plane._rotation = (angle * RAD2DEG) + 180;
}
tileOffsetX = tileOffsetX + dx;
tileOffsetY = tileOffsetY - dy;
wayOffsetX = wayOffsetX + dx;
wayOffsetY = wayOffsetY - dy;
}
function gameOver() {
delete onEnterFrame;
_global.timeArray = [opponentsArray[0].gameTime, opponentsArray[1].gameTime, opponentsArray[2].gameTime];
_global.myTimer.stop();
gotoAndPlay ("gameover");
}
var tileWidth = 220;
var tileHeight = 220;
var ringArray = [];
var tileAA;
var tileAB;
var tileAC;
var tileAD;
var tileBA;
var tileBB;
var tileBC;
var tileBD;
var tileCA;
var tileCB;
var tileCC;
var tileCD;
var tileDA;
var tileDB;
var tileDC;
var tileDD;
var marginLeft = 0;
var marginRight = 500;
var marginTop = 0;
var marginBottom = 500;
var mapY = map._y;
var mapX = map._x;
var mapArray = [];
var blankTile = 157;
i = 0;
while (i < 12) {
var rowArray = [];
j = 0;
while (j < 13) {
rowArray.push(j + (i * 13));
j++;
}
mapArray.push(rowArray);
i++;
}
var arraySizeX = (mapArray[0].length - 1);
var arraySizeY = (mapArray.length - 1);
var cloudArray = [];
var HALFPI = (Math.PI/2);
var TWOPI = (Math.PI*2);
var DEG2RAD = (Math.PI/180);
var RAD2DEG = 57.2957795130823;
var PI2 = (Math.PI/2);
mbenneyTimer = function () {
this.reset();
};
mT = mbenneyTimer.prototype;
mT.reset = function () {
this.oldTime = 0;
this.pause = true;
this.totalTime = 0;
};
mT.stop = function () {
if (!this.pause) {
this.pause = true;
this.totalTime = this.totalTime + (getTimer() - this.oldTime);
}
};
mT.start = function () {
if (this.pause) {
this.pause = false;
this.oldTime = getTimer();
}
};
mT.getMili = function () {
var _local2 = this.totalTime;
if (!this.pause) {
_local2 = _local2 + (getTimer() - this.oldTime);
}
return(_local2);
};
mT.getSecs = function () {
var _local2 = this.totalTime / 1000;
if (!this.pause) {
_local2 = _local2 + ((getTimer() - this.oldTime) / 1000);
}
return(Math.round(_local2));
};
mT.getMins = function () {
var _local2 = this.totalTime / 1000;
if (!this.pause) {
_local2 = _local2 + (((getTimer() - this.oldTime) / 1000) / 60);
}
return(Math.round(_local2));
};
mT.getCount = function (secs) {
var _local2 = this.totalTime;
if (!this.pause) {
_local2 = _local2 + ((getTimer() - this.oldTime) / 1000);
}
var _local3 = secs - _local2;
return(Math.round(_local3));
};
var waypoints = [[0, -320, 0], [-90, -630, 0], [-350, -800, 0], [-650, -610, 0], [-640, -350, 0], [-590, 0, 0], [-690, 250, 0], [-1155, 485, 0], [-1520, 720, 0], [-1875, 485, 0], [-1800, 130, 0], [-1335, -210, 0], [-1310, -670, 0], [-1730, -750, 0], [-1920, -430, 0], [-1755, -150, 0], [-1230, 160, 0], [-710, 515, 0], [-230, 715, 0], [25, 380, 0], [0, -70, 0]];
var waypointsArray = [];
_global.debug = false;
var debugMoveRate = 20;
_global.myTimer = new mbenneyTimer();
var angle = Math.PI;
var angleTighten = 0.001;
var lapsTotal = 4;
var lapBestTime = 10000000;
var lapTotalTime = 0;
var startX = 0;
var startY = 0;
var tileX = 10;
var tileY = 5;
var tileOffsetX = 0;
var tileOffsetY = 0;
var flyinOffset = 500;
var wayOffsetX = 0;
var wayOffsetY = 0;
var wayCorrectX = 0;
var wayCorrectY = 0;
var dx = 0;
var dy = 0;
var energyBarBase = energy.mask._x;
var energyBarWidth = energy.mask._width;
var speedBoost = 1.13;
var planeShadow = (new flash.filters.DropShadowFilter(100, 60, 0, 0.2, 8, 8, 1, 3, false, false, false));
var waypoint_range = 120;
var opponentsArray = [];
var opponentsNum = 3;
var clouds = 10;
var radarScale = 0.06;
var warningRange = 800;
warning._visible = false;
init();
stop();
Frame 50
btnReplay.onRelease = function () {
gotoAndPlay ("select");
};
btnInstructions.onRelease = function () {
gotoAndPlay ("instructions");
};
playerSound.stop();
var myTime = _global.myTimer.getMili();
var currentPlace = 4;
if (myTime < _global.timeArray[0]) {
currentPlace--;
}
if (myTime < _global.timeArray[1]) {
currentPlace--;
}
if (myTime < _global.timeArray[2]) {
currentPlace--;
}
if (currentPlace == 1) {
placeText = "1st";
} else if (currentPlace == 2) {
placeText = "2nd";
} else if (currentPlace == 3) {
placeText = "3rd";
} else {
placeText = "4th";
}
gameOverPanel.place.text = placeText;
gameOverPanel.lapTime.text = displaytime(myTime);
stop();
Symbol 38 MovieClip Frame 29
Symbol 39 MovieClip Frame 21
gotoAndPlay(random(10));
Symbol 55 MovieClip Frame 1
stop();
Symbol 55 MovieClip Frame 2
stop();
Symbol 55 MovieClip Frame 3
stop();
Symbol 55 MovieClip Frame 4
stop();
Symbol 55 MovieClip Frame 5
stop();
Symbol 55 MovieClip Frame 41
_root.resetPlane(_parent);
stop();
Symbol 56 MovieClip [prissie] Frame 1
stop();
Symbol 78 MovieClip Frame 29
Symbol 79 MovieClip Frame 21
gotoAndPlay(random(10));
Symbol 89 MovieClip Frame 1
stop();
Symbol 89 MovieClip Frame 2
stop();
Symbol 89 MovieClip Frame 3
stop();
Symbol 89 MovieClip Frame 4
stop();
Symbol 89 MovieClip Frame 5
stop();
Symbol 89 MovieClip Frame 41
_root.resetPlane(_parent);
stop();
Symbol 90 MovieClip [lenny] Frame 1
stop();
Symbol 103 MovieClip Frame 1
stop();
Symbol 103 MovieClip Frame 2
stop();
Symbol 103 MovieClip Frame 3
stop();
Symbol 103 MovieClip Frame 4
stop();
Symbol 103 MovieClip Frame 5
stop();
Symbol 103 MovieClip Frame 41
_root.resetPlane(_parent);
stop();
Symbol 104 MovieClip [freddie] Frame 1
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 2
stop();
Symbol 119 MovieClip Frame 3
stop();
Symbol 119 MovieClip Frame 4
stop();
Symbol 119 MovieClip Frame 5
stop();
Symbol 119 MovieClip Frame 41
_root.resetPlane(_parent);
stop();
Symbol 120 MovieClip [bertie] Frame 1
stop();
Symbol 124 MovieClip [checkpoint] Frame 1
stop();
Symbol 127 MovieClip [waypoint] Frame 1
stop();
Symbol 135 MovieClip Frame 1
stop();
Symbol 692 MovieClip [__Packages.mx.transitions.OnEnterFrameBeacon] Frame 0
class mx.transitions.OnEnterFrameBeacon
{
function OnEnterFrameBeacon () {
}
static function init() {
var _local4 = _global.MovieClip;
if (!_root.__OnEnterFrameBeacon) {
mx.transitions.BroadcasterMX.initialize(_local4);
var _local3 = _root.createEmptyMovieClip("__OnEnterFrameBeacon", 9876);
_local3.onEnterFrame = function () {
_global.MovieClip.broadcastMessage("onEnterFrame");
};
}
}
static var version = "1.1.0.52";
}
Symbol 693 MovieClip [__Packages.mx.transitions.BroadcasterMX] Frame 0
class mx.transitions.BroadcasterMX
{
var _listeners;
function BroadcasterMX () {
}
static function initialize(o, dontCreateArray) {
if (o.broadcastMessage != undefined) {
delete o.broadcastMessage;
}
o.addListener = mx.transitions.BroadcasterMX.prototype.addListener;
o.removeListener = mx.transitions.BroadcasterMX.prototype.removeListener;
if (!dontCreateArray) {
o._listeners = new Array();
}
}
function addListener(o) {
removeListener(o);
if (broadcastMessage == undefined) {
broadcastMessage = mx.transitions.BroadcasterMX.prototype.broadcastMessage;
}
return(_listeners.push(o));
}
function removeListener(o) {
var _local2 = _listeners;
var _local3 = _local2.length;
while (_local3--) {
if (_local2[_local3] == o) {
_local2.splice(_local3, 1);
if (!_local2.length) {
broadcastMessage = undefined;
}
return(true);
}
}
return(false);
}
function broadcastMessage() {
var _local5 = String(arguments.shift());
var _local4 = _listeners.concat();
var _local6 = _local4.length;
var _local3 = 0;
while (_local3 < _local6) {
_local4[_local3][_local5].apply(_local4[_local3], arguments);
_local3++;
}
}
static var version = "1.1.0.52";
}
Symbol 694 MovieClip [__Packages.mx.transitions.Tween] Frame 0
class mx.transitions.Tween
{
var obj, prop, begin, useSeconds, _listeners, addListener, prevTime, _time, looping, _duration, broadcastMessage, isPlaying, _fps, prevPos, _pos, change, _intervalID, _startTime;
function Tween (obj, prop, func, begin, finish, duration, useSeconds) {
mx.transitions.OnEnterFrameBeacon.init();
if (!arguments.length) {
return;
}
this.obj = obj;
this.prop = prop;
this.begin = begin;
position = (begin);
this.duration = (duration);
this.useSeconds = useSeconds;
if (func) {
this.func = func;
}
this.finish = (finish);
_listeners = [];
addListener(this);
start();
}
function set time(t) {
prevTime = _time;
if (t > duration) {
if (looping) {
rewind(t - _duration);
update();
broadcastMessage("onMotionLooped", this);
} else {
if (useSeconds) {
_time = _duration;
update();
}
stop();
broadcastMessage("onMotionFinished", this);
}
} else if (t < 0) {
rewind();
update();
} else {
_time = t;
update();
}
//return(time);
}
function get time() {
return(_time);
}
function set duration(d) {
_duration = (((d == null) || (d <= 0)) ? (_global.Infinity) : (d));
//return(duration);
}
function get duration() {
return(_duration);
}
function set FPS(fps) {
var _local2 = isPlaying;
stopEnterFrame();
_fps = fps;
if (_local2) {
startEnterFrame();
}
//return(FPS);
}
function get FPS() {
return(_fps);
}
function set position(p) {
setPosition(p);
//return(position);
}
function setPosition(p) {
prevPos = _pos;
obj[prop] = (_pos = p);
broadcastMessage("onMotionChanged", this, _pos);
updateAfterEvent();
}
function get position() {
return(getPosition());
}
function getPosition(t) {
if (t == undefined) {
t = _time;
}
return(func(t, begin, change, _duration));
}
function set finish(f) {
change = f - begin;
//return(finish);
}
function get finish() {
return(begin + change);
}
function continueTo(finish, duration) {
begin = position;
this.finish = (finish);
if (duration != undefined) {
this.duration = (duration);
}
start();
}
function yoyo() {
continueTo(begin, time);
}
function startEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.addListener(this);
} else {
_intervalID = setInterval(this, "onEnterFrame", 1000 / _fps);
}
isPlaying = true;
}
function stopEnterFrame() {
if (_fps == undefined) {
_global.MovieClip.removeListener(this);
} else {
clearInterval(_intervalID);
}
isPlaying = false;
}
function start() {
rewind();
startEnterFrame();
broadcastMessage("onMotionStarted", this);
}
function stop() {
stopEnterFrame();
broadcastMessage("onMotionStopped", this);
}
function resume() {
fixTime();
startEnterFrame();
broadcastMessage("onMotionResumed", this);
}
function rewind(t) {
_time = ((t == undefined) ? 0 : (t));
fixTime();
update();
}
function fforward() {
time = (_duration);
fixTime();
}
function nextFrame() {
if (useSeconds) {
time = ((getTimer() - _startTime) / 1000);
} else {
time = (_time + 1);
}
}
function onEnterFrame() {
nextFrame();
}
function prevFrame() {
if (!useSeconds) {
time = (_time - 1);
}
}
function toString() {
return("[Tween]");
}
function fixTime() {
if (useSeconds) {
_startTime = getTimer() - (_time * 1000);
}
}
function update() {
position = (getPosition(_time));
}
static var version = "1.1.0.52";
static var __initBeacon = mx.transitions.OnEnterFrameBeacon.init();
static var __initBroadcaster = mx.transitions.BroadcasterMX.initialize(mx.transitions.Tween.prototype, true);
function func(t, b, c, d) {
return(((c * t) / d) + b);
}
}
Symbol 695 MovieClip [__Packages.mx.transitions.easing.None] Frame 0
class mx.transitions.easing.None
{
function None () {
}
static function easeNone(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeIn(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static function easeInOut(t, b, c, d) {
return(((c * t) / d) + b);
}
static var version = "1.1.0.52";
}
Symbol 248 MovieClip Frame 1
stop();
Symbol 248 MovieClip Frame 8
stop();
Symbol 248 MovieClip Frame 15
stop();
Symbol 248 MovieClip Frame 22
stop();
Symbol 273 MovieClip Frame 29
Symbol 274 MovieClip Frame 21
gotoAndPlay(random(10));
Symbol 319 MovieClip Frame 1
stop();
Symbol 319 MovieClip Frame 2
stop();
Symbol 648 MovieClip [tileset] Frame 1
function candleHit(clip) {
if (clip != undefined) {
clip.onEnterFrame = function () {
if (this.hitTest(_root.planeContainer.plane)) {
_root.planeContainer.plane.energy = _root.planeContainer.plane.energy - _global.energyDeplete;
_root.playHotSound();
}
if (this.hitTest(_root.planeContainer.opponent0)) {
_root.planeContainer.opponent0.energy = _root.planeContainer.opponent0.energy - _global.energyDeplete;
}
if (this.hitTest(_root.planeContainer.opponent1)) {
_root.planeContainer.opponent1.energy = _root.planeContainer.opponent1.energy - _global.energyDeplete;
}
if (this.hitTest(_root.planeContainer.opponent2)) {
_root.planeContainer.opponent2.energy = _root.planeContainer.opponent2.energy - _global.energyDeplete;
}
};
}
}
stop();
Symbol 648 MovieClip [tileset] Frame 2
stop();
Symbol 648 MovieClip [tileset] Frame 3
stop();
Symbol 648 MovieClip [tileset] Frame 4
stop();
Symbol 648 MovieClip [tileset] Frame 5
stop();
Symbol 648 MovieClip [tileset] Frame 6
stop();
Symbol 648 MovieClip [tileset] Frame 7
stop();
Symbol 648 MovieClip [tileset] Frame 8
stop();
Symbol 648 MovieClip [tileset] Frame 9
stop();
Symbol 648 MovieClip [tileset] Frame 10
stop();
Symbol 648 MovieClip [tileset] Frame 11
stop();
Symbol 648 MovieClip [tileset] Frame 12
stop();
Symbol 648 MovieClip [tileset] Frame 13
stop();
Symbol 648 MovieClip [tileset] Frame 14
stop();
Symbol 648 MovieClip [tileset] Frame 15
stop();
Symbol 648 MovieClip [tileset] Frame 16
stop();
Symbol 648 MovieClip [tileset] Frame 17
candleHit(c0);
stop();
Symbol 648 MovieClip [tileset] Frame 18
stop();
Symbol 648 MovieClip [tileset] Frame 19
stop();
Symbol 648 MovieClip [tileset] Frame 20
stop();
Symbol 648 MovieClip [tileset] Frame 21
stop();
Symbol 648 MovieClip [tileset] Frame 22
stop();
Symbol 648 MovieClip [tileset] Frame 23
candleHit(c1);
stop();
Symbol 648 MovieClip [tileset] Frame 24
stop();
Symbol 648 MovieClip [tileset] Frame 25
stop();
Symbol 648 MovieClip [tileset] Frame 26
stop();
Symbol 648 MovieClip [tileset] Frame 27
stop();
Symbol 648 MovieClip [tileset] Frame 28
stop();
Symbol 648 MovieClip [tileset] Frame 29
stop();
Symbol 648 MovieClip [tileset] Frame 30
candleHit(c2);
stop();
Symbol 648 MovieClip [tileset] Frame 31
stop();
Symbol 648 MovieClip [tileset] Frame 32
candleHit(c3);
stop();
Symbol 648 MovieClip [tileset] Frame 33
stop();
Symbol 648 MovieClip [tileset] Frame 34
candleHit(c4);
stop();
Symbol 648 MovieClip [tileset] Frame 35
stop();
Symbol 648 MovieClip [tileset] Frame 36
candleHit(c5);
stop();
Symbol 648 MovieClip [tileset] Frame 37
stop();
Symbol 648 MovieClip [tileset] Frame 38
candleHit(c6);
stop();
Symbol 648 MovieClip [tileset] Frame 39
stop();
Symbol 648 MovieClip [tileset] Frame 40
stop();
Symbol 648 MovieClip [tileset] Frame 41
candleHit(c7);
stop();
Symbol 648 MovieClip [tileset] Frame 42
candleHit(c8);
stop();
Symbol 648 MovieClip [tileset] Frame 43
stop();
Symbol 648 MovieClip [tileset] Frame 44
candleHit(c9);
stop();
Symbol 648 MovieClip [tileset] Frame 45
stop();
Symbol 648 MovieClip [tileset] Frame 46
stop();
Symbol 648 MovieClip [tileset] Frame 47
stop();
Symbol 648 MovieClip [tileset] Frame 48
candleHit(c10);
candleHit(c11);
stop();
Symbol 648 MovieClip [tileset] Frame 49
stop();
Symbol 648 MovieClip [tileset] Frame 50
candleHit(c12);
stop();
Symbol 648 MovieClip [tileset] Frame 51
stop();
Symbol 648 MovieClip [tileset] Frame 52
stop();
Symbol 648 MovieClip [tileset] Frame 53
stop();
Symbol 648 MovieClip [tileset] Frame 54
stop();
Symbol 648 MovieClip [tileset] Frame 55
stop();
Symbol 648 MovieClip [tileset] Frame 56
candleHit(c13);
stop();
Symbol 648 MovieClip [tileset] Frame 57
candleHit(c14);
stop();
Symbol 648 MovieClip [tileset] Frame 58
stop();
Symbol 648 MovieClip [tileset] Frame 59
stop();
Symbol 648 MovieClip [tileset] Frame 60
candleHit(c15);
stop();
Symbol 648 MovieClip [tileset] Frame 61
stop();
Symbol 648 MovieClip [tileset] Frame 62
stop();
Symbol 648 MovieClip [tileset] Frame 63
candleHit(c16);
stop();
Symbol 648 MovieClip [tileset] Frame 64
candleHit(c17);
stop();
Symbol 648 MovieClip [tileset] Frame 65
stop();
Symbol 648 MovieClip [tileset] Frame 66
stop();
Symbol 648 MovieClip [tileset] Frame 67
stop();
Symbol 648 MovieClip [tileset] Frame 68
candleHit(c18);
candleHit(c19);
stop();
Symbol 648 MovieClip [tileset] Frame 69
stop();
Symbol 648 MovieClip [tileset] Frame 70
stop();
Symbol 648 MovieClip [tileset] Frame 71
candleHit(c20);
stop();
Symbol 648 MovieClip [tileset] Frame 72
stop();
Symbol 648 MovieClip [tileset] Frame 73
candleHit(c21);
stop();
Symbol 648 MovieClip [tileset] Frame 74
candleHit(c22);
stop();
Symbol 648 MovieClip [tileset] Frame 75
stop();
Symbol 648 MovieClip [tileset] Frame 76
candleHit(c23);
candleHit(c24);
stop();
Symbol 648 MovieClip [tileset] Frame 77
candleHit(c25);
candleHit(c26);
stop();
Symbol 648 MovieClip [tileset] Frame 78
stop();
Symbol 648 MovieClip [tileset] Frame 79
stop();
Symbol 648 MovieClip [tileset] Frame 80
stop();
Symbol 648 MovieClip [tileset] Frame 81
stop();
Symbol 648 MovieClip [tileset] Frame 82
candleHit(c27);
stop();
Symbol 648 MovieClip [tileset] Frame 83
candleHit(c28);
stop();
Symbol 648 MovieClip [tileset] Frame 84
candleHit(c29);
stop();
Symbol 648 MovieClip [tileset] Frame 85
stop();
Symbol 648 MovieClip [tileset] Frame 86
candleHit(c30);
stop();
Symbol 648 MovieClip [tileset] Frame 87
stop();
Symbol 648 MovieClip [tileset] Frame 88
stop();
Symbol 648 MovieClip [tileset] Frame 89
stop();
Symbol 648 MovieClip [tileset] Frame 90
stop();
Symbol 648 MovieClip [tileset] Frame 91
stop();
Symbol 648 MovieClip [tileset] Frame 92
stop();
Symbol 648 MovieClip [tileset] Frame 93
stop();
Symbol 648 MovieClip [tileset] Frame 94
candleHit(c31);
stop();
Symbol 648 MovieClip [tileset] Frame 95
stop();
Symbol 648 MovieClip [tileset] Frame 96
stop();
Symbol 648 MovieClip [tileset] Frame 97
candleHit(c32);
stop();
Symbol 648 MovieClip [tileset] Frame 98
stop();
Symbol 648 MovieClip [tileset] Frame 99
stop();
Symbol 648 MovieClip [tileset] Frame 100
candleHit(c33);
candleHit(c34);
stop();
Symbol 648 MovieClip [tileset] Frame 101
stop();
Symbol 648 MovieClip [tileset] Frame 102
candleHit(c35);
stop();
Symbol 648 MovieClip [tileset] Frame 103
candleHit(c36);
stop();
Symbol 648 MovieClip [tileset] Frame 104
stop();
Symbol 648 MovieClip [tileset] Frame 105
stop();
Symbol 648 MovieClip [tileset] Frame 106
candleHit(c37);
stop();
Symbol 648 MovieClip [tileset] Frame 107
stop();
Symbol 648 MovieClip [tileset] Frame 108
stop();
Symbol 648 MovieClip [tileset] Frame 109
candleHit(c38);
stop();
Symbol 648 MovieClip [tileset] Frame 110
stop();
Symbol 648 MovieClip [tileset] Frame 111
candleHit(c39);
stop();
Symbol 648 MovieClip [tileset] Frame 112
candleHit(c40);
stop();
Symbol 648 MovieClip [tileset] Frame 113
stop();
Symbol 648 MovieClip [tileset] Frame 114
candleHit(c41);
stop();
Symbol 648 MovieClip [tileset] Frame 115
stop();
Symbol 648 MovieClip [tileset] Frame 116
stop();
Symbol 648 MovieClip [tileset] Frame 117
stop();
Symbol 648 MovieClip [tileset] Frame 118
stop();
Symbol 648 MovieClip [tileset] Frame 119
stop();
Symbol 648 MovieClip [tileset] Frame 120
stop();
Symbol 648 MovieClip [tileset] Frame 121
stop();
Symbol 648 MovieClip [tileset] Frame 122
candleHit(c42);
stop();
Symbol 648 MovieClip [tileset] Frame 123
stop();
Symbol 648 MovieClip [tileset] Frame 124
stop();
Symbol 648 MovieClip [tileset] Frame 125
stop();
Symbol 648 MovieClip [tileset] Frame 126
stop();
Symbol 648 MovieClip [tileset] Frame 127
stop();
Symbol 648 MovieClip [tileset] Frame 128
candleHit(c43);
stop();
Symbol 648 MovieClip [tileset] Frame 129
stop();
Symbol 648 MovieClip [tileset] Frame 130
stop();
Symbol 648 MovieClip [tileset] Frame 131
stop();
Symbol 648 MovieClip [tileset] Frame 132
stop();
Symbol 648 MovieClip [tileset] Frame 133
stop();
Symbol 648 MovieClip [tileset] Frame 134
stop();
Symbol 648 MovieClip [tileset] Frame 135
stop();
Symbol 648 MovieClip [tileset] Frame 136
stop();
Symbol 648 MovieClip [tileset] Frame 137
stop();
Symbol 648 MovieClip [tileset] Frame 138
stop();
Symbol 648 MovieClip [tileset] Frame 139
stop();
Symbol 648 MovieClip [tileset] Frame 140
stop();
Symbol 648 MovieClip [tileset] Frame 141
stop();
Symbol 648 MovieClip [tileset] Frame 142
stop();
Symbol 648 MovieClip [tileset] Frame 143
stop();
Symbol 648 MovieClip [tileset] Frame 144
stop();
Symbol 648 MovieClip [tileset] Frame 145
stop();
Symbol 648 MovieClip [tileset] Frame 146
stop();
Symbol 648 MovieClip [tileset] Frame 147
stop();
Symbol 648 MovieClip [tileset] Frame 148
stop();
Symbol 648 MovieClip [tileset] Frame 149
stop();
Symbol 648 MovieClip [tileset] Frame 150
stop();
Symbol 648 MovieClip [tileset] Frame 151
stop();
Symbol 648 MovieClip [tileset] Frame 152
stop();
Symbol 648 MovieClip [tileset] Frame 153
stop();
Symbol 648 MovieClip [tileset] Frame 154
stop();
Symbol 648 MovieClip [tileset] Frame 155
stop();
Symbol 648 MovieClip [tileset] Frame 156
stop();
Symbol 648 MovieClip [tileset] Frame 157
stop();
Symbol 648 MovieClip [tileset] Frame 158
stop();
Symbol 673 MovieClip Frame 1
stop();
Symbol 675 Button
on (release) {
globalSound.setVolume(0);
gotoAndStop (2);
}
Symbol 678 MovieClip Frame 1
stop();
Symbol 679 Button
on (release) {
globalSound.setVolume(100);
gotoAndStop (1);
}
Symbol 680 MovieClip Frame 1
stop();
Symbol 680 MovieClip Frame 2
stop();