Frame 2
function checkLoad() {
var _local4 = mcRoot.getBytesLoaded();
var _local3 = mcRoot.getBytesTotal();
var _local2 = Math.round((_local4 * 100) / _local3);
if (_local3 < 50) {
return(false);
}
mcRoot.mcPreloader.setPercentLoaded(_local2);
if (_local2 >= 100) {
mcRoot.gotoAndPlay("title");
mcRoot.mcPreloader._visible = false;
this.removeMovieClip();
}
}
stop();
_global.mcRoot = this;
mcLoader = mcRoot.createEmptyMovieClip("mcLoader", 969);
mcLoader.onEnterFrame = mcRoot.checkLoad;
mcRoot.mcPreloader.setPercentLoaded = function (nPct) {
this.gotoAndStop(Math.round(nPct));
};
Frame 6
gEndTitleFrame = 50;
gTitleShown = false;
IntroMusic_MC.gotoAndPlay("start");
play();
function submitHighScore() {
_root.actionLogin_mc.chkScores(gScore, _root.loginX, _root.loginY);
}
function fnInitVars() {
caChoices = [1, 2, 3];
s = new Sound(dialog_mc);
bgMusic = new Sound(bgMusic_mc);
bgMusic.attachSound("bgmusic");
muteStatus = "off";
musicStart = true;
objInterval = 0;
fps = 15;
ROCK_VAL = 5;
RESCUE_VAL = 100;
MAX_pointrock = 5;
MAX_rescuerock = 2;
MAX_zaprock = 5;
MAX_key = 1;
level1Objects = ["rescuerock", "pointrock", "pointrock", "pointrock"];
level2Objects = ["zaprock", "rescuerock", "pointrock", "key"];
level3Objects = ["zaprock", "rescuerock", "pointrock", "key"];
scrollingObjs_arr = new Array();
allPointRocks_arr = new Array(1, 2, 3, 4, 5);
allRescueRocks_arr = new Array(1, 2, 3);
allZapRocks_arr = new Array(1, 2, 3, 4, 5);
allBots_arr = new Array("speedbot", "strongbot", "beastbot", "buzzerbot");
empty_arr = new Array();
level3SlotSpeeds = new Array(6.8, 7.4, 8.6);
level1SlotSpeeds = new Array(7.5, 8.1, 10.4);
level2SlotSpeeds = new Array(9.4, 10.2, 12.8);
level = 0;
}
function fnNewGame() {
fnPauseGame();
fnResetVars();
gotoAndStop ("lev_select");
introComic_mc.gotoAndStop("end");
}
function fnResetVars() {
objInterval = 0;
zaps = 0;
haveKey = false;
keyState_mc.gotoAndStop("off");
gCount_pointrock = 0;
gCount_rescuerock = 0;
gCount_zaprock = 0;
gCount_key = 0;
gAeroMode = "heli";
while (scrollingObjs_arr.length > 0) {
fnResetObject(scrollingObjs_arr[0], null, true);
}
if (availPointRocks_arr != undefined) {
availPointRocks_arr.splice(0);
}
if (availRescueRocks_arr != undefined) {
availRescueRocks_arr.splice(0);
}
if (availZapRocks_arr != undefined) {
availZapRocks_arr.splice(0);
}
if (botsInNeed_arr != undefined) {
botsInNeed_arr.splice(0);
}
gobot_meter.speedbot.gotoAndStop(1);
gobot_meter.strongbot.gotoAndStop(1);
gobot_meter.beastbot.gotoAndStop(1);
gobot_meter.buzzerbot.gotoAndStop(1);
heliBtnClip.gotoAndStop("active");
boatBtnClip.gotoAndStop("active");
robotBtnClip.gotoAndStop("active");
}
function fnSelectLevel(num) {
level = num;
gotoAndPlay("interface" + level);
}
function fnMuteMusic(vStat) {
muteStatus = vStat;
if (vStat == "off") {
bgMusic.stop();
} else {
bgMusic.start(0, 999);
}
}
function fnStartGame() {
s.stop();
gGameOn = true;
if ((muteStatus == "off") && (musicStart == true)) {
bgMusic.start(0, 999);
musicStart = false;
muteStatus = "on";
level1Objects = ["rescuerock", "pointrock", "pointrock", "pointrock"];
}
if (level == 3) {
keyCreated = false;
fps = 15;
bridge_mc.vSpeed = 7;
bridge_mc.onEnterFrame = fnUpdateBG;
vLast = "rescuerock";
level3Objects = ["zaprock", "zaprock", "rescuerock", "pointrock", "pointrock", "key"];
} else {
if (level == 1) {
fps = 10;
keyState_mc.gotoAndStop(3);
} else {
vLast = "rescuerock";
fps = 15;
keyState_mc.gotoAndStop("off");
keyCreated = false;
}
level2Objects = ["zaprock", "zaprock", "rescuerock", "pointrock", "pointrock", "key"];
}
if (availPointRocks_arr != undefined) {
delete availPointRocks_arr;
}
availPointRocks_arr = allPointRocks_arr.concat(empty_arr);
if (availrescueRocks_arr != undefined) {
delete availRescueRocks_arr;
}
availRescueRocks_arr = allRescueRocks_arr.concat(empty_arr);
if (availZapRocks_arr != undefined) {
delete availZapRocks_arr;
}
availZapRocks_arr = allZapRocks_arr.concat(empty_arr);
if (botsInNeed_arr != undefined) {
delete botsInNeed_arr;
}
botsInNeed_arr = allBots_arr.concat(empty_arr);
gobot_meter.gotoAndStop(1);
clock_mc.gotoAndStop(1);
mcHints.gotoAndStop(1);
help.gotoAndStop("base");
objLauncher_mc.onEnterFrame = fnObjCreator;
}
function fnClickHelp() {
fnPauseGame();
help.gotoAndStop(("lev" + level) + "help");
}
function fnEvalStart() {
fnResetButtons();
eval (gAeroMode + "BtnClip").gotoAndStop("selected");
aerobot_mc.gotoAndStop(gAeroMode);
help.gotoAndStop(("lev" + level) + "instr");
s.attachSound("level" + level);
s.onSoundComplete = function () {
s.attachSound("ready");
s.onSoundComplete = null;
s.start();
};
s.start();
}
function fnExitHelp() {
help.gotoAndStop("base");
fnUnPauseGame();
}
function fnPauseGame() {
gGameOn = false;
if (((gAeroMode == "transform") || (gAeromode == "robot_hi")) || (gAeromode == "robot_lo")) {
aerobot_mc.stop();
}
delete objLauncher_mc.onEnterFrame;
}
function fnUnPauseGame() {
if (((gAeroMode == "transform") || (gAeromode == "robot_hi")) || (gAeromode == "robot_lo")) {
aerobot_mc.play();
}
gGameOn = true;
objLauncher_mc.onEnterFrame = fnObjCreator;
}
function fnLaunchObject(objtype) {
if (eval ("gCount_" + objtype) < eval ("MAX_" + objtype)) {
if ((objtype == "pointrock") && (availPointRocks_arr.length > 0)) {
var vIndex = Math.floor(Math.random() * availPointRocks_arr.length);
var vClip = eval (("pointrock" + availPointRocks_arr[vIndex]) + "_mc");
vClip.vNum = availPointRocks_arr[vIndex];
availPointRocks_arr.splice(vIndex, 1);
vClip._x = vClip.resetX;
} else if ((((objtype == "rescuerock") || (objtype == "key")) && (availRescueRocks_arr.length > 0)) && (gCount_rescuerock < botsInNeed_arr.length)) {
var vIndex = Math.floor(Math.random() * availRescueRocks_arr.length);
var vClip = eval (("rescuerock" + availRescueRocks_arr[vIndex]) + "_mc");
vClip.vNum = availRescueRocks_arr[vIndex];
availRescueRocks_arr.splice(vIndex, 1);
vClip._x = vClip.resetX;
} else if ((objtype == "zaprock") && (availZapRocks_arr.length > 0)) {
var vIndex = Math.floor(Math.random() * availZapRocks_arr.length);
var vClip = eval (("zaprock" + availZapRocks_arr[vIndex]) + "_mc");
vClip.vNum = availZapRocks_arr[vIndex];
availZapRocks_arr.splice(vIndex, 1);
vClip._x = vClip.resetX;
}
if (vClip != null) {
var vRand = (Math.floor(Math.random() * 3) + 1);
if (level == 1) {
vClip.vSpeed = level1SlotSpeeds[vRand - 1];
} else {
vClip.vSpeed = level2SlotSpeeds[vRand - 1];
}
vClip._y = vClip.resetY;
scrollingObjs_arr.push(vClip);
vClip.vType = objtype;
if (objtype == "key") {
vClip.gotoAndStop("key");
} else if ((objtype == "rescuerock") && (level != 1)) {
vClip.gotoAndStop("locked");
} else {
vClip.gotoAndStop("show");
}
vClip.onEnterFrame = fnScrollObject;
vClip.vContact = false;
Set("gCount_" + objtype, Number(eval ("gCount_" + objtype)) + 1);
}
}
}
function fnPlayAgain(vLevel, bResetScore) {
clock_mc.gotoAndStop(1);
feedback.gotoAndStop(1);
fnResetVars();
if (bResetScore) {
gScore = 0;
}
if (vLevel != null) {
fnSelectLevel(vLevel);
} else {
fnSelectLevel(level);
gScore = 0;
}
}
function fnResetObject(vClip, botname) {
var deleteIndex = scrollingObjs_arr.searchArray(vClip);
if (deleteIndex != null) {
scrollingObjs_arr.splice(deleteIndex, 1);
}
if (botname != null) {
mcHints.play();
eval ("gobot_meter." + botname).gotoAndStop("rescued");
var vAdd = true;
if (availRescueRocks_arr.searchArray(vClip.vNum) != null) {
vAdd = false;
}
if (vAdd == true) {
availRescueRocks_arr.push(vClip.vNum);
gCount_rescuerock--;
}
vClip._x = vClip.resetX;
} else if (vClip.vType == "pointrock") {
var vAdd = true;
if (availPointRocks_arr.searchArray(vClip.vNum) != null) {
vAdd = false;
}
if (vAdd == true) {
availPointRocks_arr.push(vClip.vNum);
gCount_pointrock--;
}
vClip._x = vClip.resetX;
} else if (vClip.vType == "zaprock") {
var vAdd = true;
if (availZapRocks_arr.searchArray(vClip.vNum) != null) {
vAdd = false;
}
if (vAdd == true) {
availZapRocks_arr.push(vClip.vNum);
gCount_zaprock--;
}
vClip._x = vClip.resetX;
} else if (vClip.vType == "key") {
var vAdd = true;
if (availRescueRocks_arr.searchArray(vClip.vNum) != null) {
vAdd = false;
}
if (vAdd == true) {
availRescueRocks_arr.push(vClip.vNum);
gCount_key--;
}
vClip._x = vClip.resetX;
} else if (vClip.vType == "rescuerock") {
var vAdd = true;
if (availRescueRocks_arr.searchArray(vClip.vNum) != null) {
vAdd = false;
}
if (vAdd == true) {
availRescueRocks_arr.push(vClip.vNum);
gCount_rescuerock--;
}
vClip._x = vClip.resetX;
}
vClip.gotoAndStop("base");
delete vClip.onEnterFrame;
}
function fnTimeOut() {
fnPauseGame();
if (botsInNeed_arr.length > 0) {
feedback.gotoAndStop("time_out");
s.attachSound("lose");
s.start();
} else {
if (level == 1) {
_global.bLevel2 = true;
} else if (level == 2) {
_global.bLevel3 = true;
}
if (level == 3) {
feedback.gotoAndStop("score");
} else {
feedback.gotoAndStop("win");
}
var _local2 = Math.floor(math.random() * caChoices.length);
var _local3 = caChoices[_local2];
caChoices.splice(_local2, 1);
if (caChoices.length == 0) {
caChoices = [1, 2, 3];
}
s.attachSound("ca" + _local3);
s.start();
}
}
function fnCheckTransform() {
if (gAeromode == "robot_lo") {
var i = 1;
while (i < 7) {
if (aerobot_mc.hit_mc.hitTest(eval (("bridge_mc.up" + i) + "_mc"))) {
aerobot_mc.gotoAndPlay("robot_lo_to_robot_hi");
break;
}
i++;
}
} else if (gAeromode == "robot_hi") {
var i = 1;
while (i < 7) {
if (aerobot_mc.hit_mc.hitTest(eval (("bridge_mc.down" + i) + "_mc"))) {
aerobot_mc.gotoAndPlay("robot_hi_to_robot_lo");
return;
}
i++;
}
}
}
function fnTransform(newform) {
if ((gAeroMode != "transform") && (gGameOn == true)) {
if (level == 32) {
if (newform == "robot") {
if ((gAeroMode == "car_lo") || (gAeromode == "boat")) {
newForm = "robot_lo";
fnResetButtons();
robotBtnClip.gotoAndStop("selected");
} else if ((gAeroMode == "car_hi") || (gAeromode == "heli")) {
newForm = "robot_hi";
fnResetButtons();
robotBtnClip.gotoAndStop("selected");
}
} else if (((gAeroMode == "car_hi") || (gAeroMode == "car_lo")) && (newform != "robot")) {
fnResetButtons();
eval (newform + "BtnClip").gotoAndStop("selected");
} else if (newform == "car") {
if (gAeroMode == "heli") {
newform = "car_hi";
} else if (gAeroMode == "boat") {
newform = "car_lo";
}
if (gAeromode == "robot_hi") {
newform = "car_hi";
} else if (gAeromode == "robot_lo") {
newform = "car_lo";
}
fnResetButtons();
carBtnClip.gotoAndStop("selected");
} else {
fnResetButtons();
eval (newform + "BtnClip").gotoAndStop("selected");
}
} else {
fnResetButtons();
eval (newform + "BtnClip").gotoAndStop("selected");
}
aerobot_mc.gotoAndPlay((gAeroMode + "_to_") + newform);
gAeroMode = "transform";
}
}
function fnResetButtons() {
carBtnClip.gotoAndStop("active");
heliBtnClip.gotoAndStop("active");
boatBtnClip.gotoAndStop("active");
}
function fnObjCreator() {
fnCheckTransform();
objInterval++;
var _local2 = false;
if ((level == 1) && (objInterval == 30)) {
var _local3 = Math.floor(Math.random() * level1Objects.length);
var _local1 = level1Objects[_local3];
level1Objects.splice(_local3, 1);
if (level1Objects.length == 0) {
level1Objects = ["rescuerock", "pointrock", "pointrock", "pointrock"];
}
_local2 = true;
} else if ((level == 2) && (objInterval == 25)) {
var _local3 = Math.floor(Math.random() * level2Objects.length);
var _local1 = level2Objects[_local3];
level2Objects.splice(_local3, 1);
if (level2Objects.length == 0) {
level2Objects = ["zaprock", "rescuerock", "pointrock", "key"];
}
_local2 = true;
} else if ((level == 3) && (objInterval == 20)) {
var _local3 = Math.floor(Math.random() * level3Objects.length);
var _local1 = level3Objects[_local3];
level3Objects.splice(_local3, 1);
if (level3Objects.length == 0) {
level3Objects = ["zaprock", "rescuerock", "pointrock", "key"];
}
_local2 = true;
}
if (((_local1 == "key") || (_local1 == "rescuerock")) && (botsInNeed_arr.length == 0)) {
var _local1 = "pointrock";
} else if (((level >= 2) && (_local1 == "rescuerock")) && (keyCreated == false)) {
keyCreated = true;
var _local1 = "key";
if (level == 2) {
level2Objects.push("rescuerock");
} else if (level == 3) {
level3Objects.push("rescuerock");
}
} else if (_local1 == "key") {
keyCreated = true;
}
if (_local2 == true) {
fnLaunchObject(_local1);
objInterval = 0;
}
}
function initMenu() {
fnInitVars();
fnResetVars();
stop();
s.attachSound("clickGo");
s.start();
_global.bLevel1 = true;
_global.bLevel2 = true;
_global.bLevel3 = true;
level1_btn.onRollOver = function () {
if (_global.bLevel1) {
_root.mcDial.gotoAndPlay("speed");
_root.mcLevel1Btn.gotoAndPlay("over");
}
};
level1_btn.onRollOut = function () {
if (_global.bLevel1) {
_root.mcDial.gotoAndPlay("blank");
_root.mcLevel1Btn.gotoAndPlay("up");
}
};
level1_btn.onRelease = function () {
if (_global.bLevel1) {
gScore = 0;
fnSelectLevel(1);
}
};
level2_btn.onRollOver = function () {
if (_global.bLevel2) {
_root.mcDial.gotoAndPlay("earth");
_root.mcLevel2Btn.gotoAndPlay("over");
}
};
level2_btn.onRollOut = function () {
if (_global.bLevel2) {
_root.mcDial.gotoAndPlay("blank");
_root.mcLevel2Btn.gotoAndPlay("up");
}
};
level2_btn.onRelease = function () {
if (_global.bLevel2) {
gScore = 0;
fnSelectLevel(1);
}
};
level3_btn.onRollOver = function () {
if (_global.bLevel3) {
_root.mcDial.gotoAndPlay("beast");
_root.mcLevel3Btn.gotoAndPlay("over");
}
};
level3_btn.onRollOut = function () {
if (_global.bLevel3) {
_root.mcDial.gotoAndPlay("blank");
_root.mcLevel3Btn.gotoAndPlay("up");
}
};
level3_btn.onRelease = function () {
if (_global.bLevel3) {
gScore = 0;
fnSelectLevel(1);
}
};
}
function createListener() {
_global.objListener = new Object();
objListener.onKeyDown = function () {
var _local1 = Key.getCode();
if (_local1 == 38) {
if (gAeroMode == "boat") {
fnTransform("car");
} else if (gAeroMode == "car") {
fnTransform("heli");
}
} else if (_local1 == 40) {
if (gAeroMode == "heli") {
fnTransform("car");
} else if (gAeroMode == "car") {
fnTransform("boat");
}
}
};
}
function enableListener() {
Key.addListener(objListener);
}
function disableListener() {
Key.removeListener(objListener);
}
_root.createEmptyMovieClip("loginDriver_mc", _root.getNextHighestDepth());
_root.loginDriver_mc.loadMovie("/action/assets/game/loginDriver.swf?t=" + _root.t);
var level3SlotSpeeds;
var level1SlotSpeeds;
var level2SlotSpeeds;
var level;
var fps;
var ROCK_VAL;
var RESCUE_VAL;
var empty_arr;
var allBots_arr;
var scrollingObjs_arr;
var allPointRocks_arr;
var allRescueRocks_arr;
var allZapRocks_arr;
var MAX_pointrock;
var MAX_rescuerock;
var MAX_zaprock;
var MAX_key;
var gScore = 0;
var gAeromode;
var gCount_rescuerock;
var gCount_pointrock;
var gCount_zaprock;
var objInterval;
var transform;
var haveKey;
var zaps;
var vLast;
var muteStatus;
var musicStart;
var level2Objects;
var bgMusic;
var keyCreated;
var s;
var caChoices;
_global.bLevel1 = true;
_global.bLevel2 = false;
_global.bLevel3 = false;
Array.prototype.searchArray = function (searchElement) {
var _local2 = 0;
while (_local2 < this.length) {
if (this[_local2] == searchElement) {
return(_local2);
}
_local2++;
}
return(null);
};
MovieClip.prototype.fnUpdateBG = function () {
if (gGameOn == true) {
if ((this._x - this.vSpeed) < this.vXMin) {
var _local2 = (this.vXMin - this._x) - this.vSpeed;
this._x = this.vXMax - _local2;
} else {
this._x = this._x - this.vSpeed;
}
}
};
MovieClip.prototype.fnScrollObject = function () {
if (gGameOn == true) {
if ((this._x - this.vSpeed) < this.vXMin) {
fnResetObject(this, null, true);
} else {
this._x = this._x - this.vSpeed;
if ((this.hitTest(aerobot_mc.hit_mc) && (this.vContact == false)) && (gAeroMode != "transform")) {
if (this.vType == "key") {
if (haveKey == false) {
this.vContact = true;
this.gotoAndPlay("hitKey");
haveKey = true;
keyState_mc.gotoAndStop("on");
} else {
this.vContact = true;
}
} else if (((level > 1) && (this.vType == "rescuerock")) && (haveKey == true)) {
this.vContact = true;
this.gotoAndPlay("hit");
haveKey = false;
keyState_mc.gotoAndStop("off");
} else if (((level > 1) && (this.vType == "rescuerock")) && (haveKey == false)) {
this.vContact = true;
fnPauseGame();
this.keyMessage_mc.gotoAndPlay(2);
} else if (this.vType == "zaprock") {
this.vContact = true;
this.gotoAndPlay("hit");
} else if ((this.vType != "rescuerock") || ((level != 3) && (this.vType == "rescuerock"))) {
this.vContact = true;
this.gotoAndPlay("hit");
}
}
}
}
};
createListener();
enableListener();
Frame 21
initMenu();
Instance of Symbol 233 MovieClip "pointrock2_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 233 MovieClip "pointrock1_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 233 MovieClip "pointrock3_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 238 MovieClip "zaprock1_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 238 MovieClip "zaprock2_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 238 MovieClip "zaprock3_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 261 MovieClip "rescuerock1_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 261 MovieClip "rescuerock2_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 261 MovieClip "rescuerock3_mc" in Frame 28
onClipEvent (load) {
this.resetY = this._y;
this.resetX = this._x;
this.vXMin = -46;
}
Instance of Symbol 294 MovieClip "clock_mc" in Frame 28
onClipEvent (load) {
counter = 0;
}
onClipEvent (enterFrame) {
if (_root.gGameOn == true) {
counter++;
if (counter == _parent.fps) {
counter = 0;
this.nextFrame();
}
}
}
Frame 29
fnEvalStart();
stop();
Frame 36
fnEvalStart();
stop();
Instance of Symbol 407 MovieClip "bridge_mc" in Frame 45
onClipEvent (load) {
vXMin = -382.1;
vXMax = 981.8;
}
Frame 46
fnEvalStart();
stop();
Symbol 71 MovieClip Frame 100
stop();
Symbol 74 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 1
stop();
Symbol 80 MovieClip Frame 8
gotoAndStop ("park");
Symbol 80 MovieClip Frame 18
gotoAndStop ("park");
Symbol 80 MovieClip Frame 25
gotoAndStop ("park");
Symbol 80 MovieClip Frame 39
gotoAndStop ("park");
Symbol 95 MovieClip Frame 20
stop();
Symbol 98 MovieClip Frame 10
stop();
Symbol 107 MovieClip Frame 1
stop();
Symbol 107 MovieClip Frame 11
stop();
Symbol 107 MovieClip Frame 18
stop();
Symbol 109 MovieClip Frame 1
stop();
Symbol 109 MovieClip Frame 11
stop();
Symbol 109 MovieClip Frame 18
stop();
Symbol 111 MovieClip Frame 1
stop();
Symbol 111 MovieClip Frame 11
stop();
Symbol 111 MovieClip Frame 18
stop();
Symbol 128 MovieClip Frame 7
stop();
Symbol 128 MovieClip Frame 14
stop();
Symbol 128 MovieClip Frame 22
stop();
Symbol 128 MovieClip Frame 30
stop();
Symbol 131 MovieClip Frame 21
stop();
Symbol 138 MovieClip Frame 106
gotoAndPlay (1);
Symbol 142 MovieClip Frame 239
gotoAndPlay (1);
Symbol 145 MovieClip Frame 14
gotoAndPlay (1);
Symbol 158 MovieClip Frame 13
gotoAndPlay (1);
Symbol 182 MovieClip Frame 14
gotoAndPlay (1);
Symbol 183 MovieClip Frame 7
stop();
_root.gAeroMode = "heli";
Symbol 183 MovieClip Frame 13
_root.gAeroMode = "car";
stop();
Symbol 183 MovieClip Frame 17
if (_root.gGamePaused == true) {
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 25
if (_root.gGamePaused == true) {
stop();
} else {
gotoAndStop ("heli");
}
Symbol 183 MovieClip Frame 26
gotoAndStop ("heli");
Symbol 183 MovieClip Frame 28
if (_root.gGamePaused == true) {
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 36
if (_root.gGamePaused == true) {
stop();
} else {
gotoAndStop ("boat");
}
Symbol 183 MovieClip Frame 37
gotoAndStop ("boat");
Symbol 183 MovieClip Frame 39
_root.gAeroMode = "heli";
stop();
Symbol 183 MovieClip Frame 43
if (_root.gGamePaused == true) {
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 51
if (_root.gGamePaused == true) {
stop();
} else {
gotoAndStop ("car");
}
Symbol 183 MovieClip Frame 52
gotoAndStop ("car");
Symbol 183 MovieClip Frame 55
if (_root.gGamePaused == true) {
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 64
if (_root.gGamePaused == true) {
stop();
} else {
gotoAndStop ("boat");
}
Symbol 183 MovieClip Frame 65
gotoAndStop ("boat");
Symbol 183 MovieClip Frame 67
_root.gAeroMode = "boat";
stop();
Symbol 183 MovieClip Frame 71
if (_root.gGamePaused == true) {
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 80
if (_root.gGamePaused == true) {
stop();
} else {
gotoAndStop ("car");
}
Symbol 183 MovieClip Frame 81
gotoAndStop ("car");
Symbol 183 MovieClip Frame 83
if (_root.gGamePaused == true) {
stop();
} else {
play();
}
Symbol 183 MovieClip Frame 92
if (_root.gGamePaused == true) {
stop();
} else {
gotoAndStop ("heli");
}
Symbol 183 MovieClip Frame 93
gotoAndStop ("heli");
Symbol 233 MovieClip Frame 2
stop();
Symbol 233 MovieClip Frame 4
stop();
Symbol 233 MovieClip Frame 7
_root.gScore = _root.gScore + _root.ROCK_VAL;
play();
Symbol 233 MovieClip Frame 23
_parent.fnResetObject(this);
Symbol 238 MovieClip Frame 2
stop();
Symbol 238 MovieClip Frame 4
stop();
Symbol 238 MovieClip Frame 7
if ((_root.gScore - _root.ROCK_VAL) > 0) {
_root.gScore = _root.gScore - _root.ROCK_VAL;
} else {
_root.gScore = 0;
}
play();
Symbol 238 MovieClip Frame 24
_parent.fnResetObject(this);
Symbol 259 MovieClip Frame 1
stop();
Symbol 259 MovieClip Frame 2
play();
Symbol 259 MovieClip Frame 34
_root.fnUnPauseGame();
gotoAndStop (1);
Symbol 261 MovieClip Frame 2
stop();
Symbol 261 MovieClip Frame 7
stop();
Symbol 261 MovieClip Frame 12
stop();
Symbol 261 MovieClip Frame 21
play();
Symbol 261 MovieClip Frame 25
if (this.vType != "key") {
_parent.gScore = _parent.gScore + _parent.RESCUE_VAL;
var vIndex = Math.floor(Math.random() * _parent.botsInNeed_arr.length);
var vBot = _parent.botsInNeed_arr[vIndex];
_parent.botsInNeed_arr.splice(vIndex, 1);
_parent.rescue_mc.gotoAndPlay(vBot);
_parent.fnResetObject(this, vBot);
} else {
_parent.fnResetObject(this);
}
Symbol 261 MovieClip Frame 35
stop();
Symbol 261 MovieClip Frame 36
play();
Symbol 261 MovieClip Frame 40
if (this.vType != "key") {
var vIndex = Math.floor(Math.random() * _parent.botsInNeed_arr.length);
var vBot = _parent.botsInNeed_arr[vIndex];
_parent.botsInNeed_arr.splice(vIndex, 1);
_parent.rescue_mc.gotoAndPlay(vBot);
_parent.fnResetObject(this, vBot);
} else {
_parent.fnResetObject(this);
}
Symbol 261 MovieClip Frame 50
stop();
Symbol 263 MovieClip Frame 53
gotoAndPlay (1);
Symbol 266 Button
on (release) {
fnClickHelp();
}
Symbol 294 MovieClip Frame 1
stop();
Symbol 294 MovieClip Frame 60
stop();
_parent.fnTimeOut();
Symbol 303 MovieClip Frame 1
stop();
Symbol 303 MovieClip Frame 2
stop();
Symbol 303 MovieClip Frame 10
stop();
Symbol 303 MovieClip Frame 20
stop();
Symbol 303 MovieClip Frame 30
stop();
Symbol 303 MovieClip Frame 40
stop();
Symbol 306 MovieClip Frame 1
stop();
Symbol 306 MovieClip Frame 2
play();
Symbol 306 MovieClip Frame 20
stop();
Symbol 306 MovieClip Frame 21
play();
Symbol 310 Button
on (release) {
_root.fnPlayAgain(1, true);
_root.s.stop();
_root.gScore = 0;
}
Symbol 314 Button
on (release) {
_root.gScore = 0;
_root.fnPlayAgain(1, true);
}
Symbol 316 Button
on (release) {
var vLevel = (_root.level + 1);
_root.fnPlayAgain(vLevel);
}
Symbol 317 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 1
stop();
Symbol 325 MovieClip Frame 3
bgBtn.useHandCursor = false;
stop();
Symbol 325 MovieClip Frame 7
bgBtn.useHandCursor = false;
stop();
Instance of Symbol 317 MovieClip "playAgain_mc" in Symbol 325 MovieClip Frame 7
onClipEvent (load) {
if (_root.level < 3) {
this.gotoAndStop(2);
}
}
Symbol 325 MovieClip Frame 11
bgBtn.useHandCursor = false;
stop();
txtScore.text = _root.gScore.toString();
_root.submitHighScore();
Instance of Symbol 317 MovieClip "playAgain_mc" in Symbol 325 MovieClip Frame 11
onClipEvent (load) {
if (_root.level < 3) {
this.gotoAndStop(2);
}
}
Symbol 328 MovieClip Frame 17
gotoAndPlay ("loop");
Symbol 332 Button
on (release) {
_root.fnTransform("heli");
}
Symbol 333 MovieClip Frame 2
stop();
Symbol 333 MovieClip Frame 4
stop();
Symbol 335 Button
on (release) {
_root.fnTransform("car");
}
Symbol 336 MovieClip Frame 2
stop();
Symbol 336 MovieClip Frame 4
stop();
Symbol 339 Button
on (release) {
_root.fnTransform("boat");
}
Symbol 340 MovieClip Frame 2
stop();
Symbol 340 MovieClip Frame 4
stop();
Symbol 342 MovieClip Frame 1
stop();
Symbol 344 MovieClip Frame 1
stop();
Symbol 348 Button
on (release) {
_root.fnNewGame();
}
Symbol 350 Button
on (release) {
_root.fnMuteMusic("off");
gotoAndStop ("off");
}
Symbol 352 Button
on (release) {
_root.fnMuteMusic("on");
gotoAndStop ("on");
}
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 3
stop();
Symbol 355 Button
on (release) {
_root.fnStartGame();
}
Symbol 370 Button
on (release) {
_root.fnStartGame();
_root.IntroMusic_MC.gotoAndPlay("end");
}
Symbol 372 Button
on (release) {
_root.fnExitHelp();
}
Symbol 386 MovieClip Frame 1
stop();
Symbol 386 MovieClip Frame 6
bgBtn.useHandCursor = false;
stop();
Symbol 386 MovieClip Frame 12
bgBtn.useHandCursor = false;
stop();
Symbol 386 MovieClip Frame 18
bgBtn.useHandCursor = false;
stop();
Symbol 386 MovieClip Frame 24
bgBtn.useHandCursor = false;
stop();
Symbol 386 MovieClip Frame 30
bgBtn.useHandCursor = false;
stop();
Symbol 386 MovieClip Frame 36
bgBtn.useHandCursor = false;
stop();
Symbol 390 MovieClip Frame 106
gotoAndPlay (1);
Symbol 392 MovieClip Frame 203
gotoAndPlay (1);
Symbol 393 MovieClip Frame 7
gotoAndPlay (1);
Symbol 398 MovieClip Frame 106
gotoAndPlay (1);
Symbol 403 MovieClip Frame 239
gotoAndPlay (1);
Symbol 409 MovieClip Frame 40
gotoAndPlay (1);