Frame 1
stop();
Instance of Symbol 37 MovieClip in Frame 1
onClipEvent (load) {
Btotal = _root.getBytesTotal();
}
onClipEvent (enterFrame) {
Bloaded = _root.getBytesLoaded();
if (Bloaded >= Btotal) {
_parent.nextFrame();
} else {
var percentage = Math.round((Bloaded / Btotal) * 100);
this.gotoAndStop(percentage);
}
}
Frame 2
stop();
Frame 3
stop();
Instance of Symbol 955 MovieClip in Frame 4
onClipEvent (load) {
function enemyTimer(objTimer) {
if (objTimer.justPaused) {
objTimer.timerWait = getTimer();
objTimer.justPaused = false;
objTimer.pauseDifficulty = true;
}
var tempTimer = getTimer();
if (tempTimer >= (objTimer.timerWait + v.LEVEL1_TIMER_SHOOT)) {
objTimer.finTimer = true;
objTimer.pauseDifficulty = false;
} else if (objTimer.justPaused) {
objTimer.justPaused = false;
}
}
function persoDigout(objDigout) {
switch (objDigout.enemyState) {
case "playAnim" :
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom].gotoAndPlay("digout");
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom]._x = objDigout.startX;
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom]._y = objDigout.startY;
return;
case "idle" :
if ((!objDigout.finTimer) and (!objDigout.timedAlready)) {
objDigout.timedAlready = true;
objDigout.zappable = true;
objDigout.pauseDifficulty = true;
objDigout.justPaused = true;
v.enemyTimer(objDigout);
} else if ((!objDigout.justPaused) and objDigout.pauseDifficulty) {
v.enemyTimer(objDigout);
} else if ((!objDigout.pauseDifficulty) and objDigout.finTimer) {
objDigout.zappable = false;
objDigout.finTimer = false;
objDigout.enemyState = "hide";
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom].digout.gotoAndPlay("digin");
}
return;
case "hide" :
return;
case "end" :
if (objDigout.enemyNum == 2) {
v.enemy2 = false;
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom].removeMovieClip();
} else if (objDigout.enemyNum == 3) {
v.enemy3 = false;
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom].removeMovieClip();
} else if (objDigout.enemyNum == 4) {
v.enemy4 = false;
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom].removeMovieClip();
} else if (objDigout.enemyNum == 5) {
v.enemy5 = false;
_parent.pan.bg["enemy" + objDigout.enemyNum][objDigout.nom].removeMovieClip();
}
objDigout.enemyState = "";
objDigout.action = "";
objDigout.enemyMoving = false;
objDigout.enemyPopout = false;
objDigout.enemyFlying = false;
objDigout.poppedout = false;
objDigout.digout = false;
objDigout = new Object();
objDigout.action = "";
}
}
function persoMovements(objMove) {
switch (objMove.enemyState) {
case "going" :
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].gotoAndPlay("move");
if (objMove.startX < objMove.endX) {
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom]._xscale = -100;
}
objMove.enemyState = "ligne";
return;
case "ligne" :
if (objMove.lineTime) {
objMove.frame++;
if (objMove.frame == 1) {
var depthTemp = (objMove.depth + 1);
var lineScale = (objMove.startX - objMove.endX);
_parent.pan.bg.ligne1.gotoAndStop(objMove.nom);
_parent.pan.bg.ligne1.ligne._xscale = objMove.scale;
_parent.pan.bg.ligne1.ligne._yscale = objMove.scale;
if (lineScale < 0) {
lineScale = -lineScale;
}
_parent.pan.bg.ligne1.ligne._width = lineScale;
if (objMove.startX > objMove.endX) {
_parent.pan.bg.ligne1._x = objMove.endX + (lineScale / 2);
_parent.pan.bg.ligne1._y = objMove.startY;
} else {
_parent.pan.bg.ligne1._x = objMove.endX - (lineScale / 2);
_parent.pan.bg.ligne1._y = objMove.startY;
}
}
if (objMove.frame == 2) {
objMove.lineTime = false;
_parent.pan.bg.ligne1.gotoAndStop("inactive");
if (objMove.endExposer) {
objMove.enemyState = "";
v.animEnemyPlaying = false;
objMove.action = "";
if (objMove.enemyNum == 2) {
v.enemy2 = false;
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].removeMovieClip();
} else if (objMove.enemyNum == 3) {
v.enemy3 = false;
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].removeMovieClip();
} else if (objMove.enemyNum == 4) {
v.enemy4 = false;
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].removeMovieClip();
} else if (objMove.enemyNum == 5) {
v.enemy5 = false;
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].removeMovieClip();
}
objMove.enemyMoving = false;
objMove.enemyPopout = false;
objMove.enemyFlying = false;
objMove.poppedout = false;
objMove.digout = false;
objMove = new Object();
objMove.action = "";
} else {
objMove.enemyState = "idle";
objMove.timedAlready = false;
}
}
}
if (objMove.nom == "Crocktopus") {
if (objMove.animDone and (!objMove.endExposer)) {
objMove.enemyState = "idle";
objMove.timedAlready = false;
objMove.animDone = false;
} else if (objMove.animDone and objMove.endExposer) {
objMove.enemyState = "";
v.animEnemyPlaying = false;
objMove.action = "";
objMove.enemyMoving = false;
objMove.enemyPopout = false;
objMove.enemyFlying = false;
objMove.poppedout = false;
objMove.digout = false;
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].removeMovieClip();
objMove = new Object();
objMove.action = "";
}
}
return;
case "idle" :
if ((!objMove.finTimer) and (!objMove.timedAlready)) {
objMove.timedAlready = true;
objMove.zappable = true;
objMove.justPaused = true;
v.enemyTimer(objMove);
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].gotoAndPlay("idle");
_parent.pan.bg["enemy" + objMove.enemyNum]._x = objMove.endX;
_parent.pan.bg["enemy" + objMove.enemyNum]._y = objMove.endY;
} else if ((!objMove.justPaused) and objMove.pauseDifficulty) {
v.enemyTimer(objMove);
} else if (objMove.finTimer) {
objMove.finTimer = false;
objMove.enemyState = "back";
objMove.zappable = false;
}
return;
case "back" :
if (objMove.startX > objMove.endX) {
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom]._xscale = -100;
} else {
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom]._xscale = 100;
}
_parent.pan.bg["enemy" + objMove.enemyNum][objMove.nom].gotoAndPlay("move");
objMove.endExposer = true;
objMove.enemyState = "ligne";
objMove.frame = 0;
}
}
function persoFlying(objFly) {
switch (objFly.enemyState) {
case "show" :
if (objFly.nom == "wolverine") {
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndPlay("fly");
} else {
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndStop("fly");
}
if (objFly.nom == "fuse") {
objFly.animDoneCourse = true;
}
objFly.enemyState = "fly";
objFly.looped = false;
return;
case "fly" :
trace((("Fly Nom = " + objFly.nom) + " enemyNum ") + objFly.enemyNum);
if (objFly.animDoneCourse) {
var middlePoint = ((objFly.endX - objFly.startX) / 2);
if (middlePoint < 0) {
middlePoint = -middlePoint;
}
if (objFly.endExposer and (!objFly.endExposerAffected)) {
var temp = objFly.endX;
objFly.endX = objFly.startX;
objFly.startX = temp;
if (_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom]._xscale == -100) {
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom]._xscale = 100;
}
objFly.endExposerAffected = true;
}
if (objFly.startX < objFly.endX) {
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom]._xscale = -100;
_parent.pan.bg["enemy" + objFly.enemyNum]._x = _parent.pan.bg["enemy" + objFly.enemyNum]._x + objFly.speed;
if (((_parent.pan.bg["enemy" + objFly.enemyNum]._x >= (objFly.startX + middlePoint)) and (!objFly.looped)) and (objFly.numLoop != 0)) {
objFly.enemyState = "loop";
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndStop("loop");
}
if (_parent.pan.bg["enemy" + objFly.enemyNum]._x >= objFly.endX) {
if (!objFly.endExposer) {
objFly.enemyState = "idle";
} else {
if (objFly.enemyNum == 2) {
v.enemy2 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 3) {
v.enemy3 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 4) {
v.enemy4 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 5) {
v.enemy5 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
}
objFly.enemyState = "";
objFly.action = "";
objFly.enemyMoving = false;
objFly.enemyPopout = false;
objFly.enemyFlying = false;
objFly.poppedout = false;
objFly.digout = false;
objFly = new Object();
objFly.action = "";
}
}
}
if (objFly.startX > objFly.endX) {
_parent.pan.bg["enemy" + objFly.enemyNum]._x = _parent.pan.bg["enemy" + objFly.enemyNum]._x - objFly.speed;
if (((_parent.pan.bg["enemy" + objFly.enemyNum]._x <= (objFly.endX + middlePoint)) and (!objFly.looped)) and (objFly.numLoop != 0)) {
objFly.enemyState = "loop";
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndStop("loop");
}
if (_parent.pan.bg["enemy" + objFly.enemyNum]._x <= objFly.endX) {
if (!objFly.endExposer) {
objFly.enemyState = "idle";
} else {
v.animEnemyPlaying = false;
objFly.enemyState = "";
objFly.action = "";
if (objFly.enemyNum == 2) {
v.enemy2 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 3) {
v.enemy3 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 4) {
v.enemy4 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 5) {
v.enemy5 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
}
objFly.enemyMoving = false;
objFly.enemyPopout = false;
objFly.enemyFlying = false;
objFly.poppedout = false;
objFly.digout = false;
objFly = new Object();
objFly.action = "";
}
}
}
}
return;
case "loop" :
if (v.loopDone) {
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndStop("fly");
objFly.enemyState = "fly";
objFly.looped = true;
}
return;
case "idle" :
if ((!objFly.finTimer) and (!objFly.timedAlready)) {
objFly.timedAlready = true;
objFly.zappable = true;
objFly.justPaused = true;
v.enemyTimer(objFly);
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndStop("idle");
_parent.pan.bg["enemy" + objFly.enemyNum]._x = objFly.endX;
_parent.pan.bg["enemy" + objFly.enemyNum]._y = objFly.endY;
} else if ((!objFly.justPaused) and objFly.pauseDifficulty) {
v.enemyTimer(objFly);
} else if ((!objFly.pauseDifficulty) and objFly.finTimer) {
objFly.finTimer = false;
objFly.enemyState = "back";
objFly.zappable = false;
}
return;
case "back" :
if ((objFly.nom == "fuse") and objFly.animDone) {
v.animEnemyPlaying = false;
objFly.enemyState = "";
objFly.action = "";
if (objFly.enemyNum == 1) {
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 2) {
v.enemy2 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 3) {
v.enemy3 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 4) {
v.enemy4 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
} else if (objFly.enemyNum == 5) {
v.enemy5 = false;
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].removeMovieClip();
}
objFly.enemyMoving = false;
objFly.enemyPopout = false;
objFly.enemyFlying = false;
objFly.poppedout = false;
objFly.digout = false;
objFly = new Object();
objFly.action = "";
} else {
if (objFly.nom == "fuse") {
break;
}
objFly.endExposer = true;
objFly.looped = false;
objFly.enemyState = "fly";
objFly.endExposerAffected = false;
if (objFly.nom != "wolverine") {
break;
}
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom].gotoAndPlay("fly");
_parent.pan.bg["enemy" + objFly.enemyNum][objFly.nom]._xscale = -100;
}
}
}
function persoPopout(objPopout) {
switch (objPopout.enemyState) {
case "startPop" :
objPopout.startPop = false;
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom].gotoAndPlay("popout");
_parent.pan.bg["enemy" + objPopout.enemyNum]._x = objPopout.startX;
_parent.pan.bg["enemy" + objPopout.enemyNum]._y = objPopout.startY;
if (objPopout.rotation) {
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom]._rotation = objPopout.rotation;
}
objPopout.enemyState = "poppedout";
return;
case "poppedout" :
if (objPopout.poppedout) {
if ((!objPopout.finTimer) and (!objPopout.timedAlready)) {
objPopout.timedAlready = true;
objPopout.zappable = true;
objPopout.pauseDifficulty = true;
objPopout.justPaused = true;
v.enemyTimer(objPopout);
} else if ((!objPopout.justPaused) and objPopout.pauseDifficulty) {
v.enemyTimer(objPopout);
} else if ((!objPopout.pauseDifficulty) and objPopout.finTimer) {
objPopout.zappable = false;
objPopout.finTimer = false;
objPopout.poppedout = false;
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom].popout.gotoAndPlay("endpopout");
}
} else if (objPopout.finpopped) {
objPopout.enemyState = "finpopped";
objPopout.finpopped = false;
}
return;
case "finpopped" :
v.animEnemyPlaying = false;
objPopout.finpopped = false;
objPopout.action = "";
if (objPopout.enemyNum == 2) {
v.enemy2 = false;
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom].removeMovieClip();
} else if (objPopout.enemyNum == 3) {
v.enemy3 = false;
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom].removeMovieClip();
} else if (objPopout.enemyNum == 4) {
v.enemy4 = false;
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom].removeMovieClip();
} else if (objPopout.enemyNum == 5) {
v.enemy5 = false;
_parent.pan.bg["enemy" + objPopout.enemyNum][objPopout.nom].removeMovieClip();
}
objPopout.enemyMoving = false;
objPopout.enemyPopout = false;
objPopout.enemyFlying = false;
objPopout.poppedout = false;
objPopout.digout = false;
objPopout = new Object();
objPopout.action = "";
}
}
_root.token1 = false;
_root.token2 = false;
_root.token3 = false;
_root.token4 = false;
_root.score = 0;
if (_global.v == null) {
_global.v = new Object();
} else {
_global.v = null;
_global.v = new Object();
}
_global.v = this;
LEVEL1ENEMY = 36;
NUMBER_ENEMY = 20;
MINIMUM_ENEMY_TO_ZAP = 10;
NUM_ARRAY_ELEMENTS = 17;
LEVEL1_TIMER_SHOOT = 1250;
LEVEL1_TIMER = 90;
levelNumber = 1;
fireEnabled = true;
undefinedVar = 0;
notExploding = false;
bg_State = "TopLeft";
animPlaying = false;
animEnemyPlaying = false;
pause = false;
pauseFacility = false;
enemyCounter = 0;
paused = false;
mvPlaying = "";
shot = false;
pauseDifficulty = false;
timerWait = 0;
animDoneCourse = true;
enemyMoving = false;
enemyState = false;
frame = 0;
lineTime = false;
endExposer = false;
poppedout = false;
startPop = true;
finpopped = false;
finTimer = false;
beingShot = false;
zappable = false;
enemyNumber = 20;
friendKilledNumber = 5;
looped = false;
enemy2 = false;
enemy3 = false;
enemy4 = false;
enemy5 = false;
enemy2ToBecome = false;
enemy3ToBecome = false;
enemy4ToBecome = false;
enemy5ToBecome = false;
gunFlipped = false;
score = 0;
activeWindow == 1;
timerFreezeBonus = 0;
timerFreezeBonus2 = 0;
crimBonus = 0;
timerHighScore = 0;
extraEnemyBonus = 0;
level1_array = new Array("aj", "fly", 2, 2850, 390, -158, 150, -158, 45, 15, 0, 0, 0, 4, 1, 0, 2, "fuse", "fly", 2, 2650, 435, -80, 263, -80, 30, 15, 0, 0, 0, 3, 2, 0, 0, "wolverine", "popout", 1, 1100, -375, -322, 0, 0, 0, 15, 0, 0, 0, 0, 0, 0, 0, "mnc", "digout", 1, 1102, -210, -100, 0, 0, 0, 20, 0, 0, 0, 0, 0, -90, 0, "fuse", "popout", 1, 1010, -210, -100, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, "Crocktopus", "move", 3, 3004, -636, 75, -628, 75, 30, 25, 0, 0, 0, 2, 3, 0, 4, "wanda", "popout", 1, 1000, -360, -334, 0, 0, 0, 20, 0, 0, 0, 0, 0, 5, 0, "fuse", "popout", 4, 4001, -60, 113, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, "spatula", "fly", 1, 1004, -608, -300, -339, -300, 35, 15, 100, 0, 0, 3, 1, 0, 2, "aj", "popout", 1, 1200, -540, -150, 0, 0, 0, 15, 0, 0, 0, 0, 0, 90, 0, "wolverine", "popout", 2, 2750, -12, -85, 0, 0, 0, 23, 0, 0, 0, 0, 0, 0, 0, "Crocktopus", "popout", 2, 2300, 353, -230, 0, 0, 0, 20, 0, 0, 0, 0, 0, -7, 0, "cosmo", "fly", 2, 2150, 390, -300, 250, -300, 30, 20, 100, 0, 0, 2, 1, 0, 0, "wanda", "popout", 4, 4000, 353, 38, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, "bull", "popout", 1, 1003, -420, -245, 0, 0, 0, 12, 50, 0, 0, 0, 0, 5, 0, "boil", "fly", 4, 4002, 350, 300, 225, 300, 50, 25, 0, 0, 0, 2, 4, 0, 0, "bull", "popout", 4, 4000, 14, 139, 0, 0, 0, 15, 0, 0, 0, 0, 0, 12, 0, "spatula", "fly", 4, 4003, 417, 75, 46, 75, 50, 20, 0, 0, 0, 4, 4, 0, 3, "wanda", "popout", 1, 1000, -220, -113, 0, 0, 0, 30, 0, 0, 0, 2, 1, 0, 3, "fuse", "popout", 3, 3000, -435, 223, 0, 0, 0, 15, 0, 0, 0, 0, 0, -90, 0, "aj", "popout", 3, 3005, -300, 72, 0, 0, 0, 15, 0, 0, 0, 0, 0, 10, 0, "wolverine", "fly", 1, 1950, -650, -105, -400, -105, 30, 25, 50, 0, 0, 2, 1, 0, 2, "cosmo", "popout", 1, 1850, -375, -150, 0, 0, 0, 20, 0, 0, 0, 0, 0, 90, 0, "fuse", "popout", 2, 2000, 245, -300, 0, 0, 0, 10, 0, 0, 0, 0, 0, 35, 0, "spatula", "popout", 4, 4023, 353, 47, 98, 23, 30, 12, 0, 0, 0, 3, 4, 0, 2, "wanda", "popout", 3, 3000, -175, 138, 0, 0, 0, 25, 0, 0, 0, 0, 0, -10, 0, "bull", "popout", 2, 2000, 321, -148, 0, 0, 0, 12, 0, 0, 0, 0, 0, 0, 0, "mnc", "popout", 3, 3002, -530, 205, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, "bull", "move", 2, 2001, 30, -150, 130, -150, 0, 15, 0, 0, 0, 1, 4, 0, 2, "mnc", "digout", 4, 4001, 35, 220, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0, 0, "spatula", "fly", 3, 3000, -610, 100, -456, 100, 30, 20, 50, 0, 0, 3, 3, 0, 1, "wanda", "popout", 2, 2150, 321, -180, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, "fuse", "popout", 3, 3100, -330, 210, 0, 0, 0, 20, 0, 0, 0, 0, 0, 90, 0, "spatula", "popout", 1, 1000, -225, -97, 0, 0, 0, 20, 0, 0, 0, 0, 0, 0, 0, "wolverine", "fly", 4, 4100, 401, 280, 108, 280, 45, 25, 0, 0, 0, 1, 4, 0, 0, "spatula", "popout", 4, 4000, 241, 238, 0, 0, 0, 15, 0, 0, 0, 1, 3, 0, 0);
}
Frame 5
txtEnemyNum = v.enemyNumber;
txtFriendNum = v.friendKilledNumber;
txtScore = v.score;
stop();
Frame 6
play();
if (v.activeWindow == 1) {
pan.gotoAndStop("screen1");
} else if (v.activeWindow == 2) {
pan.gotoAndStop("screen2");
} else if (v.activeWindow == 3) {
pan.gotoAndStop("screen3");
} else if (v.activeWindow == 4) {
pan.gotoAndStop("screen4");
}
Instance of Symbol 1123 MovieClip in Frame 7
onClipEvent (load) {
function timerShooter() {
if (v.undefinedVar == 0) {
v.undefinedVar = 1;
} else {
v.fireEnabled = true;
clearInterval(Interval);
}
}
if (_global.c == null) {
_global.c = new Object();
} else {
_global.c = null;
_global.c = new Object();
}
_global.c = this;
_parent.timerContainer.timer = v.LEVEL1_TIMER;
_parent.txtEnemyNum = v.enemyNumber;
_parent.txtFriendNum = v.friendKilledNumber;
_parent.txtScore = v.score;
v.timerFreezeBonus = random(90);
v.timerFreezeBonus2 = random(90);
v.crimBonus = random(30);
trace("timer" + v.timerFreezeBonus);
}
onClipEvent (enterFrame) {
if (!v.pause) {
if (point == undefined) {
point = new Object();
}
point.x = 0;
point.y = 0;
_parent.pan.bg.gun.tip.localToGlobal(point);
_parent.laser._x = point.x;
_parent.laser._y = point.y;
var x = (_parent.pan.bg._xmouse - _parent.pan.bg.gun._x);
var y = (_parent.pan.bg._ymouse - _parent.pan.bg.gun._y);
var angle = (Math.atan(y / x) / 0.017453);
if (x < 0) {
angle = angle - 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle - 360;
}
if (((x >= 0) && (y > 0)) or ((x <= 0) && (y > 0))) {
angle = angle - 180;
}
if (v.gunFlipped) {
angle = angle - 180;
}
_parent.pan.bg.gun._rotation = angle;
}
if ((enemy1_obj.action == "") || (enemy1_obj == undefined)) {
_parent.pan.bg.enemy1[enemy1_obj.nom].removeMovieClip();
enemy1_obj = new Object();
enemy1_obj.enemyState = "";
enemy1_obj.beingShot = false;
var enemyPlaying = (v.enemyCounter * v.NUM_ARRAY_ELEMENTS);
enemy1_obj.nom = v.level1_array[enemyPlaying];
trace("voici la premiere " + enemy1_obj.nom);
enemy1_obj.action = v.level1_array[enemyPlaying + 1];
enemy1_obj.screen = v.level1_array[enemyPlaying + 2];
enemy1_obj.depth = v.level1_array[enemyPlaying + 3];
enemy1_obj.startX = v.level1_array[enemyPlaying + 4];
enemy1_obj.startY = v.level1_array[enemyPlaying + 5];
enemy1_obj.endX = v.level1_array[enemyPlaying + 6];
enemy1_obj.endY = v.level1_array[enemyPlaying + 7];
enemy1_obj.speed = v.level1_array[enemyPlaying + 8];
enemy1_obj.scale = v.level1_array[enemyPlaying + 9];
enemy1_obj.randomX = v.level1_array[enemyPlaying + 10];
enemy1_obj.randomY = v.level1_array[enemyPlaying + 11];
enemy1_obj.numLoop = v.level1_array[enemyPlaying + 12];
enemy1_obj.numOtherEnemy = v.level1_array[enemyPlaying + 13];
enemy1_obj.screenArrowLight = v.level1_array[enemyPlaying + 14];
enemy1_obj.rotation = v.level1_array[enemyPlaying + 15];
enemy1_obj.screenArrowLight2 = v.level1_array[enemyPlaying + 16];
if (enemy1_obj.nom == "") {
enemy1_obj.action = "";
}
if (enemy1_obj.numOtherEnemy == 1) {
if (v.enemy2) {
v.enemy2ToBecome = true;
} else {
v.enemy2 = true;
}
} else if (enemy1_obj.numOtherEnemy == 2) {
if (v.enemy2) {
v.enemy2ToBecome = true;
} else {
v.enemy2 = true;
}
if (v.enemy3) {
v.enemy3ToBecome = true;
} else {
v.enemy3 = true;
}
} else if (enemy1_obj.numOtherEnemy == 3) {
if (v.enemy2) {
v.enemy2ToBecome = true;
} else {
v.enemy2 = true;
}
if (v.enemy3) {
v.enemy3ToBecome = true;
} else {
v.enemy3 = true;
}
if (v.enemy4) {
v.enemy4ToBecome = true;
} else {
v.enemy4 = true;
}
} else if (enemy1_obj.numOtherEnemy == 4) {
if (v.enemy2) {
v.enemy2ToBecome = true;
} else {
v.enemy2 = true;
}
if (v.enemy3) {
v.enemy3ToBecome = true;
} else {
v.enemy3 = true;
}
if (v.enemy4) {
v.enemy4ToBecome = true;
} else {
v.enemy4 = true;
}
if (v.enemy5) {
v.enemy5ToBecome = true;
} else {
v.enemy5 = true;
}
}
if (enemy1_obj.randomX != 0) {
var tempRandom = random(2);
if (random(2) == 0) {
enemy1_obj.endX = enemy1_obj.endX + random(enemy1_obj.randomX);
} else {
enemy1_obj.endX = enemy1_obj.endX - random(enemy1_obj.randomX);
}
}
_parent.pan.bg.enemy1.attachMovie(enemy1_obj.nom, enemy1_obj.nom, enemy1_obj.depth);
enemy1_obj.enemyNum = 1;
_parent.pan.bg.enemy1._x = enemy1_obj.startX;
_parent.pan.bg.enemy1._y = enemy1_obj.startY;
_parent.pan.bg.enemy1._xscale = enemy1_obj.scale;
_parent.pan.bg.enemy1._yscale = enemy1_obj.scale;
_parent.pan.bg.enemy1.swapDepths(enemy1_obj.depth);
enemy1_obj.endExposer = false;
if (enemy1_obj.action == "move") {
enemy1_obj.enemyMoving = true;
enemy1_obj.enemyFlying = false;
enemy1_obj.enemyPopout = false;
enemy1_obj.digout = false;
enemy1_obj.enemyState = "going";
} else if (enemy1_obj.action == "fly") {
enemy1_obj.enemyMoving = false;
enemy1_obj.enemyFlying = true;
enemy1_obj.enemyPopout = false;
enemy1_obj.digout = false;
enemy1_obj.enemyState = "show";
} else if (enemy1_obj.action == "popout") {
enemy1_obj.enemyMoving = false;
enemy1_obj.enemyFlying = false;
enemy1_obj.enemyPopout = true;
enemy1_obj.digout = false;
enemy1_obj.enemyState = "startPop";
enemy1_obj.poppedout = false;
enemy1_obj.finpopped = false;
} else if (enemy1_obj.action == "digout") {
enemy1_obj.enemyMoving = false;
enemy1_obj.enemyFlying = false;
enemy1_obj.enemyPopout = false;
enemy1_obj.digout = true;
enemy1_obj.enemyState = "playAnim";
}
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
if (v.enemy1_obj.action == "") {
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
}
enemy1_obj.frame = 0;
if (v.activeWindow == 1) {
switch (enemy1_obj.screenArrowLight) {
case 1 :
break;
case 2 :
_parent.pan.fleche2.gotoAndStop("active");
_parent.pan.fleche3.gotoAndStop("inactive");
_parent.pan.fleche4.gotoAndStop("inactive");
break;
case 3 :
_parent.pan.fleche2.gotoAndStop("inactive");
_parent.pan.fleche3.gotoAndStop("active");
_parent.pan.fleche4.gotoAndStop("inactive");
break;
case 4 :
_parent.pan.fleche2.gotoAndStop("inactive");
_parent.pan.fleche3.gotoAndStop("inactive");
_parent.pan.fleche4.gotoAndStop("active");
}
switch (enemy1_obj.screenArrowLight2) {
case 1 :
break;
case 2 :
_parent.pan.fleche2.gotoAndStop("active");
break;
case 3 :
_parent.pan.fleche3.gotoAndStop("active");
break;
case 4 :
_parent.pan.fleche4.gotoAndStop("active");
}
} else if (v.activeWindow == 2) {
switch (enemy1_obj.screenArrowLight) {
case 2 :
break;
case 1 :
_parent.pan.fleche1.gotoAndStop("active");
_parent.pan.fleche3.gotoAndStop("inactive");
_parent.pan.fleche4.gotoAndStop("inactive");
break;
case 3 :
_parent.pan.fleche1.gotoAndStop("inactive");
_parent.pan.fleche3.gotoAndStop("active");
_parent.pan.fleche4.gotoAndStop("inactive");
break;
case 4 :
_parent.pan.fleche1.gotoAndStop("inactive");
_parent.pan.fleche3.gotoAndStop("inactive");
_parent.pan.fleche4.gotoAndStop("active");
}
switch (enemy1_obj.screenArrowLight2) {
case 2 :
break;
case 1 :
_parent.pan.fleche1.gotoAndStop("active");
break;
case 3 :
_parent.pan.fleche3.gotoAndStop("active");
break;
case 4 :
_parent.pan.fleche4.gotoAndStop("active");
}
} else if (v.activeWindow == 3) {
switch (enemy1_obj.screenArrowLight) {
case 1 :
_parent.pan.fleche1.gotoAndStop("active");
_parent.pan.fleche2.gotoAndStop("inactive");
_parent.pan.fleche4.gotoAndStop("inactive");
break;
case 2 :
_parent.pan.fleche1.gotoAndStop("inactive");
_parent.pan.fleche2.gotoAndStop("active");
_parent.pan.fleche4.gotoAndStop("inactive");
break;
case 3 :
break;
case 4 :
_parent.pan.fleche1.gotoAndStop("inactive");
_parent.pan.fleche2.gotoAndStop("inactive");
_parent.pan.fleche4.gotoAndStop("active");
}
switch (enemy1_obj.screenArrowLight2) {
case 1 :
_parent.pan.fleche1.gotoAndStop("active");
break;
case 2 :
_parent.pan.fleche2.gotoAndStop("active");
break;
case 3 :
break;
case 4 :
_parent.pan.fleche4.gotoAndStop("active");
}
} else if (v.activeWindow == 4) {
switch (enemy1_obj.screenArrowLight) {
case 1 :
_parent.pan.fleche1.gotoAndStop("active");
_parent.pan.fleche2.gotoAndStop("inactive");
_parent.pan.fleche3.gotoAndStop("inactive");
break;
case 2 :
_parent.pan.fleche1.gotoAndStop("inactive");
_parent.pan.fleche2.gotoAndStop("active");
_parent.pan.fleche3.gotoAndStop("inactive");
break;
case 3 :
_parent.pan.fleche1.gotoAndStop("inactive");
_parent.pan.fleche2.gotoAndStop("inactive");
_parent.pan.fleche3.gotoAndStop("active");
break;
case 4 :
}
switch (enemy1_obj.screenArrowLight2) {
case 1 :
_parent.pan.fleche1.gotoAndStop("active");
break;
case 2 :
_parent.pan.fleche2.gotoAndStop("active");
break;
case 3 :
_parent.pan.fleche3.gotoAndStop("active");
break;
case 4 :
}
}
}
if (v.enemy2ToBecome and (!v.enemy2)) {
v.enemy2ToBecome = false;
v.enemy2 = true;
}
if (v.enemy3ToBecome and (!v.enemy3)) {
v.enemy3ToBecome = false;
v.enemy3 = true;
}
if (v.enemy4ToBecome and (!v.enemy4)) {
v.enemy4ToBecome = false;
v.enemy4 = true;
}
if (v.enemy5ToBecome and (!v.enemy5)) {
v.enemy5ToBecome = false;
v.enemy5 = true;
}
if ((enemy1_obj.enemyMoving && (!v.pause)) && (!enemy1_obj.beingShot)) {
v.persoMovements(enemy1_obj);
} else if ((enemy1_obj.enemyPopout && (!v.pause)) && (!enemy1_obj.beingShot)) {
v.persoPopout(enemy1_obj);
} else if ((enemy1_obj.enemyFlying && (!v.pause)) && (!enemy1_obj.beingShot)) {
v.persoFlying(enemy1_obj);
} else if ((enemy1_obj.digout && (!v.pause)) && (!enemy1_obj.beingShot)) {
v.persoDigout(enemy1_obj);
}
if (((enemy2_obj.action == "") || (enemy2_obj == undefined)) && (v.enemy2)) {
enemy2_obj = new Object();
enemy2_obj.enemyState = "";
enemy2_obj.beingShot = false;
var enemyPlaying = (v.enemyCounter * v.NUM_ARRAY_ELEMENTS);
enemy2_obj.nom = v.level1_array[enemyPlaying];
trace("voici le 2ieme obj = " + enemy2_obj.nom);
enemy2_obj.action = v.level1_array[enemyPlaying + 1];
enemy2_obj.screen = v.level1_array[enemyPlaying + 2];
enemy2_obj.depth = v.level1_array[enemyPlaying + 3];
enemy2_obj.startX = v.level1_array[enemyPlaying + 4];
enemy2_obj.startY = v.level1_array[enemyPlaying + 5];
enemy2_obj.endX = v.level1_array[enemyPlaying + 6];
enemy2_obj.endY = v.level1_array[enemyPlaying + 7];
enemy2_obj.speed = v.level1_array[enemyPlaying + 8];
enemy2_obj.scale = v.level1_array[enemyPlaying + 9];
enemy2_obj.randomX = v.level1_array[enemyPlaying + 10];
enemy2_obj.randomY = v.level1_array[enemyPlaying + 11];
enemy2_obj.numLoop = v.level1_array[enemyPlaying + 12];
enemy2_obj.rotation = v.level1_array[enemyPlaying + 15];
if (enemy2_obj.randomX != 0) {
var tempRandom = random(2);
if (random(2) == 0) {
enemy2_obj.endX = enemy2_obj.endX + random(enemy2_obj.randomX);
} else {
enemy2_obj.endX = enemy2_obj.endX - random(enemy2_obj.randomX);
}
}
_parent.pan.bg.enemy2.attachMovie(enemy2_obj.nom, enemy2_obj.nom, enemy2_obj.depth);
_parent.pan.bg.enemy2._x = enemy2_obj.startX;
_parent.pan.bg.enemy2._y = enemy2_obj.startY;
_parent.pan.bg.enemy2._xscale = enemy2_obj.scale;
_parent.pan.bg.enemy2._yscale = enemy2_obj.scale;
_parent.pan.bg.enemy2.swapDepths(enemy2_obj.depth);
if (enemy2_obj.nom == "") {
enemy2_obj.action = "";
}
enemy2_obj.enemyNum = 2;
enemy2_obj.endExposer = false;
if (enemy2_obj.action == "move") {
enemy2_obj.enemyMoving = true;
enemy2_obj.enemyFlying = false;
enemy2_obj.enemyPopout = false;
enemy2_obj.enemyState = "going";
enemy2_obj.digout = false;
} else if (enemy2_obj.action == "fly") {
enemy2_obj.enemyMoving = false;
enemy2_obj.enemyFlying = true;
enemy2_obj.enemyPopout = false;
enemy2_obj.enemyState = "show";
enemy2_obj.digout = false;
} else if (enemy2_obj.action == "popout") {
enemy2_obj.enemyMoving = false;
enemy2_obj.enemyFlying = false;
enemy2_obj.enemyPopout = true;
enemy2_obj.enemyState = "startPop";
enemy2_obj.poppedout = false;
enemy2_obj.finpopped = false;
enemy2_obj.digout = false;
} else if (enemy2_obj.action == "digout") {
enemy2_obj.enemyMoving = false;
enemy2_obj.enemyFlying = false;
enemy2_obj.enemyPopout = false;
enemy2_obj.digout = true;
enemy2_obj.enemyState = "playAnim";
}
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
if (v.enemy2_obj.action == "") {
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
}
enemy2_obj.frame = 0;
}
var i = 1;
if (((enemy2_obj.enemyMoving and (!v.pause)) and (!enemy2_obj.beingShot)) and v.enemy2) {
v.persoMovements(enemy2_obj);
} else if (((enemy2_obj.enemyPopout and (!v.pause)) and (!enemy2_obj.beingShot)) and v.enemy2) {
v.persoPopout(enemy2_obj);
} else if (((enemy2_obj.enemyFlying and (!v.pause)) and (!enemy2_obj.beingShot)) and v.enemy2) {
v.persoFlying(enemy2_obj);
} else if (((enemy2_obj.digout and (!v.pause)) and (!enemy2_obj.beingShot)) and v.enemy2) {
v.persoDigout(enemy2_obj);
}
if (((enemy3_obj.action == "") || (enemy3_obj == undefined)) && (v.enemy3)) {
enemy3_obj = new Object();
enemy3_obj.enemyState = "";
enemy3_obj.beingShot = false;
var enemyPlaying = (v.enemyCounter * v.NUM_ARRAY_ELEMENTS);
enemy3_obj.nom = v.level1_array[enemyPlaying];
trace("voici le 3ieme obj " + enemy3_obj.nom);
enemy3_obj.action = v.level1_array[enemyPlaying + 1];
enemy3_obj.screen = v.level1_array[enemyPlaying + 2];
enemy3_obj.depth = v.level1_array[enemyPlaying + 3];
enemy3_obj.startX = v.level1_array[enemyPlaying + 4];
enemy3_obj.startY = v.level1_array[enemyPlaying + 5];
enemy3_obj.endX = v.level1_array[enemyPlaying + 6];
enemy3_obj.endY = v.level1_array[enemyPlaying + 7];
enemy3_obj.speed = v.level1_array[enemyPlaying + 8];
enemy3_obj.scale = v.level1_array[enemyPlaying + 9];
enemy3_obj.randomX = v.level1_array[enemyPlaying + 10];
enemy3_obj.randomY = v.level1_array[enemyPlaying + 11];
enemy3_obj.numLoop = v.level1_array[enemyPlaying + 12];
enemy3_obj.rotation = v.level1_array[enemyPlaying + 15];
if (enemy3_obj.nom == "") {
enemy3_obj.action = "";
}
if (enemy3_obj.randomX != 0) {
var tempRandom = random(2);
if (random(2) == 0) {
enemy3_obj.endX = enemy3_obj.endX + random(enemy3_obj.randomX);
} else {
enemy3_obj.endX = enemy3_obj.endX - random(enemy3_obj.randomX);
}
}
_parent.pan.bg.enemy3.attachMovie(enemy3_obj.nom, enemy3_obj.nom, enemy3_obj.depth);
enemy3_obj.enemyNum = 3;
_parent.pan.bg.enemy3._x = enemy3_obj.startX;
_parent.pan.bg.enemy3._y = enemy3_obj.startY;
_parent.pan.bg.enemy3._xscale = enemy3_obj.scale;
_parent.pan.bg.enemy3._yscale = enemy3_obj.scale;
_parent.pan.bg.enemy3.swapDepths(enemy3_obj.depth);
enemy3_obj.endExposer = false;
if (enemy3_obj.action == "move") {
enemy3_obj.enemyMoving = true;
enemy3_obj.enemyFlying = false;
enemy3_obj.enemyPopout = false;
enemy3_obj.enemyState = "going";
enemy3_obj.digout = false;
} else if (enemy3_obj.action == "fly") {
enemy3_obj.enemyMoving = false;
enemy3_obj.enemyFlying = true;
enemy3_obj.enemyPopout = false;
enemy3_obj.enemyState = "show";
enemy3_obj.digout = false;
} else if (enemy3_obj.action == "popout") {
enemy3_obj.enemyMoving = false;
enemy3_obj.enemyFlying = false;
enemy3_obj.enemyPopout = true;
enemy3_obj.enemyState = "startPop";
enemy3_obj.poppedout = false;
enemy3_obj.finpopped = false;
enemy3_obj.digout = false;
} else if (enemy3_obj.action == "digout") {
enemy3_obj.enemyMoving = false;
enemy3_obj.enemyFlying = false;
enemy3_obj.enemyPopout = false;
enemy3_obj.digout = true;
enemy3_obj.enemyState = "playAnim";
}
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
if (v.enemy3_obj.action == "") {
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
}
enemy3_obj.frame = 0;
}
if (((enemy3_obj.enemyMoving && (!v.pause)) && (!enemy3_obj.beingShot)) && (v.enemy3)) {
v.persoMovements(enemy3_obj);
} else if (((enemy3_obj.enemyPopout && (!v.pause)) && (!enemy3_obj.beingShot)) && (v.enemy3)) {
v.persoPopout(enemy3_obj);
} else if (((enemy3_obj.enemyFlying && (!v.pause)) && (!enemy3_obj.beingShot)) && (v.enemy3)) {
v.persoFlying(enemy3_obj);
} else if (((enemy3_obj.digout && (!v.pause)) && (!enemy3_obj.beingShot)) && (v.enemy3)) {
v.persoDigout(enemy3_obj);
}
if (((enemy4_obj.action == "") || (enemy4_obj == undefined)) && (v.enemy4)) {
enemy4_obj = new Object();
enemy4_obj.enemyState = "";
enemy4_obj.beingShot = false;
var enemyPlaying = (v.enemyCounter * v.NUM_ARRAY_ELEMENTS);
enemy4_obj.nom = v.level1_array[enemyPlaying];
trace("voici le 4ieme obj" + enemy4_obj.nom);
enemy4_obj.action = v.level1_array[enemyPlaying + 1];
enemy4_obj.screen = v.level1_array[enemyPlaying + 2];
enemy4_obj.depth = v.level1_array[enemyPlaying + 3];
enemy4_obj.startX = v.level1_array[enemyPlaying + 4];
enemy4_obj.startY = v.level1_array[enemyPlaying + 5];
enemy4_obj.endX = v.level1_array[enemyPlaying + 6];
enemy4_obj.endY = v.level1_array[enemyPlaying + 7];
enemy4_obj.speed = v.level1_array[enemyPlaying + 8];
enemy4_obj.scale = v.level1_array[enemyPlaying + 9];
enemy4_obj.randomX = v.level1_array[enemyPlaying + 10];
enemy4_obj.randomY = v.level1_array[enemyPlaying + 11];
enemy4_obj.numLoop = v.level1_array[enemyPlaying + 12];
enemy4_obj.rotation = v.level1_array[enemyPlaying + 15];
if (enemy4_obj.randomX != 0) {
var tempRandom = random(2);
if (random(2) == 0) {
enemy4_obj.endX = enemy4_obj.endX + random(enemy4_obj.randomX);
} else {
enemy4_obj.endX = enemy4_obj.endX - random(enemy4_obj.randomX);
}
}
_parent.pan.bg.enemy4.attachMovie(enemy4_obj.nom, enemy4_obj.nom, enemy4_obj.depth);
_parent.pan.bg.enemy4._x = enemy4_obj.startX;
_parent.pan.bg.enemy4._y = enemy4_obj.startY;
_parent.pan.bg.enemy4._xscale = enemy4_obj.scale;
_parent.pan.bg.enemy4._yscale = enemy4_obj.scale;
_parent.pan.bg.enemy4.swapDepths(enemy4_obj.depth);
if (enemy4_obj.nom == "") {
enemy4_obj.action = "";
}
enemy4_obj.enemyNum = 4;
enemy4_obj.endExposer = false;
if (enemy4_obj.action == "move") {
enemy4_obj.enemyMoving = true;
enemy4_obj.enemyFlying = false;
enemy4_obj.enemyPopout = false;
enemy4_obj.enemyState = "going";
enemy4_obj.digout = false;
} else if (enemy4_obj.action == "fly") {
enemy4_obj.enemyMoving = false;
enemy4_obj.enemyFlying = true;
enemy4_obj.enemyPopout = false;
enemy4_obj.enemyState = "show";
enemy4_obj.digout = false;
} else if (enemy4_obj.action == "popout") {
enemy4_obj.enemyMoving = false;
enemy4_obj.enemyFlying = false;
enemy4_obj.enemyPopout = true;
enemy4_obj.enemyState = "startPop";
enemy4_obj.poppedout = false;
enemy4_obj.finpopped = false;
enemy4_obj.digout = false;
} else if (enemy4_obj.action == "digout") {
enemy4_obj.enemyMoving = false;
enemy4_obj.enemyFlying = false;
enemy4_obj.enemyPopout = false;
enemy4_obj.digout = true;
enemy4_obj.enemyState = "playAnim";
}
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
if (v.enemy4_obj.action == "") {
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
}
enemy4_obj.frame = 0;
}
var i = 1;
if (((enemy4_obj.enemyMoving and (!v.pause)) and (!enemy4_obj.beingShot)) and v.enemy4) {
v.persoMovements(enemy4_obj);
} else if (((enemy4_obj.enemyPopout and (!v.pause)) and (!enemy4_obj.beingShot)) and v.enemy4) {
v.persoPopout(enemy4_obj);
} else if (((enemy4_obj.enemyFlying and (!v.pause)) and (!enemy4_obj.beingShot)) and v.enemy4) {
v.persoFlying(enemy4_obj);
} else if (((enemy4_obj.digout and (!v.pause)) and (!enemy4_obj.beingShot)) and v.enemy4) {
v.persoDigout(enemy4_obj);
}
if (((enemy5_obj.action == "") || (enemy5_obj == undefined)) && (v.enemy5)) {
enemy5_obj = new Object();
enemy5_obj.enemyState = "";
enemy5_obj.beingShot = false;
var enemyPlaying = (v.enemyCounter * v.NUM_ARRAY_ELEMENTS);
enemy5_obj.nom = v.level1_array[enemyPlaying];
trace("voici le 5ieme obj" + enemy5_obj.nom);
enemy5_obj.action = v.level1_array[enemyPlaying + 1];
enemy5_obj.screen = v.level1_array[enemyPlaying + 2];
enemy5_obj.depth = v.level1_array[enemyPlaying + 3];
enemy5_obj.startX = v.level1_array[enemyPlaying + 4];
enemy5_obj.startY = v.level1_array[enemyPlaying + 5];
enemy5_obj.endX = v.level1_array[enemyPlaying + 6];
enemy5_obj.endY = v.level1_array[enemyPlaying + 7];
enemy5_obj.speed = v.level1_array[enemyPlaying + 8];
enemy5_obj.scale = v.level1_array[enemyPlaying + 9];
enemy5_obj.randomX = v.level1_array[enemyPlaying + 10];
enemy5_obj.randomY = v.level1_array[enemyPlaying + 11];
enemy5_obj.numLoop = v.level1_array[enemyPlaying + 12];
enemy5_obj.rotation = v.level1_array[enemyPlaying + 15];
if (enemy5_obj.nom == "") {
enemy5_obj.action = "";
}
if (enemy5_obj.randomX != 0) {
var tempRandom = random(2);
if (random(2) == 0) {
enemy5_obj.endX = enemy5_obj.endX + random(enemy5_obj.randomX);
} else {
enemy5_obj.endX = enemy5_obj.endX - random(enemy5_obj.randomX);
}
}
_parent.pan.bg.enemy5.attachMovie(enemy5_obj.nom, enemy5_obj.nom, enemy5_obj.depth);
_parent.pan.bg.enemy5._x = enemy5_obj.startX;
_parent.pan.bg.enemy5._y = enemy5_obj.startY;
_parent.pan.bg.enemy5._xscale = enemy5_obj.scale;
_parent.pan.bg.enemy5._yscale = enemy5_obj.scale;
_parent.pan.bg.enemy5.swapDepths(enemy5_obj.depth);
enemy5_obj.enemyNum = 5;
enemy5_obj.endExposer = false;
if (enemy5_obj.action == "move") {
enemy5_obj.enemyMoving = true;
enemy5_obj.enemyFlying = false;
enemy5_obj.enemyPopout = false;
enemy5_obj.enemyState = "going";
enemy5_obj.digout = false;
} else if (enemy5_obj.action == "fly") {
enemy5_obj.enemyMoving = false;
enemy5_obj.enemyFlying = true;
enemy5_obj.enemyPopout = false;
enemy5_obj.enemyState = "show";
enemy5_obj.digout = false;
} else if (enemy5_obj.action == "popout") {
enemy5_obj.enemyMoving = false;
enemy5_obj.enemyFlying = false;
enemy5_obj.enemyPopout = true;
enemy5_obj.enemyState = "startPop";
enemy5_obj.poppedout = false;
enemy5_obj.finpopped = false;
enemy5_obj.digout = false;
} else if (enemy5_obj.action == "digout") {
enemy5_obj.enemyMoving = false;
enemy5_obj.enemyFlying = false;
enemy5_obj.enemyPopout = false;
enemy5_obj.digout = true;
enemy5_obj.enemyState = "playAnim";
}
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
if (v.enemy5_obj.action == "") {
v.enemyCounter++;
if (v.enemyCounter == v.LEVEL1ENEMY) {
v.enemyCounter = 0;
}
}
enemy5_obj.frame = 0;
}
var i = 1;
if (((enemy5_obj.enemyMoving and (!v.pause)) and (!enemy5_obj.beingShot)) and v.enemy5) {
v.persoMovements(enemy5_obj);
} else if (((enemy5_obj.enemyPopout and (!v.pause)) and (!enemy5_obj.beingShot)) and v.enemy5) {
v.persoPopout(enemy5_obj);
} else if (((enemy5_obj.enemyFlying and (!v.pause)) and (!enemy5_obj.beingShot)) and v.enemy5) {
v.persoFlying(enemy5_obj);
} else if (((enemy5_obj.digout and (!v.pause)) and (!enemy5_obj.beingShot)) and v.enemy5) {
v.persoDigout(enemy5_obj);
}
if (enemy1_obj.beingShot) {
enemy1_obj.enemyMoving = false;
enemy1_obj.enemyPopout = false;
enemy1_obj.enemyFlying = false;
enemy1_obj.poppedout = false;
enemy1_obj.digout = false;
enemy1_obj.enemyState = "";
enemy1_obj.zappable = false;
v.justPaused = false;
}
if (enemy1_obj.shot) {
if (((((enemy1_obj.nom == "aj") or (enemy1_obj.nom == "boil")) or (enemy1_obj.nom == "wanda")) or (enemy1_obj.nom == "cosmo")) or (enemy1_obj.nom == "mnc")) {
v.friendKilledNumber--;
_parent.txtFriendNum = v.friendKilledNumber;
_parent.scoreInterface.friendWindow.nextFrame();
} else if (((((enemy1_obj.nom == "wolverine") or (enemy1_obj.nom == "bull")) or (enemy1_obj.nom == "spatula")) or (enemy1_obj.nom == "fuse")) or (enemy1_obj.nom == "Crocktopus")) {
v.score = v.score + 50;
v.enemyNumber--;
_parent.txtScore = v.score;
_parent.scoreInterface.vilainWindow.nextFrame();
}
if (v.enemyNumber == 0) {
_parent.txtEnemyNum = v.enemyNumber;
_parent.pan.bg.enemy1.removeMovieClip();
_parent.pan.bg.enemy2.removeMovieClip();
_parent.pan.bg.enemy3.removeMovieClip();
_parent.pan.bg.enemy4.removeMovieClip();
_parent.pan.bg.enemy5.removeMovieClip();
_parent.timerContainer.stop();
v.extraEnemyBonus = v.MINIMUM_ENEMY_TO_ZAP - (v.NUMBER_ENEMY - v.enemyNumber);
_parent.gotoAndPlay("highscore");
} else if (v.friendKilledNumber == 0) {
_parent.gotoAndStop("gameover");
}
i = 0;
while (i < v.LEVEL1ENEMY) {
if ((((enemy1_obj.nom == v.level1_array[i]) and (enemy1_obj.screen == v.level1_array[i + 2])) and (enemy1_obj.startX == v.level1_array[i + 4])) and (enemy1_obj.endX == v.level1_array[i + 6])) {
trace("je d\u00E9truit l'array1");
v.level1_array[i] = "";
v.level1_array[i + 1] = "";
v.level1_array[i + 2] = "";
v.level1_array[i + 3] = "";
v.level1_array[i + 4] = "";
v.level1_array[i + 5] = "";
v.level1_array[i + 6] = "";
v.level1_array[i + 7] = "";
v.level1_array[i + 8] = "";
v.level1_array[i + 9] = "";
v.level1_array[i + 10] = "";
v.level1_array[i + 11] = "";
v.level1_array[i + 12] = "";
v.level1_array[i + 13] = "";
v.level1_array[i + 14] = "";
v.level1_array[i + 15] = "";
}
i++;
}
_parent.txtEnemyNum = v.enemyNumber;
enemy1_obj.shot = false;
enemy1_obj.beingShot = false;
v.animEnemyPlaying = false;
enemy1_obj.action = "";
enemy1_obj.endX = "";
removeMovieClip(_parent.pan.bg.enemy1[enemy1_obj.nom]);
enemy1_obj = new Object();
enemy1_obj.action = "";
}
if (enemy2_obj.beingShot) {
enemy2_obj.enemyMoving = false;
enemy2_obj.enemyPopout = false;
enemy2_obj.enemyFlying = false;
enemy2_obj.poppedout = false;
enemy2_obj.digout = false;
enemy2_obj.enemyState = "";
enemy2_obj.zappable = false;
v.justPaused = false;
}
if (enemy2_obj.shot) {
if (((((enemy2_obj.nom == "aj") or (enemy2_obj.nom == "boil")) or (enemy2_obj.nom == "wanda")) or (enemy2_obj.nom == "cosmo")) or (enemy2_obj.nom == "mnc")) {
v.friendKilledNumber--;
_parent.txtFriendNum = v.friendKilledNumber;
_parent.scoreInterface.friendWindow.nextFrame();
} else if (((((enemy2_obj.nom == "wolverine") or (enemy2_obj.nom == "bull")) or (enemy2_obj.nom == "spatula")) or (enemy2_obj.nom == "fuse")) or (enemy2_obj.nom == "Crocktopus")) {
v.score = v.score + 50;
v.enemyNumber--;
_parent.txtScore = v.score;
_parent.scoreInterface.vilainWindow.nextFrame();
}
if (v.enemyNumber == 0) {
_parent.txtEnemyNum = v.enemyNumber;
_parent.gotoAndPlay("highscore");
} else if (v.friendKilledNumber == 0) {
_parent.gotoAndPlay("gameover");
}
i = 0;
while (i < v.LEVEL1ENEMY) {
if ((((enemy2_obj.nom == v.level1_array[i]) and (enemy2_obj.screen == v.level1_array[i + 2])) and (enemy2_obj.startX == v.level1_array[i + 4])) and (enemy2_obj.endX == v.level1_array[i + 6])) {
trace("je d\u00E9truit l'array2");
v.level1_array[i] = "";
v.level1_array[i + 1] = "";
v.level1_array[i + 2] = "";
v.level1_array[i + 3] = "";
v.level1_array[i + 4] = "";
v.level1_array[i + 5] = "";
v.level1_array[i + 6] = "";
v.level1_array[i + 7] = "";
v.level1_array[i + 8] = "";
v.level1_array[i + 9] = "";
v.level1_array[i + 10] = "";
v.level1_array[i + 11] = "";
v.level1_array[i + 12] = "";
v.level1_array[i + 13] = "";
v.level1_array[i + 14] = "";
v.level1_array[i + 15] = "";
}
i++;
}
_parent.txtEnemyNum = v.enemyNumber;
enemy2_obj.shot = false;
enemy2_obj.beingShot = false;
v.animEnemyPlaying = false;
v.enemy2 = false;
enemy2_obj.action = "";
removeMovieClip(_parent.pan.bg.enemy2[enemy2_obj.nom]);
enemy2_obj = new Object();
enemy2_obj.action = "";
}
if (enemy3_obj.beingShot) {
enemy3_obj.enemyMoving = false;
enemy3_obj.enemyPopout = false;
enemy3_obj.enemyFlying = false;
enemy3_obj.poppedout = false;
enemy3_obj.digout = false;
enemy3_obj.enemyState = "";
enemy3_obj.zappable = false;
v.justPaused = false;
}
if (enemy3_obj.shot) {
if (((((enemy3_obj.nom == "aj") or (enemy3_obj.nom == "boil")) or (enemy3_obj.nom == "wanda")) or (enemy3_obj.nom == "cosmo")) or (enemy3_obj.nom == "mnc")) {
v.friendKilledNumber--;
_parent.txtFriendNum = v.friendKilledNumber;
_parent.scoreInterface.friendWindow.nextFrame();
} else if (((((enemy3_obj.nom == "wolverine") or (enemy3_obj.nom == "bull")) or (enemy3_obj.nom == "spatula")) or (enemy3_obj.nom == "fuse")) or (enemy3_obj.nom == "Crocktopus")) {
v.score = v.score + 50;
v.enemyNumber--;
_parent.txtScore = v.score;
_parent.scoreInterface.vilainWindow.nextFrame();
}
if (v.enemyNumber == 0) {
_parent.txtEnemyNum = v.enemyNumber;
_parent.gotoAndPlay("highscore");
} else if (v.friendKilledNumber == 0) {
_parent.gotoAndPlay("gameover");
}
i = 0;
while (i < v.LEVEL1ENEMY) {
if ((((enemy3_obj.nom == v.level1_array[i]) and (enemy3_obj.screen == v.level1_array[i + 2])) and (enemy3_obj.startX == v.level1_array[i + 4])) and (enemy3_obj.endX == v.level1_array[i + 6])) {
trace("je d\u00E9truit l'array3" + enemy3_obj.nom);
v.level1_array[i] = "";
v.level1_array[i + 1] = "";
v.level1_array[i + 2] = "";
v.level1_array[i + 3] = "";
v.level1_array[i + 4] = "";
v.level1_array[i + 5] = "";
v.level1_array[i + 6] = "";
v.level1_array[i + 7] = "";
v.level1_array[i + 8] = "";
v.level1_array[i + 9] = "";
v.level1_array[i + 10] = "";
v.level1_array[i + 11] = "";
v.level1_array[i + 12] = "";
v.level1_array[i + 13] = "";
v.level1_array[i + 14] = "";
v.level1_array[i + 15] = "";
}
i++;
}
_parent.txtEnemyNum = v.enemyNumber;
enemy3_obj.shot = false;
enemy3_obj.beingShot = false;
v.animEnemyPlaying = false;
enemy3_obj.action = "";
v.enemy3 = false;
removeMovieClip(_parent.pan.bg.enemy3[enemy3_obj.nom]);
enemy3_obj = new Object();
enemy3_obj.action = "";
}
if (enemy4_obj.beingShot) {
enemy4_obj.enemyMoving = false;
enemy4_obj.enemyPopout = false;
enemy4_obj.enemyFlying = false;
enemy4_obj.poppedout = false;
enemy4_obj.digout = false;
enemy4_obj.enemyState = "";
enemy4_obj.zappable = false;
v.justPaused = false;
}
if (enemy4_obj.shot) {
if (((((enemy4_obj.nom == "aj") or (enemy4_obj.nom == "boil")) or (enemy4_obj.nom == "wanda")) or (enemy4_obj.nom == "cosmo")) or (enemy4_obj.nom == "mnc")) {
v.friendKilledNumber--;
_parent.txtFriendNum = v.friendKilledNumber;
_parent.scoreInterface.friendWindow.nextFrame();
} else if (((((enemy4_obj.nom == "wolverine") or (enemy4_obj.nom == "bull")) or (enemy4_obj.nom == "spatula")) or (enemy4_obj.nom == "fuse")) or (enemy4_obj.nom == "Crocktopus")) {
v.score = v.score + 50;
v.enemyNumber--;
_parent.txtScore = v.score;
_parent.scoreInterface.vilainWindow.nextFrame();
}
if (v.enemyNumber == 0) {
_parent.txtEnemyNum = v.enemyNumber;
_parent.gotoAndPlay("highscore");
} else if (v.friendKilledNumber == 0) {
_parent.gotoAndPlay("gameover");
}
i = 0;
while (i < v.LEVEL1ENEMY) {
if ((((enemy4_obj.nom == v.level1_array[i]) and (enemy4_obj.screen == v.level1_array[i + 2])) and (enemy4_obj.startX == v.level1_array[i + 4])) and (enemy4_obj.endX == v.level1_array[i + 6])) {
v.level1_array[i] = "";
v.level1_array[i + 1] = "";
v.level1_array[i + 2] = "";
v.level1_array[i + 3] = "";
v.level1_array[i + 4] = "";
v.level1_array[i + 5] = "";
v.level1_array[i + 6] = "";
v.level1_array[i + 7] = "";
v.level1_array[i + 8] = "";
v.level1_array[i + 9] = "";
v.level1_array[i + 10] = "";
v.level1_array[i + 11] = "";
v.level1_array[i + 12] = "";
v.level1_array[i + 13] = "";
v.level1_array[i + 14] = "";
v.level1_array[i + 15] = "";
}
i++;
}
_parent.txtEnemyNum = v.enemyNumber;
enemy4_obj.shot = false;
enemy4_obj.beingShot = false;
v.animEnemyPlaying = false;
enemy4_obj.action = "";
v.enemy4 = false;
_parent.pan.bg.enemy4[enemy4_obj.nom].removeMovieClip();
enemy4_obj = new Object();
enemy4_obj.action = "";
}
if (enemy5_obj.beingShot) {
enemy5_obj.enemyMoving = false;
enemy5_obj.enemyPopout = false;
enemy5_obj.enemyFlying = false;
enemy5_obj.poppedout = false;
enemy5_obj.digout = false;
enemy5_obj.enemyState = "";
enemy5_obj.zappable = false;
v.justPaused = false;
}
if (enemy5_obj.shot) {
if (((((enemy5_obj.nom == "aj") or (enemy5_obj.nom == "boil")) or (enemy5_obj.nom == "wanda")) or (enemy5_obj.nom == "cosmo")) or (enemy5_obj.nom == "mnc")) {
v.friendKilledNumber--;
_parent.txtFriendNum = v.friendKilledNumber;
_parent.scoreInterface.friendWindow.nextFrame();
} else if (((((enemy5_obj.nom == "wolverine") or (enemy5_obj.nom == "bull")) or (enemy5_obj.nom == "spatula")) or (enemy5_obj.nom == "fuse")) or (enemy5_obj.nom == "Crocktopus")) {
v.score = v.score + 50;
v.enemyNumber--;
_parent.txtScore = v.score;
_parent.scoreInterface.vilainWindow.nextFrame();
}
if (v.enemyNumber == 0) {
_parent.txtEnemyNum = v.enemyNumber;
_parent.gotoAndPlay("highscore");
} else if (v.friendKilledNumber == 0) {
_parent.gotoAndPlay("gameover");
}
i = 0;
while (i < v.LEVEL1ENEMY) {
if ((((enemy5_obj.nom == v.level1_array[i]) and (enemy5_obj.screen == v.level1_array[i + 2])) and (enemy5_obj.startX == v.level1_array[i + 4])) and (enemy5_obj.endX == v.level1_array[i + 6])) {
trace("je d\u00E9truit l'array5");
v.level1_array[i] = "";
v.level1_array[i + 1] = "";
v.level1_array[i + 2] = "";
v.level1_array[i + 3] = "";
v.level1_array[i + 4] = "";
v.level1_array[i + 5] = "";
v.level1_array[i + 6] = "";
v.level1_array[i + 7] = "";
v.level1_array[i + 8] = "";
v.level1_array[i + 9] = "";
v.level1_array[i + 10] = "";
v.level1_array[i + 11] = "";
v.level1_array[i + 12] = "";
v.level1_array[i + 13] = "";
v.level1_array[i + 14] = "";
v.level1_array[i + 15] = "";
}
i++;
}
_parent.txtEnemyNum = v.enemyNumber;
enemy5_obj.shot = false;
enemy5_obj.beingShot = false;
v.animEnemyPlaying = false;
v.enemy5 = false;
enemy5_obj.action = "";
removeMovieClip(_parent.pan.bg.enemy5[enemy5_obj.nom]);
enemy5_obj = new Object();
enemy5_obj.action = "";
}
if (v.animPlaying) {
v.pause = true;
}
if ((!v.animPlaying) && (v.pause)) {
v.pause = false;
}
}
onClipEvent (mouseDown) {
if (v.fireEnabled and (!v.pause)) {
var x = (_parent._xmouse - _parent.laser._x);
var y = (_parent._ymouse - _parent.laser._y);
var angle = (Math.atan(y / x) / 0.017453);
if (x < 0) {
angle = angle - 180;
}
if ((x >= 0) && (y < 0)) {
angle = angle - 360;
}
_parent.laser._rotation = angle;
_parent.laser.beamXscale = Math.round(Math.sqrt((_parent.laser._xmouse * _parent.laser._xmouse) + (_parent.laser._ymouse * _parent.laser._ymouse)));
_parent.laser.beamXscale = _parent.laser.beamXscale - parent.laser.laser._x;
_parent.laser.gotoAndPlay("fire");
v.fireEnabled = false;
v.undefinedVar = 0;
var Interval = setInterval(timerShooter, 100);
}
}
Frame 8
function zapMove(monElement) {
monElement.onPress = function () {
if ((monElement._parent._name == "fuse") and (!v.notExploding)) {
} else if ((c.enemy1_obj.nom == monElement._parent._name) and (c.enemy1_obj.screen == v.activeWindow)) {
c.enemy1_obj.beingShot = true;
monElement._parent.gotoAndPlay("zap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy2_obj.nom == monElement._parent._name) and (c.enemy2_obj.screen == v.activeWindow)) {
c.enemy2_obj.beingShot = true;
monElement._parent.gotoAndPlay("zap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy3_obj.nom == monElement._parent._name) and (c.enemy3_obj.screen == v.activeWindow)) {
c.enemy3_obj.beingShot = true;
monElement._parent.gotoAndPlay("zap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy4_obj.nom == monElement._parent._name) and (c.enemy4_obj.screen == v.activeWindow)) {
c.enemy4_obj.beingShot = true;
monElement._parent.gotoAndPlay("zap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy5_obj.nom == monElement._parent._name) and (c.enemy5_obj.screen == v.activeWindow)) {
c.enemy5_obj.beingShot = true;
monElement._parent.gotoAndPlay("zap");
sound.playSound("zap", "sfxglobal");
}
};
}
function zapPopout(mv) {
mv.onPress = function () {
if ((c.enemy1_obj.nom == mv._parent._name) and (c.enemy1_obj.screen == v.activeWindow)) {
c.enemy1_obj.beingShot = true;
mv._parent.gotoAndPlay("popoutzap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy2_obj.nom == mv._parent._name) and (c.enemy2_obj.screen == v.activeWindow)) {
c.enemy2_obj.beingShot = true;
mv._parent.gotoAndPlay("popoutzap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy3_obj.nom == mv._parent._name) and (c.enemy3_obj.screen == v.activeWindow)) {
c.enemy3_obj.beingShot = true;
mv._parent.gotoAndPlay("popoutzap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy4_obj.nom == mv._parent._name) and (c.enemy4_obj.screen == v.activeWindow)) {
c.enemy4_obj.beingShot = true;
mv._parent.gotoAndPlay("popoutzap");
sound.playSound("zap", "sfxglobal");
} else if ((c.enemy5_obj.nom == mv._parent._name) and (c.enemy5_obj.screen == v.activeWindow)) {
c.enemy5_obj.beingShot = true;
mv._parent.gotoAndPlay("popoutzap");
sound.playSound("zap", "sfxglobal");
}
};
}
function screen1Arrows() {
}
function screen2Arrows() {
}
function screen3Arrows() {
}
function screen4Arrows() {
}
stop();
loadMovie ("FOP_Level2_8.swf", "loadMovie_mv");
loadMovie_mv._visible = false;
stop();
Instance of Symbol 1129 MovieClip "laser" in Frame 8
onClipEvent (load) {
}
onClipEvent (mouseDown) {
}
Instance of Symbol 1320 MovieClip [spatula] in Frame 8
/* no clip actions */
Instance of Symbol 1407 MovieClip in Frame 8
onClipEvent (load) {
function playSound(soundLabel, persoName) {
if ((soundLabel == "zap") or (soundLabel == "icebreak")) {
_parent.sfxglobal.gotoAndPlay(soundLabel);
} else if ((c.enemy1_obj.nom == persoName) and (v.activeWindow == c.enemy1_obj.screen)) {
_parent["sfx" + persoName].gotoAndPlay(soundLabel);
} else if ((c.enemy2_obj.nom == persoName) and (v.activeWindow == c.enemy2_obj.screen)) {
_parent["sfx" + persoName].gotoAndPlay(soundLabel);
} else if ((c.enemy3_obj.nom == persoName) and (v.activeWindow == c.enemy3_obj.screen)) {
_parent["sfx" + persoName].gotoAndPlay(soundLabel);
} else if ((c.enemy4_obj.nom == persoName) and (v.activeWindow == c.enemy4_obj.screen)) {
_parent["sfx" + persoName].gotoAndPlay(soundLabel);
} else if ((c.enemy5_obj.nom == persoName) and (v.activeWindow == c.enem5_obj.screen)) {
_parent["sfx" + persoName].gotoAndPlay(soundLabel);
}
}
if (_global.sound == null) {
_global.sound = new Object();
} else {
_global.sound = null;
_global.sound = new Object();
}
_global.sound = this;
}
Frame 9
stop();
Frame 10
stop();
Frame 11
function VersionDownload(tokenNumber) {
var version = getVersion();
var firstSpace = version.indexOf(" ");
var tempString = version.substring(firstSpace + 1, version.length);
var tempArray = tempString.split(",");
var thePlayer = new Object();
thePlayer.platform = version.substring(0, firstSpace);
thePlayer.majorVersion = parseInt(tempArray[0]);
thePlayer.minorVersion = parseInt(tempArray[1]);
thePlayer.build = parseInt(tempArray[2]);
thePlayer.patch = parseInt(tempArray[3]);
if (thePlayer.platform == "WIN") {
switch (tokenNumber) {
case "token1" :
getURL ("/games/data/fairlyoddparents/fop_superhero/negachin.exe", "_blank");
break;
case "token2" :
getURL ("/games/data/fairlyoddparents/fop_superhero/crocktopus.exe", "_blank");
break;
case "token3" :
getURL ("/games/data/fairlyoddparents/fop_superhero/baby_shredder.exe", "_blank");
break;
case "token4" :
getURL ("/games/data/fairlyoddparents/fop_superhero/bull_e.exe", "_blank");
}
} else if (thePlayer.platform == "MAC") {
switch (tokenNumber) {
case "token1" :
getURL ("/games/data/fairlyoddparents/fop_superhero/negachin.hqx", "_blank");
return;
case "token2" :
getURL ("/games/data/fairlyoddparents/fop_superhero/crocktopus.hqx", "_blank");
return;
case "token3" :
getURL ("/games/data/fairlyoddparents/fop_superhero/baby_shredder.hqx", "_blank");
return;
case "token4" :
getURL ("/games/data/fairlyoddparents/fop_superhero/bull_e.hqx", "_blank");
}
}
}
stop();
Instance of Symbol 1530 MovieClip in Frame 11
onClipEvent (load) {
if (_root.token1) {
this.stop();
} else {
nextFrame();
}
}
Instance of Symbol 1536 MovieClip in Frame 11
onClipEvent (load) {
if (_root.token2) {
this.stop();
} else {
nextFrame();
}
}
Instance of Symbol 1542 MovieClip in Frame 11
onClipEvent (load) {
if (_root.token3) {
this.stop();
} else {
nextFrame();
}
}
Instance of Symbol 1547 MovieClip in Frame 11
onClipEvent (load) {
if (_root.token4) {
this.stop();
} else {
nextFrame();
}
}
Instance of Symbol 1555 MovieClip in Frame 11
on (press) {
stopAllSounds();
_root.gotoAndPlay("playScreen");
}
Frame 12
stop();
Frame 24
loadMovie_mv._visible = true;
loadMovie_mv.play();
stop();
Frame 25
stop();
Symbol 93 MovieClip Frame 1
stop();
Symbol 215 MovieClip Frame 1
stop();
Symbol 271 Button
on (press) {
nextFrame();
}
Symbol 516 Button
on (press) {
nextFrame();
}
Symbol 519 Button
on (press) {
prevFrame();
}
Symbol 548 MovieClip Frame 1
stop();
Symbol 601 Button
on (press) {
_parent.gotoAndPlay("intro");
this.gotoAndStop("inactive");
}
Symbol 615 Button
on (press) {
prevFrame();
}
Symbol 616 MovieClip Frame 1
stop();
Instance of Symbol 495 MovieClip "blast" in Symbol 616 MovieClip Frame 3
onClipEvent (load) {
this._x = _parent.beamXscale;
}
Symbol 618 Button
on (press) {
gotoAndPlay (9);
}
Symbol 732 MovieClip Frame 21
stop();
Symbol 733 Button
on (press) {
instructions.gotoAndStop("active");
}
Symbol 738 MovieClip Frame 21
stop();
Symbol 739 Button
on (release) {
nextFrame();
}
Symbol 783 Button
on (press) {
nextFrame();
}
Symbol 804 Button
on (press) {
_parent.gotoAndPlay("start");
}
Symbol 805 MovieClip Frame 1
stop();
Symbol 893 MovieClip Frame 1
stop();
Instance of Symbol 589 MovieClip in Symbol 893 MovieClip Frame 2
onClipEvent (load) {
this.onPress = function () {
_parent._parent.scoreInterface.clock.gotoAndPlay(_currentframe + 1);
_parent.gotoAndPlay("inactive");
sound.playSound("icebreak");
};
}
Symbol 893 MovieClip Frame 90
gotoAndPlay (1);
Symbol 898 Button
on (press) {
trace("jappuie dessus");
token.gotoAndStop("active");
_root.token1 = true;
this.btnToken._visible = false;
}
Symbol 901 MovieClip Frame 27
_root.scoreInterface.tokenLevel1.play();
stop();
Symbol 902 MovieClip Frame 1
stop();
Symbol 902 MovieClip Frame 2
stop();
Symbol 912 MovieClip Frame 1
stop();
Instance of Symbol 195 MovieClip "light" in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(1900);
}
Instance of Symbol 144 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2099);
}
Instance of Symbol 155 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2100);
}
Instance of Symbol 144 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2200);
}
Instance of Symbol 199 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2102);
}
Instance of Symbol 239 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2800);
}
Instance of Symbol 195 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(2900);
}
Instance of Symbol 894 MovieClip "gun" in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(1000000);
}
Instance of Symbol 911 MovieClip in Symbol 914 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(10000000);
}
Symbol 929 Button
on (press) {
v.activeWindow = 1;
gotoAndPlay (7);
}
Symbol 930 Button
on (press) {
v.activeWindow = 2;
gotoAndPlay (16);
}
Symbol 931 Button
on (press) {
v.activeWindow = 3;
gotoAndPlay (25);
}
Symbol 932 Button
on (press) {
v.activeWindow = 4;
gotoAndPlay (34);
}
Symbol 937 MovieClip Frame 1
stop();
Symbol 937 MovieClip Frame 9
_parent.gotoAndPlay("game");
stop();
Symbol 937 MovieClip Frame 18
_parent.gotoAndPlay("game");
stop();
Symbol 937 MovieClip Frame 27
_parent.gotoAndPlay("game");
stop();
Symbol 937 MovieClip Frame 36
_parent.gotoAndPlay("game");
stop();
Symbol 939 MovieClip Frame 1
stop();
Symbol 939 MovieClip Frame 20
stop();
Symbol 948 MovieClip Frame 1
stop();
Symbol 948 MovieClip Frame 2
_parent._parent.timerContainer.stop();
Symbol 948 MovieClip Frame 150
_parent._parent.timerContainer.play();
Symbol 950 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 12
stop();
Symbol 997 MovieClip Frame 8
sound.playSound("drill", "mnc");
Symbol 997 MovieClip Frame 17
if (c.enemy1_obj.nom == "mnc") {
c.enemy1_obj.enemyState = "idle";
} else if (c.enemy2_obj.nom == "mnc") {
c.enemy2_obj.enemyState = "idle";
} else if (c.enemy3_obj.nom == "mnc") {
c.enemy3_obj.enemyState = "idle";
} else if (c.enemy4_obj.nom == "mnc") {
c.enemy4_obj.enemyState = "idle";
} else if (c.enemy5_obj.nom == "mnc") {
c.enemy5_obj.enemyState = "idle";
} else if (c.enemy6_obj.nom == "mnc") {
c.enemy6_obj.enemyState = "idle";
}
stop();
Symbol 997 MovieClip Frame 33
_parent.dirt.gotoAndPlay("digin");
Symbol 997 MovieClip Frame 40
if (c.enemy1_obj.nom == "mnc") {
c.enemy1_obj.enemyState = "end";
} else if (c.enemy2_obj.nom == "mnc") {
c.enemy2_obj.enemyState = "end";
} else if (c.enemy3_obj.nom == "mnc") {
c.enemy3_obj.enemyState = "end";
} else if (c.enemy4_obj.nom == "mnc") {
c.enemy4_obj.enemyState = "end";
} else if (c.enemy5_obj.nom == "mnc") {
c.enemy5_obj.enemyState = "end";
} else if (c.enemy6_obj.nom == "mnc") {
c.enemy6_obj.enemyState = "end";
}
stop();
Symbol 1020 MovieClip Frame 17
stop();
Symbol 1020 MovieClip Frame 37
stop();
Symbol 1027 MovieClip Frame 24
if (_parent._name == "mnc") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1029 MovieClip Frame 1
sound.playSound("popout", "mnc");
Symbol 1029 MovieClip Frame 8
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1029 MovieClip Frame 15
play();
Symbol 1029 MovieClip Frame 26
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1031 MovieClip [mnc] Frame 1
stop();
Instance of Symbol 997 MovieClip "digout" in Symbol 1031 MovieClip [mnc] Frame 2
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1031 MovieClip [mnc] Frame 42
stop();
Symbol 1031 MovieClip [mnc] Frame 43
stop();
Symbol 1031 MovieClip [mnc] Frame 44
stop();
Instance of Symbol 1029 MovieClip "popout" in Symbol 1031 MovieClip [mnc] Frame 44
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1031 MovieClip [mnc] Frame 45
stop();
Symbol 1059 MovieClip Frame 1
sound.playSound("boing", "boil");
Symbol 1069 MovieClip Frame 1
if ((_parent._name == c.enemy1_obj.nom) and (c.enemy1_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy2_obj.nom) and (c.enemy2_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy3_obj.nom) and (c.enemy3_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy4_obj.nom) and (c.enemy4_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy5_obj.nom) and (c.enemy5_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
}
Symbol 1069 MovieClip Frame 7
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1069 MovieClip Frame 29
play();
Symbol 1069 MovieClip Frame 34
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1070 MovieClip Frame 24
if (_parent._name == "aj") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1072 MovieClip [boil] Frame 1
stop();
Symbol 1072 MovieClip [boil] Frame 2
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
stop();
Symbol 1072 MovieClip [boil] Frame 3
stop();
Symbol 1072 MovieClip [boil] Frame 4
stop();
Symbol 1072 MovieClip [boil] Frame 5
stop();
Instance of Symbol 1069 MovieClip "popout" in Symbol 1072 MovieClip [boil] Frame 5
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1072 MovieClip [boil] Frame 6
stop();
Symbol 1077 MovieClip Frame 1
stop();
Symbol 1077 MovieClip Frame 10
gotoAndStop (1);
Symbol 1082 MovieClip Frame 1
stop();
Symbol 1082 MovieClip Frame 20
gotoAndStop (1);
Symbol 1082 MovieClip Frame 30
gotoAndStop (1);
Symbol 1086 MovieClip Frame 1
stop();
Symbol 1088 Button
on (rollOver) {
if ((v.bg_State == "TopLeft") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (6);
}
if ((v.bg_State == "BottomLeft") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (86);
}
}
Symbol 1089 Button
on (rollOver) {
if ((v.bg_State == "TopRight") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (15);
}
if ((v.bg_State == "TopLeft") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (60);
}
}
Symbol 1090 Button
on (rollOver) {
if ((v.bg_State == "TopLeft") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (42);
}
}
Symbol 1091 Button
on (rollOver) {
if ((v.bg_State == "BottomRight") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (24);
}
if ((v.bg_State == "TopRight") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (102);
}
}
Symbol 1092 Button
on (rollOver) {
if ((v.bg_State == "TopRight") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (78);
}
}
Symbol 1093 Button
on (rollOver) {
if ((v.bg_State == "BottomRight") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (94);
}
if ((v.bg_State == "BottomLeft") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (33);
}
}
Symbol 1094 Button
on (rollOver) {
if ((v.bg_State == "BottomRight") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (51);
}
}
Symbol 1095 Button
on (rollOver) {
if ((v.bg_State == "BottomLeft") and (!v.animPlaying)) {
v.pause = true;
gotoAndPlay (69);
}
}
Symbol 1096 MovieClip Frame 1
_parent.screen1Arrows();
v.activeWindow = 1;
stop();
Symbol 1096 MovieClip Frame 6
v.animPlaying = true;
Symbol 1096 MovieClip Frame 9
_parent.screen2Arrows();
if (bg.gun._x < 0) {
bg.gun._xscale = -100;
v.gunFlipped = true;
}
bg.gun._x = 384.4;
bg.gun._y = -23.6;
v.animPlaying = false;
v.activeWindow = 2;
v.bg_State = "TopRight";
stop();
Symbol 1096 MovieClip Frame 15
v.animPlaying = true;
Symbol 1096 MovieClip Frame 18
_parent.screen4Arrows();
if (bg.gun._x < 0) {
bg.gun._xscale = -100;
v.gunFlipped = true;
}
bg.gun._x = 376.6;
bg.gun._y = 345.1;
v.activeWindow = 4;
v.animPlaying = false;
v.bg_State = "BottomRight";
stop();
Symbol 1096 MovieClip Frame 24
v.animPlaying = true;
Symbol 1096 MovieClip Frame 27
_parent.screen3Arrows();
if (bg.gun._x > 0) {
bg.gun._xscale = 100;
v.gunFlipped = false;
}
bg.gun._x = -600.3;
bg.gun._y = 346.1;
v.animPlaying = false;
v.activeWindow = 3;
v.bg_State = "BottomLeft";
stop();
Symbol 1096 MovieClip Frame 33
v.animPlaying = true;
Symbol 1096 MovieClip Frame 36
_parent.screen1Arrows();
if (bg.gun._x > 0) {
bg.gun._xscale = 100;
v.gunFlipped = false;
}
bg.gun._x = -590.6;
bg.gun._y = -24.6;
v.activeWindow = 1;
v.animPlaying = false;
v.bg_State = "TopLeft";
stop();
Symbol 1096 MovieClip Frame 42
v.animPlaying = true;
Symbol 1096 MovieClip Frame 45
_parent.screen4Arrows();
if (bg.gun._x < 0) {
bg.gun._xscale = -100;
v.gunFlipped = true;
}
bg.gun._x = 376.6;
bg.gun._y = 345.1;
v.animPlaying = false;
v.activeWindow = 4;
v.bg_State = "BottomRight";
stop();
Symbol 1096 MovieClip Frame 51
v.animPlaying = true;
Symbol 1096 MovieClip Frame 54
_parent.screen1Arrows();
if (bg.gun._x > 0) {
bg.gun._xscale = 100;
v.gunFlipped = false;
}
bg.gun._x = -590.6;
bg.gun._y = -24.6;
v.activeWindow = 1;
v.animPlaying = false;
v.bg_State = "TopLeft";
stop();
Symbol 1096 MovieClip Frame 60
v.animPlaying = true;
Symbol 1096 MovieClip Frame 63
_parent.screen3Arrows();
if (bg.gun._x > 0) {
bg.gun._xscale = 100;
v.gunFlipped = false;
}
bg.gun._x = -600.3;
bg.gun._y = 346.1;
v.animPlaying = false;
v.activeWindow = 3;
v.bg_State = "BottomLeft";
stop();
Symbol 1096 MovieClip Frame 69
v.animPlaying = true;
Symbol 1096 MovieClip Frame 72
_parent.screen2Arrows();
if (bg.gun._x < 0) {
bg.gun._xscale = -100;
v.gunFlipped = true;
}
bg.gun._x = 384.4;
bg.gun._y = -23.6;
v.animPlaying = false;
v.activeWindow = 2;
v.bg_State = "TopRight";
stop();
Symbol 1096 MovieClip Frame 78
v.animPlaying = true;
Symbol 1096 MovieClip Frame 81
_parent.screen3Arrows();
if (bg.gun._x > 0) {
bg.gun._xscale = 100;
v.gunFlipped = false;
}
bg.gun._x = -600.3;
bg.gun._y = 346.1;
v.animPlaying = false;
v.activeWindow = 3;
v.bg_State = "BottomLeft";
stop();
Symbol 1096 MovieClip Frame 86
v.animPlaying = true;
Symbol 1096 MovieClip Frame 89
_parent.screen4Arrows();
if (bg.gun._x < 0) {
bg.gun._xscale = -100;
v.gunFlipped = true;
}
bg.gun._x = 376.6;
bg.gun._y = 345.1;
v.animPlaying = false;
v.activeWindow = 4;
v.bg_State = "BottomRight";
stop();
Symbol 1096 MovieClip Frame 94
v.animPlaying = true;
Symbol 1096 MovieClip Frame 97
if (bg.gun._x < 0) {
bg.gun._xscale = -100;
v.gunFlipped = true;
}
bg.gun._x = 384.4;
bg.gun._y = -23.6;
v.animPlaying = false;
v.activeWindow = 2;
v.bg_State = "TopRight";
stop();
Symbol 1096 MovieClip Frame 102
v.animPlaying = true;
Symbol 1096 MovieClip Frame 105
if (bg.gun._x > 0) {
bg.gun._xscale = 100;
v.gunFlipped = false;
}
bg.gun._x = -590.6;
bg.gun._y = -24.6;
v.activeWindow = 1;
v.animPlaying = false;
v.bg_State = "TopLeft";
stop();
Symbol 1106 Button
on (release) {
fcount = 0;
offset = getTimer();
}
Symbol 1107 MovieClip Frame 1
curtime = (getTimer() - offset) / 1000;
frate = Math.ceil(fcount / curtime);
fcount++;
Symbol 1107 MovieClip Frame 2
call(1);
Symbol 1107 MovieClip Frame 3
call(1);
Symbol 1107 MovieClip Frame 4
call(1);
Symbol 1107 MovieClip Frame 5
call(1);
Symbol 1107 MovieClip Frame 6
call(1);
Symbol 1107 MovieClip Frame 7
call(1);
Symbol 1107 MovieClip Frame 8
call(1);
Symbol 1107 MovieClip Frame 9
call(1);
Symbol 1107 MovieClip Frame 10
call(1);
Instance of Symbol 1107 MovieClip in Symbol 1108 MovieClip Frame 1
onClipEvent (load) {
offset = 0;
fcount = 1;
}
Symbol 1115 MovieClip Frame 1
stop();
Instance of Symbol 1109 MovieClip in Symbol 1115 MovieClip Frame 5
onClipEvent (load) {
this.onPress = function () {
v.score = v.score + 100;
_parent._parent.txtscore = v.score;
_parent.gotoAndPlay("czap");
};
}
Symbol 1115 MovieClip Frame 44
gotoAndPlay (1);
Instance of Symbol 1111 MovieClip "blast" in Symbol 1115 MovieClip Frame 45
onClipEvent (load) {
this._x = _parent.beamXscale;
}
Symbol 1115 MovieClip Frame 68
gotoAndPlay (1);
Symbol 1120 MovieClip Frame 1
if (v.LEVEL1_TIMER >= 60) {
minutes = 1;
if ((v.LEVEL1_TIMER - 60) < 10) {
seconds = "0" + (v.LEVEL1_TIMER - 60);
} else {
seconds = v.LEVEL1_TIMER - 60;
}
} else {
minutes = 0;
if (v.LEVEL1_TIMER < 10) {
seconds = "0" + v.LEVEL1_TIMER;
} else {
seconds = v.LEVEL1_TIMER;
}
}
Symbol 1120 MovieClip Frame 3
if ((v.timerFreezeBonus == v.LEVEL1_TIMER) or (v.timerFreezeBonus2 == v.LEVEL1_TIMER)) {
var timerXPos = random(300);
var timerYPos = random(300);
_parent.pan.bg.bonus._x = timerXPos + 50;
_parent.pan.bg.bonus._y = timerYPos + 50;
_parent.pan.bg.bonus.gotoAndPlay("freeze");
}
if (((v.crimBonus == v.LEVEL1_TIMER) or ((v.crimBonus * 2) == v.LEVEL1_TIMER)) or ((v.crimBonus * 3) == v.LEVEL1_TIMER)) {
var crimXPos = random(300);
var crimYPos = random(300);
_parent.pan.bg.crimBonus._x = crimXPos + 50;
_parent.pan.bg.crimBonus._y = crimYPos + 50;
_parent.pan.bg.crimBonus.gotoAndPlay("crimBonus");
}
Symbol 1120 MovieClip Frame 30
v.LEVEL1_TIMER--;
if ((v.LEVEL1_TIMER == 0) and ((v.NUMBER_ENEMY - v.enemyNumber) >= v.MINIMUM_ENEMY_TO_ZAP)) {
_parent.pan.bg.enemy1.removeMovieClip();
_parent.pan.bg.enemy2.removeMovieClip();
_parent.pan.bg.enemy3.removeMovieClip();
_parent.pan.bg.enemy4.removeMovieClip();
v.extraEnemyBonus = v.MINIMUM_ENEMY_TO_ZAP - (v.NUMBER_ENEMY - v.enemyNumber);
trace("v.enemyBonus number " + v.extraEnemyBonus);
_parent.gotoAndStop("highscore");
} else if (v.LEVEL1_TIMER == 0) {
_parent.gotoAndStop("gameover");
}
Symbol 1129 MovieClip Frame 1
stop();
Instance of Symbol 1111 MovieClip "blast" in Symbol 1129 MovieClip Frame 10
onClipEvent (load) {
this._x = _parent.beamXscale;
}
Instance of Symbol 1127 MovieClip in Symbol 1129 MovieClip Frame 10
onClipEvent (load) {
this._xscale = _parent.beamXscale - 13;
}
Symbol 1129 MovieClip Frame 15
_parent.li.gotoAndStop(1);
_parent.ri.gotoAndStop(1);
gotoAndStop (1);
Symbol 1133 MovieClip Frame 1
sound.playSound("popout", "bull");
play();
Symbol 1133 MovieClip Frame 2
play();
Symbol 1133 MovieClip Frame 6
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1133 MovieClip Frame 25
play();
Symbol 1133 MovieClip Frame 30
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
stop();
Symbol 1135 MovieClip Frame 1
sound.playSound("skid", "bull");
Symbol 1142 MovieClip Frame 16
sound.playSound("run", "bull");
Symbol 1142 MovieClip Frame 17
if ((c.enemy1_obj.nom == "bull") and c.enemy1_obj.enemyMoving) {
c.enemy1_obj.lineTime = true;
} else if ((c.enemy2_obj.nom == "bull") and c.enemy2_obj.enemyMoving) {
c.enemy2_obj.lineTime = true;
} else if ((c.enemy3_obj.nom == "bull") and c.enemy3_obj.enemyMoving) {
c.enemy3_obj.lineTime = true;
} else if ((c.enemy4_obj.nom == "bull") and c.enemy4_obj.enemyMoving) {
c.enemy4_obj.lineTime = true;
} else if ((c.enemy5_obj.nom == "bull") and c.enemy5_obj.enemyMoving) {
c.enemy5_obj.lineTime = true;
}
Symbol 1142 MovieClip Frame 22
stop();
Symbol 1150 MovieClip Frame 24
if (_parent._name == "bull") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1152 MovieClip [bull] Frame 1
stop();
Symbol 1152 MovieClip [bull] Frame 2
stop();
Instance of Symbol 1133 MovieClip "popout" in Symbol 1152 MovieClip [bull] Frame 2
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1152 MovieClip [bull] Frame 3
stop();
Instance of Symbol 1135 MovieClip "idle" in Symbol 1152 MovieClip [bull] Frame 3
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1152 MovieClip [bull] Frame 25
play();
Symbol 1152 MovieClip [bull] Frame 46
stop();
Symbol 1152 MovieClip [bull] Frame 47
stop();
Symbol 1152 MovieClip [bull] Frame 48
stop();
Symbol 1159 MovieClip Frame 1
v.loopDone = false;
Symbol 1159 MovieClip Frame 12
v.loopDone = true;
Symbol 1171 MovieClip Frame 24
if (_parent._name == "cosmo") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1173 MovieClip Frame 1
if ((_parent._name == c.enemy1_obj.nom) and (c.enemy1_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy2_obj.nom) and (c.enemy2_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy3_obj.nom) and (c.enemy3_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy4_obj.nom) and (c.enemy4_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy5_obj.nom) and (c.enemy5_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
}
Symbol 1173 MovieClip Frame 11
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1173 MovieClip Frame 39
play();
Symbol 1173 MovieClip Frame 45
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1175 MovieClip [cosmo] Frame 1
stop();
Symbol 1175 MovieClip [cosmo] Frame 2
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
stop();
Symbol 1175 MovieClip [cosmo] Frame 3
stop();
Symbol 1175 MovieClip [cosmo] Frame 4
stop();
Instance of Symbol 1166 MovieClip in Symbol 1175 MovieClip [cosmo] Frame 4
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1175 MovieClip [cosmo] Frame 5
stop();
Symbol 1175 MovieClip [cosmo] Frame 6
stop();
Instance of Symbol 1173 MovieClip "popout" in Symbol 1175 MovieClip [cosmo] Frame 6
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1175 MovieClip [cosmo] Frame 7
stop();
Symbol 1202 MovieClip Frame 1
v.loopDone = false;
Symbol 1202 MovieClip Frame 14
v.loopDone = true;
Symbol 1205 MovieClip Frame 50
stop();
Symbol 1210 MovieClip Frame 24
if (_parent._name == "wanda") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1212 MovieClip Frame 1
if ((_parent._name == c.enemy1_obj.nom) and (c.enemy1_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy2_obj.nom) and (c.enemy2_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy3_obj.nom) and (c.enemy3_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy4_obj.nom) and (c.enemy4_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy5_obj.nom) and (c.enemy5_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
}
Symbol 1212 MovieClip Frame 11
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1212 MovieClip Frame 46
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1214 MovieClip [wanda] Frame 1
stop();
Symbol 1214 MovieClip [wanda] Frame 2
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
Instance of Symbol 1205 MovieClip in Symbol 1214 MovieClip [wanda] Frame 33
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1214 MovieClip [wanda] Frame 34
stop();
Symbol 1214 MovieClip [wanda] Frame 35
stop();
Instance of Symbol 1212 MovieClip "popout" in Symbol 1214 MovieClip [wanda] Frame 35
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1214 MovieClip [wanda] Frame 36
stop();
Symbol 1234 MovieClip Frame 15
stop();
Symbol 1243 MovieClip Frame 2
sound.playSound("breath", "wolverine");
Symbol 1243 MovieClip Frame 28
stop();
Symbol 1250 MovieClip Frame 9
sound.playSound("popout", "wolverine");
Symbol 1250 MovieClip Frame 13
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1250 MovieClip Frame 27
play();
Symbol 1250 MovieClip Frame 39
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1261 MovieClip Frame 24
if (_parent._name == "wolverine") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1263 MovieClip [wolverine] Frame 1
stop();
Symbol 1263 MovieClip [wolverine] Frame 2
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = false;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = false;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = false;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = false;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = false;
}
play();
Symbol 1263 MovieClip [wolverine] Frame 11
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
Symbol 1263 MovieClip [wolverine] Frame 16
stop();
Symbol 1263 MovieClip [wolverine] Frame 32
stop();
Instance of Symbol 1243 MovieClip in Symbol 1263 MovieClip [wolverine] Frame 32
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Instance of Symbol 1250 MovieClip "popout" in Symbol 1263 MovieClip [wolverine] Frame 60
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1263 MovieClip [wolverine] Frame 78
stop();
Symbol 1263 MovieClip [wolverine] Frame 79
stop();
Symbol 1263 MovieClip [wolverine] Frame 97
stop();
Symbol 1279 MovieClip Frame 24
if (_parent._name == "aj") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1280 MovieClip Frame 1
sound.playSound("popout", "aj");
Symbol 1280 MovieClip Frame 7
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1280 MovieClip Frame 16
play();
Symbol 1280 MovieClip Frame 24
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
stop();
Symbol 1283 MovieClip [aj] Frame 1
stop();
Symbol 1283 MovieClip [aj] Frame 2
sound.playSound("fly", "aj");
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
stop();
Symbol 1283 MovieClip [aj] Frame 3
stop();
Instance of Symbol 1272 MovieClip in Symbol 1283 MovieClip [aj] Frame 3
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1283 MovieClip [aj] Frame 4
stop();
Symbol 1283 MovieClip [aj] Frame 5
stop();
Instance of Symbol 1280 MovieClip "popout" in Symbol 1283 MovieClip [aj] Frame 5
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1283 MovieClip [aj] Frame 6
stop();
Symbol 1285 MovieClip Frame 1
if (c.enemy1_obj.nom == this._name) {
c.enemy1_obj.animDoneCourse = true;
} else if (c.enemy2_obj.nom == this._name) {
c.enemy2_obj.animDoneCourse = true;
} else if (c.enemy3_obj.nom == this._name) {
c.enemy3_obj.animDoneCourse = true;
}
Symbol 1304 MovieClip Frame 49
stop();
Symbol 1315 MovieClip Frame 24
if (_parent._name == "spatula") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1318 MovieClip Frame 1
if ((_parent._name == c.enemy1_obj.nom) and (c.enemy1_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy2_obj.nom) and (c.enemy2_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy3_obj.nom) and (c.enemy3_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy4_obj.nom) and (c.enemy4_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy5_obj.nom) and (c.enemy5_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
}
Symbol 1318 MovieClip Frame 7
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1318 MovieClip Frame 15
play();
Symbol 1318 MovieClip Frame 24
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1320 MovieClip [spatula] Frame 1
stop();
Symbol 1320 MovieClip [spatula] Frame 2
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
stop();
Symbol 1320 MovieClip [spatula] Frame 3
stop();
Instance of Symbol 1304 MovieClip in Symbol 1320 MovieClip [spatula] Frame 3
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1320 MovieClip [spatula] Frame 4
stop();
Symbol 1320 MovieClip [spatula] Frame 5
stop();
Instance of Symbol 1318 MovieClip "popout" in Symbol 1320 MovieClip [spatula] Frame 5
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1320 MovieClip [spatula] Frame 6
stop();
Symbol 1334 MovieClip Frame 11
sound.playSound("crumbpaper", "Crocktopus");
Symbol 1343 MovieClip Frame 24
v.lineTime = true;
Symbol 1343 MovieClip Frame 28
if (c.enemy1_obj.nom == "Crocktopus") {
c.enemy1_obj.animDone = true;
} else if (c.enemy2_obj.nom == "Crocktopus") {
c.enemy2_obj.animDone = true;
} else if (c.enemy3_obj.nom == "Crocktopus") {
c.enemy3_obj.animDone = true;
} else if (c.enemy4_obj.nom == "Crocktopus") {
c.enemy4_obj.animDone = true;
} else if (c.enemy5_obj.nom == "Crocktopus") {
c.enemy5_obj.animDone = true;
}
stop();
Symbol 1352 MovieClip Frame 24
if (_parent._name == "Crocktopus") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1354 MovieClip Frame 1
if ((_parent._name == c.enemy1_obj.nom) and (c.enemy1_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy2_obj.nom) and (c.enemy2_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy3_obj.nom) and (c.enemy3_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy4_obj.nom) and (c.enemy4_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
} else if ((_parent._name == c.enemy5_obj.nom) and (c.enemy5_obj.screen == v.activeWindow)) {
sound.playSound("popout", "");
}
Symbol 1354 MovieClip Frame 13
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1354 MovieClip Frame 18
play();
Symbol 1354 MovieClip Frame 33
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1356 MovieClip [crocktopus] Frame 1
stop();
Symbol 1356 MovieClip [crocktopus] Frame 2
stop();
Symbol 1356 MovieClip [crocktopus] Frame 3
stop();
Instance of Symbol 1345 MovieClip in Symbol 1356 MovieClip [crocktopus] Frame 3
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1356 MovieClip [crocktopus] Frame 4
stop();
Symbol 1356 MovieClip [crocktopus] Frame 5
stop();
Instance of Symbol 1354 MovieClip "popout" in Symbol 1356 MovieClip [crocktopus] Frame 5
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1356 MovieClip [crocktopus] Frame 6
stop();
Symbol 1381 MovieClip Frame 1
v.notExploding = true;
trace(v.notExploding + " v.nomExploding");
Symbol 1381 MovieClip Frame 53
sound.playSound("explosion", "fuse");
v.notExploding = false;
Symbol 1381 MovieClip Frame 68
if ((c.enemy1_obj.nom == "fuse") and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDone = true;
} else if ((c.enemy2_obj.nom == "fuse") and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDone = true;
} else if ((c.enemy3_obj.nom == "fuse") and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDone = true;
} else if ((c.enemy4_obj.nom == "fuse") and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDone = true;
} else if ((c.enemy5_obj.nom == "fuse") and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDone = true;
}
stop();
Symbol 1388 MovieClip Frame 24
if (_parent._name == "fuse") {
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
} else if ((c.enemy1_obj.nom == _parent._parent._name) and c.enemy1_obj.beingShot) {
c.enemy1_obj.shot = true;
} else if ((c.enemy2_obj.nom == _parent._parent._name) and c.enemy2_obj.beingShot) {
c.enemy2_obj.shot = true;
} else if ((c.enemy3_obj.nom == _parent._parent._name) and c.enemy3_obj.beingShot) {
c.enemy3_obj.shot = true;
} else if ((c.enemy4_obj.nom == _parent._parent._name) and c.enemy4_obj.beingShot) {
c.enemy4_obj.shot = true;
} else if ((c.enemy5_obj.nom == _parent._parent._name) and c.enemy5_obj.beingShot) {
c.enemy5_obj.shot = true;
}
stop();
Symbol 1391 MovieClip Frame 7
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.poppedout = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.poppedout = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.poppedout = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.poppedout = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.poppedout = true;
}
stop();
Symbol 1391 MovieClip Frame 39
play();
Symbol 1391 MovieClip Frame 45
if ((c.enemy1_obj.nom == _parent._name) and c.enemy1_obj.enemyPopout) {
c.enemy1_obj.finpopped = true;
} else if ((c.enemy2_obj.nom == _parent._name) and c.enemy2_obj.enemyPopout) {
c.enemy2_obj.finpopped = true;
} else if ((c.enemy3_obj.nom == _parent._name) and c.enemy3_obj.enemyPopout) {
c.enemy3_obj.finpopped = true;
} else if ((c.enemy4_obj.nom == _parent._name) and c.enemy4_obj.enemyPopout) {
c.enemy4_obj.finpopped = true;
} else if ((c.enemy5_obj.nom == _parent._name) and c.enemy5_obj.enemyPopout) {
c.enemy5_obj.finpopped = true;
}
stop();
Symbol 1393 MovieClip [fuse] Frame 1
stop();
Symbol 1393 MovieClip [fuse] Frame 2
if ((c.enemy1_obj.nom == this._name) and c.enemy1_obj.enemyFlying) {
c.enemy1_obj.animDoneCourse = true;
} else if ((c.enemy2_obj.nom == this._name) and c.enemy2_obj.enemyFlying) {
c.enemy2_obj.animDoneCourse = true;
} else if ((c.enemy3_obj.nom == this._name) and c.enemy3_obj.enemyFlying) {
c.enemy3_obj.animDoneCourse = true;
} else if ((c.enemy4_obj.nom == this._name) and c.enemy4_obj.enemyFlying) {
c.enemy4_obj.animDoneCourse = true;
} else if ((c.enemy5_obj.nom == this._name) and c.enemy5_obj.enemyFlying) {
c.enemy5_obj.animDoneCourse = true;
}
stop();
Symbol 1393 MovieClip [fuse] Frame 3
stop();
Instance of Symbol 1381 MovieClip in Symbol 1393 MovieClip [fuse] Frame 3
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapMove(this);
}
Symbol 1393 MovieClip [fuse] Frame 4
stop();
Symbol 1393 MovieClip [fuse] Frame 5
stop();
Instance of Symbol 1391 MovieClip "popout" in Symbol 1393 MovieClip [fuse] Frame 5
onClipEvent (load) {
_parent._parent._parent._parent._parent.zapPopout(this);
}
Symbol 1393 MovieClip [fuse] Frame 6
stop();
Symbol 1399 MovieClip Frame 1
stop();
Symbol 1399 MovieClip Frame 13
gotoAndPlay (1);
Symbol 1399 MovieClip Frame 44
gotoAndPlay (1);
Symbol 1399 MovieClip Frame 63
gotoAndPlay (1);
Symbol 1403 MovieClip Frame 1
stop();
Symbol 1403 MovieClip Frame 13
gotoAndPlay (1);
Symbol 1403 MovieClip Frame 63
gotoAndPlay (1);
Symbol 1403 MovieClip Frame 82
gotoAndPlay (1);
Symbol 1407 MovieClip Frame 1
stop();
Symbol 1412 MovieClip Frame 1
stop();
Symbol 1412 MovieClip Frame 2
trace("playedSound");
Symbol 1412 MovieClip Frame 16
gotoAndStop (1);
Symbol 1416 MovieClip Frame 1
stop();
Symbol 1416 MovieClip Frame 2
trace("playedSound");
Symbol 1416 MovieClip Frame 22
gotoAndStop (1);
Symbol 1416 MovieClip Frame 32
gotoAndStop (1);
Symbol 1420 MovieClip Frame 1
stop();
Symbol 1420 MovieClip Frame 11
gotoAndStop (1);
Symbol 1420 MovieClip Frame 31
gotoAndStop (1);
Symbol 1424 MovieClip Frame 1
stop();
Symbol 1424 MovieClip Frame 2
trace("playedSound");
Symbol 1424 MovieClip Frame 11
gotoAndStop (1);
Symbol 1424 MovieClip Frame 25
gotoAndStop (1);
Symbol 1428 Button
on (press) {
v.activeWindow = 1;
gotoAndPlay (5);
}
Symbol 1429 Button
on (press) {
v.activeWindow = 2;
gotoAndPlay (14);
}
Symbol 1430 Button
on (press) {
v.activeWindow = 3;
gotoAndPlay (24);
}
Symbol 1431 Button
on (press) {
v.activeWindow = 4;
gotoAndPlay (32);
}
Instance of Symbol 1438 MovieClip in Symbol 1439 MovieClip Frame 1
onClipEvent (load) {
if (!_root.token1) {
this._visible = false;
}
}
Symbol 1440 MovieClip Frame 1
switch (v.activeWindow) {
case 1 :
gotoAndPlay (5);
break;
case 2 :
gotoAndPlay (14);
break;
case 3 :
gotoAndPlay (24);
break;
case 4 :
gotoAndPlay (32);
}
stop();
Symbol 1440 MovieClip Frame 5
play();
Symbol 1440 MovieClip Frame 9
var tempEnemyShot = (v.NUMBER_ENEMY - v.enemyNumber);
i = 0;
while (i <= tempEnemyShot) {
prison.prison["window" + i].gotoAndStop("active");
i++;
}
stop();
Symbol 1440 MovieClip Frame 14
play();
Symbol 1440 MovieClip Frame 18
var tempEnemyShot = (v.NUMBER_ENEMY - v.enemyNumber);
i = 0;
while (i <= tempEnemyShot) {
prison.prison["window" + i].gotoAndStop("active");
i++;
}
stop();
Symbol 1440 MovieClip Frame 24
play();
Symbol 1440 MovieClip Frame 27
var tempEnemyShot = (v.NUMBER_ENEMY - v.enemyNumber);
i = 0;
while (i <= tempEnemyShot) {
prison.prison["window" + i].gotoAndStop("active");
i++;
}
stop();
Symbol 1440 MovieClip Frame 32
play();
Symbol 1440 MovieClip Frame 36
var tempEnemyShot = (v.NUMBER_ENEMY - v.enemyNumber);
i = 0;
while (i <= tempEnemyShot) {
prison.prison["window" + i].gotoAndStop("active");
i++;
}
stop();
Symbol 1443 MovieClip Frame 1
if (v.LEVEL1_TIMER >= 60) {
minutes = 1;
if ((v.LEVEL1_TIMER - 60) < 10) {
seconds = "0" + (v.LEVEL1_TIMER - 60);
} else {
seconds = v.LEVEL1_TIMER - 60;
}
} else {
minutes = 0;
if (v.LEVEL1_TIMER < 10) {
seconds = "0" + v.LEVEL1_TIMER;
} else {
seconds = v.LEVEL1_TIMER;
}
}
Symbol 1447 MovieClip Frame 10
if (v.LEVEL1_TIMER > 0) {
v.LEVEL1_TIMER--;
if (v.LEVEL1_TIMER >= 60) {
_parent.timerContainer.minutes = 1;
var second = (v.LEVEL1_TIMER - 60);
if (second < 10) {
_parent.timerContainer.seconds = "0" + second;
} else {
_parent.timerContainer.seconds = second;
}
} else if (v.LEVEL1_TIMER < 10) {
_parent.timerContainer.seconds = "0" + v.LEVEL1_TIMER;
} else {
_parent.timerContainer.seconds = v.LEVEL1_TIMER;
}
v.score = v.score + 35;
_parent.txtscore = v.score;
} else if (v.extraEnemyBonus > 0) {
_parent.txtEnemyNum = v.enemyNumber;
v.score = v.score + (25 * v.extraEnemyBonus);
v.extraEnemyBonus = 0;
_parent.txtscore = v.score;
} else if (v.friendKilledNumber > 0) {
v.friendKilledNumber--;
_parent.txtFriendNum = v.friendKilledNumber;
v.score = v.score + 100;
_parent.txtscore = v.score;
} else {
_root.score = v.score;
gotoAndPlay (12);
}
Symbol 1447 MovieClip Frame 11
gotoAndPlay (10);
Symbol 1447 MovieClip Frame 54
_parent.gotoAndPlay("transition");
Symbol 1517 MovieClip Frame 101
stop();
Instance of Symbol 1516 MovieClip in Symbol 1517 MovieClip Frame 101
on (press) {
stopAllSounds();
_root.gotoAndPlay("tokens");
}
Symbol 1521 Button
on (press) {
var temp = "token1";
_parent.VersionDownload(temp);
}
Symbol 1534 Button
on (press) {
var temp = "token2";
_parent.VersionDownload(temp);
}
Symbol 1540 Button
on (press) {
var temp = "token3";
_parent.VersionDownload(temp);
}
Symbol 1545 Button
on (press) {
var temp = "token4";
_parent.VersionDownload(temp);
}
Symbol 1558 Button
on (press) {
gotoAndPlay (1);
}
Symbol 1561 Button
on (press) {
loadMovie ("FOP_Level2_3.swf", "loadMovie");
gotoAndStop (24);
}
Symbol 1683 Button
on (press) {
play();
}
Symbol 1849 Button
on (press) {
_parent.gotoAndStop("level2");
}
Symbol 1850 MovieClip Frame 70
stop();
Symbol 1850 MovieClip Frame 129
stop();
Symbol 1850 MovieClip Frame 200
stop();
Symbol 1850 MovieClip Frame 265
stop();