Frame 1
_global.VenomMain = this;
gFirstTime = true;
gGameStarted = false;
gTitleShown = false;
gEndTitleFrame = 23;
play();
function fnInitVars() {
var gCobrasOut;
var gBetweenRounds;
left_ORNT_ROT = Number(0);
right_ORNT_ROT = 180;
up_ORNT_ROT = 90;
down_ORNT_ROT = -90;
EFFORT_punch = 0.2;
EFFORT_kick = 0.2;
EFFORT_combo_punch = 0.25;
EFFORT_combo_kick = 0.25;
EFFORT_sweep = 2;
SWEEP_MAX = 3;
DAMAGE_punch = 2;
DAMAGE_kick = 2;
DAMAGE_combo_punch = 8;
DAMAGE_combo_kick = 8;
PENALTY_punch = 5;
PENALTY_kick = 10;
MAJOR_DAMAGE = 20;
POINTS_PER_ENEMY = 5;
POINTS_PER_ENEMY_CG = 10;
COBRA_STRENGTH = 4;
COBRA_STRENGTH_CG = 8;
CG_LEV2 = 0.2;
CG_LEV3 = 0.33;
LEV1_MAX_COBRAS = 7;
LEV2_MAX_COBRAS = 9;
LEV3_MAX_COBRAS = 11;
LEV1_REQ_POINTS = 120;
LEV2_REQ_POINTS = 230;
WIN_SCORE = 300;
gLevel = Number(1);
gScore = Number(0);
gSEState = "still";
gSEDir = "left";
gStrength = 100;
allDescenders_arr = new Array(1, 2, 3, 4, 5, 6);
empty_arr = new Array();
allFalls_arr = new Array(1, 2, 3);
allDirs_array = ["left", "up", "right", "down"];
}
function fnResetVars() {
gFirstTime = false;
gCobrasOut = Number(0);
gStrength = 100;
if (availDescenders_arr != undefined) {
delete availDescenders_arr;
}
availDescenders_arr = allDescenders_arr.concat(empty_arr);
gGamePaused = false;
gBetweenRounds = false;
vSweepCount = 0;
fnStartGame();
}
function fnStartGame() {
feedback.gotoAndStop("base");
cobraLauncher.gotoAndPlay("go");
vm.gotoAndPlay("assign");
catwalk.play();
fnUpdateMeter();
}
Frame 2
play();
Frame 3
if (_framesloaded >= gEndTitleFrame) {
gotoAndPlay (4);
} else {
gotoAndPlay (2);
}
Frame 4
Music_MC.gotoAndPlay("IntroGo");
play();
Instance of Symbol 6 MovieClip in Frame 4
onClipEvent (enterFrame) {
if (VenomMain.getBytesLoaded() == VenomMain.getBytesTotal()) {
if (VenomMain.gTitleShown == true) {
delete VenomMain.gTitleShown;
VenomMain.gotoAndPlay("start");
} else {
setProperty(this, _visible , false);
}
}
}
Frame 23
if (getBytesLoaded() == getBytesTotal()) {
delete gTitleShown;
fnInitVars();
gotoAndStop (25);
} else {
gTitleShown = true;
gotoAndPlay (4);
}
Frame 25
stop();
Frame 28
help.gotoAndStop("show");
stop();
function fnAttackSE(clipname, move) {
if ((snakeeyes.vSweeping == false) && (snakeeyes.vCombo == false)) {
if (vm_timer.vBusy == false) {
vm_timer.vStartStrength = gStrength;
vm_timer.gotoAndPlay("go");
}
HitAudio.play();
if (snakeeyes.vAttacking == false) {
gSEState = "react_" + move;
snakeeyes.gotoAndPlay("react_" + move);
}
gStrength = Number(gStrength) - Number(eval ("PENALTY_" + move));
fnUpdateMeter();
}
}
function fnCheckAttack(clipname, move) {
if (snakeeyes.vTurning == true) {
eval (clipname).gotoAndStop("base");
} else {
fnAttackSE(clipname, move);
}
}
function fnCheckForContact(move, combo) {
var dMove;
if (combo == true) {
var vOppDir;
if (gSEDir == "left") {
vOppDir = "right";
} else if (gSEDir == "right") {
vOppDir = "left";
} else if (gSEDir == "up") {
vOppDir = "down";
} else if (gSEDir == "down") {
vOppDir = "up";
}
dMove = "combo_" + move;
} else {
dMove = move;
}
if ((combo == true) && (move == "kick")) {
if ((eval ("gAvailable_" + vOppDir) == false) && (eval (("fighter_" + vOppDir) + ".vReady") == true)) {
HitAudio.play();
if (Number(Number(eval (("fighter_" + vOppDir) + ".vStrength")) - Number(eval ("DAMAGE_" + dMove))) > 0) {
eval ("fighter_" + vOppDir).gotoAndPlay("react_" + move);
Set(("fighter_" + vOppDir) + ".vStrength", Number(eval (("fighter_" + vOppDir) + ".vStrength")) - Number(eval ("DAMAGE_" + dMove)));
} else {
fnTakeOutCobra(vOppDir);
}
if (combo == true) {
fnUpdateStrength("combo_" + move);
} else {
fnUpdateStrength(move);
}
} else if (combo == true) {
fnUpdateStrength("combo_" + move);
} else {
fnUpdateStrength(move);
}
} else if ((eval ("gAvailable_" + gSEDir) == false) && (eval (("fighter_" + gSEDir) + ".vReady") == true)) {
HitAudio.play();
if (Number(Number(eval (("fighter_" + gSEDir) + ".vStrength")) - Number(eval ("DAMAGE_" + dMove))) > 0) {
eval ("fighter_" + gSEDir).gotoAndPlay("react_" + move);
Set(("fighter_" + gSEDir) + ".vStrength", Number(eval (("fighter_" + gSEDir) + ".vStrength")) - Number(eval ("DAMAGE_" + dMove)));
} else {
fnTakeOutCobra(gSEDir);
}
if (combo == true) {
fnUpdateStrength("combo_" + move);
} else {
fnUpdateStrength(move);
}
} else if (combo == true) {
fnUpdateStrength("combo_" + move);
} else {
fnUpdateStrength(move);
}
}
function fnCheckScore() {
if (gLevel < 3) {
if (gScore >= eval (("LEV" + gLevel) + "_REQ_POINTS")) {
feedback.gotoAndStop("end_lev" + gLevel);
fnResetClips();
fnStopGame();
} else if (gStrength <= 0) {
fnStopGame();
fnResetClips();
if (gScore >= WIN_SCORE) {
feedback.gotoAndPlay("game_over_win");
} else {
feedback.gotoAndPlay("game_over_lose");
}
}
} else if (gLevel == 3) {
if (gStrength <= 0) {
fnStopGame();
fnResetClips();
if (gScore >= WIN_SCORE) {
feedback.gotoAndPlay("game_over_win");
} else {
feedback.gotoAndPlay("game_over_lose");
}
}
}
}
function fnClickHelp() {
fnPauseGame();
help.gotoAndStop("game_help");
}
function fnCloseHelp() {
if (gFirstTime == true) {
fnResetVars();
} else {
fnResumeGame();
}
help.gotoAndStop("hide");
}
function fnCobraApproach(id, guytype) {
Set(("fighter_" + id) + ".vGuyType", guytype);
if (guytype == "black") {
Set(("fighter_" + id) + ".vStrength", COBRA_STRENGTH);
} else {
Set(("fighter_" + id) + ".vStrength", COBRA_STRENGTH_CG);
}
eval ("fighter_" + id).gotoAndPlay("hop_on");
}
function fnCobraDescended(id, guytype) {
catwalk.fnSetCobraLand(id, guytype);
availDescenders_arr.push(id);
}
function fnFinishTurn() {
setProperty("snakeeyes", _rotation , eval (gSEDir + "_ORNT_ROT"));
}
function fnLaunchCobra() {
vCanLaunch = true;
if ((gLevel != 3) && ((Number(gScore) + Number(POINTS_PER_ENEMY * gCobrasOut)) >= eval (("LEV" + gLevel) + "_REQ_POINTS"))) {
vCanLaunch = false;
}
if ((gCobrasOut < eval (("LEV" + gLevel) + "_MAX_COBRAS")) && (vCanLaunch == true)) {
vIndex = Math.floor(Math.random() * availDescenders_arr.length);
var vCrimson = false;
if (gLevel != 1) {
if (Math.random() <= eval ("CG_LEV" + gLevel)) {
vCrimson = true;
}
}
if (vCrimson == true) {
Set(("descender" + availDescenders_arr[vIndex]) + ".vGuyType", "crimson");
} else {
Set(("descender" + availDescenders_arr[vIndex]) + ".vGuyType", "black");
}
delete vCrimson;
eval ("descender" + availDescenders_arr[vIndex]).gotoAndPlay("go");
availDescenders_arr.splice(vIndex, 1);
delete vIndex;
gCobrasOut++;
}
delete vCanLaunch;
if (gCobrasOut > 0) {
if (availDescenders_arr.length == allDescenders_arr.length) {
if ((((gAvailable_right == true) && (gAvailable_left == true)) && (gAvailable_up == true)) && (gAvailable_down == true)) {
if (catwalk.allCobras_arr.length == catwalk.availCobras_arr.length) {
var vHack = true;
i = 1;
while (i <= 4) {
j = 1;
while (j <= 2) {
if (eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".vReady") == false) {
vHack = false;
break;
}
j++;
}
i++;
}
if (vHack == true) {
trace("hack!");
gCobrasOut = Number(0);
}
delete vHack;
}
}
}
}
}
function fnNextLevel(num) {
gLevel = num;
Music_MC.gotoAndPlay("AllStop");
Music_MC.gotoAndPlay(("Level" + num) + "Go");
levelIndicator.gotoAndStop("lev" + gLevel);
fnResetVars();
}
function fnPauseGame() {
gGamePaused = true;
vm.stop();
if (vm_timer.vBusy == true) {
vm_timer.stop();
}
catwalk.stop();
i = 0;
while (i < allDescenders_arr.length) {
vActive = true;
j = 0;
while (j < availDescenders_arr.length) {
if (allDescenders_arr[i] == availDescenders_arr[j]) {
j = availDescenders_arr.length;
vActive = false;
}
j++;
}
if (vActive == true) {
eval ("descender" + allDescenders_arr[i]).stop();
}
i++;
}
i = 0;
while (i < catwalk.allCobras_arr.length) {
vActive = true;
j = 0;
while (j < catwalk.availCobras_arr.length) {
if (catwalk.allCobras_arr[i] == catwalk.availCobras_arr[j]) {
j = catwalk.availCobras_arr.length;
vActive = false;
}
j++;
}
if (vActive == true) {
eval ("catwalk.platform.cobra" + catwalk.allCobras_arr[i]).stop();
if (eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker")) {
if (eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker.walk_anim")) {
eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker.walk_anim").stop();
} else {
eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker").stop();
}
}
}
i++;
}
i = 1;
while (i <= 4) {
j = 1;
while (j <= 2) {
if (eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".vReady") == false) {
eval ((("catwalk.platform.catwalker" + i) + "_") + j).stop();
if (eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".walk_anim")) {
eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".walk_anim").stop();
}
}
j++;
}
i++;
}
cobraLauncher.stop();
}
function fnPlayAgain() {
gLevel = 1;
levelIndicator.gotoAndStop("lev1");
sweepBtn_mc.gotoAndStop("sweep0");
gScore = Number(0);
fnResetClips();
fnResetVars();
}
function fnResetClips() {
fighter_up.gotoAndStop("hold");
fighter_down.gotoAndStop("hold");
fighter_left.gotoAndStop("hold");
fighter_right.gotoAndStop("hold");
i = 0;
while (i < allDescenders_arr.length) {
eval ("descender" + allDescenders_arr[i]).gotoAndStop("base");
i++;
}
i = 0;
while (i < catwalk.allCobras_arr.length) {
eval ("catwalk.platform.cobra" + catwalk.allCobras_arr[i]).gotoAndStop("base");
i++;
}
i = 1;
while (i <= 4) {
j = 1;
while (j <= 2) {
eval ((("catwalk.platform.catwalker" + i) + "_") + j).gotoAndStop("base");
j++;
}
i++;
}
catwalk.platform.fnResetVars();
}
function fnResumeGame() {
gGamePaused = false;
vm.play();
if (vm_timer.vBusy == true) {
vm_timer.play();
}
catwalk.play();
i = 0;
while (i < allDescenders_arr.length) {
vActive = true;
j = 0;
while (j < availDescenders_arr.length) {
if (allDescenders_arr[i] == availDescenders_arr[j]) {
j = availDescenders_arr.length;
vActive = false;
}
j++;
}
if (vActive == true) {
eval ("descender" + allDescenders_arr[i]).play();
}
i++;
}
i = 0;
while (i < catwalk.allCobras_arr.length) {
vActive = true;
j = 0;
while (j < catwalk.availCobras_arr.length) {
if (catwalk.allCobras_arr[i] == catwalk.availCobras_arr[j]) {
j = catwalk.availCobras_arr.length;
vActive = false;
}
j++;
}
if (vActive == true) {
if (eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".vStopped") == true) {
eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker").play();
} else {
eval ("catwalk.platform.cobra" + catwalk.allCobras_arr[i]).play();
}
if (eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker.walk_anim")) {
eval (("catwalk.platform.cobra" + catwalk.allCobras_arr[i]) + ".walker.walk_anim").play();
}
}
i++;
}
i = 1;
while (i <= 4) {
j = 1;
while (j <= 2) {
if (eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".vReady") == false) {
if (eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".vStopped") == false) {
eval ((("catwalk.platform.catwalker" + i) + "_") + j).play();
if (eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".walk_anim")) {
eval (((("catwalk.platform.catwalker" + i) + "_") + j) + ".walk_anim").play();
}
}
}
j++;
}
i++;
}
cobraLauncher.play();
}
function fnSelectMove(move) {
if (snakeeyes.vReadyToFight == true) {
gSEState = move;
snakeeyes.gotoAndPlay(move);
if (move == "sweep") {
if (fighter_up.vAttacking == true) {
fighter_up.gotoAndStop("presweep");
}
if (fighter_down.vAttacking == true) {
fighter_down.gotoAndStop("presweep");
}
if (fighter_right.vAttacking == true) {
fighter_right.gotoAndStop("presweep");
}
if (fighter_left.vAttacking == true) {
fighter_left.gotoAndStop("presweep");
}
}
} else if ((move == "sweep") && (gSEState != "sweep")) {
if (fighter_up.vAttacking == true) {
fighter_up.gotoAndStop("presweep");
}
if (fighter_down.vAttacking == true) {
fighter_down.gotoAndStop("presweep");
}
if (fighter_right.vAttacking == true) {
fighter_right.gotoAndStop("presweep");
}
if (fighter_left.vAttacking == true) {
fighter_left.gotoAndStop("presweep");
}
gSEState = "sweep";
snakeeyes.gotoAndPlay("sweep");
}
}
function fnSelectOrientation(dir) {
if ((snakeeyes.vAttacking == false) || (snakeeyes.vReadyToFight == true)) {
if (gSEDir == "left") {
if (dir == "up") {
snakeeyes.gotoAndPlay("turn_cw");
} else if (dir == "right") {
snakeeyes.gotoAndPlay("turn_half");
} else if (dir == "down") {
snakeeyes.gotoAndPlay("turn_countercw");
}
} else if (gSEDir == "up") {
if (dir == "right") {
snakeeyes.gotoAndPlay("turn_cw");
} else if (dir == "down") {
snakeeyes.gotoAndPlay("turn_half");
} else if (dir == "left") {
snakeeyes.gotoAndPlay("turn_countercw");
}
} else if (gSEDir == "right") {
if (dir == "down") {
snakeeyes.gotoAndPlay("turn_cw");
} else if (dir == "left") {
snakeeyes.gotoAndPlay("turn_half");
} else if (dir == "up") {
snakeeyes.gotoAndPlay("turn_countercw");
}
} else if (gSEDir == "down") {
if (dir == "left") {
snakeeyes.gotoAndPlay("turn_cw");
} else if (dir == "up") {
snakeeyes.gotoAndPlay("turn_half");
} else if (dir == "right") {
snakeeyes.gotoAndPlay("turn_countercw");
}
}
if (dir != gSEDir) {
gSEState = "turn";
}
gSEDir = dir;
}
}
function fnStopGame() {
vm_timer.gotoAndStop("base");
cobraLauncher.gotoAndStop("base");
gGamePaused = true;
gBetweenRounds = true;
}
function fnSweepEnd() {
vSweepCount++;
if (vSweepCount > SWEEP_MAX) {
vSweepCount = SWEEP_MAX;
}
sweepBtn_mc.gotoAndStop("sweep" + vSweepCount);
}
function fnTakeOutCobra(cobra_id) {
Set(("fighter_" + cobra_id) + ".vReady", false);
Set(("fighter_" + cobra_id) + ".vFinished", true);
eval ("fighter_" + cobra_id).gotoAndPlay("fall" + allFalls_arr[Math.floor(Math.random() * allFalls_arr.length)]);
gCobrasOut--;
if (eval (("fighter_" + cobra_id) + ".vGuyType") == "crimson") {
gScore = Number(gScore) + Number(POINTS_PER_ENEMY_CG);
} else {
gScore = Number(gScore) + Number(POINTS_PER_ENEMY);
}
}
function fnUpdateMeter() {
var vTargetFrame;
if (gStrength == 100) {
vTargetFrame = Number(1);
} else if (gStrength <= 0) {
if ((((fighter_up.vFinished == false) && (fighter_down.vFinished == false)) && (fighter_left.vFinished == false)) && (fighter_right.vFinished == false)) {
fnStopGame();
fnResetClips();
if (gScore >= WIN_SCORE) {
feedback.gotoAndPlay("game_over_win");
} else {
feedback.gotoAndPlay("game_over_lose");
}
}
vTargetFrame = meter._totalframes;
} else {
vTargetFrame = Number(meter._totalframes) - Math.ceil((meter._totalframes * gStrength) / 100);
if (vTargetFrame == Number(0)) {
vTargetFrame = Number(1);
}
}
meter.gotoAndStop(Number(vTargetFrame));
delete vTargetFrame;
}
function fnUpdateStrength(move) {
gStrength = Number(gStrength) - Number(eval ("EFFORT_" + move));
fnUpdateMeter();
}
function fnViewBriefing() {
fnPauseGame();
briefing.gotoAndPlay("comic1");
}
Instance of Symbol 368 MovieClip "vm" in Frame 28
onClipEvent (load) {
allMiscActions_arr = new Array("pacing", "handsonglass");
availMiscActions_arr = allActions_arr.concat(VenomMain.empty_arr);
allPleasedActions_arr = new Array("armscross", "laugh");
availPleasedActions_arr = allPleasedActions_arr.concat(VenomMain.empty_arr);
}
Instance of Symbol 486 MovieClip "fighter_right" in Frame 28
onClipEvent (load) {
vID = 2;
}
Instance of Symbol 486 MovieClip "fighter_down" in Frame 28
onClipEvent (load) {
vID = 3;
}
Instance of Symbol 486 MovieClip "fighter_left" in Frame 28
onClipEvent (load) {
vID = 4;
}
Instance of Symbol 486 MovieClip "fighter_up" in Frame 28
onClipEvent (load) {
vID = Number(1);
}
Instance of Symbol 536 MovieClip "levelIndicator" in Frame 28
onClipEvent (load) {
this.gotoAndStop("lev" + VenomMain.gLevel);
}
Instance of Symbol 542 MovieClip "meter" in Frame 28
onClipEvent (load) {
if (VenomMain.gStrength == 100) {
vTargetFrame = Number(1);
} else if (VenomMain.gStrength == 0) {
vTargetFrame = this._totalframes;
} else {
vTargetFrame = Number(this._totalframes) - Math.ceil((this._totalframes * VenomMain.gStrength) / 100);
if (vTargetFrame == Number(0)) {
vTargetFrame = Number(1);
}
}
this.gotoAndStop(Number(vTargetFrame));
delete vTargetFrame;
}
Symbol 36 MovieClip Frame 1
stop();
Symbol 36 MovieClip Frame 11
stop();
Symbol 36 MovieClip Frame 21
stop();
Symbol 36 MovieClip Frame 31
stop();
Symbol 36 MovieClip Frame 41
stop();
Symbol 36 MovieClip Frame 51
stop();
Symbol 36 MovieClip Frame 61
stop();
Symbol 36 MovieClip Frame 71
stop();
Symbol 36 MovieClip Frame 81
stop();
Symbol 36 MovieClip Frame 91
stop();
Symbol 44 MovieClip Frame 1
stop();
Symbol 44 MovieClip Frame 3
stop();
Symbol 44 MovieClip Frame 5
stop();
Symbol 44 MovieClip Frame 7
stop();
Symbol 44 MovieClip Frame 9
stop();
Symbol 44 MovieClip Frame 11
gotoAndStop (1);
Symbol 50 MovieClip Frame 1
stop();
Symbol 50 MovieClip Frame 3
stop();
Symbol 50 MovieClip Frame 5
stop();
Symbol 50 MovieClip Frame 7
stop();
Symbol 50 MovieClip Frame 9
gotoAndStop (1);
Symbol 54 Button
on (release) {
briefing.gotoAndPlay("comic1");
}
Symbol 79 Button
on (release) {
if (VenomMain.gFirstTime == true) {
VenomMain.gotoAndStop("game");
} else {
VenomMain.fnResumeGame();
}
gotoAndStop (1);
}
Symbol 82 Button
on (release) {
gotoAndPlay (27);
}
Symbol 163 Button
on (release) {
gotoAndPlay (54);
}
Symbol 187 Button
on (release) {
gotoAndPlay (80);
}
Symbol 197 Button
on (release) {
gotoAndPlay (106);
}
Symbol 239 Button
on (release) {
gotoAndPlay (139);
}
Symbol 253 Button
on (release) {
gotoAndPlay (164);
}
Symbol 255 Button
on (release) {
if (VenomMain.gFirstTime == true) {
VenomMain.gotoAndStop("game");
} else {
VenomMain.fnResumeGame();
}
gotoAndStop (1);
}
Symbol 256 MovieClip Frame 1
stop();
briefing_btn.onRelease = function () {
if (gGameStarted == true) {
_parent._parent.fnPauseGame();
}
gotoAndPlay (2);
};
Symbol 256 MovieClip Frame 3
maskBtn.useHandCursor = false;
play();
Symbol 256 MovieClip Frame 26
stop();
Symbol 256 MovieClip Frame 27
play();
Symbol 256 MovieClip Frame 53
stop();
Symbol 256 MovieClip Frame 54
play();
Symbol 256 MovieClip Frame 79
stop();
Symbol 256 MovieClip Frame 80
play();
Symbol 256 MovieClip Frame 105
stop();
Symbol 256 MovieClip Frame 106
play();
Symbol 256 MovieClip Frame 138
stop();
Symbol 256 MovieClip Frame 139
play();
Symbol 256 MovieClip Frame 163
stop();
Symbol 256 MovieClip Frame 164
play();
Symbol 256 MovieClip Frame 171
stop();
Symbol 368 MovieClip Frame 1
vBusy = false;
stop();
function fnHappyReaction() {
if (availPleasedActions_arr.length < 1) {
delete availPleasedActions_arr;
availPleasedActions_arr = allPleasedActions_arr.concat(VenomMain.empty_arr);
}
vBusy = true;
vIndex = Math.floor(Math.random() * availPleasedActions_arr.length);
vFrame = availPleasedActions_arr[vIndex];
if (VenomMain.gGamePaused == true) {
gotoAndStop(vFrame);
} else {
gotoAndPlay(vFrame);
}
availPleasedActions_arr.splice(vIndex, 1);
delete vIndex;
}
Symbol 368 MovieClip Frame 5
vBusy = false;
if (availMiscActions_arr.length < 1) {
delete availMiscActions_arr;
availMiscActions_arr = allMiscActions_arr.concat(VenomMain.empty_arr);
}
vIndex = Math.floor(Math.random() * availMiscActions_arr.length);
vFrame = availMiscActions_arr[vIndex];
availMiscActions_arr.splice(vIndex, 1);
delete vIndex;
vMax = Math.ceil(Math.random() * 25);
vCounter = Number(0);
play();
Symbol 368 MovieClip Frame 6
vCounter++;
Symbol 368 MovieClip Frame 10
if (vCounter >= vMax) {
vBusy = true;
if (VenomMain.gGamePaused == true) {
gotoAndStop(vFrame);
} else {
gotoAndPlay(vFrame);
}
} else {
gotoAndPlay (6);
}
Symbol 368 MovieClip Frame 61
if (VenomMain.gGamePaused == true) {
stop();
} else {
gotoAndPlay (5);
}
Symbol 368 MovieClip Frame 62
gotoAndPlay (5);
Symbol 368 MovieClip Frame 87
if (VenomMain.gGamePaused == true) {
stop();
} else {
gotoAndPlay (5);
}
Symbol 368 MovieClip Frame 88
gotoAndPlay (5);
Symbol 368 MovieClip Frame 113
if (VenomMain.gGamePaused == true) {
stop();
} else {
gotoAndPlay (5);
}
Symbol 368 MovieClip Frame 114
gotoAndPlay (5);
Symbol 368 MovieClip Frame 141
if (VenomMain.gGamePaused == true) {
stop();
} else {
gotoAndPlay (5);
}
Symbol 368 MovieClip Frame 142
gotoAndPlay (5);
Symbol 368 MovieClip Frame 168
if (VenomMain.gGamePaused == true) {
stop();
} else {
gotoAndPlay (5);
}
Symbol 368 MovieClip Frame 169
gotoAndPlay (5);
Symbol 377 MovieClip Frame 2
stop();
Symbol 377 MovieClip Frame 4
stop();
Symbol 379 MovieClip Frame 2
stop();
Symbol 379 MovieClip Frame 4
stop();
Symbol 381 MovieClip Frame 2
stop();
Symbol 381 MovieClip Frame 4
stop();
Symbol 383 MovieClip Frame 2
stop();
Symbol 383 MovieClip Frame 4
stop();
Symbol 385 MovieClip Frame 2
stop();
Symbol 385 MovieClip Frame 4
stop();
Symbol 386 MovieClip Frame 2
stop();
Symbol 386 MovieClip Frame 4
stop();
Symbol 388 MovieClip Frame 2
stop();
Symbol 388 MovieClip Frame 4
stop();
Symbol 390 MovieClip Frame 2
stop();
Symbol 390 MovieClip Frame 4
stop();
Instance of Symbol 386 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 388 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 386 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 388 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 390 MovieClip in Symbol 391 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 390 MovieClip in Symbol 391 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 390 MovieClip in Symbol 391 MovieClip Frame 11
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Symbol 393 MovieClip Frame 2
stop();
Symbol 393 MovieClip Frame 4
stop();
Symbol 394 MovieClip Frame 1
stop();
Symbol 394 MovieClip Frame 3
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
Instance of Symbol 393 MovieClip in Symbol 394 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_parent._parent.vGuyType);
}
Symbol 394 MovieClip Frame 5
_parent._parent.fnGetGlobalMarkerCoords(_parent.vTargetID, _parent._name);
Symbol 394 MovieClip Frame 6
_parent.fnFinishTurn();
Symbol 394 MovieClip Frame 9
_parent.fnFinishTurn(true);
Symbol 394 MovieClip Frame 11
gotoAndPlay (8);
Symbol 396 MovieClip Frame 1
_parent.fnCheckLoc();
play();
Symbol 396 MovieClip Frame 2
_parent.fnCheckLoc();
gotoAndPlay (1);
Symbol 399 MovieClip Frame 2
stop();
Symbol 399 MovieClip Frame 4
stop();
Symbol 400 MovieClip Frame 1
stop();
Symbol 400 MovieClip Frame 3
play();
Instance of Symbol 393 MovieClip in Symbol 400 MovieClip Frame 3
onClipEvent (load) {
this.gotoAndStop(_parent._parent.vGuyType);
}
Symbol 400 MovieClip Frame 5
_parent._parent.fnGetGlobalMarkerCoords(_parent.vTargetID, _parent._name);
Symbol 400 MovieClip Frame 6
_parent.fnFinishTurn();
Symbol 400 MovieClip Frame 9
_parent.fnFinishTurn(true);
Symbol 400 MovieClip Frame 11
gotoAndPlay (8);
Symbol 401 MovieClip Frame 1
function fnCheckLoc() {
if (vHitTarget == false) {
myMarkerObject = new Object();
myMarkerObject.x = marker._x;
myMarkerObject.y = marker._y;
localToGlobal(myMarkerObject);
if (eval ("_parent.marker" + vTargetID).hitTest(myMarkerObject.x, myMarkerObject.y, true) == true) {
if (((eval (((_parent + ".catwalker") + vTargetID) + "_1.vReady") == false) && (eval (((_parent + ".catwalker") + vTargetID) + "_2.vReady") == false)) && (eval (((_parent + ".marker") + vTargetID) + ".vFullQueue") == true)) {
if (vDir == "cw") {
if (vTargetID == 4) {
vTargetID = Number(1);
} else {
vTargetID++;
}
} else if (vTargetID == 1) {
vTargetID = 4;
} else {
vTargetID--;
}
} else {
vHitTarget = true;
walker.gotoAndPlay("turn");
vStopped = true;
this.stop();
}
}
delete myMarkerObject;
}
}
function fnFinishTurn(waiting) {
vCanTurn = true;
if (eval (("_parent.catwalker" + vTargetID) + "_1.vReady") == true) {
Set(((_parent + ".catwalker") + vTargetID) + "_1.vReady", false);
if (eval (((_parent + ".marker") + vTargetID) + ".vFullQueue") == true) {
Set(((_parent + ".marker") + vTargetID) + ".vFullQueue", false);
}
Set(((_parent + ".catwalker") + vTargetID) + "_1.vGuyType", vGuyType);
eval (("_parent.catwalker" + vTargetID) + "_1").gotoAndPlay("go");
} else if (eval (((_parent + ".catwalker") + vTargetID) + "_2.vReady") == true) {
Set(((_parent + ".catwalker") + vTargetID) + "_2.vReady", false);
if (eval (((_parent + ".marker") + vTargetID) + ".vFullQueue") == true) {
Set(((_parent + ".marker") + vTargetID) + ".vFullQueue", false);
}
Set(((_parent + ".catwalker") + vTargetID) + "_2.vGuyType", vGuyType);
eval (("_parent.catwalker" + vTargetID) + "_2").gotoAndPlay("go");
} else {
Set(((_parent + ".marker") + vTargetID) + ".vFullQueue", true);
vCanTurn = false;
}
if (vCanTurn == true) {
_parent._parent.availCobras_arr.push(String(this._name).substr(5));
this.gotoAndStop("base");
} else if (vCanTurn == false) {
walker.gotoAndPlay("wait");
}
delete vCanTurn;
}
function fnGetWalkerX() {
walkerPointX = new Object();
walkerPointX.x = walker._x;
walkerPointX.y = walker._y;
localToGlobal(walkerPointX);
return(walkerPointX.x);
}
function fnGetWalkerY() {
walkerPointY = new Object();
walkerPointY.x = walker._x;
walkerPointY.y = walker._y;
localToGlobal(walkerPointY);
return(walkerPointY.y);
}
function fnSnapInPlace(xval, yval) {
myPointObject = new Object();
myPointObject.x = xval;
myPointObject.y = yval;
globalToLocal(myPointObject);
setProperty("walker", _x , myPointObject.x);
setProperty("walker", _y , myPointObject.y);
delete myPointObject;
}
Symbol 401 MovieClip Frame 2
vStopped = false;
stop();
Symbol 401 MovieClip Frame 4
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
Instance of Symbol 377 MovieClip in Symbol 401 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 379 MovieClip in Symbol 401 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 381 MovieClip in Symbol 401 MovieClip Frame 6
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 401 MovieClip Frame 7
if (VenomMain.gGamePaused == true) {
gotoAndStop("walk_" + vDir);
} else if (VenomMain.gGamePaused == false) {
gotoAndPlay("walk_" + vDir);
}
Instance of Symbol 383 MovieClip in Symbol 401 MovieClip Frame 7
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 401 MovieClip Frame 10
vStopped = false;
vHitTarget = false;
Instance of Symbol 385 MovieClip in Symbol 401 MovieClip Frame 10
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 401 MovieClip Frame 13
gotoAndPlay (16);
Symbol 401 MovieClip Frame 14
play();
Instance of Symbol 394 MovieClip "walker" in Symbol 401 MovieClip Frame 14
onClipEvent (load) {
walk_anim.vPath = "_parent._parent._parent";
}
Symbol 401 MovieClip Frame 16
walkStartPoint = new Object();
walkStartPoint.x = walker._x;
walkStartPoint.y = walker._y;
localToGlobal(walkStartPoint);
i = 0;
while (i < _parent._parent.allCobras_arr.length) {
if (("cobra" + _parent._parent.allCobras_arr[i]) != this._name) {
if ((eval (((_parent + ".cobra") + _parent._parent.allCobras_arr[i]) + ".vDir") == vDir) && (eval (((_parent + ".cobra") + _parent._parent.allCobras_arr[i]) + ".walker") != undefined)) {
if ((Math.round(walkStartPoint.x) == Math.round(eval ((_parent + ".cobra") + _parent._parent.allCobras_arr[i]).fnGetWalkerX())) && (Math.round(walkStartPoint.y) == Math.round(eval ((_parent + ".cobra") + _parent._parent.allCobras_arr[i]).fnGetWalkerY()))) {
if (Number(String(this._name).substr(5)) > _parent._parent.allCobras_arr[i]) {
trace(this._name + ": extra_cw");
gotoAndPlay (14);
}
break;
}
}
}
i++;
}
delete walkStartPoint;
Symbol 401 MovieClip Frame 211
gotoAndPlay (16);
Symbol 401 MovieClip Frame 221
vStopped = false;
vHitTarget = false;
Instance of Symbol 399 MovieClip in Symbol 401 MovieClip Frame 221
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 401 MovieClip Frame 224
gotoAndPlay (227);
Symbol 401 MovieClip Frame 225
play();
Instance of Symbol 400 MovieClip "walker" in Symbol 401 MovieClip Frame 225
onClipEvent (load) {
walk_anim.vPath = "_parent._parent._parent";
}
Symbol 401 MovieClip Frame 227
walkStartPoint = new Object();
walkStartPoint.x = walker._x;
walkStartPoint.y = walker._y;
localToGlobal(walkStartPoint);
i = 0;
while (i < _parent._parent.allCobras_arr.length) {
if (("cobra" + _parent._parent.allCobras_arr[i]) != this._name) {
if ((eval (((_parent + ".cobra") + _parent._parent.allCobras_arr[i]) + ".vDir") == vDir) && (eval (((_parent + ".cobra") + _parent._parent.allCobras_arr[i]) + ".walker") != undefined)) {
if ((Math.round(walkStartPoint.x) == Math.round(eval ((_parent + ".cobra") + _parent._parent.allCobras_arr[i]).fnGetWalkerX())) && (Math.round(walkStartPoint.y) == Math.round(eval ((_parent + ".cobra") + _parent._parent.allCobras_arr[i]).fnGetWalkerY()))) {
if (Number(String(this._name).substr(5)) > _parent._parent.allCobras_arr[i]) {
trace(this._name + ": extra_counter_cw");
gotoAndPlay (225);
}
break;
}
}
}
i++;
}
delete walkStartPoint;
Symbol 401 MovieClip Frame 422
gotoAndPlay (227);
Symbol 403 MovieClip Frame 1
play();
Symbol 403 MovieClip Frame 3
if (eval ((((_parent._parent + ".") + _parent.vNameRoot) + _parent.vCounterNum) + ".vReady") == true) {
_parent.play();
}
Symbol 403 MovieClip Frame 4
if (eval ((((_parent._parent + ".") + _parent.vNameRoot) + _parent.vCounterNum) + ".vReady") == true) {
_parent.play();
}
Symbol 403 MovieClip Frame 5
gotoAndPlay (1);
Instance of Symbol 386 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 388 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 386 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 388 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 390 MovieClip in Symbol 405 MovieClip Frame 1
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Symbol 405 MovieClip Frame 2
stop();
Symbol 405 MovieClip Frame 4
stop();
Instance of Symbol 386 MovieClip in Symbol 405 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 388 MovieClip in Symbol 405 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 386 MovieClip in Symbol 405 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Instance of Symbol 388 MovieClip in Symbol 405 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(eval (_parent.vPath + ".vGuyType"));
}
Symbol 408 MovieClip Frame 2
stop();
Symbol 408 MovieClip Frame 4
stop();
Symbol 409 MovieClip Frame 1
vReady = true;
vStopped = false;
vFollower = null;
stop();
Symbol 409 MovieClip Frame 3
vReady = false;
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
Instance of Symbol 391 MovieClip "walk_anim" in Symbol 409 MovieClip Frame 3
onClipEvent (load) {
vPath = "_parent._parent";
}
Symbol 409 MovieClip Frame 8
vNameRoot = String(this._name).substr(0, 11);
vClipNum = String(this._name).substr(11);
if (vClipNum == "1") {
vCounterNum = "2";
} else if (vClipNum == "2") {
vCounterNum = "1";
}
if ((eval ((((_parent + ".") + vNameRoot) + vCounterNum) + ".vReady") == false) && (eval ((((_parent + ".") + vNameRoot) + vCounterNum) + "._currentframe") > this._currentframe)) {
Set((((_parent + ".") + vNameRoot) + vCounterNum) + ".vFollower", this._name);
vStopped = true;
walk_anim.stop();
stop();
} else {
play();
}
Instance of Symbol 405 MovieClip in Symbol 409 MovieClip Frame 15
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 409 MovieClip Frame 16
if (_root.gBetweenRounds == true) {
gotoAndStop (1);
} else if (_root.gBetweenRounds == false) {
if (_parent._parent.vAligned == true) {
_parent.fnSwitchToFighter(this._name, vGuyType);
} else {
play();
}
}
Instance of Symbol 408 MovieClip in Symbol 409 MovieClip Frame 16
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 409 MovieClip Frame 17
if (_root.gBetweenRounds == true) {
gotoAndStop (1);
} else if (_root.gBetweenRounds == false) {
if (_parent._parent.vAligned == true) {
_parent.fnSwitchToFighter(this._name, vGuyType);
} else {
gotoAndPlay (16);
}
}
Symbol 410 MovieClip Frame 1
if (VenomMain.gGameStarted == false) {
if (_parent.allCobras_arr || (_parent.availCobras_arr)) {
delete _parent.allCobras_arr;
delete _parent.availCobras_arr;
}
_parent.allCobras_arr = new Array(1, 2, 3, 4, 5, 6, 7);
_parent.availCobras_arr = _parent.allCobras_arr.concat(VenomMain.empty_arr);
_global.VenomMain.gGameStarted = true;
i = 1;
while (i <= 4) {
Set(("marker" + i) + ".vFullQueue", false);
i++;
}
}
function fnCobraLand(xval, yval, guytype) {
var vRot;
var vAdj;
var vOpp;
var vHyp;
var vTheta;
myPointObject = new Object();
myPointObject.x = xval;
myPointObject.y = yval;
globalToLocal(myPointObject);
vIndex = Math.floor(Math.random() * _parent.availCobras_arr.length);
vCobraID = _parent.availCobras_arr[vIndex];
_parent.availCobras_arr.splice(vIndex, 1);
delete vIndex;
if ((myPointObject.x == eval (("cobra" + vCobraID) + "._x")) && (myPointObject.y < eval (("cobra" + vCobraID) + "._y"))) {
vRot = Number(0);
Set(("cobra" + vCobraID) + ".vTargetID", "1");
Set(("cobra" + vCobraID) + ".vDir", "cw");
} else if ((myPointObject.y == eval (("cobra" + vCobraID) + "._y")) && (myPointObject.x > eval (("cobra" + vCobraID) + "._x"))) {
vRot = 90;
Set(("cobra" + vCobraID) + ".vTargetID", "2");
Set(("cobra" + vCobraID) + ".vDir", "counter_cw");
} else if ((myPointObject.x == eval (("cobra" + vCobraID) + "._x")) && (myPointObject.y > eval (("cobra" + vCobraID) + "._y"))) {
vRot = 180;
Set(("cobra" + vCobraID) + ".vTargetID", "3");
Set(("cobra" + vCobraID) + ".vDir", "cw");
} else if ((myPointObject.y == eval (("cobra" + vCobraID) + "._y")) && (myPointObject.x < eval (("cobra" + vCobraID) + "._x"))) {
vRot = 270;
Set(("cobra" + vCobraID) + ".vTargetID", "4");
Set(("cobra" + vCobraID) + ".vDir", "counter_cw");
} else {
vAdj = Math.abs(myPointObject.x);
vOpp = Math.abs(myPointObject.y);
vHyp = Math.sqrt(Number(vAdj * vAdj) + Number(vOpp * vOpp));
vTheta = Math.asin((1 * vOpp) / vHyp) / (Math.PI/180);
if ((myPointObject.x > eval (("cobra" + vCobraID) + "._x")) && (myPointObject.y < eval (("cobra" + vCobraID) + "._y"))) {
vRot = Math.round(Number(90) - Number(vTheta));
if (vRot <= 45) {
Set(("cobra" + vCobraID) + ".vTargetID", "1");
Set(("cobra" + vCobraID) + ".vDir", "counter_cw");
} else {
Set(("cobra" + vCobraID) + ".vTargetID", "2");
Set(("cobra" + vCobraID) + ".vDir", "cw");
}
} else if ((myPointObject.x > eval (("cobra" + vCobraID) + "._x")) && (myPointObject.y > eval (("cobra" + vCobraID) + "._y"))) {
vRot = Math.round(Number(90) + Number(vTheta));
if (vRot <= 135) {
Set(("cobra" + vCobraID) + ".vTargetID", "2");
Set(("cobra" + vCobraID) + ".vDir", "counter_cw");
} else {
Set(("cobra" + vCobraID) + ".vTargetID", "3");
Set(("cobra" + vCobraID) + ".vDir", "cw");
}
} else if ((myPointObject.x < eval (("cobra" + vCobraID) + "._x")) && (myPointObject.y > eval (("cobra" + vCobraID) + "._y"))) {
vRot = Math.round(-(Number(90) + Number(vTheta)));
if (vRot <= -135) {
Set(("cobra" + vCobraID) + ".vTargetID", "3");
Set(("cobra" + vCobraID) + ".vDir", "counter_cw");
} else {
Set(("cobra" + vCobraID) + ".vTargetID", "4");
Set(("cobra" + vCobraID) + ".vDir", "cw");
}
} else if ((myPointObject.x < eval (("cobra" + vCobraID) + "._x")) && (myPointObject.y < eval (("cobra" + vCobraID) + "._y"))) {
vRot = Math.round(-(Number(90) - Number(vTheta)));
if (vRot <= -45) {
Set(("cobra" + vCobraID) + ".vTargetID", "4");
Set(("cobra" + vCobraID) + ".vDir", "counter_cw");
} else {
Set(("cobra" + vCobraID) + ".vTargetID", "1");
Set(("cobra" + vCobraID) + ".vDir", "cw");
}
}
}
setProperty("cobra" + vCobraID, _rotation , vRot);
Set(("cobra" + vCobraID) + ".vGuyType", guytype);
eval ("cobra" + vCobraID).gotoAndPlay("go");
delete vCobraID;
delete vAdj;
delete vOpp;
delete vHyp;
delete vTheta;
delete vRot;
delete myPointObject;
}
function fnGetGlobalMarkerCoords(id, clip) {
myMarkerObject = new Object();
myMarkerObject.x = eval (("marker" + id) + "._x");
myMarkerObject.y = eval (("marker" + id) + "._y");
localToGlobal(myMarkerObject);
eval (clip).fnSnapInPlace(myMarkerObject.x, myMarkerObject.y);
delete myMarkerObject;
}
function fnResetVars() {
if (_parent.allCobras_arr || (_parent.availCobras_arr)) {
delete _parent.allCobras_arr;
delete _parent.availCobras_arr;
}
_parent.allCobras_arr = new Array(1, 2, 3, 4, 5, 6, 7);
_parent.availCobras_arr = _parent.allCobras_arr.concat(VenomMain.empty_arr);
}
function fnSwitchToFighter(clipname, guytype) {
pointObject = new Object();
pointObject.x = eval (clipname + "._x");
pointObject.y = eval (clipname + "._y");
localToGlobal(pointObject);
var vFighterID;
if (VenomMain.zone_up.hitTest(pointObject.x, pointObject.y, true) == true) {
vFighterID = "up";
} else if (VenomMain.zone_right.hitTest(pointObject.x, pointObject.y, true) == true) {
vFighterID = "right";
} else if (VenomMain.zone_down.hitTest(pointObject.x, pointObject.y, true) == true) {
vFighterID = "down";
} else if (VenomMain.zone_left.hitTest(pointObject.x, pointObject.y, true) == true) {
vFighterID = "left";
}
if (eval ((VenomMain + ".gAvailable_") + vFighterID) == true) {
if (eval (clipname + ".vFollower") != null) {
eval (eval (clipname + ".vFollower") + ".walk_anim").play();
Set(eval (clipname + ".vFollower") + ".vStopped", false);
eval (eval (clipname + ".vFollower")).gotoAndPlay("pickup");
}
eval (clipname).gotoAndStop("base");
VenomMain.fnCobraApproach(vFighterID, guytype);
} else if (eval ((VenomMain + ".gAvailable_") + vFighterID) == false) {
eval (clipname).gotoAndPlay("wait");
}
delete pointObject;
}
Symbol 411 MovieClip Frame 1
function fnSetCobraLand(id, guytype) {
myMarkerObject = new Object();
myMarkerObject.x = eval (("marker" + id) + "._x");
myMarkerObject.y = eval (("marker" + id) + "._y");
localToGlobal(myMarkerObject);
platform.fnCobraLand(myMarkerObject.x, myMarkerObject.y, guytype);
delete myMarkerObject;
}
Symbol 411 MovieClip Frame 32
vAligned = true;
Symbol 411 MovieClip Frame 33
vAligned = false;
Symbol 411 MovieClip Frame 65
vAligned = true;
Symbol 411 MovieClip Frame 66
vAligned = false;
Symbol 411 MovieClip Frame 98
vAligned = true;
Symbol 411 MovieClip Frame 99
vAligned = false;
Symbol 411 MovieClip Frame 131
vAligned = true;
Symbol 411 MovieClip Frame 132
vAligned = false;
Symbol 411 MovieClip Frame 133
if (VenomMain.gGamePaused == true) {
gotoAndStop (2);
} else if (VenomMain.gGamePaused == false) {
gotoAndPlay (2);
}
Symbol 416 MovieClip Frame 1
play();
Symbol 418 MovieClip Frame 2
stop();
Symbol 418 MovieClip Frame 4
stop();
Symbol 419 MovieClip Frame 1
play();
Instance of Symbol 418 MovieClip in Symbol 419 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 419 MovieClip Frame 13
stop();
Symbol 420 MovieClip Frame 1
play();
Instance of Symbol 418 MovieClip in Symbol 420 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 420 MovieClip Frame 13
stop();
Symbol 421 MovieClip Frame 2
stop();
Symbol 421 MovieClip Frame 4
stop();
Symbol 424 MovieClip Frame 2
stop();
Symbol 424 MovieClip Frame 4
stop();
Symbol 426 MovieClip Frame 1
function fnAttack() {
if (((((VenomMain.gGamePaused == false) && (_parent.vReacting == false)) && (VenomMain.snakeeyes.vTurning == false)) && (VenomMain.snakeeyes.vReacting == false)) && (VenomMain.snakeeyes.vSweeping == false)) {
if (VenomMain.snakeeyes.vAttacking == true) {
if (String(_parent._name).substr(9) != VenomMain.gSEDir) {
fnAssessAttack();
}
} else {
fnAssessAttack();
}
}
}
function fnAssessAttack() {
var vCanHit = false;
if ((((VenomMain.fighter_up.vAttacking == false) && (VenomMain.fighter_down.vAttacking == false)) && (VenomMain.fighter_left.vAttacking == false)) && (VenomMain.fighter_right.vAttacking == false)) {
similars_array = new Array();
for (i in VenomMain.allDirs_array) {
if (String(_parent._name).substr(8) != VenomMain.allDirs_array[i]) {
if ((eval (((VenomMain + ".fighter_") + VenomMain.allDirs_array[i]) + ".timer") != undefined) && (eval (((VenomMain + ".fighter_") + VenomMain.allDirs_array[i]) + ".timer._currentframe") == this._currentframe)) {
similars_array.push(VenomMain.allDirs_array[i]);
}
}
}
var vLowestIDFighter = String(_parent._name).substr(8);
for (i in similars_array) {
if (Number(eval (((VenomMain + ".fighter_") + similars_array[i]) + ".vID")) < Number(vLowestIDFighter)) {
vLowestIDFighter = similars_array[i];
}
}
if (vLowestIDFighter == String(_parent._name).substr(8)) {
vCanHit = true;
}
delete similars_array;
}
if (vCanHit == true) {
_parent.vAttacking = true;
if (Math.random() <= 0.5) {
_parent.gotoAndPlay("punch");
} else {
_parent.gotoAndPlay("kick");
}
gotoAndStop (57);
}
}
Symbol 426 MovieClip Frame 2
play();
Symbol 426 MovieClip Frame 3
gotoAndPlay(("lev" + VenomMain.gLevel) + "launch");
Symbol 426 MovieClip Frame 5
if (VenomMain.gLevel == 3) {
fnAttack();
}
Symbol 426 MovieClip Frame 11
gotoAndPlay (53);
Symbol 426 MovieClip Frame 17
if (VenomMain.gLevel == 2) {
fnAttack();
}
Symbol 426 MovieClip Frame 27
gotoAndPlay (53);
Symbol 426 MovieClip Frame 37
if (VenomMain.gLevel == 1) {
fnAttack();
}
Symbol 426 MovieClip Frame 50
gotoAndPlay (53);
Symbol 426 MovieClip Frame 55
gotoAndPlay (2);
Symbol 426 MovieClip Frame 57
stop();
Symbol 427 MovieClip Frame 2
stop();
Symbol 427 MovieClip Frame 4
stop();
Symbol 428 MovieClip Frame 2
stop();
Symbol 428 MovieClip Frame 4
stop();
Symbol 429 MovieClip Frame 2
stop();
Symbol 429 MovieClip Frame 4
stop();
Symbol 430 MovieClip Frame 2
stop();
Symbol 430 MovieClip Frame 4
stop();
Symbol 431 MovieClip Frame 2
stop();
Symbol 431 MovieClip Frame 4
stop();
Symbol 432 MovieClip Frame 2
stop();
Symbol 432 MovieClip Frame 4
stop();
Symbol 433 MovieClip Frame 2
stop();
Symbol 433 MovieClip Frame 4
stop();
Symbol 434 MovieClip Frame 2
stop();
Symbol 434 MovieClip Frame 4
stop();
Symbol 435 MovieClip Frame 2
stop();
Symbol 435 MovieClip Frame 4
stop();
Symbol 436 MovieClip Frame 2
stop();
Symbol 436 MovieClip Frame 4
stop();
Symbol 437 MovieClip Frame 2
stop();
Symbol 437 MovieClip Frame 4
stop();
Symbol 440 MovieClip Frame 2
stop();
Symbol 440 MovieClip Frame 4
stop();
Symbol 442 MovieClip Frame 2
stop();
Symbol 442 MovieClip Frame 4
stop();
Symbol 444 MovieClip Frame 2
stop();
Symbol 444 MovieClip Frame 4
stop();
Symbol 446 MovieClip Frame 2
stop();
Symbol 446 MovieClip Frame 4
stop();
Symbol 447 MovieClip Frame 2
stop();
Symbol 447 MovieClip Frame 4
stop();
Symbol 448 MovieClip Frame 2
stop();
Symbol 448 MovieClip Frame 4
stop();
Symbol 449 MovieClip Frame 2
stop();
Symbol 449 MovieClip Frame 4
stop();
Symbol 452 MovieClip Frame 2
stop();
Symbol 452 MovieClip Frame 4
stop();
Symbol 454 MovieClip Frame 2
stop();
Symbol 454 MovieClip Frame 4
stop();
Symbol 456 MovieClip Frame 2
stop();
Symbol 456 MovieClip Frame 4
stop();
Symbol 458 MovieClip Frame 2
stop();
Symbol 458 MovieClip Frame 4
stop();
Symbol 459 MovieClip Frame 2
stop();
Symbol 459 MovieClip Frame 4
stop();
Symbol 461 MovieClip Frame 2
stop();
Symbol 461 MovieClip Frame 4
stop();
Symbol 462 MovieClip Frame 2
stop();
Symbol 462 MovieClip Frame 4
stop();
Symbol 465 MovieClip Frame 2
stop();
Symbol 465 MovieClip Frame 4
stop();
Symbol 467 MovieClip Frame 2
stop();
Symbol 467 MovieClip Frame 4
stop();
Symbol 468 MovieClip Frame 2
stop();
Symbol 468 MovieClip Frame 4
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 469 MovieClip Frame 4
stop();
Symbol 470 MovieClip Frame 2
stop();
Symbol 470 MovieClip Frame 4
stop();
Symbol 471 MovieClip Frame 2
stop();
Symbol 471 MovieClip Frame 4
stop();
Symbol 472 MovieClip Frame 2
stop();
Symbol 472 MovieClip Frame 4
stop();
Symbol 474 MovieClip Frame 2
stop();
Symbol 474 MovieClip Frame 4
stop();
Symbol 476 MovieClip Frame 2
stop();
Symbol 476 MovieClip Frame 4
stop();
Symbol 478 MovieClip Frame 2
stop();
Symbol 478 MovieClip Frame 4
stop();
Symbol 480 MovieClip Frame 2
stop();
Symbol 480 MovieClip Frame 4
stop();
Symbol 482 MovieClip Frame 2
stop();
Symbol 482 MovieClip Frame 4
stop();
Symbol 483 MovieClip Frame 2
stop();
Symbol 483 MovieClip Frame 4
stop();
Symbol 484 MovieClip Frame 2
stop();
Symbol 484 MovieClip Frame 4
stop();
Symbol 485 MovieClip Frame 2
stop();
Symbol 485 MovieClip Frame 4
stop();
Symbol 486 MovieClip Frame 2
Set("_global.VenomMain.gAvailable_" + String(this._name).substr(8), true);
vReady = false;
vAttacking = false;
vFinished = false;
stop();
Symbol 486 MovieClip Frame 4
Set("_global.VenomMain.gAvailable_" + String(this._name).substr(8), false);
play();
Instance of Symbol 421 MovieClip in Symbol 486 MovieClip Frame 4
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 13
vReady = true;
Symbol 486 MovieClip Frame 16
vAttacking = false;
vReacting = false;
vReady = true;
stop();
Instance of Symbol 424 MovieClip in Symbol 486 MovieClip Frame 16
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 19
vAttacking = false;
vFinished = false;
vReacting = false;
vReady = true;
timer.gotoAndPlay("loop");
stop();
Symbol 486 MovieClip Frame 21
vAttacking = false;
vFinished = false;
vReacting = false;
vReady = true;
timer.gotoAndStop("hold");
stop();
Symbol 486 MovieClip Frame 24
vAttacking = true;
vReacting = false;
play();
Instance of Symbol 427 MovieClip in Symbol 486 MovieClip Frame 24
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 428 MovieClip in Symbol 486 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 26
VenomMain.fnCheckAttack(this._name, "punch");
Instance of Symbol 429 MovieClip in Symbol 486 MovieClip Frame 26
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 430 MovieClip in Symbol 486 MovieClip Frame 27
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 28
gotoAndStop (19);
Instance of Symbol 431 MovieClip in Symbol 486 MovieClip Frame 28
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 31
vAttacking = true;
vReacting = false;
play();
Instance of Symbol 432 MovieClip in Symbol 486 MovieClip Frame 31
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 433 MovieClip in Symbol 486 MovieClip Frame 32
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 33
VenomMain.fnCheckAttack(this._name, "kick");
Instance of Symbol 434 MovieClip in Symbol 486 MovieClip Frame 33
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 435 MovieClip in Symbol 486 MovieClip Frame 34
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 436 MovieClip in Symbol 486 MovieClip Frame 35
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 437 MovieClip in Symbol 486 MovieClip Frame 36
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 37
gotoAndStop (19);
Symbol 486 MovieClip Frame 42
vAttacking = false;
_root.GruntsAudio_MC.play();
vReacting = true;
play();
Instance of Symbol 440 MovieClip in Symbol 486 MovieClip Frame 42
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 442 MovieClip in Symbol 486 MovieClip Frame 43
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 444 MovieClip in Symbol 486 MovieClip Frame 44
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 446 MovieClip in Symbol 486 MovieClip Frame 45
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 46
if (vFinished == true) {
gotoAndPlay("fall" + VenomMain.allFalls_arr[Math.floor(Math.random() * VenomMain.allFalls_arr.length)]);
} else {
gotoAndStop (19);
}
Symbol 486 MovieClip Frame 52
vAttacking = false;
_root.GruntsAudio_MC.play();
vReacting = true;
play();
Instance of Symbol 447 MovieClip in Symbol 486 MovieClip Frame 52
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 448 MovieClip in Symbol 486 MovieClip Frame 53
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 449 MovieClip in Symbol 486 MovieClip Frame 54
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 55
if (vFinished == true) {
gotoAndPlay("fall" + VenomMain.allFalls_arr[Math.floor(Math.random() * VenomMain.allFalls_arr.length)]);
} else {
gotoAndStop (19);
}
Symbol 486 MovieClip Frame 64
_root.ScreamsAudio_MC.play();
vAttacking = false;
VenomMain.HitAudio.play();
play();
Instance of Symbol 452 MovieClip in Symbol 486 MovieClip Frame 64
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 454 MovieClip in Symbol 486 MovieClip Frame 65
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 456 MovieClip in Symbol 486 MovieClip Frame 66
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 458 MovieClip in Symbol 486 MovieClip Frame 67
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 459 MovieClip in Symbol 486 MovieClip Frame 68
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 461 MovieClip in Symbol 486 MovieClip Frame 69
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 462 MovieClip in Symbol 486 MovieClip Frame 70
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 71
VenomMain.fnCheckScore();
gotoAndStop (2);
Symbol 486 MovieClip Frame 73
_root.ScreamsAudio_MC.play();
vAttacking = false;
VenomMain.HitAudio.play();
play();
Instance of Symbol 465 MovieClip in Symbol 486 MovieClip Frame 73
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 467 MovieClip in Symbol 486 MovieClip Frame 74
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 468 MovieClip in Symbol 486 MovieClip Frame 75
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 469 MovieClip in Symbol 486 MovieClip Frame 76
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 470 MovieClip in Symbol 486 MovieClip Frame 77
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 471 MovieClip in Symbol 486 MovieClip Frame 78
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 472 MovieClip in Symbol 486 MovieClip Frame 79
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 80
VenomMain.fnCheckScore();
gotoAndStop (2);
Symbol 486 MovieClip Frame 82
_root.ScreamsAudio_MC.play();
vAttacking = false;
VenomMain.HitAudio.play();
play();
Instance of Symbol 474 MovieClip in Symbol 486 MovieClip Frame 82
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 476 MovieClip in Symbol 486 MovieClip Frame 83
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 478 MovieClip in Symbol 486 MovieClip Frame 84
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 480 MovieClip in Symbol 486 MovieClip Frame 85
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 482 MovieClip in Symbol 486 MovieClip Frame 86
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 483 MovieClip in Symbol 486 MovieClip Frame 87
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 484 MovieClip in Symbol 486 MovieClip Frame 88
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 485 MovieClip in Symbol 486 MovieClip Frame 89
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 486 MovieClip Frame 90
VenomMain.fnCheckScore();
gotoAndStop (2);
Symbol 493 MovieClip Frame 2
_global.VenomMain.gSEState = "still";
vReadyToFight = true;
vAttacking = false;
vCombo = false;
vReacting = false;
vTurning = false;
vSweeping = false;
stop();
Symbol 493 MovieClip Frame 4
vTurning = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 7
VenomMain.fnFinishTurn();
gotoAndStop (2);
Symbol 493 MovieClip Frame 9
vTurning = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 13
VenomMain.fnFinishTurn();
gotoAndStop (2);
Symbol 493 MovieClip Frame 15
vTurning = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 19
VenomMain.fnFinishTurn();
gotoAndStop (2);
Symbol 493 MovieClip Frame 23
vAttacking = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 24
VenomMain.fnCheckForContact("punch");
Symbol 493 MovieClip Frame 26
vReadyToFight = true;
Symbol 493 MovieClip Frame 27
gotoAndStop (2);
Symbol 493 MovieClip Frame 30
vAttacking = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 32
VenomMain.fnCheckForContact("kick");
Symbol 493 MovieClip Frame 33
vReadyToFight = true;
Symbol 493 MovieClip Frame 36
gotoAndStop (2);
Symbol 493 MovieClip Frame 39
vAttacking = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = true;
play();
Symbol 493 MovieClip Frame 40
VenomMain.fnCheckForContact("punch", true);
Symbol 493 MovieClip Frame 46
VenomMain.fnCheckForContact("kick", true);
Symbol 493 MovieClip Frame 47
vReadyToFight = true;
Symbol 493 MovieClip Frame 50
gotoAndStop (2);
Symbol 493 MovieClip Frame 55
vAttacking = true;
vReadyToFight = false;
vReacting = false;
vSweeping = false;
vCombo = true;
play();
Symbol 493 MovieClip Frame 56
VenomMain.fnCheckForContact("punch", true);
Symbol 493 MovieClip Frame 61
VenomMain.fnCheckForContact("kick", true);
Symbol 493 MovieClip Frame 65
vReadyToFight = true;
Symbol 493 MovieClip Frame 68
gotoAndStop (2);
Symbol 493 MovieClip Frame 74
vAttacking = true;
vStrengthUpdated = false;
vReadyToFight = false;
vReacting = false;
vSweeping = true;
vCombo = false;
play();
Symbol 493 MovieClip Frame 81
if ((eval ((VenomMain + ".gAvailable_") + VenomMain.gSEDir) == false) && (eval (((VenomMain + ".fighter_") + VenomMain.gSEDir) + ".vReady") == true)) {
VenomMain.fnTakeOutCobra(VenomMain.gSEDir);
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
Symbol 493 MovieClip Frame 82
if (VenomMain.gSEDir == "left") {
if ((VenomMain.gAvailable_down == false) && (VenomMain.fighter_down.vReady == true)) {
VenomMain.fnTakeOutCobra("down");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "up") {
if ((VenomMain.gAvailable_left == false) && (VenomMain.fighter_left.vReady == true)) {
VenomMain.fnTakeOutCobra("left");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "right") {
if ((VenomMain.gAvailable_up == false) && (VenomMain.fighter_up.vReady == true)) {
VenomMain.fnTakeOutCobra("up");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "down") {
if ((VenomMain.gAvailable_right == false) && (VenomMain.fighter_right.vReady == true)) {
VenomMain.fnTakeOutCobra("right");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
}
Symbol 493 MovieClip Frame 83
if (VenomMain.gSEDir == "left") {
if ((VenomMain.gAvailable_right == false) && (VenomMain.fighter_right.vReady == true)) {
VenomMain.fnTakeOutCobra("right");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "up") {
if ((VenomMain.gAvailable_down == false) && (VenomMain.fighter_down.vReady == true)) {
VenomMain.fnTakeOutCobra("down");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "right") {
if ((VenomMain.gAvailable_left == false) && (VenomMain.fighter_left.vReady == true)) {
VenomMain.fnTakeOutCobra("left");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "down") {
if ((VenomMain.gAvailable_up == false) && (VenomMain.fighter_up.vReady == true)) {
VenomMain.fnTakeOutCobra("up");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
}
Symbol 493 MovieClip Frame 84
if (VenomMain.gSEDir == "left") {
if ((VenomMain.gAvailable_up == false) && (VenomMain.fighter_up.vReady == true)) {
VenomMain.fnTakeOutCobra("up");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "up") {
if ((VenomMain.gAvailable_right == false) && (VenomMain.fighter_right.vReady == true)) {
VenomMain.fnTakeOutCobra("right");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "right") {
if ((VenomMain.gAvailable_down == false) && (VenomMain.fighter_down.vReady == true)) {
VenomMain.fnTakeOutCobra("down");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
} else if (VenomMain.gSEDir == "down") {
if ((VenomMain.gAvailable_left == false) && (VenomMain.fighter_left.vReady == true)) {
VenomMain.fnTakeOutCobra("left");
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
}
}
Symbol 493 MovieClip Frame 85
if (vStrengthUpdated == false) {
vStrengthUpdated = true;
VenomMain.fnUpdateStrength("sweep");
}
VenomMain.fnSweepEnd();
Symbol 493 MovieClip Frame 89
gotoAndStop (2);
Symbol 493 MovieClip Frame 92
_root.ChucklesAudio_MC.play();
vReadyToFight = false;
vReacting = true;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 95
vReadyToFight = true;
Symbol 493 MovieClip Frame 97
gotoAndStop (2);
Symbol 493 MovieClip Frame 105
_root.ChucklesAudio_MC.play();
vReadyToFight = false;
vReacting = true;
vSweeping = false;
vCombo = false;
play();
Symbol 493 MovieClip Frame 108
vReadyToFight = true;
gotoAndStop (2);
Symbol 510 MovieClip Frame 2
stop();
Symbol 510 MovieClip Frame 4
stop();
Symbol 514 MovieClip Frame 2
stop();
Symbol 514 MovieClip Frame 4
stop();
Symbol 517 MovieClip Frame 2
stop();
Symbol 517 MovieClip Frame 4
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
Instance of Symbol 510 MovieClip in Symbol 517 MovieClip Frame 5
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Instance of Symbol 514 MovieClip in Symbol 517 MovieClip Frame 25
onClipEvent (load) {
this.gotoAndStop(_parent.vGuyType);
}
Symbol 517 MovieClip Frame 26
VenomMain.fnCobraDescended(String(this._name).substr(9), vGuyType);
Symbol 517 MovieClip Frame 28
gotoAndStop (2);
Symbol 536 MovieClip Frame 2
stop();
Symbol 536 MovieClip Frame 4
stop();
Symbol 536 MovieClip Frame 6
stop();
Symbol 542 MovieClip Frame 1
stop();
Symbol 542 MovieClip Frame 100
stop();
Symbol 547 Button
on (release) {
fnClickHelp();
}
Symbol 564 Button
on (press, keyPress "<Left>") {
fnSelectOrientation("left");
}
Symbol 565 Button
on (press, keyPress "<Right>") {
fnSelectOrientation("right");
}
Symbol 566 Button
on (press, keyPress "<Up>") {
fnSelectOrientation("up");
}
Symbol 567 Button
on (press, keyPress "<Down>") {
fnSelectOrientation("down");
}
Symbol 569 Button
on (press) {
fnSelectMove("punch");
}
Symbol 570 Button
on (press) {
fnSelectMove("kick");
}
Symbol 571 Button
on (press) {
fnSelectMove("combo");
}
Symbol 577 Button
on (press) {
VenomMain.fnSelectMove("sweep");
}
Symbol 581 MovieClip Frame 1
stop();
Symbol 581 MovieClip Frame 3
stop();
Symbol 581 MovieClip Frame 5
stop();
Symbol 581 MovieClip Frame 7
stop();
Symbol 584 Button
on (release) {
fnViewBriefing();
}
Symbol 586 Button
on (release) {
VenomMain.fnCloseHelp();
}
Symbol 601 Button
on (release) {
_root.Music_MC.gotoAndPlay("IntroStop");
_root.Music_MC.gotoAndPlay("Level1Go");
VenomMain.fnCloseHelp();
}
Symbol 603 Button
on (release) {
VenomMain.fnCloseHelp();
}
Symbol 604 MovieClip Frame 2
stop();
Symbol 604 MovieClip Frame 4
bgBtn.useHandCursor = false;
stop();
Symbol 604 MovieClip Frame 6
bgBtn.useHandCursor = false;
stop();
Symbol 627 Button
on (release) {
_root.Music_MC.gotoAndPlay("AllStop");
_root.Music_MC.gotoAndPlay("Level1Go");
VenomMain.fnPlayAgain();
}
Symbol 670 Button
on (release) {
_root.Music_MC.gotoAndPlay("AllStop");
_root.Music_MC.gotoAndPlay("Level1Go");
VenomMain.fnPlayAgain();
}
Symbol 689 Button
on (release) {
VenomMain.fnNextLevel(2);
}
Symbol 690 MovieClip Frame 1
play();
Symbol 690 MovieClip Frame 13
stop();
Symbol 699 Button
on (release) {
VenomMain.fnNextLevel(3);
}
Symbol 700 MovieClip Frame 1
play();
Symbol 700 MovieClip Frame 13
stop();
Symbol 702 MovieClip Frame 2
stop();
Symbol 702 MovieClip Frame 4
_root.Music_MC.gotoAndPlay("AllStop");
vScore = VenomMain.gScore;
bgBtn.useHandCursor = false;
Symbol 702 MovieClip Frame 36
stop();
Symbol 702 MovieClip Frame 38
_root.Music_MC.gotoAndPlay("AllStop");
vScore = VenomMain.gScore;
bgBtn.useHandCursor = false;
Symbol 702 MovieClip Frame 107
stop();
Symbol 702 MovieClip Frame 109
_root.Music_MC.gotoAndPlay("AllStop");
bgBtn.useHandCursor = false;
stop();
Symbol 702 MovieClip Frame 113
_root.Music_MC.gotoAndPlay("AllStop");
bgBtn.useHandCursor = false;
stop();
Symbol 704 MovieClip Frame 2
stop();
Symbol 704 MovieClip Frame 4
vCounter = Number(0);
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
Symbol 704 MovieClip Frame 5
if (VenomMain.availDescenders_arr.length > 0) {
VenomMain.fnLaunchCobra();
}
Symbol 704 MovieClip Frame 9
vCounter++;
Symbol 704 MovieClip Frame 12
if (((VenomMain.availDescenders_arr.length > 0) && (vCounter == 2)) && (_root.gLevel != 1)) {
VenomMain.fnLaunchCobra();
}
Symbol 704 MovieClip Frame 15
if (vCounter < 3) {
if (VenomMain.gGamePaused == true) {
gotoAndStop (9);
} else if (VenomMain.gGamePaused == false) {
gotoAndPlay (9);
}
} else {
vCounter = Number(0);
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
}
Symbol 704 MovieClip Frame 18
if (VenomMain.availDescenders_arr.length > 0) {
VenomMain.fnLaunchCobra();
}
Symbol 704 MovieClip Frame 22
vCounter++;
Symbol 704 MovieClip Frame 27
if (((VenomMain.availDescenders_arr.length > 0) && (vCounter == 2)) && (_root.gLevel != 1)) {
VenomMain.fnLaunchCobra();
}
Symbol 704 MovieClip Frame 30
if (vCounter < 3) {
if (VenomMain.gGamePaused == true) {
gotoAndStop (22);
} else if (VenomMain.gGamePaused == false) {
gotoAndPlay (22);
}
} else {
vCounter = Number(0);
if (VenomMain.gGamePaused == true) {
stop();
} else if (VenomMain.gGamePaused == false) {
play();
}
}
Symbol 704 MovieClip Frame 34
if (VenomMain.gGamePaused == true) {
gotoAndStop (4);
} else if (VenomMain.gGamePaused == false) {
gotoAndPlay (4);
}
Symbol 706 MovieClip Frame 2
vBusy = false;
stop();
Symbol 706 MovieClip Frame 4
vBusy = true;
play();
Symbol 706 MovieClip Frame 43
if (((Number(vStartStrength) - Number(VenomMain.gStrength)) >= VenomMain.MAJOR_DAMAGE) && (VenomMain.vm.vBusy == false)) {
VenomMain.vm.fnHappyReaction();
}
gotoAndStop (2);
Symbol 714 MovieClip Frame 1
stop();
Symbol 714 MovieClip Frame 3
stop();
Symbol 714 MovieClip Frame 5
stop();
Symbol 714 MovieClip Frame 7
stop();
Symbol 714 MovieClip Frame 9
stop();
Symbol 714 MovieClip Frame 11
gotoAndStop (1);
Symbol 718 MovieClip Frame 1
stop();
Symbol 718 MovieClip Frame 3
stop();
Symbol 718 MovieClip Frame 5
stop();
Symbol 718 MovieClip Frame 7
stop();
Symbol 718 MovieClip Frame 9
gotoAndStop (1);