Frame 1
loadMovieNum (SITEROOT + "nav.swf", 100001);
_global.SAMain = this;
gEndTitleFrame = 14;
play();
function fnInitVars() {
var gJoeMode;
var gJoeDir;
var gJoeOnLedge;
var gCurrentLedge;
var gAltitude;
var gFightPoints;
var gScore;
var gGamePaused;
var gSkillLevel;
var gFallSpeed;
var gCaptorPath;
var gJoeCaught;
var gLandJump;
var gJoeState;
var gCurrentJoeAction;
var gJoeInTrans;
var gCurrentChannel;
var gGameInProgress;
var gHitCount;
var gCurrentSet;
var gSetSeqIndex;
var gPanelsOnScreen;
gFirstTime = true;
POINTS_PER_GUY = 10;
CLIMB_SPEED = 4;
FALL_SPEED = 15;
FALL_SPEED_INCR = 1;
TERM_VELOCITY = 25;
TOTAL_CHANNELS = 7;
HOIST_DIFF = 43.1;
JUMP_UP_DIFF = 50;
FT_PER_PXL = 0.075;
JUMP_MARGIN = 115;
INTERFACE_HEIGHT = 259;
gSkillLevel = "notchosen";
jumps_arr = new Array(1, 2);
allSets_arr = new Array(2, 3, 4);
setSequence_arr = new Array();
setSequence_arr[0] = 1;
joeStateTypes_arr = new Array("stopped", "playing", "playing_through");
stoppedTypes_arr = new Array("still_right", "still_left", "hang_right", "hang_left");
playingTypes_arr = new Array("move_up", "move_down");
playing_throughTypes_arr = new Array("sideland_right", "sideland_left", "move_right", "move_left", "hoist_right", "hoist_left", "jump_up", "jump1_right", "jump1_left", "jump2_right", "jump2_left", "attackjump_right", "attackjump_left", "fall_right", "fall_left", "endfall_right", "endfall_left");
empty_arr = new Array();
allLights_cadet_arr = new Array(1, 2, 5);
allLights_commando_arr = new Array(1, 2, 3, 4, 5);
fnResetVars();
}
function fnResetVars() {
gAltitude = Number(0);
gFightPoints = Number(0);
gScore = Number(0);
gGamePaused = false;
gGameInProgress = false;
gHitCount = Number(0);
gJoeCaught = false;
gJoeInTrans = false;
}
function fnStartBriefing(mode) {
initHelpBtn.enabled = false;
loadClip.gotoAndStop("hold");
briefing.gotoAndPlay("go");
gSkillLevel = mode;
modeIndicator.gotoAndStop(gSkillLevel);
}
function fnGoJoe(dest) {
briefing.gotoAndStop("hide");
gotoAndStop(dest);
if (dest == "instructions") {
yoJoeInstrBtn._visible = true;
} else if (dest == "game") {
if (gGameOver == false) {
fnResumeGame();
} else if (gGameOver == true) {
fnPlayAgain();
}
}
}
Instance of Symbol 16 MovieClip "loadClip" in Frame 1
onClipEvent (load) {
var vAllLoaded;
vAllLoaded = false;
}
onClipEvent (enterFrame) {
if ((SAMain.getBytesLoaded() == SAMain.getBytesTotal()) && (vAllLoaded == false)) {
vAllLoaded = true;
this.gotoAndStop("ready");
}
}
onClipEvent (unload) {
delete vAllLoaded;
}
Frame 2
play();
Frame 3
if (_framesloaded >= gEndTitleFrame) {
delete gEndTitleFrame;
fnInitVars();
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Frame 4
play();
Instance of Symbol 86 MovieClip "briefing" in Frame 4
onClipEvent (load) {
vReturnDest = "instructions";
}
Instance of Symbol 119 MovieClip "modeIndicator" in Frame 4
onClipEvent (load) {
this.gotoAndStop(SAMain.gSkillLevel);
}
Frame 14
if (getBytesLoaded() == getBytesTotal()) {
stop();
} else {
gotoAndPlay (4);
}
Frame 16
stop();
Frame 18
stop();
function fnStartGame() {
music.gotoAndPlay("start");
availLights_arr = eval (("allLights_" + gSkillLevel) + "_arr").concat(empty_arr);
if (gFirstTime == false) {
setProperty("set1", _visible , 1);
i = 0;
while (i < allSets_arr.length) {
setProperty("set" + allSets_arr[i], _x , PANEL_HOLD_X);
setProperty("set" + allSets_arr[i], _y , PANEL_HOLD_Y);
i++;
}
setProperty("set1", _x , PANEL_ORIG_X);
setProperty("set1", _y , PANEL_OS_TOP_Y);
leftArrowBtn.enabled = true;
rightArrowBtn.enabled = true;
leftJumpBtnClip.gotoAndStop("inactive");
rightJumpBtnClip.gotoAndStop("inactive");
upArrowBtnClip.gotoAndStop("inactive");
}
gFallSpeed = FALL_SPEED;
gCurrentChannel = 4;
setProperty("joe", _x , CHANNEL4_X);
setProperty("joe", _y , JOE_ORIG_Y);
gPanelsOnScreen = Number(1);
gCurrentSet = Number(1);
gSetSeqIndex = Number(0);
gJoeState = "playing";
gJoeDir = "right";
gJoeMode = "move_up";
joe.gotoAndPlay(gJoeMode);
gJoeOnLedge = false;
gJoeInTrans = false;
gJoeCaught = false;
gGameOver = false;
joeMover.gotoAndPlay("go");
enemyLauncher.gotoAndPlay("go");
damageMeter.gotoAndStop("hit" + gHitCount);
}
function fnPauseGame() {
stopAllSounds();
music.gotoAndPlay("stop");
gGamePaused = true;
helpBtn.enabled = false;
yoJoeGameBtn._visible = false;
joeMover.gotoAndStop("base");
if (gJoeCaught == true) {
vFeedbackFrame = feedback._currentframe;
feedback.stop();
}
vLauncherFrame = enemyLauncher._currentframe;
enemyLauncher.stop();
i = 0;
while (i < joeStateTypes_arr.length) {
j = 0;
while (j < eval (joeStateTypes_arr[i] + "Types_arr").length) {
if (gCurrentJoeAction == eval (joeStateTypes_arr[i] + "Types_arr")[j]) {
gJoeState = joeStateTypes_arr[i];
}
j++;
}
i++;
}
if (gJoeState == "playing_through") {
vPickUpFrame = Number(joe._currentframe) + Number(1);
joe.gotoAndStop("base");
}
vPickUpX = joe._x;
vPickUpY = joe._y;
vJumpDiff = joe.vJumpDiff;
vAttackTarget = joe.vAttackTarget;
vTargetLedgePath = joe.vTargetLedgePath;
activeLedges_arr = new Array();
pickupFrames_arr = new Array();
soldiersOut_arr = new Array();
vMaxs_arr = new Array();
vCounters_arr = new Array();
lightIDs_arr = new Array();
lightFrames_arr = new Array();
lightXs_arr = new Array();
lightYs_arr = new Array();
if (gPanelsOnScreen == 1) {
vPanelResumeY = eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y");
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) + "Count")) {
if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vAvailable") == false) {
eval ((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j).stop();
activeLedges_arr.push((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j);
pickupFrames_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + "._currentframe"));
soldiersOut_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vSoldierOut"));
vMaxs_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vMax"));
vCounters_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vCounter"));
vAddToArray = true;
k = 0;
while (k < availLights_arr.length) {
if (availLights_arr[k] == eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) {
vAddToArray = false;
break;
}
k++;
}
if (vAddToArray == true) {
lightIDs_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum"));
} else if (vAddToArray == false) {
lightIDs_arr.push("no");
}
if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightAttached") == true) {
eval ("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")).stop();
lightFrames_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._currentframe"));
lightXs_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._x"));
lightYs_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._y"));
} else if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightAttached") == false) {
lightFrames_arr.push("no");
lightXs_arr.push("no");
lightYs_arr.push("no");
}
}
j++;
}
}
i++;
}
delete eval ("set" + setSequence_arr[gSetSeqIndex]).attachedLights_arr;
} else if (gPanelsOnScreen == 2) {
vPanel1ResumeY = eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y");
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) + "Count")) {
if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vAvailable") == false) {
eval ((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j).stop();
activeLedges_arr.push((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j);
pickupFrames_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + "._currentframe"));
soldiersOut_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vSoldierOut"));
vMaxs_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vMax"));
vCounters_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vCounter"));
vAddToArray = true;
k = 0;
while (k < availLights_arr.length) {
if (availLights_arr[k] == eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) {
vAddToArray = false;
break;
}
k++;
}
if (vAddToArray == true) {
lightIDs_arr.push(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum"));
} else if (vAddToArray == false) {
lightIDs_arr.push("no");
}
if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightAttached") == true) {
eval ("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")).stop();
lightFrames_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._currentframe"));
lightXs_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._x"));
lightYs_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._y"));
} else if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vLightAttached") == false) {
lightFrames_arr.push("no");
lightXs_arr.push("no");
lightYs_arr.push("no");
}
}
j++;
}
}
i++;
}
vPanel2ResumeY = eval (("set" + setSequence_arr[Number(gSetSeqIndex) - Number(1)]) + "._y");
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".vLedge") + i) + "Count")) {
if (eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vAvailable") == false) {
eval ((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j).stop();
activeLedges_arr.push((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j);
pickupFrames_arr.push(eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + "._currentframe"));
soldiersOut_arr.push(eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vSoldierOut"));
vMaxs_arr.push(eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vMax"));
vCounters_arr.push(eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vCounter"));
vAddToArray = true;
k = 0;
while (k < availLights_arr.length) {
if (availLights_arr[k] == eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightNum")) {
vAddToArray = false;
break;
}
k++;
}
if (vAddToArray == true) {
lightIDs_arr.push(eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightNum"));
} else if (vAddToArray == false) {
lightIDs_arr.push("no");
}
if (eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightAttached") == true) {
eval ("light" + eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightNum")).stop();
lightFrames_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._currentframe"));
lightXs_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._x"));
lightYs_arr.push(eval (("light" + eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightNum")) + "._y"));
} else if (eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vLightAttached") == false) {
lightFrames_arr.push("no");
lightXs_arr.push("no");
lightYs_arr.push("no");
}
}
j++;
}
}
i++;
}
delete eval ("set" + setSequence_arr[gSetSeqIndex]).attachedLights_arr;
delete eval ("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]).attachedLights_arr;
}
}
function fnViewBriefing(call_loc) {
stopAllSounds();
briefing.vReturnDest = call_loc;
if (call_loc == "game") {
fnPauseGame();
} else if (call_loc == "instructions") {
yoJoeInstrBtn._visible = false;
}
briefing.gotoAndPlay("go");
}
Frame 22
if (gGameInProgress == true) {
if (gGameOver == false) {
fnResumeGame();
} else if (gGameOver == true) {
fnPlayAgain();
}
} else if (gGameInProgress == false) {
fnStartGame();
}
stop();
function fnHelp() {
fnPauseGame();
gotoAndStop (18);
}
function fnResumeGame() {
music.gotoAndPlay("start");
gGamePaused = false;
if (gJoeOnLedge == true) {
upArrowBtnClip.gotoAndStop("active");
if (gCurrentChannel > 1) {
leftJumpBtnClip.gotoAndStop("active");
}
if (gCurrentChannel < TOTAL_CHANNELS) {
rightJumpBtnClip.gotoAndStop("active");
}
}
if (gCurrentChannel > 1) {
leftArrowBtn.enabled = true;
} else {
leftArrowBtn.enabled = false;
}
if (gCurrentChannel < TOTAL_CHANNELS) {
rightArrowBtn.enabled = true;
} else {
rightArrowBtn.enabled = false;
}
yoJoeGameBtn._visible = true;
helpBtn.enabled = true;
if (gJoeCaught == true) {
feedback.gotoAndPlay(vFeedbackFrame);
delete vFeedbackFrame;
} else if (gJoeCaught == false) {
enemyLauncher.gotoAndPlay(vLauncherFrame);
delete vLauncherFrame;
}
if (gPanelsOnScreen == 1) {
setProperty("set" + setSequence_arr[gSetSeqIndex], _x , PANEL_ORIG_X);
setProperty("set" + setSequence_arr[gSetSeqIndex], _y , vPanelResumeY);
Set(("set" + setSequence_arr[gSetSeqIndex]) + ".attachedLights_arr", new Array());
delete vPanelResumeY;
} else if (gPanelsOnScreen == 2) {
setProperty("set" + setSequence_arr[gSetSeqIndex], _x , PANEL_ORIG_X);
setProperty("set" + setSequence_arr[gSetSeqIndex], _y , vPanel1ResumeY);
Set(("set" + setSequence_arr[gSetSeqIndex]) + ".attachedLights_arr", new Array());
setProperty("set" + setSequence_arr[Number(gSetSeqIndex) - Number(1)], _x , PANEL_ORIG_X);
setProperty("set" + setSequence_arr[Number(gSetSeqIndex) - Number(1)], _y , vPanel2ResumeY);
Set(("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
delete vPanel1ResumeY;
delete vPanel2ResumeY;
}
i = 0;
while (i < activeLedges_arr.length) {
Set(activeLedges_arr[i] + ".vAvailable", false);
Set(activeLedges_arr[i] + ".vSoldierOut", soldiersOut_arr[i]);
Set(activeLedges_arr[i] + ".vMax", vMaxs_arr[i]);
Set(activeLedges_arr[i] + ".vCounter", vCounters_arr[i]);
eval (activeLedges_arr[i]).gotoAndPlay(Number(pickupFrames_arr[i]));
if (lightIDs_arr[i] != "no") {
Set(activeLedges_arr[i] + ".vLightNum", lightIDs_arr[i]);
eval (String(activeLedges_arr[i]).substr(0, 4)).attachedLights_arr.push(lightIDs_arr[i]);
if (lightFrames_arr[i] != "no") {
Set(activeLedges_arr[i] + ".vLightAttached", true);
eval ("light" + lightIDs_arr[i]).gotoAndPlay(lightFrames_arr[i]);
setProperty("light" + lightIDs_arr[i], _x , lightXs_arr[i]);
setProperty("light" + lightIDs_arr[i], _y , lightYs_arr[i]);
}
}
i++;
}
if (gJoeState == "playing_through") {
joe.gotoAndPlay(vPickUpFrame);
}
setProperty("joe", _x , vPickUpX);
setProperty("joe", _y , vPickUpY);
joe.vJumpDiff = vJumpDiff;
joe.vAttackTarget = vAttackTarget;
joe.vTargetLedgePath = vTargetLedgePath;
delete vAttackTarget;
delete vTargetLedgePath;
delete vJumpDiff;
delete vPickUpX;
delete vPickUpY;
joeMover.gotoAndPlay("go");
if (gJoeOnLedge == true) {
if (gCurrentChannel > 1) {
leftJumpBtnClip.gotoAndStop("active");
}
if (gCurrentChannel < TOTAL_CHANNELS) {
rightJumpBtnClip.gotoAndStop("active");
}
}
delete activeLedges_arr;
delete pickupFrames_arr;
delete soldiersOut_arr;
delete vMaxs_arr;
delete vCounters_arr;
delete lightIDs_arr;
delete lightFrames_arr;
delete lightXs_arr;
delete lightYs_arr;
}
function fnJump(dir) {
gJoeOnLedge = false;
gJoeMode = "jump_" + dir;
gJoeDir = dir;
leftJumpBtnClip.gotoAndStop("inactive");
rightJumpBtnClip.gotoAndStop("inactive");
leftArrowBtn.enabled = false;
rightArrowBtn.enabled = false;
upArrowBtnClip.gotoAndStop("inactive");
vJumpDiff = null;
vNextLedge = null;
vAttackJump = false;
vSet = gCurrentSet;
if (dir == "left") {
if (gCurrentSet == setSequence_arr[gSetSeqIndex]) {
i = 1;
while (i <= eval (((("set" + gCurrentSet) + ".vLedge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "Count")) {
if ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) >= (Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")))) && ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")))) <= JUMP_MARGIN)) {
vNextLedge = (("ledge" + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i;
vJumpDiff = Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")));
break;
}
i++;
}
} else {
vTestTopmost = true;
i = 1;
while (i <= eval (((("set" + gCurrentSet) + ".vLedge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "Count")) {
if ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) >= (Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")))) && ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")))) <= JUMP_MARGIN)) {
vNextLedge = (("ledge" + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i;
vJumpDiff = Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")));
vTestTopmost = false;
break;
}
i++;
}
if (vTestTopmost == true) {
i = 1;
while (i <= eval (((("set" + gCurrentSet) + ".vLedge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "Count")) {
if ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) >= (Number(eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y")) + Number(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")))) && ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y")) + Number(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")))) <= JUMP_MARGIN)) {
vNextLedge = (("ledge" + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i;
vSet = setSequence_arr[gSetSeqIndex];
vJumpDiff = Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y")) + Number(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".ledge") + String(Number(Number(gCurrentChannel) - Number(1)))) + "inst") + i) + "._y")));
vTestTopmost = false;
break;
}
i++;
}
}
}
} else if (dir == "right") {
if (gCurrentSet == setSequence_arr[gSetSeqIndex]) {
i = 1;
while (i <= eval (((("set" + gCurrentSet) + ".vLedge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "Count")) {
if ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) >= (Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")))) && ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")))) <= JUMP_MARGIN)) {
vNextLedge = (("ledge" + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i;
vJumpDiff = Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")));
break;
}
i++;
}
} else {
vTestTopmost = true;
i = 1;
while (i <= eval (((("set" + gCurrentSet) + ".vLedge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "Count")) {
if ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) >= (Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")))) && ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")))) <= JUMP_MARGIN)) {
vNextLedge = (("ledge" + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i;
vJumpDiff = Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((((("set" + gCurrentSet) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")));
vTestTopmost = false;
break;
}
i++;
}
if (vTestTopmost == true) {
i = 1;
while (i <= eval (((("set" + gCurrentSet) + ".vLedge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "Count")) {
if ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) >= (Number(eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y")) + Number(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")))) && ((Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y")) + Number(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")))) <= JUMP_MARGIN)) {
vNextLedge = (("ledge" + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i;
vSet = setSequence_arr[gSetSeqIndex];
vJumpDiff = Number(Number(eval (("set" + gCurrentSet) + "._y")) + Number(eval (((("set" + gCurrentSet) + ".") + gCurrentLedge) + "._y"))) - Number(Number(eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y")) + Number(eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".ledge") + String(Number(Number(gCurrentChannel) + Number(1)))) + "inst") + i) + "._y")));
vTestTopmost = false;
break;
}
i++;
}
}
}
}
delete vTestTopmost;
if (vNextLedge != null) {
gCurrentLedge = vNextLedge;
}
delete vNextLedge;
if (vJumpDiff == null) {
gLandJump = false;
} else {
gLandJump = true;
joe.vJumpDiff = vJumpDiff;
if (eval (((((("set" + vSet) + ".door") + String(gCurrentLedge).substr(5, 1)) + "inst") + String(gCurrentLedge).substr(10)) + ".vSoldierOut") == true) {
vAttackJump = true;
}
}
if (vAttackJump == true) {
joe.vAttackTarget = (((("set" + vSet) + ".door") + String(gCurrentLedge).substr(5, 1)) + "inst") + String(gCurrentLedge).substr(10);
joe.gotoAndPlay("attackjump_" + dir);
} else if (vAttackJump == false) {
joe.vTargetLedgePath = (((("set" + vSet) + ".door") + String(gCurrentLedge).substr(5, 1)) + "inst") + String(gCurrentLedge).substr(10);
joe.gotoAndPlay((("jump" + jumps_arr[Math.floor(Math.random() * jumps_arr.length)]) + "_") + dir);
}
if (dir == "right") {
gCurrentChannel++;
} else if (dir == "left") {
gCurrentChannel--;
}
delete vJumpDiff;
delete vAttackJump;
delete vSet;
}
function fnGetLight(pointx, pointy, door, setnum) {
setProperty("light" + eval (((("set" + setnum) + ".") + door) + ".vLightNum"), _x , pointx);
setProperty("light" + eval (((("set" + setnum) + ".") + door) + ".vLightNum"), _y , pointy);
eval ("light" + eval (((("set" + setnum) + ".") + door) + ".vLightNum")).gotoAndPlay("go");
}
function fnGetCaught(call_loc, path) {
gCatchCase = call_loc;
gCaptorPath = path;
gJoeCaught = true;
if ((gCurrentJoeAction == "move_left") || (gCurrentJoeAction == "move_right")) {
gJoeMode = "move_up";
} else if (gJoeMode == "move_up") {
joe.gotoAndStop("hang_" + gJoeDir);
}
vPickUpMode = gJoeMode;
gJoeMode = "caught_in_light";
gHitCount++;
damageMeter.gotoAndStop("hit" + gHitCount);
enemyLauncher.stop();
if (gHitCount == 1) {
feedback.gotoAndPlay("hit1");
} else if (gHitCount == 2) {
feedback.gotoAndPlay("hit2");
} else if (gHitCount >= 3) {
fnEndGame();
if (gScore >= 200) {
feedback.gotoAndPlay("game_over_win");
} else {
feedback.gotoAndPlay("game_over_lose");
}
}
if (call_loc == "body") {
eval (path).stop();
fnResetLight(path);
}
}
function fnAfterFeedback(call_type) {
gCaptorPath = "";
if (call_type == "flashlight") {
gJoeMode = vPickUpMode;
if (gJoeMode == "move_up") {
gJoeInTrans = false;
joe.gotoAndPlay("move_up");
}
}
gJoeCaught = false;
if (gJoeOnLedge == true) {
upArrowBtnClip.gotoAndStop("active");
}
enemyLauncher.play();
}
function fnEndGame() {
if (gPanelsOnScreen == 1) {
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) + "Count")) {
if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vAvailable") == false) {
eval ((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j).stop();
}
j++;
}
}
i++;
}
} else if (gPanelsOnScreen == 2) {
vPanel1ResumeY = eval (("set" + setSequence_arr[gSetSeqIndex]) + "._y");
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setSequence_arr[gSetSeqIndex]) + ".vLedge") + i) + "Count")) {
if (eval (((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j) + ".vAvailable") == false) {
eval ((((("set" + setSequence_arr[gSetSeqIndex]) + ".door") + i) + "inst") + j).stop();
}
j++;
}
}
i++;
}
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".vLedge") + i) + "Count")) {
if (eval (((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j) + ".vAvailable") == false) {
eval ((((("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]) + ".door") + i) + "inst") + j).stop();
}
j++;
}
}
i++;
}
}
i = 1;
while (i < eval (("allLights_" + gSkillLevel) + "_arr").length) {
setProperty("light" + eval (("allLights_" + gSkillLevel) + "_arr")[i], _x , LIGHT_ORIG_X);
eval ("light" + eval (("allLights_" + gSkillLevel) + "_arr")[i]).gotoAndStop("base");
i++;
}
stopAllSounds();
gGameOver = true;
eval ("set" + setSequence_arr[gSetSeqIndex]).attachedLights_arr.splice(0);
if (gPanelsOnScreen == 2) {
eval ("set" + setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]).attachedLights_arr.splice(0);
}
music.gotoAndPlay("stop");
enemyLauncher.gotoAndStop("base");
joeMover.gotoAndStop("base");
}
function fnResetDoors(setnum) {
i = 1;
while (i <= TOTAL_CHANNELS) {
if (eval ((("set" + setnum) + ".vLedge") + i) == true) {
j = 1;
while (j <= eval (((("set" + setnum) + ".vLedge") + i) + "Count")) {
eval ((((("set" + setnum) + ".door") + i) + "inst") + j).gotoAndStop("base");
j++;
}
}
i++;
}
}
function fnPlayAgain() {
damageMeter.gotoAndStop("hit0");
feedback.gotoAndStop("base");
delete availLights_arr;
i = 0;
while (i < eval (("allLights_" + gSkillLevel) + "_arr").length) {
setProperty("light" + eval (("allLights_" + gSkillLevel) + "_arr")[i], _x , LIGHT_ORIG_X);
setProperty("light" + eval (("allLights_" + gSkillLevel) + "_arr")[i], _y , LIGHT_ORIG_Y);
eval ("light" + eval (("allLights_" + gSkillLevel) + "_arr")[i]).gotoAndStop("base");
i++;
}
fnResetDoors(setSequence_arr[gSetSeqIndex]);
if (gPanelsOnScreen == 2) {
fnResetDoors(setSequence_arr[Number(Number(gSetSeqIndex) - Number(1))]);
}
setSequence_arr.splice(1);
fnResetVars();
gotoAndStop (16);
}
function fnResetLight(path) {
vAdd = true;
i = 0;
while (i < availLights_arr.length) {
if (availLights_arr[i] == eval (path + ".vLightNum")) {
vAdd = false;
break;
}
i++;
}
if (vAdd == true) {
availLights_arr.push(eval (path + ".vLightNum"));
}
delete vAdd;
i = 0;
while (i < eval (String(path).substr(0, 4)).attachedLights_arr.length) {
if (eval (String(path).substr(0, 4)).attachedLights_arr[i] == eval (path + ".vLightNum")) {
eval (String(path).substr(0, 4)).attachedLights_arr.splice(i, 1);
break;
}
i++;
}
if (eval (path + ".vLightAttached") == true) {
setProperty("light" + eval (path + ".vLightNum"), _x , LIGHT_ORIG_X);
setProperty("light" + eval (path + ".vLightNum"), _y , LIGHT_ORIG_Y);
eval ("light" + eval (path + ".vLightNum")).gotoAndStop("base");
Set(path + ".vLightAttached", false);
}
}
function fnClearSetLights(setnum) {
i = 0;
while (i < eval ("set" + setnum).attachedLights_arr.length) {
setProperty(eval ("light" + eval ("set" + setnum).attachedLights_arr[i]), _x , LIGHT_ORIG_X);
setProperty(eval ("light" + eval ("set" + setnum).attachedLights_arr[i]), _y , LIGHT_ORIG_Y);
eval ("light" + eval ("set" + setnum).attachedLights_arr[i]).gotoAndStop("base");
vAdd = true;
j = 0;
while (j < availLights_arr.length) {
if (availLights_arr[j] == eval ("set" + setnum).attachedLights_arr[i]) {
vAdd = false;
break;
}
j++;
}
if (vAdd == true) {
availLights_arr.push(eval ("set" + setnum).attachedLights_arr[i]);
}
delete vAdd;
i++;
}
eval ("set" + setnum).attachedLights_arr.splice(0);
}
function fnRemoveKeyListener(var_to_watch) {
Key.removeListener(myKeyListener);
if (var_to_watch == "gRightKeyPressed") {
myRightArrowListener = new Object();
myRightArrowListener.onKeyUp = function () {
if (Key.isDown(39) != true) {
gRightKeyPressed = false;
Key.removeListener(myRightArrowListener);
}
};
Key.addListener(myRightArrowListener);
} else if (var_to_watch == "gLeftKeyPressed") {
myLeftArrowListener = new Object();
myLeftArrowListener.onKeyUp = function () {
if (Key.isDown(37) != true) {
gLeftKeyPressed = false;
Key.removeListener(myLeftArrowListener);
}
};
Key.addListener(myLeftArrowListener);
}
}
Instance of Symbol 158 MovieClip "upArrowBtnClip" in Frame 22
/* no clip actions */
Instance of Symbol 249 MovieClip "light1" in Frame 22
onClipEvent (load) {
if (SAMain.gFirstTime == true) {
_global.SAMain.LIGHT_ORIG_X = this._x;
_global.SAMain.LIGHT_ORIG_Y = this._y;
}
}
Instance of Symbol 258 MovieClip "joe" in Frame 22
onClipEvent (load) {
var vJumpDiff;
if (SAMain.gGameInProgress == false) {
vOrigY = this._y;
_global.SAMain.JOE_ORIG_Y = this._y;
_global.SAMain.gGameInProgress = true;
if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
this.gotoAndStop(SAMain.gJoeMode);
} else {
this.gotoAndPlay(SAMain.gJoeMode);
}
} else if (SAMain.gGameInProgress == true) {
vOrigY = SAMain.JOE_ORIG_Y;
setProperty(this, _x , SAMain.vPickUpX);
setProperty(this, _y , SAMain.vPickUpY);
delete _global.SAMain.vPickUpX;
delete _global.SAMain.vPickUpY;
if (SAMain.gJoeState == "stopped") {
this.gotoAndStop(SAMain.gJoeMode);
} else if (SAMain.gJoeState == "playing") {
this.gotoAndPlay(SAMain.gJoeMode);
} else if (SAMain.gJoeState == "playing_through") {
this.gotoAndPlay(SAMain.vPickUpFrame);
delete _global.SAMain.vPickUpFrame;
}
}
}
Instance of Symbol 269 MovieClip "set4" in Frame 22
onClipEvent (load) {
if (SAMain.gFirstTime == true) {
attachedLights_arr = new Array();
}
vLedge1 = true;
vLedge1Count = 2;
vLedge2 = true;
vLedge2Count = Number(1);
vLedge3 = true;
vLedge3Count = 2;
vLedge4 = true;
vLedge4Count = Number(1);
vLedge5 = true;
vLedge5Count = Number(1);
vLedge6 = true;
vLedge6Count = Number(1);
vLedge7 = true;
vLedge7Count = 2;
}
Instance of Symbol 270 MovieClip "set3" in Frame 22
onClipEvent (load) {
if (SAMain.gFirstTime == true) {
attachedLights_arr = new Array();
}
vLedge1 = true;
vLedge1Count = Number(1);
vLedge2 = true;
vLedge2Count = 2;
vLedge3 = true;
vLedge3Count = Number(1);
vLedge4 = true;
vLedge4Count = 2;
vLedge5 = true;
vLedge5Count = 2;
vLedge6 = true;
vLedge6Count = Number(1);
vLedge7 = true;
vLedge7Count = 2;
}
Instance of Symbol 271 MovieClip "set2" in Frame 22
onClipEvent (load) {
if (SAMain.gFirstTime == true) {
_global.SAMain.PANEL_HOLD_X = this._x;
_global.SAMain.PANEL_HOLD_Y = this._y;
attachedLights_arr = new Array();
}
vLedge1 = true;
vLedge1Count = 2;
vLedge2 = true;
vLedge2Count = Number(1);
vLedge3 = true;
vLedge3Count = Number(1);
vLedge4 = true;
vLedge4Count = 2;
vLedge5 = true;
vLedge5Count = 2;
vLedge6 = true;
vLedge6Count = 2;
vLedge7 = true;
vLedge7Count = 2;
}
Instance of Symbol 274 MovieClip "set1" in Frame 22
onClipEvent (load) {
vLedge1 = false;
vLedge2 = true;
vLedge2Count = Number(1);
vLedge3 = true;
vLedge3Count = Number(1);
vLedge4 = false;
vLedge5 = true;
vLedge5Count = Number(1);
vLedge6 = true;
vLedge6Count = Number(1);
vLedge7 = true;
vLedge7Count = Number(1);
if (attachedLights_arr == undefined) {
attachedLights_arr = new Array();
}
if (SAMain.gFirstTime == true) {
var vLeftBound;
var vRightBound;
var vChannelWidth;
var vChannelCenter;
vLeftBound = Number(this._x) - Number(this.boundary._width / 2);
vRightBound = Number(this._x) + Number(this.boundary._width / 2);
vChannelWidth = this.boundary._width / SAMain.TOTAL_CHANNELS;
vChannelCenter = vChannelWidth / 2;
i = 1;
while (i <= SAMain.TOTAL_CHANNELS) {
Set(("_global.SAMain.CHANNEL" + i) + "_X", Math.round((Number(Number(vLeftBound) + Number(vChannelWidth * i)) - Number(vChannelCenter)) * 10) / 10);
i++;
}
delete vLeftBound;
delete vRightBound;
delete vChannelWidth;
delete vChannelCenter;
setProperty(eval (SAMain) + ".joe", _x , SAMain.CHANNEL4_X);
_global.SAMain.PANEL_ORIG_X = this._x;
_global.SAMain.PANEL_HEIGHT = this.boundary._height;
_global.SAMain.PANEL_TOPMOST_Y = Number(this._y) - Number(SAMain.INTERFACE_HEIGHT);
_global.SAMain.PANEL_OS_TOP_Y = this._y;
_global.SAMain.PANEL_OS_BOTTOM_Y = Number(Number(SAMain.PANEL_HEIGHT) - Number(SAMain.INTERFACE_HEIGHT)) + Number(SAMain.PANEL_OS_TOP_Y);
_global.SAMain.PANEL_BOTTOM_Y = Number(this._y) + Number(this.boundary._height);
SAMain.gFirstTime = false;
} else if (SAMain.gFirstTime == false) {
if (SAMain.gPanelsOnScreen == 1) {
if (SAMain.setSequence_arr[SAMain.gSetSeqIndex] != 1) {
setProperty(this, _x , SAMain.PANEL_HOLD_X);
setProperty(this, _y , SAMain.PANEL_HOLD_Y);
}
} else if (SAMain.gPanelsOnScreen == 2) {
if ((SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)] != 1) && (SAMain.setSequence_arr[SAMain.gSetSeqIndex] != 1)) {
setProperty(this, _x , SAMain.PANEL_HOLD_X);
setProperty(this, _y , SAMain.PANEL_HOLD_Y);
}
}
}
}
Symbol 11 Button
on (release) {
SAMain.fnStartBriefing("commando");
}
Symbol 13 Button
on (release) {
SAMain.fnStartBriefing("cadet");
}
Symbol 16 MovieClip Frame 2
stop();
Symbol 16 MovieClip Frame 4
stop();
Symbol 16 MovieClip Frame 6
stop();
Symbol 45 Button
on (release) {
SAMain.fnGoJoe(_parent.vReturnDest);
}
Symbol 48 Button
on (release) {
SAMain.fnGoJoe(_parent.vReturnDest);
}
Symbol 49 MovieClip Frame 1
stop();
Symbol 49 MovieClip Frame 3
stop();
Symbol 86 MovieClip Frame 1
stop();
Symbol 86 MovieClip Frame 3
bgBtn.useHandCursor = false;
play();
Symbol 86 MovieClip Frame 241
GoJoeBtnClip.gotoAndStop("flashing");
stop();
Symbol 110 MovieClip Frame 2
stop();
Symbol 110 MovieClip Frame 4
stop();
Symbol 110 MovieClip Frame 6
stop();
Symbol 110 MovieClip Frame 8
stop();
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 3
stop();
Symbol 119 MovieClip Frame 5
stop();
Symbol 125 Button
on (release) {
gSkillLevel = "commando";
modeIndicator.gotoAndStop(gSkillLevel);
gotoAndStop (22);
}
Symbol 126 Button
on (release) {
gSkillLevel = "cadet";
modeIndicator.gotoAndStop(gSkillLevel);
gotoAndStop (22);
}
Symbol 131 MovieClip Frame 1
stop();
Symbol 131 MovieClip Frame 3
stop();
Symbol 131 MovieClip Frame 5
stop();
Symbol 131 MovieClip Frame 7
gotoAndStop (1);
Symbol 135 MovieClip Frame 1
stop();
Symbol 135 MovieClip Frame 6
stop();
Symbol 135 MovieClip Frame 11
stop();
Symbol 136 Button
on (release) {
gotoAndStop (22);
}
Symbol 143 Button
on (release) {
fnViewBriefing("instructions");
}
Symbol 157 Button
on (release) {
SAMain.leftJumpBtnClip.gotoAndStop("inactive");
SAMain.rightJumpBtnClip.gotoAndStop("inactive");
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
gotoAndStop (2);
_global.SAMain.gJoeOnLedge = false;
_global.SAMain.gJoeMode = "jump_up";
SAMain.joe.gotoAndPlay("jump_up");
}
on (keyPress "<Up>") {
if (SAMain.gUpKeyPressed != true) {
_global.SAMain.gUpKeyPressed = true;
SAMain.leftJumpBtnClip.gotoAndStop("inactive");
SAMain.rightJumpBtnClip.gotoAndStop("inactive");
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
gotoAndStop (2);
_global.SAMain.gJoeOnLedge = false;
_global.SAMain.gJoeMode = "jump_up";
SAMain.joe.gotoAndPlay("jump_up");
myUpKeyListener = new Object();
myUpKeyListener.onKeyUp = function () {
if (Key.isDown(38) != true) {
_global.SAMain.gUpKeyPressed = false;
Key.removeListener(myUpKeyListener);
}
};
Key.addListener(myUpKeyListener);
}
}
Symbol 158 MovieClip Frame 2
Key.removeListener(myUpKeyListener);
_global.SAMain.gUpKeyPressed = false;
stop();
Symbol 158 MovieClip Frame 5
stop();
Symbol 165 Button
on (release) {
SAMain.fnJump("right");
}
Symbol 166 MovieClip Frame 2
stop();
Symbol 166 MovieClip Frame 4
stop();
Symbol 186 MovieClip Frame 1
if ((((((((SAMain.gJoeOnLedge == true) && (SAMain.gCurrentLedge == ("ledge" + String(_parent._name).substr(4)))) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) && (SAMain.gJoeCaught == false)) && (String(_parent._parent._name).substr(3) == SAMain.gCurrentSet)) {
SAMain.fnGetCaught("body", (_parent._parent._name + ".") + _parent._name);
stop();
} else {
play();
}
Symbol 186 MovieClip Frame 2
if ((((((((SAMain.gJoeOnLedge == true) && (SAMain.gCurrentLedge == ("ledge" + String(_parent._name).substr(4)))) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) && (SAMain.gJoeCaught == false)) && (String(_parent._parent._name).substr(3) == SAMain.gCurrentSet)) {
SAMain.fnGetCaught("body", (_parent._parent._name + ".") + _parent._name);
stop();
} else {
gotoAndPlay (1);
}
Symbol 187 MovieClip Frame 1
play();
Symbol 187 MovieClip Frame 3
_parent.fnCheckLightLoc();
play();
Symbol 187 MovieClip Frame 4
gotoAndPlay (3);
Symbol 205 MovieClip Frame 2
stop();
Symbol 205 MovieClip Frame 5
play();
Symbol 205 MovieClip Frame 13
if (SAMain.gSkillLevel == "commando") {
var vSet;
if (SAMain.gPanelsOnScreen == 1) {
vSet = SAMain.gCurrentSet;
} else if (SAMain.gPanelsOnScreen == 2) {
if (Math.random() > 0.2) {
vSet = SAMain.setSequence_arr[SAMain.gSetSeqIndex];
} else {
vSet = SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))];
}
}
existingLedges_arr = new Array();
i = 1;
while (i <= SAMain.TOTAL_CHANNELS) {
if (eval ((((SAMain + ".set") + vSet) + ".vLedge") + i) == true) {
existingLedges_arr.push(i);
}
i++;
}
vCh1 = false;
vCh7 = false;
vFireMidChannel = false;
if ((SAMain.gCurrentChannel != 1) && (SAMain.gCurrentChannel != 7)) {
vFireMidChannel = true;
Set("vCh" + SAMain.gCurrentChannel, false);
}
i = 0;
while (i < existingLedges_arr.length) {
if (existingLedges_arr[i] == 1) {
vCh1 = true;
}
if (existingLedges_arr[i] == 7) {
vCh7 = true;
}
if ((vFireMidChannel == true) && (existingLedges_arr[i] == SAMain.gCurrentChannel)) {
Set("vCh" + SAMain.gCurrentChannel, true);
}
i++;
}
vCh1_occupied = false;
vCh7_occupied = false;
if (vFireMidChannel == true) {
Set(("vCh" + SAMain.gCurrentChannel) + "_occupied", false);
}
readyDoors_arr = new Array();
i = 0;
while (i < existingLedges_arr.length) {
j = 1;
while (j <= eval (((((SAMain + ".set") + vSet) + ".vLedge") + existingLedges_arr[i]) + "Count")) {
if (eval (((((((SAMain + ".set") + vSet) + ".door") + existingLedges_arr[i]) + "inst") + j) + ".vAvailable") == true) {
readyDoors_arr.push((("door" + existingLedges_arr[i]) + "inst") + j);
} else if (eval (((((((SAMain + ".set") + vSet) + ".door") + existingLedges_arr[i]) + "inst") + j) + ".vAvailable") == false) {
if (existingLedges_arr[i] == 1) {
vCh1_occupied = true;
} else if (existingLedges_arr[i] == 7) {
vCh7_occupied = true;
}
if ((vFireMidChannel == true) && (existingLedges_arr[i] == SAMain.gCurrentChannel)) {
Set(("vCh" + SAMain.gCurrentChannel) + "_occupied", true);
}
}
j++;
}
i++;
}
var vIndex;
var vDoor;
if ((((vFireMidChannel == true) && (eval ("vCh" + SAMain.gCurrentChannel) == true)) && (eval (("vCh" + SAMain.gCurrentChannel) + "_occupied") == false)) && (Math.random() > 0.2)) {
i = 0;
while (i < readyDoors_arr.length) {
if (String(readyDoors_arr[i]).substr(4, 1) == String(SAMain.gCurrentChannel)) {
vDoor = readyDoors_arr[i];
break;
}
i++;
}
} else if (((vCh1 == true) && (vCh1_occupied == false)) && (Math.random() > 0.3)) {
i = 0;
while (i < readyDoors_arr.length) {
if (String(readyDoors_arr[i]).substr(4, 1) == "1") {
vDoor = readyDoors_arr[i];
break;
}
i++;
}
} else if (((vCh7 == true) && (vCh7_occupied == false)) && (Math.random() > 0.3)) {
i = 0;
while (i < readyDoors_arr.length) {
if (String(readyDoors_arr[i]).substr(4, 1) == "7") {
vDoor = readyDoors_arr[i];
break;
}
i++;
}
} else {
vIndex = Math.floor(Math.random() * readyDoors_arr.length);
vDoor = readyDoors_arr[vIndex];
}
if (SAMain.availLights_arr.length > 0) {
vIndex2 = Math.floor(Math.random() * SAMain.availLights_arr.length);
Set(((((_global.SAMain + ".set") + vSet) + ".") + vDoor) + ".vLightNum", SAMain.availLights_arr[vIndex2]);
eval ((_global.SAMain + ".set") + vSet).attachedLights_arr.push(SAMain.availLights_arr[vIndex2]);
Set(("_global.SAMain.gLight" + SAMain.availLights_arr[vIndex2]) + "DoorPath", (("set" + vSet) + ".") + vDoor);
_global.SAMain.availLights_arr.splice(vIndex2, 1);
eval ((((SAMain + ".set") + vSet) + ".") + vDoor).gotoAndPlay("warning");
delete vIndex2;
}
delete vSet;
delete existingLedges_arr;
delete readyDoors_arr;
delete vIndex;
delete vDoor;
delete vCh1;
delete vCh7;
delete vCh1_occupied;
delete vCh7_occupied;
delete vFireMidChannel;
}
Symbol 205 MovieClip Frame 19
if (SAMain.gSkillLevel == "cadet") {
var vSet;
if (SAMain.gPanelsOnScreen == 1) {
vSet = SAMain.gCurrentSet;
} else if (SAMain.gPanelsOnScreen == 2) {
if (Math.random() > 0.2) {
vSet = SAMain.setSequence_arr[SAMain.gSetSeqIndex];
} else {
vSet = SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))];
}
}
existingLedges_arr = new Array();
i = 1;
while (i <= SAMain.TOTAL_CHANNELS) {
if (eval ((((SAMain + ".set") + vSet) + ".vLedge") + i) == true) {
existingLedges_arr.push(i);
}
i++;
}
vCh1 = false;
vCh7 = false;
vFireMidChannel = false;
if ((SAMain.gCurrentChannel != 1) && (SAMain.gCurrentChannel != 7)) {
vFireMidChannel = true;
Set("vCh" + SAMain.gCurrentChannel, false);
}
i = 0;
while (i < existingLedges_arr.length) {
if (existingLedges_arr[i] == 1) {
vCh1 = true;
}
if (existingLedges_arr[i] == 7) {
vCh7 = true;
}
if ((vFireMidChannel == true) && (existingLedges_arr[i] == SAMain.gCurrentChannel)) {
Set("vCh" + SAMain.gCurrentChannel, true);
}
i++;
}
vCh1_occupied = false;
vCh7_occupied = false;
if (vFireMidChannel == true) {
Set(("vCh" + SAMain.gCurrentChannel) + "_occupied", false);
}
readyDoors_arr = new Array();
i = 0;
while (i < existingLedges_arr.length) {
j = 1;
while (j <= eval (((((SAMain + ".set") + vSet) + ".vLedge") + existingLedges_arr[i]) + "Count")) {
if (eval (((((((SAMain + ".set") + vSet) + ".door") + existingLedges_arr[i]) + "inst") + j) + ".vAvailable") == true) {
readyDoors_arr.push((("door" + existingLedges_arr[i]) + "inst") + j);
} else if (eval (((((((SAMain + ".set") + vSet) + ".door") + existingLedges_arr[i]) + "inst") + j) + ".vAvailable") == false) {
if (existingLedges_arr[i] == 1) {
vCh1_occupied = true;
} else if (existingLedges_arr[i] == 7) {
vCh7_occupied = true;
}
if ((vFireMidChannel == true) && (existingLedges_arr[i] == SAMain.gCurrentChannel)) {
Set(("vCh" + SAMain.gCurrentChannel) + "_occupied", true);
}
}
j++;
}
i++;
}
var vIndex;
var vDoor;
if ((((vFireMidChannel == true) && (eval ("vCh" + SAMain.gCurrentChannel) == true)) && (eval (("vCh" + SAMain.gCurrentChannel) + "_occupied") == false)) && (Math.random() > 0.2)) {
i = 0;
while (i < readyDoors_arr.length) {
if (String(readyDoors_arr[i]).substr(4, 1) == String(SAMain.gCurrentChannel)) {
vDoor = readyDoors_arr[i];
break;
}
i++;
}
} else if (((vCh1 == true) && (vCh1_occupied == false)) && (Math.random() > 0.35)) {
i = 0;
while (i < readyDoors_arr.length) {
if (String(readyDoors_arr[i]).substr(4, 1) == "1") {
vDoor = readyDoors_arr[i];
break;
}
i++;
}
} else if (((vCh7 == true) && (vCh7_occupied == false)) && (Math.random() > 0.35)) {
i = 0;
while (i < readyDoors_arr.length) {
if (String(readyDoors_arr[i]).substr(4, 1) == "7") {
vDoor = readyDoors_arr[i];
break;
}
i++;
}
} else {
vIndex = Math.floor(Math.random() * readyDoors_arr.length);
vDoor = readyDoors_arr[vIndex];
}
if (SAMain.availLights_arr.length > 0) {
vIndex2 = Math.floor(Math.random() * SAMain.availLights_arr.length);
Set(((((_global.SAMain + ".set") + vSet) + ".") + vDoor) + ".vLightNum", SAMain.availLights_arr[vIndex2]);
eval ((_global.SAMain + ".set") + vSet).attachedLights_arr.push(SAMain.availLights_arr[vIndex2]);
Set(("_global.SAMain.gLight" + SAMain.availLights_arr[vIndex2]) + "DoorPath", (("set" + vSet) + ".") + vDoor);
_global.SAMain.availLights_arr.splice(vIndex2, 1);
eval ((((SAMain + ".set") + vSet) + ".") + vDoor).gotoAndPlay("warning");
delete vIndex2;
}
delete vSet;
delete existingLedges_arr;
delete readyDoors_arr;
delete vIndex;
delete vDoor;
delete vCh1;
delete vCh7;
delete vCh1_occupied;
delete vCh7_occupied;
delete vFireMidChannel;
}
Symbol 205 MovieClip Frame 40
if (SAMain.gGamePaused == true) {
stop();
} else if (SAMain.gGamePaused == false) {
if (SAMain.gGameOver == false) {
gotoAndPlay (5);
} else if (SAMain.gGameOver == true) {
gotoAndStop (2);
}
}
Symbol 205 MovieClip Frame 41
gotoAndPlay (5);
Symbol 207 MovieClip Frame 2
stop();
Symbol 207 MovieClip Frame 4
if (SAMain.gPanelsOnScreen == 2) {
if (eval (SAMain + ".joe._y") < (Number(eval (((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.PANEL_HEIGHT / 2))) {
if (SAMain.gCurrentSet != SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
SAMain.gCurrentSet = SAMain.setSequence_arr[SAMain.gSetSeqIndex];
}
} else if (SAMain.gCurrentSet != SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) {
SAMain.gCurrentSet = SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)];
}
}
if ((SAMain.gJoeMode == "move_up") && (SAMain.gJoeInTrans == false)) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.CLIMB_SPEED));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.CLIMB_SPEED));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.CLIMB_SPEED)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.CLIMB_SPEED));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.CLIMB_SPEED));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.CLIMB_SPEED)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * SAMain.CLIMB_SPEED);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
if (eval ((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) == true) {
i = 1;
while (i <= eval (((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) + "Count")) {
if (((SAMain.joe._y <= (Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")))) && (SAMain.gJoeOnLedge == false)) && (SAMain.joe._y >= (Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "mid._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y"))))) {
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
vDiff = (Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y"))) - Number(SAMain.joe._y);
if (SAMain.gPanelsOnScreen == 1) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.gCurrentSet), _y , eval (((eval (SAMain) + ".set") + SAMain.gCurrentSet) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
}
delete vDiff;
_global.SAMain.gJoeMode = "hoist";
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = false;
SAMain.joe.gotoAndPlay("hoist_" + SAMain.gJoeDir);
break;
}
i++;
}
}
}
if (SAMain.gGamePaused == true) {
gotoAndStop (2);
} else if (SAMain.gGamePaused == false) {
play();
}
Symbol 207 MovieClip Frame 5
if (SAMain.gGamePaused == true) {
gotoAndStop (2);
} else if (SAMain.gGamePaused == false) {
gotoAndPlay (4);
}
Symbol 221 Button
on (release) {
getURL (_root.SITEROOT + "missionselect.html", "_self");
}
Symbol 223 Button
on (release) {
SAMain.fnPlayAgain();
}
Symbol 232 Button
on (release) {
getURL ("/gijoe/experience/pl/page.games/dn/default.cfm");
}
Symbol 239 MovieClip Frame 2
stop();
Symbol 239 MovieClip Frame 5
maskBtn.useHandCursor = false;
play();
Symbol 239 MovieClip Frame 23
if (SAMain.gCatchCase == "flashlight") {
eval ((SAMain + ".") + SAMain.gCaptorPath).gotoAndPlay("exit");
SAMain.fnResetLight(SAMain.gCaptorPath);
} else if (SAMain.gCatchCase == "body") {
eval ((SAMain + ".") + SAMain.gCaptorPath).gotoAndPlay("exit");
}
Symbol 239 MovieClip Frame 39
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnAfterFeedback("flashlight");
} else if (SAMain.gCatchCase == "body") {
SAMain.fnAfterFeedback();
}
gotoAndStop (2);
Symbol 239 MovieClip Frame 41
maskBtn.useHandCursor = false;
play();
Symbol 239 MovieClip Frame 58
if (SAMain.gCatchCase == "flashlight") {
eval ((SAMain + ".") + SAMain.gCaptorPath).gotoAndPlay("exit");
SAMain.fnResetLight(SAMain.gCaptorPath);
} else if (SAMain.gCatchCase == "body") {
eval ((SAMain + ".") + SAMain.gCaptorPath).gotoAndPlay("exit");
}
Symbol 239 MovieClip Frame 75
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnAfterFeedback("flashlight");
} else if (SAMain.gCatchCase == "body") {
SAMain.fnAfterFeedback();
}
gotoAndStop (2);
Symbol 239 MovieClip Frame 77
maskBtn.useHandCursor = false;
play();
Symbol 239 MovieClip Frame 107
if (_root.user_id == "none") {
getURL (("/gijoe/experience/scripts/holder.cfm?action=postscores&gameID=107&score=" + _root.gScore) + "&test=test");
stop();
} else {
loadVariablesNum (("/gijoe/experience/scripts/scores.cfm?action=postscores&gameID=107&score=" + _root.gScore) + "&test=test", 0);
}
Symbol 239 MovieClip Frame 108
play();
Symbol 239 MovieClip Frame 118
stop();
Symbol 239 MovieClip Frame 120
maskBtn.useHandCursor = false;
play();
Symbol 239 MovieClip Frame 153
if (_root.user_id == "none") {
getURL (("/gijoe/experience/scripts/holder.cfm?action=postscores&gameID=107&score=" + _root.gScore) + "&test=test");
stop();
} else {
loadVariablesNum (("/gijoe/experience/scripts/scores.cfm?action=postscores&gameID=107&score=" + _root.gScore) + "&test=test", 0);
}
Symbol 239 MovieClip Frame 154
play();
Symbol 239 MovieClip Frame 164
stop();
Symbol 240 Button
on (release) {
fnHelp();
}
Symbol 241 Button
on (release) {
fnViewBriefing("game");
}
Symbol 242 Button
on (release) {
SAMain.fnJump("left");
}
Symbol 243 MovieClip Frame 2
stop();
Symbol 243 MovieClip Frame 4
stop();
Symbol 244 Button
on (press) {
gJoeOnLedge = false;
upArrowBtnClip.gotoAndStop("inactive");
gJoeDir = "right";
if (gJoeInTrans == false) {
joe.gotoAndPlay("move_right");
gJoeMode = "move_right";
}
pauseBtnClip.gotoAndStop("ready");
leftArrowBtn.enabled = true;
leftJumpBtnClip.gotoAndStop("inactive");
rightJumpBtnClip.gotoAndStop("inactive");
}
on (keyPress "<Right>") {
if (((gCurrentChannel < TOTAL_CHANNELS) && (gJoeCaught == false)) && (rightArrowBtn.enabled == true)) {
if (Key.isDown(16) == false) {
if (gRightKeyPressed != true) {
gRightKeyPressed = true;
gJoeOnLedge = false;
upArrowBtnClip.gotoAndStop("inactive");
gJoeDir = "right";
if (gJoeInTrans == false) {
joe.gotoAndPlay("move_right");
gJoeMode = "move_right";
}
pauseBtnClip.gotoAndStop("ready");
leftArrowBtn.enabled = true;
leftJumpBtnClip.gotoAndStop("inactive");
rightJumpBtnClip.gotoAndStop("inactive");
myKeyListener = new Object();
myKeyListener.onKeyUp = function () {
if (Key.isDown(39) != true) {
if (gJoeMode == "move_right") {
gJoeMode = "move_up";
}
gRightKeyPressed = false;
Key.removeListener(myKeyListener);
}
};
Key.addListener(myKeyListener);
}
} else if ((gJoeOnLedge == true) && (Key.isDown(16) == true)) {
if (gRightJumpKeyPressed != true) {
gRightJumpKeyPressed = true;
fnJump("right");
myJumpKeyListener = new Object();
myJumpKeyListener.onKeyUp = function () {
if ((Key.isDown(16) == false) || (Key.isDown(39) == false)) {
gRightJumpKeyPressed = false;
Key.removeListener(myJumpKeyListener);
}
};
Key.addListener(myJumpKeyListener);
}
}
}
}
on (release, releaseOutside) {
if (gJoeMode == "move_right") {
gJoeMode = "move_up";
}
}
Symbol 245 Button
on (press) {
gJoeOnLedge = false;
upArrowBtnClip.gotoAndStop("inactive");
gJoeDir = "left";
if (gJoeInTrans == false) {
joe.gotoAndPlay("move_left");
gJoeMode = "move_left";
}
pauseBtnClip.gotoAndStop("ready");
rightArrowBtn.enabled = true;
leftJumpBtnClip.gotoAndStop("inactive");
rightJumpBtnClip.gotoAndStop("inactive");
}
on (keyPress "<Left>") {
if (((gCurrentChannel > 1) && (gJoeCaught == false)) && (leftArrowBtn.enabled == true)) {
if (Key.isDown(16) == false) {
if (gLeftKeyPressed != true) {
gLeftKeyPressed = true;
gJoeOnLedge = false;
upArrowBtnClip.gotoAndStop("inactive");
gJoeDir = "left";
if (gJoeInTrans == false) {
joe.gotoAndPlay("move_left");
gJoeMode = "move_left";
}
pauseBtnClip.gotoAndStop("ready");
rightArrowBtn.enabled = true;
leftJumpBtnClip.gotoAndStop("inactive");
rightJumpBtnClip.gotoAndStop("inactive");
myKeyListener = new Object();
myKeyListener.onKeyUp = function () {
if (Key.isDown(37) != true) {
if (gJoeMode == "move_left") {
gJoeMode = "move_up";
}
gLeftKeyPressed = false;
Key.removeListener(myKeyListener);
}
};
Key.addListener(myKeyListener);
}
} else if ((gJoeOnLedge == true) && (Key.isDown(16) == true)) {
if (gLeftJumpKeyPressed != true) {
gLeftJumpKeyPressed = true;
fnJump("left");
myJumpKeyListener = new Object();
myJumpKeyListener.onKeyUp = function () {
if ((Key.isDown(16) == false) || (Key.isDown(37) == false)) {
gLeftJumpKeyPressed = false;
Key.removeListener(myJumpKeyListener);
}
};
Key.addListener(myJumpKeyListener);
}
}
}
}
on (release, releaseOutside) {
if (gJoeMode == "move_left") {
gJoeMode = "move_up";
}
}
Symbol 247 MovieClip Frame 1
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
} else {
play();
}
Symbol 247 MovieClip Frame 2
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
} else {
gotoAndPlay (1);
}
Symbol 249 MovieClip Frame 2
stop();
Symbol 249 MovieClip Frame 4
play();
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 8
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 14
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 16
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 21
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 32
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 32
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 32
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 34
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 42
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 43
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 249 MovieClip Frame 47
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Symbol 249 MovieClip Frame 52
if (SAMain.gGameOver == true) {
gotoAndStop (2);
} else if (SAMain.gGameOver == false) {
gotoAndPlay (4);
}
Symbol 251 MovieClip Frame 2
stop();
Symbol 251 MovieClip Frame 4
play();
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 4
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 7
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 7
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 11
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 17
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 17
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 19
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 21
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 23
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 30
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 32
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 34
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 36
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 38
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 40
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 40
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 42
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 42
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 44
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 44
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 46
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 46
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Instance of Symbol 247 MovieClip in Symbol 251 MovieClip Frame 48
onClipEvent (load) {
if ((((((SAMain.joe.hitTest(Number(Number(this._x) + Number(_parent._x)), Number(Number(this._y) + Number(_parent._y)), true) == true) && (SAMain.gJoeCaught == false)) && (SAMain.gCurrentJoeAction != "fall_right")) && (SAMain.gCurrentJoeAction != "fall_left")) && (SAMain.gCurrentJoeAction != "endfall_right")) && (SAMain.gCurrentJoeAction != "endfall_left")) {
eval ((SAMain + ".") + eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath")).stop();
_parent.stop();
SAMain.fnGetCaught("flashlight", eval (((SAMain + ".gLight") + String(_parent._name).substr(5)) + "DoorPath"));
}
}
Symbol 251 MovieClip Frame 52
if (SAMain.gGameOver == true) {
gotoAndStop (2);
} else if (SAMain.gGameOver == false) {
gotoAndPlay (4);
}
Symbol 258 MovieClip Frame 1
function fnAttackSoldier(destpath) {
SAMain.fnResetLight(destpath);
eval ((SAMain + ".") + destpath).gotoAndPlay("fall_" + SAMain.gJoeDir);
_global.SAMain.gFightPoints = Number(SAMain.gFightPoints) + Number(SAMain.POINTS_PER_GUY);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 2
_global.SAMain.gCurrentJoeAction = "still_right";
stop();
Symbol 258 MovieClip Frame 5
_global.SAMain.gCurrentJoeAction = "still_left";
stop();
Symbol 258 MovieClip Frame 8
_global.SAMain.gCurrentJoeAction = "hang_right";
stop();
Symbol 258 MovieClip Frame 12
_global.SAMain.gCurrentJoeAction = "hang_left";
stop();
Symbol 258 MovieClip Frame 15
_global.SAMain.gCurrentJoeAction = "sideland_right";
play();
Symbol 258 MovieClip Frame 17
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 19
_global.SAMain.gJoeInTrans = false;
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
SAMain.rightJumpBtnClip.gotoAndStop("active");
_global.SAMain.rightArrowBtn.enabled = true;
}
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnResetLight(SAMain.gCaptorPath);
}
_global.SAMain.vPickUpMode = "still_right";
} else {
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 22
_global.SAMain.gCurrentJoeAction = "sideland_left";
play();
Symbol 258 MovieClip Frame 24
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 26
_global.SAMain.gJoeInTrans = false;
if (SAMain.gCurrentChannel > 1) {
SAMain.leftJumpBtnClip.gotoAndStop("active");
_global.SAMain.leftArrowBtn.enabled = true;
}
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnResetLight(SAMain.gCaptorPath);
}
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 29
_global.SAMain.gCurrentJoeAction = "move_right";
_global.SAMain.gJoeInTrans = true;
_global.SAMain.gCurrentChannel++;
play();
Symbol 258 MovieClip Frame 37
vRunIntoLedge = false;
i = 1;
while (i <= eval (((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) + "Count")) {
if ((this._y >= (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "mid._y")))) && (this._y <= (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))))) {
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
_global.SAMain.gJoeInTrans = false;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
vDiff = (Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y"))) - Number(SAMain.joe._y);
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * vDiff);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
if (SAMain.gPanelsOnScreen == 1) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.gCurrentSet), _y , eval (((eval (SAMain) + ".set") + SAMain.gCurrentSet) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr.length) {
setProperty(eval ((eval (SAMain) + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((eval (SAMain) + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((eval (SAMain) + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
}
delete vDiff;
_global.SAMain.gJoeMode = "hoist";
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = false;
SAMain.fnRemoveKeyListener("gRightKeyPressed");
gotoAndPlay (70);
vRunIntoLedge = true;
break;
}
if ((this._y < (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "mid._y")))) && (this._y > (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "top._y"))))) {
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
vDiff = ((Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.joe._y);
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * vDiff);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
if (SAMain.gPanelsOnScreen == 1) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.gCurrentSet), _y , eval (((eval (SAMain) + ".set") + SAMain.gCurrentSet) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
}
delete vDiff;
_global.SAMain.gJoeMode = "sideland_right";
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = false;
SAMain.fnRemoveKeyListener("gRightKeyPressed");
gotoAndPlay (15);
vRunIntoLedge = true;
break;
}
i++;
}
if (vRunIntoLedge == false) {
delete vRunIntoLedge;
play();
}
Symbol 258 MovieClip Frame 41
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.gJoeInTrans = false;
gotoAndStop (8);
} else if (SAMain.gJoeMode == "move_right") {
gotoAndPlay (29);
} else {
_global.SAMain.gJoeInTrans = false;
if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
} else if (SAMain.gCurrentChannel >= SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.gJoeInTrans = false;
if (SAMain.gJoeMode == "caught_in_light") {
gotoAndStop (8);
} else if (SAMain.gJoeMode == "move_right") {
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay(SAMain.gJoeMode);
} else if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
Symbol 258 MovieClip Frame 42
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.gJoeInTrans = false;
gotoAndStop (8);
} else if (SAMain.gJoeMode == "move_right") {
gotoAndPlay (29);
} else {
_global.SAMain.gJoeInTrans = false;
if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
} else if (SAMain.gCurrentChannel >= SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.gJoeInTrans = false;
if (SAMain.gJoeMode == "caught_in_light") {
gotoAndStop (8);
} else if (SAMain.gJoeMode == "move_right") {
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay(SAMain.gJoeMode);
} else if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
Symbol 258 MovieClip Frame 44
_global.SAMain.gCurrentJoeAction = "move_left";
_global.SAMain.gJoeInTrans = true;
_global.SAMain.gCurrentChannel--;
play();
Symbol 258 MovieClip Frame 52
vRunIntoLedge = false;
i = 1;
while (i <= eval (((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) + "Count")) {
if ((this._y >= (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "mid._y")))) && (this._y <= (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))))) {
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
_global.SAMain.gJoeInTrans = false;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
vDiff = (Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y"))) - Number(SAMain.joe._y);
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * vDiff);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
if (SAMain.gPanelsOnScreen == 1) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.gCurrentSet), _y , eval (((eval (SAMain) + ".set") + SAMain.gCurrentSet) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
}
delete vDiff;
_global.SAMain.gJoeMode = "hoist";
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = false;
SAMain.fnRemoveKeyListener("gLeftKeyPressed");
gotoAndPlay (82);
vRunIntoLedge = true;
break;
}
if ((this._y < (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "mid._y")))) && (this._y > (Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "top._y"))))) {
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
vDiff = ((Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y")) + Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.joe._y);
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * vDiff);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
if (SAMain.gPanelsOnScreen == 1) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.gCurrentSet), _y , eval (((eval (SAMain) + ".set") + SAMain.gCurrentSet) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.gCurrentSet).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
}
delete vDiff;
_global.SAMain.gJoeMode = "sideland_left";
_global.SAMain.rightArrowBtn.enabled = false;
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = false;
SAMain.fnRemoveKeyListener("gLeftKeyPressed");
gotoAndPlay (22);
vRunIntoLedge = true;
break;
}
i++;
}
if (vRunIntoLedge == false) {
delete vRunIntoLedge;
play();
}
Symbol 258 MovieClip Frame 56
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.gJoeInTrans = false;
gotoAndStop (12);
} else if (SAMain.gJoeMode == "move_left") {
gotoAndPlay (44);
} else {
_global.SAMain.gJoeInTrans = false;
if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
} else if (SAMain.gCurrentChannel <= 1) {
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.gJoeInTrans = false;
if (SAMain.gJoeMode == "caught_in_light") {
gotoAndStop (12);
} else if (SAMain.gJoeMode == "move_left") {
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay(SAMain.gJoeMode);
} else if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
Symbol 258 MovieClip Frame 57
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.gJoeInTrans = false;
gotoAndStop (12);
} else if (SAMain.gJoeMode == "move_left") {
gotoAndPlay (44);
} else {
_global.SAMain.gJoeInTrans = false;
if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
} else if (SAMain.gCurrentChannel <= 1) {
_global.SAMain.leftArrowBtn.enabled = false;
_global.SAMain.gJoeInTrans = false;
if (SAMain.gJoeMode == "caught_in_light") {
gotoAndStop (12);
} else if (SAMain.gJoeMode == "move_left") {
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay(SAMain.gJoeMode);
} else if ((String(SAMain.gJoeMode).substr(0, 5) == "still") || (String(SAMain.gJoeMode).substr(0, 4) == "hang")) {
gotoAndStop(SAMain.gJoeMode);
} else {
gotoAndPlay(SAMain.gJoeMode);
}
}
Symbol 258 MovieClip Frame 59
_global.SAMain.gCurrentJoeAction = "move_up";
play();
Symbol 258 MovieClip Frame 67
if (SAMain.gJoeCaught == true) {
gotoAndStop("hang_" + SAMain.gJoeDir);
} else if (SAMain.gJoeCaught == false) {
gotoAndPlay (59);
}
Symbol 258 MovieClip Frame 70
_global.SAMain.gCurrentJoeAction = "hoist_right";
vHoistFrames = 7;
play();
Symbol 258 MovieClip Frame 71
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 72
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 73
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 74
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 75
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 76
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 77
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 79
setProperty(this, _y , vOrigY);
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnResetLight(SAMain.gCaptorPath);
}
_global.SAMain.vPickUpMode = "still_right";
} else {
SAMain.gJoeMode = "still_" + SAMain.gJoeDir;
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 80
setProperty(this, _y , vOrigY);
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnResetLight(SAMain.gCaptorPath);
}
_global.SAMain.vPickUpMode = "still_right";
} else {
SAMain.gJoeMode = "still_" + SAMain.gJoeDir;
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 82
_global.SAMain.gCurrentJoeAction = "hoist_left";
vHoistFrames = 7;
play();
Symbol 258 MovieClip Frame 83
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 84
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 85
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 86
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 87
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 88
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 89
vHoistFrames = 7;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.HOIST_DIFF / vHoistFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.HOIST_DIFF / vHoistFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.HOIST_DIFF) / vHoistFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 91
setProperty(this, _y , vOrigY);
if (SAMain.gCurrentChannel > 1) {
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnResetLight(SAMain.gCaptorPath);
}
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 92
setProperty(this, _y , vOrigY);
if (SAMain.gCurrentChannel > 1) {
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
if (SAMain.gCatchCase == "flashlight") {
SAMain.fnResetLight(SAMain.gCaptorPath);
}
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 94
_global.SAMain.gCurrentJoeAction = "jump_up";
vJumpFrames = 4;
play();
Symbol 258 MovieClip Frame 95
vJumpFrames = 4;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.JUMP_UP_DIFF) / vJumpFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 96
vJumpFrames = 4;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.JUMP_UP_DIFF) / vJumpFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 97
vJumpFrames = 4;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.JUMP_UP_DIFF) / vJumpFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 98
vJumpFrames = 4;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
setProperty(this, _y , Number(this._y) + Number(SAMain.JUMP_UP_DIFF / vJumpFrames));
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number((SAMain.FT_PER_PXL * SAMain.JUMP_UP_DIFF) / vJumpFrames);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
Symbol 258 MovieClip Frame 99
setProperty(this, _y , vOrigY);
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "move_up";
gotoAndStop("hang_" + SAMain.gJoeDir);
} else {
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay (59);
}
Symbol 258 MovieClip Frame 100
setProperty(this, _y , vOrigY);
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "move_up";
gotoAndStop("hang_" + SAMain.gJoeDir);
} else {
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay (59);
}
Symbol 258 MovieClip Frame 103
_global.SAMain.gCurrentJoeAction = "fall_right";
vLandingInSight = false;
vGroundLanding = false;
if (eval ((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) == true) {
i = eval (((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) + "Count");
while (i >= 1) {
if (this._y < ((Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF))) {
if (Number(((Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed)) <= this._y) {
vDiff = Number(SAMain.gFallSpeed) - Number(Number(this._y) - Number(((Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed)));
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
vTargetLedgePath = ((((("set" + SAMain.gCurrentSet) + ".") + "door") + SAMain.gCurrentChannel) + "inst") + i;
vLandingInSight = true;
} else {
vLandingInSight = false;
}
break;
}
i--;
}
}
if ((vLandingInSight == false) && (SAMain.gCurrentSet != 1)) {
if (eval ((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".vLedge") + SAMain.gCurrentChannel) == true) {
i = eval (((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".vLedge") + SAMain.gCurrentChannel) + "Count");
while (i >= 1) {
if (this._y < ((Number(eval (("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF))) {
if (Number(((Number(eval (("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed)) <= this._y) {
vDiff = Number(SAMain.gFallSpeed) - Number(Number(this._y) - Number(Number(((Number(eval (("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed))));
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
vTargetLedgePath = ((((("set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".") + "door") + SAMain.gCurrentChannel) + "inst") + i;
vLandingInSight = true;
} else {
vLandingInSight = false;
}
break;
}
i--;
}
}
}
if ((vLandingInSight == false) && (SAMain.gCurrentSet == 1)) {
if ((Number(eval (SAMain + ".set1._y")) - Number(SAMain.gFallSpeed)) <= SAMain.PANEL_OS_TOP_Y) {
vGroundLanding = true;
vDiff = Number(eval (SAMain + ".set1._y")) - Number(SAMain.PANEL_OS_TOP_Y);
vTargetLedgePath = "ground";
vLandingInSight = true;
}
}
if (vLandingInSight == true) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) && (SAMain.gCurrentSet != 1)) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (vGroundLanding == true) {
_global.SAMain.gAltitude = Number(0);
_global.SAMain.gScore = SAMain.gFightPoints;
} else if (vGroundLanding == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * vDiff);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
_global.SAMain.gFallSpeed = SAMain.FALL_SPEED;
_global.SAMain.gJoeMode = "endfall_right";
gotoAndPlay (107);
} else if (vLandingInSight == false) {
if (Number(Number(SAMain.gFallSpeed) + Number(SAMain.FALL_SPEED_INCR)) <= SAMain.TERM_VELOCITY) {
_global.SAMain.gFallSpeed = Number(SAMain.gFallSpeed) + Number(SAMain.FALL_SPEED_INCR);
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(SAMain.gFallSpeed));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(SAMain.gFallSpeed));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(SAMain.gFallSpeed));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(SAMain.gFallSpeed));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (SAMain.gGameOver == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * SAMain.gFallSpeed);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
play();
}
Symbol 258 MovieClip Frame 104
gotoAndPlay (103);
Symbol 258 MovieClip Frame 107
_global.SAMain.gCurrentJoeAction = "endfall_right";
if (vTargetLedgePath != "ground") {
_global.SAMain.gJoeOnLedge = true;
if (eval (((SAMain + ".") + vTargetLedgePath) + ".vSoldierOut") == true) {
fnAttackSoldier(vTargetLedgePath);
}
}
play();
Symbol 258 MovieClip Frame 110
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if ((SAMain.gCurrentSet == 1) && (eval (SAMain + ".set1._y") <= SAMain.PANEL_OS_TOP_Y)) {
_global.SAMain.gJoeOnLedge = false;
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay (59);
} else {
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
SAMain.leftJumpBtnClip.gotoAndStop("active");
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
gotoAndStop (2);
}
Symbol 258 MovieClip Frame 111
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if ((SAMain.gCurrentSet == 1) && (eval (SAMain + ".set1._y") <= SAMain.PANEL_OS_TOP_Y)) {
_global.SAMain.gJoeOnLedge = false;
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay (59);
} else {
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
SAMain.leftJumpBtnClip.gotoAndStop("active");
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
gotoAndStop (2);
}
Symbol 258 MovieClip Frame 114
_global.SAMain.gCurrentJoeAction = "fall_right";
vGroundLanding = false;
vLandingInSight = false;
if (eval ((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) == true) {
i = eval (((("SAMain.set" + SAMain.gCurrentSet) + ".vLedge") + SAMain.gCurrentChannel) + "Count");
while (i >= 1) {
if (this._y < ((Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF))) {
if (Number(((Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed)) <= this._y) {
vDiff = Number(SAMain.gFallSpeed) - Number(Number(this._y) - Number(((Number(eval (("SAMain.set" + SAMain.gCurrentSet) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.gCurrentSet) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed)));
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
vTargetLedgePath = ((((("set" + SAMain.gCurrentSet) + ".") + "door") + SAMain.gCurrentChannel) + "inst") + i;
vLandingInSight = true;
} else {
vLandingInSight = false;
}
break;
}
i--;
}
}
if ((vLandingInSight == false) && (SAMain.gCurrentSet != 1)) {
if (eval ((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".vLedge") + SAMain.gCurrentChannel) == true) {
i = eval (((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".vLedge") + SAMain.gCurrentChannel) + "Count");
while (i >= 1) {
if (this._y < ((Number(eval (("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF))) {
if (Number(((Number(eval (("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed)) <= this._y) {
vDiff = Number(SAMain.gFallSpeed) - Number(Number(this._y) - Number(Number(((Number(eval (("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) + Number(eval (((((("SAMain.set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".marker") + SAMain.gCurrentChannel) + "inst") + i) + "btm._y"))) - Number(SAMain.HOIST_DIFF)) - Number(SAMain.gFallSpeed))));
_global.SAMain.gCurrentLedge = (("ledge" + SAMain.gCurrentChannel) + "inst") + i;
vTargetLedgePath = ((((("set" + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".") + "door") + SAMain.gCurrentChannel) + "inst") + i;
vLandingInSight = true;
} else {
vLandingInSight = false;
}
break;
}
i--;
}
}
}
if ((vLandingInSight == false) && (SAMain.gCurrentSet == 1)) {
if ((Number(eval (SAMain + ".set1._y")) - Number(SAMain.gFallSpeed)) <= SAMain.PANEL_OS_TOP_Y) {
vGroundLanding = true;
vDiff = Number(eval (SAMain + ".set1._y")) - Number(SAMain.PANEL_OS_TOP_Y);
vTargetLedgePath = "ground";
vLandingInSight = true;
}
}
if (vLandingInSight == true) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(vDiff));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(vDiff));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) && (SAMain.gCurrentSet != 1)) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(vDiff));
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (vGroundLanding == true) {
_global.SAMain.gAltitude = Number(0);
_global.SAMain.gScore = SAMain.gFightPoints;
} else if (vGroundLanding == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * vDiff);
_global.SAMain.gScore = Math.round(SAMain.gAltitude);
}
_global.SAMain.gFallSpeed = SAMain.FALL_SPEED;
_global.SAMain.gJoeMode = "endfall_right";
_global.SAMain.gJoeMode = "endfall_left";
gotoAndPlay (118);
} else if (vLandingInSight == false) {
if (Number(Number(SAMain.gFallSpeed) + Number(SAMain.FALL_SPEED_INCR)) <= SAMain.TERM_VELOCITY) {
_global.SAMain.gFallSpeed = Number(SAMain.gFallSpeed) + Number(SAMain.FALL_SPEED_INCR);
}
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(SAMain.gFallSpeed));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(SAMain.gFallSpeed));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(SAMain.gFallSpeed));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(SAMain.gFallSpeed));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (SAMain.gGameOver == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * SAMain.gFallSpeed);
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
play();
}
Symbol 258 MovieClip Frame 115
gotoAndPlay (114);
Symbol 258 MovieClip Frame 118
_global.SAMain.gCurrentJoeAction = "endfall_left";
if (vTargetLedgePath != "ground") {
_global.SAMain.gJoeOnLedge = true;
if (eval (((SAMain + ".") + vTargetLedgePath) + ".vSoldierOut") == true) {
fnAttackSoldier(vTargetLedgePath);
}
}
play();
Symbol 258 MovieClip Frame 121
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if ((SAMain.gCurrentSet == 1) && (eval (SAMain + ".set1._y") <= SAMain.PANEL_OS_TOP_Y)) {
_global.SAMain.gJoeOnLedge = false;
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay (59);
} else {
if (SAMain.gCurrentChannel > 1) {
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
SAMain.rightJumpBtnClip.gotoAndStop("active");
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
gotoAndStop (5);
}
Symbol 258 MovieClip Frame 122
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if ((SAMain.gCurrentSet == 1) && (eval (SAMain + ".set1._y") <= SAMain.PANEL_OS_TOP_Y)) {
_global.SAMain.gJoeOnLedge = false;
_global.SAMain.gJoeMode = "move_up";
gotoAndPlay (59);
} else {
if (SAMain.gCurrentChannel > 1) {
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
SAMain.rightJumpBtnClip.gotoAndStop("active");
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
gotoAndStop (5);
}
Symbol 258 MovieClip Frame 125
_global.SAMain.gCurrentJoeAction = "jump1_right";
vJumpFrames = 5;
play();
Symbol 258 MovieClip Frame 128
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 129
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 130
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 131
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 132
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 136
if (SAMain.gLandJump == false) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (SAMain.gGameOver == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * (SAMain.FALL_SPEED / 3));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
} else if (SAMain.gLandJump == true) {
if (eval (((SAMain + ".") + vTargetLedgePath) + ".vSoldierOut") == true) {
fnAttackSoldier(vTargetLedgePath);
}
}
Symbol 258 MovieClip Frame 137
if (SAMain.gLandJump == false) {
_global.SAMain.gJoeMode = "fall_right";
gotoAndPlay (103);
}
Symbol 258 MovieClip Frame 138
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 140
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_right";
} else {
SAMain.upArrowBtnClip.gotoAndStop("active");
_global.SAMain.gJoeMode = "still_right";
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 141
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_right";
} else {
SAMain.upArrowBtnClip.gotoAndStop("active");
_global.SAMain.gJoeMode = "still_right";
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 143
_global.SAMain.gCurrentJoeAction = "jump1_left";
vJumpFrames = 5;
play();
Symbol 258 MovieClip Frame 146
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 147
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 148
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 149
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 150
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 154
if (SAMain.gLandJump == false) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (SAMain.gGameOver == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * (SAMain.FALL_SPEED / 3));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
} else if (SAMain.gLandJump == true) {
if (eval (((SAMain + ".") + vTargetLedgePath) + ".vSoldierOut") == true) {
fnAttackSoldier(vTargetLedgePath);
}
}
Symbol 258 MovieClip Frame 155
if (SAMain.gLandJump == false) {
_global.SAMain.gJoeMode = "fall_left";
gotoAndPlay (114);
}
Symbol 258 MovieClip Frame 156
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 158
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 159
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 161
_global.SAMain.gCurrentJoeAction = "jump2_right";
vJumpFrames = 5;
play();
Symbol 258 MovieClip Frame 164
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 165
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 166
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 167
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 168
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 172
if (SAMain.gLandJump == false) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (SAMain.gGameOver == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * (SAMain.FALL_SPEED / 3));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
} else if (SAMain.gLandJump == true) {
if (eval (((SAMain + ".") + vTargetLedgePath) + ".vSoldierOut") == true) {
fnAttackSoldier(vTargetLedgePath);
}
}
Symbol 258 MovieClip Frame 173
if (SAMain.gLandJump == false) {
_global.SAMain.gJoeMode = "fall_right";
gotoAndPlay (103);
}
Symbol 258 MovieClip Frame 174
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 176
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_right";
} else {
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 177
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_right";
} else {
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 179
_global.SAMain.gCurrentJoeAction = "jump2_left";
vJumpFrames = 5;
play();
Symbol 258 MovieClip Frame 182
if (SAMain.gLandJump == true) {
vJufmpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 183
if (SAMain.gLandJump == true) {
vJufmpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 184
if (SAMain.gLandJump == true) {
vJufmpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 185
if (SAMain.gLandJump == true) {
vJufmpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 186
if (SAMain.gLandJump == true) {
vJufmpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 190
if (SAMain.gLandJump == false) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (SAMain.gPanelsOnScreen == 1) {
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_OS_TOP_Y) {
var vLeftover;
vLeftover = Number(SAMain.PANEL_OS_TOP_Y) - Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y"));
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(SAMain.PANEL_BOTTOM_Y) - Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
}
} else if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) - Number(SAMain.FALL_SPEED / 3));
i++;
}
if (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) <= SAMain.PANEL_TOPMOST_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
SAMain.fnResetDoors(SAMain.setSequence_arr[SAMain.gSetSeqIndex]);
_global.SAMain.gSetSeqIndex--;
_global.SAMain.gPanelsOnScreen = Number(1);
}
}
if (SAMain.gGameOver == false) {
_global.SAMain.gAltitude = Number(SAMain.gAltitude) - Number(SAMain.FT_PER_PXL * (SAMain.FALL_SPEED / 3));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
} else if (SAMain.gLandJump == true) {
if (eval (((SAMain + ".") + vTargetLedgePath) + ".vSoldierOut") == true) {
fnAttackSoldier(vTargetLedgePath);
}
}
Symbol 258 MovieClip Frame 191
if (SAMain.gLandJump == false) {
_global.SAMain.gJoeMode = "fall_left";
gotoAndPlay (114);
}
Symbol 258 MovieClip Frame 192
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 194
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 195
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 197
_global.SAMain.gCurrentJoeAction = "jump2_right";
vJumpFrames = 5;
play();
Symbol 258 MovieClip Frame 200
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 201
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 202
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 203
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 204
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 209
fnAttackSoldier(vAttackTarget);
Symbol 258 MovieClip Frame 210
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 212
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_right";
} else {
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 213
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel < SAMain.TOTAL_CHANNELS) {
_global.SAMain.rightArrowBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.leftArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_right";
} else {
_global.SAMain.gJoeMode = "still_right";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (2);
Symbol 258 MovieClip Frame 215
_global.SAMain.gCurrentJoeAction = "jump2_left";
vJumpFrames = 5;
play();
Symbol 258 MovieClip Frame 218
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 219
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 220
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 221
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 222
if (SAMain.gLandJump == true) {
vJumpFrames = 5;
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if ((Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) <= SAMain.PANEL_OS_BOTTOM_Y) {
if (SAMain.gPanelsOnScreen == 2) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i = 0;
while (i < eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr.length) {
setProperty(eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]), _y , Number(eval (eval ((SAMain + ".light") + eval ((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]).attachedLights_arr[i]) + "._y")) + Number(vJumpDiff / vJumpFrames));
i++;
}
if (eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]) + "._y") >= SAMain.PANEL_BOTTOM_Y) {
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _x , SAMain.PANEL_HOLD_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _y , SAMain.PANEL_HOLD_Y);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) - Number(1)]), _visible , 0);
SAMain.fnClearSetLights(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
SAMain.fnResetDoors(SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) - Number(1))]);
_global.SAMain.gPanelsOnScreen = 1;
}
}
} else {
var vLeftover;
vLeftover = (Number(eval (((eval (SAMain) + ".set") + SAMain.setSequence_arr[SAMain.gSetSeqIndex]) + "._y")) + Number(vJumpDiff / vJumpFrames)) - Number(SAMain.PANEL_OS_BOTTOM_Y);
if (SAMain.gSetSeqIndex == (Number(SAMain.setSequence_arr.length) - Number(1))) {
vIndex = Math.floor(Math.random() * SAMain.allSets_arr.length);
if (SAMain.allSets_arr[vIndex] == SAMain.setSequence_arr[SAMain.gSetSeqIndex]) {
if (vIndex == 0) {
vIndex++;
} else {
vIndex--;
}
}
_global.SAMain.setSequence_arr.push(SAMain.allSets_arr[vIndex]);
delete vIndex;
}
Set(((SAMain + ".set") + SAMain.setSequence_arr[Number(Number(SAMain.gSetSeqIndex) + Number(1))]) + ".attachedLights_arr", new Array());
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _visible , 1);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _x , SAMain.PANEL_ORIG_X);
setProperty(eval ((eval (SAMain) + ".set") + SAMain.setSequence_arr[Number(SAMain.gSetSeqIndex) + Number(1)]), _y , Number(SAMain.PANEL_TOPMOST_Y) + Number(vLeftover));
_global.SAMain.gPanelsOnScreen = 2;
_global.SAMain.gSetSeqIndex++;
}
_global.SAMain.gAltitude = Number(SAMain.gAltitude) + Number(SAMain.FT_PER_PXL * (vJumpDiff / vJumpFrames));
_global.SAMain.gScore = Math.round(SAMain.gAltitude) + Number(SAMain.gFightPoints);
}
Symbol 258 MovieClip Frame 227
fnAttackSoldier(vAttackTarget);
Symbol 258 MovieClip Frame 228
_global.SAMain.gJoeOnLedge = true;
Symbol 258 MovieClip Frame 230
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 231
setProperty(this, _x , eval (("SAMain.CHANNEL" + SAMain.gCurrentChannel) + "_X"));
if (SAMain.gCurrentChannel > 1) {
_global.SAMain.leftArrowBtn.enabled = true;
SAMain.leftJumpBtnClip.gotoAndStop("active");
}
_global.SAMain.rightArrowBtn.enabled = true;
_global.SAMain.pauseBtnClip.pauseBtn.enabled = true;
SAMain.rightJumpBtnClip.gotoAndStop("active");
if (SAMain.gJoeMode == "caught_in_light") {
_global.SAMain.vPickUpMode = "still_left";
} else {
_global.SAMain.gJoeMode = "still_left";
SAMain.upArrowBtnClip.gotoAndStop("active");
}
gotoAndStop (5);
Symbol 258 MovieClip Frame 233
play();
Symbol 258 MovieClip Frame 241
gotoAndPlay (233);
Symbol 258 MovieClip Frame 244
play();
Symbol 258 MovieClip Frame 252
gotoAndPlay (244);
Symbol 268 MovieClip Frame 2
vAvailable = true;
vSoldierOut = false;
vLightAttached = false;
vMax = Number(0);
vCounter = Number(0);
stop();
Symbol 268 MovieClip Frame 5
vAvailable = false;
if (Math.random() < 0.3) {
vMax = 2;
} else if ((Math.random() >= 0.3) && (Math.random() < 0.6)) {
vMax = 4;
} else {
vMax = 6;
}
vCounter = Number(0);
play();
Symbol 268 MovieClip Frame 24
play();
Symbol 268 MovieClip Frame 33
if (Number(Number(this._y) + Number(_parent._y)) >= SAMain.doorMarker._y) {
play();
} else {
gotoAndPlay (24);
}
Symbol 268 MovieClip Frame 35
play();
Symbol 268 MovieClip Frame 36
vSoldierOut = true;
play();
Symbol 268 MovieClip Frame 48
myMarkerObject = new Object();
myMarkerObject.x = marker._x;
myMarkerObject.y = marker._y;
localToGlobal(myMarkerObject);
vLightOrigX = myMarkerObject.x;
vLightOrigY = myMarkerObject.y;
vFirst = true;
delete myMarkerObject;
play();
function fnCheckLightLoc() {
myMarkerObject = new Object();
myMarkerObject.x = marker._x;
myMarkerObject.y = marker._y;
localToGlobal(myMarkerObject);
vLightX = myMarkerObject.x;
vLightY = myMarkerObject.y;
if ((vLightY != eval (((SAMain + ".light") + vLightNum) + "._y")) && (SAMain.gCaptorPath != ((_parent._name + ".") + this._name))) {
setProperty(eval ((SAMain + ".light") + vLightNum), _y , vLightY);
}
delete myMarkerObject;
}
Symbol 268 MovieClip Frame 49
myMarkerObject = new Object();
myMarkerObject.x = marker._x;
myMarkerObject.y = marker._y;
localToGlobal(myMarkerObject);
vLightOrigX = myMarkerObject.x;
vLightOrigY = myMarkerObject.y;
delete myMarkerObject;
if ((vFirst == true) || (vLightNum == undefined)) {
vLightAttached = true;
vFirst = false;
SAMain.fnGetLight(vLightOrigX, vLightOrigY, this._name, String(_parent._name).substr(3));
}
vCounter++;
play();
Symbol 268 MovieClip Frame 97
if (Number(Number(this._y) + Number(_parent._y)) >= Number(Number(SAMain.PANEL_OS_TOP_Y) + Number(SAMain.PANEL_HEIGHT / 2.5))) {
vCounter = Number(vMax) + Number(1);
}
if (vCounter <= vMax) {
gotoAndPlay (49);
} else if (vCounter > vMax) {
SAMain.fnResetLight((_parent._name + ".") + this._name);
gotoAndPlay (98);
}
Symbol 268 MovieClip Frame 98
play();
Symbol 268 MovieClip Frame 109
vSoldierOut = false;
Symbol 268 MovieClip Frame 110
gotoAndStop (2);
Symbol 268 MovieClip Frame 114
vLightAttached = false;
_root.hit.Play();
play();
Symbol 268 MovieClip Frame 128
gotoAndStop (2);
Symbol 268 MovieClip Frame 130
vLightAttached = false;
_root.hit.Play();
play();
Symbol 268 MovieClip Frame 144
gotoAndStop (2);