Frame 1
_global.oGame = new Object();
_global.oPerso = new Object();
_root.gVersionNum = "1.0";
fscommand ("showmenu", "false");
loadVariablesNum ("TestVariables.txt", 0);
pLoadInit = false;
pTrackLoadCalled = false;
if (/:gGameID eq "") {
Set("/:gGameID", "game_template_NO_ID");
}
if (/:gHSRoot_swf eq "") {
Set("/:gHSRoot_swf", "http://www2.warnerbros.com/games/med/");
}
if (/:gHSRoot_jsp eq "") {
Set("/:gHSRoot_jsp", "http://www2.warnerbros.com/web/load_variables/games/");
}
if (/:gHSRoot_top100 eq "") {
Set("/:gHSRoot_top100", "http://www2.warnerbros.com/web/games/");
}
function cTimer() {
this.startTime = getTimer();
}
cTimer.prototype.restartTimer = function () {
this.startTime = getTimer();
};
cTimer.prototype.milliseconds = function () {
return(getTimer() - this.startTime);
};
cTimer.prototype.seconds = function () {
return(int((getTimer() - this.startTime) / 1000));
};
iLevelPauseTimer = new cTimer();
Frame 3
urlTemp = new String(this._url);
if (urlTemp.lastIndexOf("/") == -1) {
lastCar = urlTemp.lastIndexOf("\\");
} else {
lastCar = urlTemp.lastIndexOf("/");
}
_global.path = urlTemp.substring(0, lastCar + 1);
sounds.loadMovie("http://pdl.warnerbros.com/wbol/us/batman/games/Sound.swf", _level1);
Frame 4
Set("_level0:gWTE_FL", _framesloaded);
Set("_level0:gWTE_PL", int((_level0:gWTE_FL / _level0:gWTE_TF) * 100));
Set("_level0:gWTE_PLtxt", _level0:gWTE_PL add "%");
if (sounds.getBytesTotal() != 4) {
loading = sounds.getBytesLoaded() + _root.getBytesLoaded();
total = 1188604 /* 0x1222FC */;
percent = percent - ((percent - ((loading / total) * 100)) * 0.25);
Loaderframe = Math.floor((int(percent) / 4) + 1);
mc_percent.gotoAndStop(Loaderframe);
if (loading >= total) {
ifFrameLoaded (68) {
gotoAndPlay ("loaded");
}
}
}
if (pLoadInit != true) {
Set("/:gGameState", "LOADING");
pLoadStartTime = int(getTimer() / 1000);
tellTarget ("/hs_scripts") {
call("mLoading");
};
pLoadInit = true;
}
if (/:gHSTrackLoad && (pTrackLoadCalled != true)) {
loadVariablesNum ((((("/tracking.html?game=" add /:gGameID) add "&stage=0&timer=") add pLoadStartTime) add "&random_id=") add pLoadStartTime, 0);
pTrackLoadCalled = true;
}
Frame 6
gotoAndPlay ("loading");
Instance of Symbol 460 MovieClip [BGHit_l1_2] in Frame 9
/* no clip actions */
Instance of Symbol 517 MovieClip [BGHit_l1_4] in Frame 9
/* no clip actions */
Instance of Symbol 533 MovieClip [BGHit_l1_6] " " in Frame 9
/* no clip actions */
Instance of Symbol 594 MovieClip [BGHit_l1_8] in Frame 9
/* no clip actions */
Instance of Symbol 602 MovieClip [BGHit_l1_7] in Frame 9
/* no clip actions */
Instance of Symbol 630 MovieClip [BGHit_l1_1] in Frame 9
/* no clip actions */
Frame 15
stop();
tellTarget ("/hs_scripts") {
call("mLoaded");
};
Frame 28
tellTarget ("/hs_scripts") {
call("mPlay");
};
Frame 31
tellTarget ("/hs_scripts") {
call("mLevelStart");
};
Instance of Symbol 1001 MovieClip "transitR" in Frame 39
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1001 MovieClip "transitL" in Frame 39
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1001 MovieClip "transitD" in Frame 39
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1001 MovieClip "transitU" in Frame 39
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1697 MovieClip "moveZone" in Frame 39
onClipEvent (load) {
_global.oGame.moveZone = this;
}
Instance of Symbol 1742 MovieClip in Frame 39
onClipEvent (load) {
_global.oGame.transitionPerso = this;
this.hideMe = function () {
gotoAndStop (1);
clearInterval(waiting);
};
}
Frame 40
function death() {
var _local1 = _global;
_local1.oPerso.persoIsDying = true;
batmanLifeBar.life["life_" + _local1.oPerso.persoLife].removeMovieClip();
_local1.oPerso.persoLife--;
_local1.oGame.lifelost = _local1.oGame.lifelost + 1;
_local1.oGame.persoAnim("death");
}
Array.prototype.deleteOne = function (element) {
var _local1 = this;
var _local2 = element;
thisLength = _local1.length;
i = 0;
while (i < thisLength) {
if (_local1[i] == _local2) {
_local1.splice(i, 1);
return;
}
i++;
}
};
Array.prototype.getPos = function (element) {
var _local1 = this;
var _local2 = element;
thisLength = _local1.length;
i = 0;
while (i < thisLength) {
if (_local1[i] == _local2) {
return(i);
}
i++;
}
return(null);
};
_global.b.addListener(_global.oGame);
_global.oGame.onPause = function () {
stop();
};
_global.oGame.onPlay = function () {
play();
};
_global.oGame.level1 = new Object();
_global.oGame.level2 = new Object();
_global.oGame.level3 = new Object();
_global.oGame.mover = new Array();
_global.oGame.SwitchList = new Array();
_global.oGame.LaserHitZone = new Array();
_global.oGame.AttackHitZone = new Array();
_global.oGame.LampHitZone = new Array();
_global.oGame.BadGuysHitZone = new Array();
_global.oGame.level1.domeBrise = new Array();
_global.oGame.level1.porte = new Array();
_global.oGame.level2.domeBrise = new Array();
_global.oGame.level2.porte = new Array();
_global.oGame.level3.porte = new Array();
_global.oGame.level1.lamp = new Array();
_global.oGame.lifelost = 0;
_global.oGame.dome = new Array();
_global.oGame.enemyTab = new Array();
_global.oGame.damagedEnemyTab = new Array();
i = 0;
while (i < 4) {
_global.oGame.level1.domeBrise[i] = false;
i++;
}
i = 0;
while (i < 6) {
_global.oGame.level1.porte[i] = false;
i++;
}
i = 0;
while (i < 8) {
_global.oGame.level1.lamp[i] = false;
i++;
}
i = 0;
while (i < 1) {
_global.oGame.level2.domeBrise[i] = false;
i++;
}
i = 0;
while (i < 7) {
_global.oGame.level2.porte[i] = false;
i++;
}
i = 0;
while (i < 9) {
_global.oGame.level3.porte[i] = false;
i++;
}
_global.oGame.level1.bg1 = [0, 0, 50, 300, -1, 1, -1, 1];
_global.oGame.level1.bg2 = [1, 0, 20, 100, -1, 1, -1, 1];
_global.oGame.level1.bg3 = [2, 0, 20, 300, -1, 1, 1, 1];
_global.oGame.level1.bg4 = [2, -1, 100, 100, -1, 1, 1, 1];
_global.oGame.level1.bg5 = [3, -1, 20, 100, -1, 1, 1, 1];
_global.oGame.level1.bg6 = [3, 0, 50, 300, -1, 1, 1, 1];
_global.oGame.level1.bg7 = [4, 0, 50, 200, -1, 1, 1, 1];
_global.oGame.level1.bg8 = [5, 0, 20, 100, -1, 1, -1, 1];
_global.oGame.level2.bg1 = [0, 0, 400, 100, -1, 1, -1, 1];
_global.oGame.level2.bg2 = [0, 1, 20, 100, -1, 1, -1, 1];
_global.oGame.level2.bg3 = [1, 1, 20, 300, -1, 1, -1, 1];
_global.oGame.level2.bg4 = [2, 1, 450, 125, -1, 1, -1, 1];
_global.oGame.level2.bg5 = [2, 2, 20, 100, -1, 1, 1, 1];
_global.oGame.level2.bg6 = [2, 1, 50, 300, -1, 1, 1, 1];
_global.oGame.level2.bg7 = [2, 0, 50, 200, -1, 1, -1, 1];
_global.oGame.level2.bg8 = [5, 0, 20, 100, -1, 1, -1, 1];
_global.oGame.level2.bg9 = [5, 0, 30, 300, -1, 1, -1, 1];
_global.oGame.level3.bg1 = [0, 0, 326, 226, 1, 2, 1, 1, 200, 215];
_global.oGame.level3.bg2 = [0, 1, 350, 220, 1, 3, -1, 1, 240, 125];
_global.oGame.level3.bg3 = [1, 1, 20, 300, -2, 4, 1, 1];
_global.oGame.level3.bg4 = [2, 1, 250, 300, -1, 1, 1, -1];
_global.oGame.level3.bg5 = [2, 2, 50, 120, 1, 3, 1, 1];
_global.oGame.level3.bg6 = [2, 1, 250, 120, 1, 1, -1, 1];
_global.oGame.level3.bg7 = [2, 0, 50, 200, -4, 2, -1, 1];
_global.oGame.level3.bg8 = [5, 0, 50, 210, -3, 1, -1, 1];
_global.oGame.level3.bg9 = [5, 0, 50, 300, -2, 1, -1, 1];
_global.oGame.level2.stage = 0;
_global.oGame.level3.stage = -1;
_global.oGame.freeze = false;
_global.oGame.laserDamage = 3;
_global.oGame.BombDamage = 5;
_global.oGame.gamePaused = false;
_global.oGame.quiting = false;
_global.oGame.clockStop = false;
_global.oGame.scoreTotal = 0;
scoreDisplay.scoreText.text = _global.oGame.scoreTotal;
_global.oGame.transitAccel = 3.5;
_global.oGame.damagedEnemyNum = 0;
_global.oGame.accroche = 8;
_global.oGame.inTransit = 0;
_global.oGame.transitNewX = 0;
_global.oGame.transitXSpeed = 0;
_global.oGame.transitNewY = 0;
_global.oGame.transitYSpeed = 0;
_global.oGame.BGVCur = 1;
_global.oGame.BGLast = 1;
_global.oGame.BGCur = 1;
_global.oGame.CurrentBG = 1;
_global.oGame.BGWidth = 500;
_global.oGame.BGHeight = 375;
_global.oGame.level = 1;
_global.oGame.moveZone.attachMovie(("BGHit_l" + _global.oGame.level) + "_1", "BG_1", 1);
_global.oGame.moveZone.BG_1._x = 0;
_global.oGame.moveZone.BG_1._y = 0;
_global.oGame.moveZone._x = 500 * (-eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[0]);
_global.oGame.moveZone._y = 375 * (-eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[1]);
_global.oGame.LastConsoleText = 0;
_global.oGame.consoleText0 = "";
_global.oGame.consoleText1 = "The door has been forced";
_global.oGame.consoleText2 = "This explosive device can be lethal!";
_global.oGame.consoleText3 = "Don't touch the pulsating beam!";
_global.oGame.consoleText4 = "Spacebar to use the Batrope";
_global.oGame.consoleText5 = "Spacebar to activate the switch";
_global.oGame.consoleText6 = "This door is locked";
_global.oGame.consoleText7 = "Make a jump if you want to brake the roof window";
_global.oGame.consoleText8 = "Dodge the fragments grenade by using the down arrow";
_global.oGame.consoleText9 = "Spacebar to use the elevator";
_global.oGame.consoleText10 = "Too high to reach by a jump";
_global.oGame.consoleText11 = "Jump on the computer consoles if you want to reach upper floor";
_global.oGame.consoleText12 = "A shielded door has been open!";
_global.oGame.consoleText13 = "A shielded ceiling trap has been open!";
_global.oGame.consoleText14 = "Time your jump with the moving platform";
_global.oGame.consoleText15 = "This corridor is overly trapped!";
_global.oGame.consoleText16 = "A shielded floor trap has been open!";
_global.oGame.consoleText17 = "Mr. Freeze is steeling an energy amplifier!";
_global.oGame.consoleText18 = "This vent is too small for Batman";
_global.oGame.consoleText19 = "The space rocket is the only way to catch Mr. Freeze";
_global.oGame.consoleText20 = "Mr. Freeze escapes by a secret door!";
_global.oGame.consoleText21 = "Mr Freeze has activated the cannon!";
_global.oGame.consoleText22 = "You must stop the countdown!";
if (_global.oGame.level == 1) {
_global.oPerso.perso._x = 50;
_global.oPerso.perso._y = 300;
} else if (_global.oGame.level == 2) {
_global.oPerso.perso._x = 400;
_global.oPerso.perso._y = 100;
} else if (_global.oGame.level == 3) {
_global.oPerso.perso._x = 4000;
_global.oPerso.perso._y = 4000;
}
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
_global.oPerso.persoIsBusy = false;
_global.oPerso.persoIsBouncing = false;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoIsRunning = false;
_global.oPerso.persoIsJumping = false;
_global.oPerso.persoIsFalling = false;
_global.oPerso.persoIsDucking = false;
_global.oPerso.persoIsLanding = false;
_global.oPerso.persoIsAttacking = false;
_global.oPerso.persoIsInPain = false;
_global.oPerso.persoIsDying = false;
_global.oPerso.persoIsTeleporting = false;
_global.oPerso.persoIsReturning = false;
_global.oPerso.PersoIsThrowing = false;
_global.oPerso.IsBatman = true;
_global.oPerso.persoCurAction = "idle";
_global.oPerso.projectileDepth = 200;
_global.oPerso.persoJumpSpeed = 13;
_global.oPerso.persoJumpDecel = 2;
_global.oPerso.persoXAccel = 1;
_global.oPerso.persoXDecel = 4;
_global.oPerso.persoMaxXSpeed = 14;
_global.oPerso.persoMaxYSpeed = 26;
_global.oPerso.persoLife = 3;
_global.oPerso.persoFullHealth = 30;
_global.oPerso.persoHealth = 30;
_global.KeyListener = new Object();
_global.KeyListener.upPress = false;
_global.KeyListener.downPress = false;
_global.KeyListener.leftPress = false;
_global.KeyListener.rightPress = false;
_global.KeyListener.spacePress = false;
_global.KeyListener.ctrlPress = false;
_global.KeyListener.shiftPress = false;
_global.KeyListener.stillPressingKeyAtt = false;
_global.KeyListener.stillPressingKeyUp = false;
_global.KeyListener.onKeyUp = function () {
var _local1 = this;
switch (Key.getCode()) {
case 38 :
_local1.upPress = false;
_local1.stillPressingKeyUp = false;
return;
case 40 :
_local1.downPress = false;
return;
case 37 :
_local1.leftPress = false;
return;
case 39 :
_local1.rightPress = false;
return;
case 17 :
_local1.ctrlPress = false;
_local1.stillPressingKeyAtt = false;
return;
case 16 :
_local1.shiftPress = false;
return;
case 32 :
_local1.spacePress = false;
}
};
_global.KeyListener.onKeyDown = function () {
var _local1 = this;
switch (Key.getCode()) {
case 38 :
_local1.upPress = true;
return;
case 40 :
_local1.downPress = true;
return;
case 37 :
_local1.leftPress = true;
return;
case 39 :
_local1.rightPress = true;
return;
case 32 :
_local1.spacePress = true;
return;
case 17 :
_local1.ctrlPress = true;
return;
case 16 :
_local1.shiftPress = true;
}
};
Key.addListener(_global.KeyListener);
_global.oGame.PlaySound = function (theSound, loop) {
sounds.startsound(theSound, loop);
};
_global.oGame.StopSound = function (theSound) {
sounds.Stopsound(theSound);
};
_global.oGame.ChangeVolume = function (theSound, volume) {
sounds.SetSoundVolume(theSound, volume);
};
_global.oGame.PlaySound("Musique" + _global.oGame.level, 999);
_global.oGame.displayLife = function () {
var _local1 = _global;
a = 1;
while (a <= _local1.oPerso.persoLife) {
batmanLifeBar.life.attachMovie("life", "life_" + a, a);
batmanLifeBar.life["life_" + a]._x = (a * 23) + 10;
a++;
}
};
_global.oGame.displayLife();
_global.oGame.addMeToMovingList = function (obj) {
if (obj != undefined) {
_global.oGame.mover.push(obj);
}
};
_global.oGame.RemoveFromMovingList = function (obj) {
_global.oGame.mover.deleteOne(obj);
};
_global.oGame.addMeToDome = function (obj) {
if (eval (("_global.oGame.level" + _global.oGame.level) + ".domeBrise")[obj.DomeNumber]) {
obj._parent._parent.dome.gotoAndStop("briser");
obj.gotoAndStop(2);
} else {
_global.oGame.dome.push(obj);
}
};
_global.oGame.RemoveFromDome = function (obj) {
_global.oGame.dome.deleteOne(obj);
};
_global.oGame.AddSwitchPorte = function (obj) {
if (eval (("_global.oGame.level" + _global.oGame.level) + ".porte")[obj.ObjectNumber]) {
obj.doAction();
} else {
_global.oGame.SwitchList.push(obj);
}
};
_global.oGame.RemoveSwitchPorte = function (obj) {
_global.oGame.SwitchList.deleteOne(obj);
};
_global.oGame.AddAttackHitZone = function (obj) {
_global.oGame.AttackHitZone.push(obj);
};
_global.oGame.RemoveAttackHitZone = function (obj) {
_global.oGame.AttackHitZone.deleteOne(obj);
};
_global.oGame.AddLampHitZone = function (obj) {
_global.oGame.LampHitZone.push(obj);
};
_global.oGame.RemoveLampHitZone = function (obj) {
_global.oGame.LampHitZone.deleteOne(obj);
};
_global.oGame.VerifyLamp = function (obj) {
if (eval (("_global.oGame.level" + _global.oGame.level) + ".Lamp")[obj.LampNumber]) {
obj.gotoAndStop("exploded");
}
};
_global.oGame.AddBadGuysHitZone = function (obj) {
_global.oGame.BadGuysHitZone.push(obj);
};
_global.oGame.RemoveBadGuysHitZone = function (obj) {
_global.oGame.BadGuysHitZone.deleteOne(obj);
};
_global.oGame.AddLaserHitZone = function (obj) {
_global.oGame.LaserHitZone.push(obj);
};
_global.oGame.RemoveLaserHitZone = function (obj) {
_global.oGame.LaserHitZone.deleteOne(obj);
};
_global.oGame.AddScore = function (point) {
var _local1 = _global;
_local1.oGame.scoreTotal = _local1.oGame.scoreTotal + point;
_root.gScore = _local1.oGame.scoreTotal;
scoreDisplay.scoreText.text = _local1.oGame.scoreTotal;
};
_global.oGame.FinalScore = function () {
var _local1 = _global;
multiplier = 1;
switch (_local1.oGame.lifelost) {
case 0 :
multiplier = 2;
break;
case 1 :
multiplier = 1.75;
break;
case 2 :
multiplier = 1.5;
break;
case 3 :
multiplier = 1.25;
}
_local1.oGame.scoreFinal = Math.floor(_local1.oGame.scoretotal * multiplier);
_root.gScore = _local1.oGame.scoreFinal;
return([_local1.oGame.scoretotal, _local1.oGame.scoreFinal, multiplier]);
};
_global.oGame.AddLife = function () {
var _local1 = _global;
_local1.oPerso.persoLife++;
batmanLifeBar.life.attachMovie("life", "life_" + _local1.oPerso.persoLife, _local1.oPerso.persoLife);
batmanLifeBar.life["life_" + _local1.oPerso.persoLife]._x = (_local1.oPerso.persoLife * 23) + 10;
};
_global.oGame.ShowConsole = function (TextNumber) {
if (_global.oGame.LastConsoleText != TextNumber) {
if (_global.oGame.ConsoleVisible == true) {
console.consoleText = eval ("_global.oGame.consoleText" + TextNumber);
console.gotoAndPlay("text");
} else {
_global.oGame.ConsoleVisible = true;
console.gotoAndPlay("start");
_global.oGame.playSound("porte");
console.consoleText = eval ("_global.oGame.consoleText" + TextNumber);
}
_global.oGame.LastConsoleText = TextNumber;
}
};
_global.oGame.LoseGame = function () {
_global.oPerso.perso._x = 4000;
eval ("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG).removeMovieClip();
transition.gotoAndStop("lose");
};
_global.oGame.WinGame = function () {
_global.oPerso.perso._x = 4000;
eval ("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG).removeMovieClip();
transition.gotoAndStop("win");
};
_global.oGame.resetPlay = function () {
_global.oGame.LastConsoleText = 0;
if (((_global.oGame.level == 3) && (_global.oGame.CurrentBG == 1)) || ((_global.oGame.level == 3) && (_global.oGame.CurrentBG == 2))) {
if (!_global.oPerso.IsBatman) {
_global.oPerso.perso._x = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[8] - _global.oGame.moveZone._x;
_global.oPerso.perso._y = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[9] - _global.oGame.moveZone._y;
} else {
_global.oPerso.perso._x = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[2] - _global.oGame.moveZone._x;
_global.oPerso.perso._y = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[3] - _global.oGame.moveZone._y;
}
} else {
_global.oPerso.perso._x = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[2] - _global.oGame.moveZone._x;
_global.oPerso.perso._y = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[3] - _global.oGame.moveZone._y;
}
_global.oPerso.perso._xscale = Math.abs(_global.oPerso.perso._xscale);
_global.oGame.lifebar.gotoAndStop(1);
_global.oPerso.persoHealth = _global.oPerso.persoFullHealth;
_global.oPerso.persoIsDying = false;
};
_global.oGame.SwitchPerso = function (newBG, newx, newy, reallySwitch) {
_global.oGame.LastConsoleText = 0;
eval ("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG).removeMovieClip();
_global.oGame.CurrentBG = newBG;
_global.oGame.moveZone._x = 500 * (-eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[0]);
_global.oGame.moveZone._y = 375 * (-eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[1]);
_global.oGame.BGCur = 1 + eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[0];
_global.oGame.BGVCur = 1 + eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[1];
_global.oGame.moveZone.attachMovie((("BGHit_l" + _global.oGame.level) + "_") + _global.oGame.CurrentBG, "BG_" + _global.oGame.CurrentBG, _global.oGame.CurrentBG);
with (eval ("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG)) {
_x = -_global.oGame.moveZone._x;
_y = -_global.oGame.moveZone._y;
}
if (newx == undefined) {
_global.oPerso.perso._x = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[2] - _global.oGame.moveZone._x;
_global.oPerso.perso._y = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[3] - _global.oGame.moveZone._y;
} else {
_global.oPerso.perso._x = newx - _global.oGame.moveZone._x;
_global.oPerso.perso._y = newy - _global.oGame.moveZone._y;
}
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
_global.oPerso.persoCurAction = "idle";
_global.oPerso.perso._xscale = Math.abs(_global.oPerso.perso._xscale);
if (reallySwitch == undefined) {
_global.oPerso.IsBatman = !_global.oPerso.IsBatman;
_global.oPerso.perso.gotoAndStop(1);
if (_global.oPerso.IsBatman) {
batmanLifeBar.gotoAndStop(1);
_global.oGame.transitionPerso.gotoAndStop(2);
} else {
batmanLifeBar.gotoAndStop(2);
_global.oGame.transitionPerso.gotoAndStop(3);
}
}
};
_global.oGame.setDamage = function (instanceName, damageAmount) {
var _local1 = _global;
var _local2 = instanceName;
var _local3 = damageAmount;
instTemp = -1;
j = 0;
while (j <= _local1.oGame.damagedEnemyNum) {
if (String(_local1.oGame.enemyTab[j]) eq String(_local2)) {
_local1.oGame.damagedEnemyTab[j] = _local1.oGame.damagedEnemyTab[j] + _local3;
instTemp = j;
}
j++;
}
if (instTemp == -1) {
_local1.oGame.enemyTab[_local1.oGame.damagedEnemyNum] = String(_local2);
_local1.oGame.damagedEnemyTab[_local1.oGame.damagedEnemyNum] = _local3;
_local1.oGame.damagedEnemyNum++;
}
};
_global.oGame.getDamage = function (instanceName) {
var _local1 = _global;
var _local2 = instanceName;
j = 0;
while (j <= _local1.oGame.damagedEnemyNum) {
if (String(_local1.oGame.enemyTab[j]) eq String(_local2)) {
return(_local1.oGame.damagedEnemyTab[j]);
}
j++;
}
return(-1);
};
_global.oGame.damage = function (damageAmount) {
var _local1 = _global;
_local1.oPerso.persoHealth = _local1.oPerso.persoHealth - damageAmount;
_local1.oGame.lifeBar.gotoAndStop(Math.round((100 / _local1.oPerso.persoFullHealth) * (_local1.oPerso.persoFullHealth - _local1.oPerso.persoHealth)) + 1);
if (_local1.oPerso.persoHealth <= 0) {
_local1.oGame.lifeBar.gotoAndStop(100);
_local1.oPerso.persoXSpeed = 0;
death();
}
};
_global.oPerso.Throw = function () {
_global.oPerso.PersoIsThrowing = true;
_global.oPerso.projectileDepth = _global.oPerso.projectileDepth + 1;
name = "projectile" + _global.oPerso.projectileDepth;
_global.oGame.moveZone.attachMovie("projectile", name, _global.oPerso.projectileDepth);
_global.oGame.moveZone[name]._y = _global.oPerso.perso._y - (_global.oPerso.perso._height / 2);
if (_global.oPerso.perso._xscale > 0) {
_global.oGame.moveZone[name]._x = _global.oPerso.perso._x + (_global.oPerso.perso._width / 2);
_global.oGame.moveZone[name].xmov = 20;
_global.oGame.moveZone[name].correction = 0;
} else {
_global.oGame.moveZone[name]._x = _global.oPerso.perso._x - (_global.oPerso.perso._width / 2);
_global.oGame.moveZone[name].xmov = -20;
_global.oGame.moveZone[name].correction = 20;
}
_global.oGame.moveZone[name].onEnterFrame = function () {
this._x = this._x + this.xmov;
if ((this._x > (_global.oPerso.perso._x + 500)) || (this._x < (_global.oPerso.perso._x - 500))) {
this.removeMovieClip();
_global.oPerso.PersoIsThrowing = false;
}
if (eval (("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG) + ".hitZoneY").hitTest((this._x + _global.oGame.moveZone._x) + this.correction, this._y + _global.oGame.moveZone._y, true)) {
this.removeMovieClip();
_global.oPerso.PersoIsThrowing = false;
}
};
};
_global.oGame.persoAnim = function (action) {
var _local1 = _global;
var _local2 = action;
if (_local1.oPerso.persoIsDying) {
_local2 = "death";
} else if (_local1.oPerso.persoIsInPain) {
_local2 = "hit";
}
switch (_local2) {
case "idle" :
if (_local1.oPerso.persoIsAttacking) {
_local2 = "attack";
} else if (_local1.oPerso.persoIsLanding) {
_local2 = "land";
}
if (_local1.oPerso.persoIsBatRoping) {
_local2 = "batRope";
}
break;
case "run" :
if (_local1.oPerso.persoIsLanding) {
_local2 = "land";
} else if (_local1.oPerso.persoIsAttacking) {
_local2 = "attack";
}
break;
case "jump" :
if (v.persoIsBatRoping) {
_local2 = "batRope";
}
break;
case "fall" :
if (_local1.oPerso.persoIsAttacking) {
_local2 = "jumpAttack";
}
if (_local1.oPerso.persoIsBatRoping) {
_local2 = "batRope";
}
break;
case "land" :
if (_local1.oPerso.persoYSpeed > 25) {
_local1.oGame.damage(2);
if (_local1.oPerso.IsBatman) {
_local1.oGame.PlaySound("badland1");
} else {
_local1.oGame.PlaySound("badland2");
}
return(-1);
}
if (_local1.oPerso.persoYSpeed > 18) {
_local1.oGame.damage(1);
if (_local1.oPerso.IsBatman) {
_local1.oGame.PlaySound("badland1");
} else {
_local1.oGame.PlaySound("badland2");
}
return(-1);
}
_local1.oGame.PlaySound("landing");
_local1.oPerso.persoIsLanding = true;
break;
case "dodge" :
if (_local1.oPerso.persoIsAttacking) {
_local2 = "attack";
}
if (_local1.oPerso.persoIsBatRoping) {
_local2 = "batRope";
}
break;
case "attack" :
if (_local1.oPerso.persoIsBatRoping) {
_local2 = "batRope";
}
break;
case "jumpAttack" :
if (_local1.oPerso.persoIsBatRoping) {
_local2 = "batRope";
}
break;
case "death" :
_local1.oPerso.persoXSpeed = 0;
_local2 = "death";
}
if (_local1.oPerso.persoCurAction != _local2) {
_local1.oPerso.perso.gotoAndStop(_local2);
_local1.oPerso.persoCurAction = _local2;
}
return(undefined);
};
_global.oGame.transitTo = function (GoH, transitionDir, direction) {
_global.oGame.LastConsoleText = 0;
_global.oGame.inTransit = transitionDir;
_global.oGame.BGLast = _global.oGame.CurrentBG;
_global.oGame.mover = new Array();
switch (direction) {
case "left" :
var moveDir = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[4];
break;
case "right" :
var moveDir = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[5];
break;
case "up" :
var moveDir = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[6];
break;
case "down" :
var moveDir = eval ((("_global.oGame.level" + _global.oGame.level) + ".bg") + _global.oGame.CurrentBG)[7];
}
_global.oGame.CurrentBG = _global.oGame.CurrentBG + moveDir;
if (GoH) {
_global.oGame.transitDirectionHorizontal = true;
_global.oGame.transitNewX = (-_global.oGame.BGWidth) * ((_global.oGame.BGCur + transitionDir) - 1);
_global.oGame.BGCur = _global.oGame.BGCur + transitionDir;
} else {
_global.oGame.transitDirectionHorizontal = false;
_global.oGame.transitOldY = _global.oGame.transitNewY;
_global.oGame.transitNewY = (-_global.oGame.BGHeight) * ((_global.oGame.BGVCur + transitionDir) - 1);
_global.oGame.BGVCur = _global.oGame.BGVCur + transitionDir;
}
_global.oGame.moveZone.attachMovie((("BGHit_l" + _global.oGame.level) + "_") + _global.oGame.CurrentBG, "BG_" + _global.oGame.CurrentBG, eval ("_global.oGame.moveZone.BG_" + _global.oGame.BGLast).getDepth() + 1);
with (eval ("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG)) {
_x = _global.oGame.BGWidth * (_global.oGame.BGCur - 1);
_y = _global.oGame.BGheight * (_global.oGame.BGVCur - 1);
}
};
_global.oGame.LevelOver = function () {
var _local1 = _global;
_local1.oPerso.perso._x = 4000;
_local1.oGame.freeze = true;
transition.gotoAndStop("level" + _local1.oGame.level);
};
_global.oGame.BeginLevel = function (NewLevel) {
var _local1 = _global;
_local1.oPerso.persoHealth = _local1.oPerso.persoFullHealth;
_local1.oGame.freeze = false;
_local1.oGame.stopSound("Musique" + _local1.oGame.level);
_local1.oGame.stopSound("Musique4");
_local1.oGame.level = NewLevel;
_local1.oGame.PlaySound("Musique" + _local1.oGame.level, 999);
if (_local1.oGame.level == 1) {
_local1.oGame.SwitchPerso(1, 50, 300, false);
} else if (_local1.oGame.level == 2) {
_local1.oGame.SwitchPerso(1, 400, 100, false);
_local1.oGame.displayLife();
} else {
_local1.oGame.displayLife();
_local1.oPerso.IsBatman = !_local1.oPerso.IsBatman;
_local1.oPerso.perso.gotoAndStop(1);
batmanLifeBar.gotoAndStop(1);
_local1.oGame.SwitchPerso(1, 4000, 4000, false);
}
};
_global.oGame.myRand = function (valMin, valMax) {
x = Math.round(Math.random() * (valMax - valMin)) + valMin;
return(x);
};
_global.oGame.myRandDec = function (valMin, valMax) {
return((Math.random() * (valMax - valMin)) + valMin);
};
MovingEnterFrame = function (obj) {
var _local1 = obj;
var _local2 = _global;
_local1.tempx = _local1._x + _local1.xspeed;
_local1.tempy = _local1._y + _local1.yspeed;
if (_local1.xspeed > 0) {
if (_local1.tempx < (_local1.homex + _local1.maxxmov)) {
_local1._x = _local1.tempx;
} else {
_local1._x = _local1.tempx;
if (!_local1.OneWay) {
_local1.xspeed = -Math.abs(_local1.xspeed);
} else {
_local1.direction = "left";
_local1.init();
_local2.oGame.mover.DeleteOne(_local1);
}
}
}
if (_local1.xspeed < 0) {
if (_local1.tempx > (_local1.homex - _local1.maxxmov)) {
_local1._x = _local1.tempx;
} else {
_local1._x = _local1.tempx;
if (!_local1.OneWay) {
_local1.xspeed = Math.abs(_local1.xspeed);
} else {
_local1.direction = "right";
_local1.init();
_local2.oGame.mover.DeleteOne(_local1);
}
}
}
if (_local1.yspeed > 0) {
if (_local1.tempy < (_local1.homey + _local1.maxymov)) {
_local1._y = _local1.tempy;
} else {
_local1._y = _local1.tempy;
if (!_local1.OneWay) {
_local1.yspeed = -Math.abs(_local1.yspeed);
} else {
_local1.direction = "up";
_local1.init();
_local1.automatic = false;
_local2.oGame.mover.DeleteOne(_local1);
}
}
}
if (_local1.yspeed < 0) {
if (_local1.tempy > (_local1.homey - _local1.maxymov)) {
_local1._y = _local1.tempy;
} else {
_local1._y = _local1.tempy;
if (!_local1.OneWay) {
_local1.yspeed = Math.abs(_local1.yspeed);
} else {
_local1.direction = "down";
_local1.init();
_local1.automatic = false;
_local2.oGame.mover.DeleteOne(_local1);
}
}
}
};
frameAction = function () {
if (!_global.oGame.freeze) {
if (_global.oPerso.persoXSpeed != 0) {
_global.oPerso.persoIsRunning = true;
}
if (_global.oPerso.persoYSpeed < 0) {
_global.oPerso.persoIsJumping = true;
_global.oPerso.persoIsFalling = false;
} else if ((_global.oPerso.persoYSpeed > 0) && (_global.oPerso.persoYSpeed < 3)) {
_global.oPerso.persoIsBouncing = false;
_global.oPerso.persoIsFalling = true;
_global.oPerso.persoIsJumping = false;
} else if (_global.oPerso.persoYSpeed >= 3) {
_global.oGame.persoAnim("fall");
}
if (_global.oPerso.persoIsRunning || (_global.oPerso.movingBlock != -1)) {
_global.oPerso.perso._x = _global.oPerso.perso._x + (_global.oPerso.persoXSpeed + _global.oGame.mover[_global.oPerso.movingBlock].xspeed);
}
if (_global.oPerso.persoYSpeed <= _global.oPerso.persoMaxYSpeed) {
_global.oPerso.persoYSpeed = _global.oPerso.persoYSpeed + _global.oPerso.persoJumpDecel;
}
_global.oPerso.perso._y = _global.oPerso.perso._y + _global.oPerso.persoYSpeed;
if (_global.oPerso.perso.persoBody.hitTest(transitR) && (_global.oGame.inTransit == 0)) {
if (!_global.oPerso.persoIsDying) {
_global.oGame.transitTo(true, 1, "right");
}
} else if (_global.oPerso.perso.persoBody.hitTest(transitL) && (_global.oGame.inTransit == 0)) {
if (!_global.oPerso.persoIsDying) {
_global.oGame.transitTo(true, -1, "left");
}
} else if (_global.oPerso.perso.persoBody.hitTest(transitU) && (_global.oGame.inTransit == 0)) {
if (!_global.oPerso.persoIsDying) {
_global.oGame.transitTo(false, -1, "up");
}
} else if (_global.oPerso.perso.persoBody.hitTest(transitD) && (_global.oGame.inTransit == 0)) {
if (!_global.oPerso.persoIsDying) {
_global.oGame.transitTo(false, 1, "down");
}
}
if (_global.oGame.inTransit != 0) {
if (_global.oGame.transitDirectionHorizontal) {
_global.oGame.transitXSpeed = (_global.oGame.moveZone._x - _global.oGame.transitNewX) / _global.oGame.transitAccel;
_global.oGame.moveZone._x = _global.oGame.moveZone._x - _global.oGame.transitXSpeed;
} else {
_global.oGame.transitYSpeed = (_global.oGame.moveZone._y - _global.oGame.transitNewY) / _global.oGame.transitAccel;
_global.oGame.moveZone._y = _global.oGame.moveZone._y - _global.oGame.transitYSpeed;
}
if (_global.oGame.transitDirectionHorizontal) {
if ((_global.oGame.moveZone._x >= (_global.oGame.transitNewX - 2)) && (_global.oGame.moveZone._x <= (_global.oGame.transitNewX + 2))) {
_global.oGame.moveZone._x = _global.oGame.transitNewX;
_global.oGame.inTransit = 0;
eval ("_global.oGame.moveZone.BG_" + _global.oGame.BGLast).removeMovieClip();
}
} else if ((_global.oGame.moveZone._y >= (_global.oGame.transitNewY - 2)) && (_global.oGame.moveZone._y <= (_global.oGame.transitNewY + 2))) {
_global.oGame.moveZone._y = _global.oGame.transitNewY;
_global.oGame.inTransit = 0;
eval ("_global.oGame.moveZone.BG_" + _global.oGame.BGLast).removeMovieClip();
}
}
if (!_global.oPerso.persoIsJumping) {
if (_global.oPerso.persoIsFalling && (_global.oPerso.persoYSpeed > _global.oGame.accroche)) {
j = _global.oPerso.persoMaxYSpeed;
} else {
j = _global.oGame.accroche;
}
i = j;
while (i >= 0) {
if (eval (("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG) + ".hitZoneX").hitTest(_global.oPerso.perso._x + _global.oGame.moveZone._x, (_global.oPerso.perso._y + _global.oGame.moveZone._y) - i, true)) {
_global.oPerso.perso._y = _global.oPerso.perso._y - (i - 1);
if (_global.oPerso.persoIsFalling) {
if (_global.oPerso.persoYSpeed > 8) {
_global.oGame.persoAnim("land");
}
_global.oPerso.persoIsAttacking = false;
_global.oPerso.persoIsFalling = false;
_global.oPerso.persoIsBouncing = false;
_global.oPerso.persoXSpeed = Math.floor(_global.oPerso.persoXSpeed / 2);
}
_global.oPerso.persoYSpeed = 0;
break;
}
if (_global.oPerso.perso.persoBody.hitTest(deathZone) && (!_global.oPerso.persoIsDying)) {
death();
}
i--;
}
}
k = 1;
if (eval (("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG) + ".hitZoneY").hitTest(_global.oPerso.perso._x + _global.oGame.moveZone._x, _global.oPerso.perso._y + _global.oGame.moveZone._y, true)) {
while (eval (("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG) + ".hitZoneY").hitTest((_global.oPerso.perso._x + _global.oGame.moveZone._x) + k, _global.oPerso.perso._y + _global.oGame.moveZone._y, true)) {
k = -k;
if (k < 0) {
k--;
}
}
_global.oPerso.perso._x = _global.oPerso.perso._x + k;
}
if ((!_global.oPerso.persoIsDying) && (!_global.oPerso.persoIsInPain)) {
if (((_global.KeyListener.ctrlPress && (!_global.oPerso.persoIsTeleporting)) && (!_global.KeyListener.stillPressingKeyAtt)) && (!_global.oPerso.persoIsBusy)) {
if ((!_global.oPerso.persoIsJumping) && (!_global.oPerso.persoIsFalling)) {
if (!_global.oPerso.PersoIsThrowing) {
_global.oGame.persoAnim("attack");
_global.oPerso.persoXSpeed = 0;
_global.KeyListener.stillPressingKeyAtt = true;
}
} else {
_global.oGame.persoAnim("jumpAttack");
_global.KeyListener.stillPressingKeyAtt = true;
}
} else if (((((_global.KeyListener.downPress && (!_global.oPerso.persoIsTeleporting)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (!_global.oPerso.persoIsAttacking)) && (!_global.oPerso.persoIsBusy)) {
_global.oPerso.persoIsAttacking = false;
_global.oPerso.persoIsDucking = true;
_global.oPerso.persoXSpeed = 0;
_global.oGame.persoAnim("dodge");
} else if (((((_global.KeyListener.rightPress && (!_global.KeyListener.leftPress)) && (!_global.oPerso.persoIsTeleporting)) && (!_global.oPerso.persoIsAttacking)) && (!_global.oPerso.persoIsBouncing)) && (!_global.oPerso.persoIsBusy)) {
if ((!_global.oPerso.persoIsJumping) && (!_global.oPerso.persoIsFalling)) {
_global.oPerso.persoIsAttacking = false;
_global.oGame.persoAnim("run");
}
if (_global.oPerso.persoXSpeed < _global.oPerso.persoMaxXSpeed) {
if (_global.oPerso.persoXSpeed < 0) {
_global.oPerso.persoXSpeed = 0;
}
_global.oPerso.persoXSpeed = _global.oPerso.persoXSpeed + _global.oPerso.persoXAccel;
if (_global.oPerso.persoXSpeed > _global.oPerso.persoMaxXSpeed) {
_global.oPerso.persoXSpeed = _global.oPerso.persoMaxXSpeed;
}
}
_global.oPerso.perso._xscale = Math.abs(_global.oPerso.perso._xscale);
} else if (((((_global.KeyListener.leftPress && (!_global.KeyListener.rightPress)) && (!_global.oPerso.persoIsTeleporting)) && (!_global.oPerso.persoIsAttacking)) && (!_global.oPerso.persoIsBouncing)) && (!_global.oPerso.persoIsBusy)) {
if ((!_global.oPerso.persoIsJumping) && (!_global.oPerso.persoIsFalling)) {
_global.oPerso.persoIsAttacking = false;
_global.oGame.persoAnim("run");
}
if (_global.oPerso.persoXSpeed > (-_global.oPerso.persoMaxXSpeed)) {
if (_global.oPerso.persoXSpeed > 0) {
_global.oPerso.persoXSpeed = 0;
}
_global.oPerso.persoXSpeed = _global.oPerso.persoXSpeed - _global.oPerso.persoXAccel;
if (_global.oPerso.persoXSpeed < (-_global.oPerso.persoMaxXSpeed)) {
_global.oPerso.persoXSpeed = -_global.oPerso.persoMaxXSpeed;
}
}
_global.oPerso.perso._xscale = -Math.abs(_global.oPerso.perso._xscale);
} else if ((!_global.oPerso.persoIsJumping) && (!_global.oPerso.persoIsFalling)) {
if (_global.oPerso.persoXSpeed < 0) {
_global.oPerso.persoXSpeed = _global.oPerso.persoXSpeed + _global.oPerso.persoXDecel;
if (_global.oPerso.persoXSpeed > 0) {
_global.oPerso.persoXSpeed = 0;
}
_global.oGame.persoAnim("run");
} else if (_global.oPerso.persoXSpeed != 0) {
_global.oPerso.persoXSpeed = _global.oPerso.persoXSpeed - _global.oPerso.persoXDecel;
if (_global.oPerso.persoXSpeed < 0) {
_global.oPerso.persoXSpeed = 0;
}
_global.oGame.persoAnim("run");
} else {
_global.oGame.persoAnim("idle");
}
}
if (((((((_global.KeyListener.upPress && (!_global.oGame.mover[_global.oPerso.movingBlock].blocking)) && (!_global.KeyListener.stillPressingKeyUp)) && (!_global.oPerso.persoIsTeleporting)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (!_global.oPerso.persoIsBusy)) && (!_global.oGame.inTransit)) {
_global.oGame.persoAnim("jump");
_global.oPerso.persoYSpeed = -(_global.oPerso.persoJumpSpeed + (Math.abs(_global.oPerso.persoXSpeed) / 7));
_global.KeyListener.stillPressingKeyUp = true;
}
} else if (_global.KeyListener.stillPressingKeyAtt) {
_global.oPerso.persoIsAttacking = false;
}
}
_global.oPerso.movingBlock = -1;
moverLength = _global.oGame.mover.length;
var MyObj = 0;
while (MyObj < moverLength) {
MovingEnterFrame(_global.oGame.mover[MyObj]);
if (_global.oPerso.perso.hitTest(_global.oGame.mover[MyObj])) {
if ((((_global.oPerso.perso._y + _global.oGame.moveZone._y) - 15) <= _global.oGame.mover[MyObj]._y) && (!_global.oGame.mover[MyObj].BadGuyMove)) {
_global.oPerso.movingBlock = MyObj;
if (_global.oGame.mover[MyObj].blocking) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + _global.oGame.mover[MyObj]._x) + (_global.oGame.mover[MyObj]._width / 2);
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
}
}
}
MyObj++;
}
BadGuyLength = _global.oGame.BadGuysHitZone.length;
var i = 0;
while (i < BadGuyLength) {
if (_global.oPerso.PersoIsAttacking || (_global.oPerso.PersoIsThrowing)) {
if (_global.oPerso.perso.attackzone.hitTest(_global.oGame.BadGuysHitZone[i])) {
if (_global.oPerso.perso.attackzone._parent._name.indexOf("projectile") != -1) {
_global.oPerso.perso.attackzone._parent.removeMovieClip();
_global.oPerso.PersoIsThrowing = false;
}
_global.oGame.setDamage(_global.oGame.BadGuysHitZone[i]._parent._name, 1);
if (_global.oGame.BadGuysHitZone[i]._parent._name != "FreezeFinal") {
_global.oGame.BadGuysHitZone[i]._parent.gotoAndPlay("Ouch");
} else {
_global.oGame.BadGuysHitZone[i]._parent.gotoAndPlay("Ouch" + _global.oGame.BadGuysHitZone[i]._parent.VerPos);
}
}
} else if (_global.oPerso.perso.persoBody.hitTest(_global.oGame.BadGuysHitZone[i])) {
pt = new Object();
pt.x = _global.oGame.BadGuysHitZone[i]._x;
pt.y = _global.oGame.BadGuysHitZone[i]._y;
_global.oGame.BadGuysHitZone[i].localToGlobal(pt);
var temp = (pt.x - _global.ogame.movezone._x);
if (_global.oPerso.perso._x > temp) {
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoXSpeed = _global.oPerso.persoXSpeed + 5;
} else if (_global.oPerso.perso._x < temp) {
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoXSpeed = _global.oPerso.persoXSpeed - 5;
}
}
i++;
}
laserLength = _global.oGame.LaserHitZone.length;
var i = 0;
while (i < laserLength) {
var touche = false;
if (!_global.oGame.LaserHitZone[i]._parent.haveTouch) {
if (_global.oGame.LaserHitZone[i]._parent._xscale > 0) {
var temp = ((_global.oPerso.perso._x + _global.oGame.moveZone._x) + (_global.oPerso.perso._width / 2));
if (((_global.oGame.LaserHitZone[i]._parent._x - 15) - temp) < _global.oGame.LaserHitZone[i]._parent.laserWidthLeft) {
var touche = true;
}
} else {
var temp = ((_global.oPerso.perso._x + _global.oGame.moveZone._x) - (_global.oPerso.perso._width / 2));
if ((temp - (_global.oGame.LaserHitZone[i]._parent._x + 15)) < _global.oGame.LaserHitZone[i]._parent.laserWidthRight) {
var touche = true;
}
}
if (touche) {
if (_global.oPerso.perso.persoBody.hitTest(_global.oGame.LaserHitZone[i]) && (!_global.oPerso.persoIsInPain)) {
_global.oGame.damage(_global.oGame.laserDamage);
_global.oGame.persoAnim("hit");
_global.oPerso.persoIsInPain = true;
_global.oGame.LaserHitZone[i]._parent.haveTouch = true;
}
}
}
i++;
}
attackHitLength = _global.oGame.AttackHitZone.length;
var i = 0;
while (i < attackHitLength) {
if (_global.oPerso.perso.persoBody.hitTest(_global.oGame.AttackHitZone[i]) && (!_global.oPerso.persoIsInPain)) {
_global.oGame.damage(_global.oGame.BombDamage);
_global.oGame.persoAnim("hit");
_global.oPerso.persoIsInPain = true;
}
i++;
}
LampLength = _global.oGame.LampHitZone.length;
var i = 0;
while (i < LampLength) {
if (_global.oPerso.perso.persoBody.hitTest(_global.oGame.LampHitZone[i])) {
_global.oGame.LampHitZone[i]._parent._parent.gotoAndStop("boum");
_global.oGame.damage(_global.oGame.BombDamage);
_global.oGame.persoAnim("hit");
_global.oPerso.persoIsInPain = true;
eval (("_global.oGame.level" + _global.oGame.level) + ".Lamp")[_global.oGame.LampHitZone[i]._parent._parent.LampNumber] = true;
}
i++;
}
DomeLength = _global.oGame.dome.length;
var i = 0;
while (i < DomeLength) {
if (_global.oPerso.persoIsLanding) {
if ((_global.oGame.dome[i].hitTest(_global.oPerso.perso) && ((_global.oPerso.perso._x + _global.oGame.moveZone._x) > (_global.oGame.dome[i]._x - 30))) && ((_global.oPerso.perso._x + _global.oGame.moveZone._x) < (_global.oGame.dome[i]._x + 30))) {
_global.oGame.dome[i]._parent._parent.dome.gotoAndPlay(12);
_global.oGame.dome[i].gotoAndStop(2);
}
}
i++;
}
SwitchLength = _global.oGame.SwitchList.length;
var i = 0;
while (i < SwitchLength) {
if ((!_global.oPerso.persoIsJumping) && (!_global.oPerso.persoIsFalling)) {
if ((_global.oGame.SwitchList[i].hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!eval (("_global.oGame.level" + _global.oGame.level) + ".porte")[_global.oGame.SwitchList[i].ObjectNumber])) {
_global.oPerso.perso._visible = 0;
_global.oGame.SwitchList[i]._visible = 1;
_global.oGame.SwitchList[i].gotoAndPlay(2);
_global.oGame.AddScore(50);
_global.oGame.mover.deleteone(eval ((("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG) + ".plateforme") + _global.oGame.SwitchList[i].ObjectNumber));
_global.oGame.mover.deleteone(eval ((("_global.oGame.moveZone.BG_" + _global.oGame.CurrentBG) + ".HitZoneX.plateformeHit") + _global.oGame.SwitchList[i].ObjectNumber));
eval (("_global.oGame.level" + _global.oGame.level) + ".porte")[_global.oGame.SwitchList[i].ObjectNumber] = true;
_global.oGame.freeze = true;
}
}
i++;
}
};
stop();
Frame 46
_root.iLevelPauseTimer.restartTimer();
Frame 47
if (_root.iLevelPauseTimer.seconds() > 3) {
_root.gLevel = _root.gLevel + 1;
_root.gotoAndPlay("NextLevel");
}
Frame 48
_root.gotoAndPlay(_currentframe - 1);
Frame 55
tellTarget ("/hs_scripts") {
call("mGameOver");
};
Frame 76
stop();
Instance of Symbol 1981 MovieClip [BGHit_l2_8] in Frame 80
/* no clip actions */
Instance of Symbol 2020 MovieClip [BGHit_l2_3] " " in Frame 80
/* no clip actions */
Instance of Symbol 2028 MovieClip [BGHit_l2_4] in Frame 80
/* no clip actions */
Instance of Symbol 2055 MovieClip [BGHit_l2_7] in Frame 80
/* no clip actions */
Frame 89
gotoAndStop (42);
Instance of Symbol 2158 MovieClip [BGHit_l3_2] in Frame 90
/* no clip actions */
Instance of Symbol 2450 MovieClip [BGHit_l3_6] in Frame 90
/* no clip actions */
Frame 95
gotoAndStop (42);
Symbol 7 Button
on (press) {
startDrag ("");
}
on (release) {
stopDrag();
}
Symbol 8 Button
on (release) {
Set("/:gDebug", "");
}
Symbol 9 MovieClip Frame 1
if (/:gDebugMode == true) {
_x = 50;
}
Symbol 9 MovieClip Frame 5
stop();
Symbol 11 MovieClip Frame 1
loadMovie (/:gHSRoot_swf add "HSScripts.swf", "");
Symbol 11 MovieClip Frame 4
stop();
Symbol 26 MovieClip Frame 7
stop();
Symbol 29 MovieClip Frame 10
stop();
Symbol 32 MovieClip Frame 13
stop();
Symbol 36 MovieClip Frame 9
stop();
Symbol 39 MovieClip Frame 9
stop();
Symbol 42 MovieClip Frame 9
stop();
Symbol 45 MovieClip Frame 9
stop();
Symbol 46 MovieClip Frame 1
stop();
Symbol 46 MovieClip Frame 25
stop();
Symbol 51 MovieClip Frame 1
this._visible = 0;
stop();
Symbol 51 MovieClip Frame 2
stop();
Instance of Symbol 51 MovieClip in Symbol 55 MovieClip [projectile] Frame 1
onClipEvent (load) {
_global.oPerso.perso.attackzone = this;
}
Symbol 187 MovieClip Frame 1
stop();
Symbol 187 MovieClip Frame 15
_global.oGame.playSound("switch1");
Symbol 187 MovieClip Frame 26
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
this.doAction();
Symbol 187 MovieClip Frame 27
stop();
Symbol 188 MovieClip Frame 1
this.attachMovie(member, "graphique", 0);
this.graphique._y = this.graphique._y + ((this.graphique._height / 2) - 10);
this.graphique._x = this.graphique._x + (this.graphique._width / 2);
init = function () {
var _local1 = this;
if ((_local1.direction == "up") && (_local1.diagonal)) {
if (_local1.UpperLeft) {
_local1.homex = _local1._x - _local1.maxxmov;
_local1.homey = _local1._y - _local1.maxymov;
_local1.xspeed = _local1.xspeed * -1;
} else {
_local1.homex = _local1._x;
_local1.homey = _local1._y;
_local1.xspeed = _local1.xspeed * 1;
}
_local1.yspeed = _local1.yspeed * -1;
} else if ((_local1.direction == "down") && (_local1.diagonal)) {
if (_local1.UpperLeft) {
_local1.homex = _local1._x + _local1.maxxmov;
_local1.homey = _local1._y + _local1.maxymov;
} else {
_local1.homex = _local1._x;
_local1.homey = _local1._y;
_local1.xspeed = _local1.xspeed * -1;
}
} else if (_local1.direction == "up") {
_local1.homey = _local1._y - _local1.maxymov;
_local1.xspeed = 0;
_local1.yspeed = _local1.yspeed * -1;
} else if (_local1.direction == "down") {
_local1.homey = _local1._y + _local1.maxymov;
_local1.xspeed = 0;
} else if (_local1.direction == "left") {
_local1.homex = _local1._x - _local1.maxxmov;
_local1.xspeed = _local1.xspeed * -1;
_local1.yspeed = 0;
} else if (_local1.direction == "right") {
_local1.homex = _local1._x + _local1.maxxmov;
_local1.xspeed = 1;
_local1.yspeed = 0;
}
};
this.init();
Symbol 219 MovieClip Frame 1
stop();
Symbol 286 MovieClip Frame 1
stop();
Instance of Symbol 272 MovieClip in Symbol 286 MovieClip Frame 2
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.AddScore(100);
_global.oGame.playSound("powerup");
_parent.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip in Symbol 286 MovieClip Frame 3
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.AddScore(200);
_global.oGame.playSound("powerup");
_parent.gotoAndStop(1);
}
}
Instance of Symbol 272 MovieClip in Symbol 286 MovieClip Frame 4
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.AddScore(300);
_global.oGame.playSound("powerup");
_parent.gotoAndStop(1);
}
}
Instance of Symbol 282 MovieClip in Symbol 286 MovieClip Frame 5
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.AddLife();
_global.oGame.playSound("powerup");
_parent.gotoAndStop(1);
}
}
Instance of Symbol 285 MovieClip in Symbol 286 MovieClip Frame 6
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.damage(-(_global.oPerso.persoFullHealth - _global.oPerso.persoHealth));
_global.oGame.playSound("powerup");
_parent.gotoAndStop(1);
}
}
Instance of Symbol 51 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 293 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Symbol 293 MovieClip Frame 15
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 293 MovieClip Frame 30
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 293 MovieClip Frame 45
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 293 MovieClip Frame 60
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 293 MovieClip Frame 75
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 293 MovieClip Frame 90
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 293 MovieClip Frame 98
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
gotoAndPlay ("idle");
Symbol 293 MovieClip Frame 106
LaserTray.play();
_global.oGame.playSound("laser1");
Instance of Symbol 51 MovieClip in Symbol 293 MovieClip Frame 117
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveLaserHitZone(this);
}
Symbol 293 MovieClip Frame 147
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 293 MovieClip Frame 148
_global.oGame.playSound("hurt1");
Symbol 293 MovieClip Frame 166
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale < 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
stop();
Symbol 293 MovieClip Frame 167
stop();
Symbol 293 MovieClip Frame 168
_global.oGame.stopSound("laser1");
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
_global.oGame.playSound("hit1");
}
Symbol 293 MovieClip Frame 182
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 351 MovieClip Frame 1
init = function () {
var _local1 = this;
if ((_local1.direction == "up") && (_local1.diagonal)) {
if (_local1.UpperLeft) {
_local1.homex = _local1._x - _local1.maxxmov;
_local1.homey = _local1._y - _local1.maxymov;
_local1.xspeed = _local1.xspeed * -1;
} else {
_local1.homex = _local1._x;
_local1.homey = _local1._y;
_local1.xspeed = _local1.xspeed * 1;
}
_local1.yspeed = _local1.yspeed * -1;
} else if ((_local1.direction == "down") && (_local1.diagonal)) {
if (_local1.UpperLeft) {
_local1.homex = _local1._x + _local1.maxxmov;
_local1.homey = _local1._y + _local1.maxymov;
} else {
_local1.homex = _local1._x;
_local1.homey = _local1._y;
_local1.xspeed = _local1.xspeed * -1;
}
} else if (_local1.direction == "up") {
_local1.homey = _local1._y - _local1.maxymov;
_local1.xspeed = 0;
_local1.yspeed = _local1.yspeed * -1;
} else if (_local1.direction == "down") {
_local1.homey = _local1._y + _local1.maxymov;
_local1.yspeed = 1;
_local1.xspeed = 0;
} else if (_local1.direction == "left") {
_local1.homex = _local1._x - _local1.maxxmov;
_local1.xspeed = _local1.xspeed * -1;
_local1.yspeed = 0;
} else if (_local1.direction == "right") {
_local1.homex = _local1._x + _local1.maxxmov;
_local1.xspeed = 1;
_local1.yspeed = 0;
}
};
this.init();
Instance of Symbol 51 MovieClip in Symbol 351 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 351 MovieClip Frame 12
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 351 MovieClip Frame 25
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 351 MovieClip Frame 39
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
}
Symbol 351 MovieClip Frame 55
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("fire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("fire");
}
} else {
gotoAndPlay (2);
}
Symbol 351 MovieClip Frame 56
_global.oGame.removefrommovinglist(this);
Symbol 351 MovieClip Frame 75
_global.oGame.playSound("swich1");
Instance of Symbol 51 MovieClip in Symbol 351 MovieClip Frame 82
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 351 MovieClip Frame 83
_global.oGame.playSound("explosion1");
Symbol 351 MovieClip Frame 137
_global.oGame.addmetoMovinglist(this);
gotoAndPlay (2);
Symbol 351 MovieClip Frame 138
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
_global.oGame.removefromMovinglist(this);
} else {
_global.oGame.playSound("Electronic2");
}
Symbol 351 MovieClip Frame 147
if (_global.oGame.mover.getPos(this) == null) {
_global.oGame.addmetoMovinglist(this);
}
this.gotoAndPlay("walk");
Symbol 351 MovieClip Frame 148
_global.oGame.playSound("Electronic1");
Symbol 351 MovieClip Frame 182
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale > 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
powerup.gotoAndStop(2);
stop();
Symbol 351 MovieClip Frame 183
stop();
Symbol 353 MovieClip Frame 1
stop();
Symbol 353 MovieClip Frame 2
_global.oGame.level1.domebrise[this.DomeNumber] = true;
stop();
Symbol 364 MovieClip Frame 1
stop();
Symbol 364 MovieClip Frame 6
_global.oGame.playSound("vitre");
Symbol 364 MovieClip Frame 11
stop();
Symbol 364 MovieClip Frame 12
_global.oGame.playSound("vitre");
Symbol 364 MovieClip Frame 20
stop();
Symbol 373 MovieClip Frame 1
_visible = false;
Symbol 447 MovieClip Frame 1
stop();
Symbol 447 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 447 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 447 MovieClip Frame 17
_global.oGame.playSound("zipin");
Symbol 447 MovieClip Frame 30
_global.oGame.playSound("landing");
Symbol 447 MovieClip Frame 35
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 451 MovieClip Frame 1
stop();
Symbol 451 MovieClip Frame 6
_global.oGame.playSound("porte");
Symbol 451 MovieClip Frame 15
stop();
Symbol 451 MovieClip Frame 24
stop();
Symbol 452 MovieClip Frame 1
stop();
Symbol 452 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 452 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 452 MovieClip Frame 17
_global.oGame.playSound("zipin");
Symbol 452 MovieClip Frame 30
_global.oGame.playSound("landing");
Symbol 452 MovieClip Frame 35
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 454 MovieClip Frame 5
stop();
Symbol 454 MovieClip Frame 6
_global.oGame.playSound("porte");
Symbol 454 MovieClip Frame 15
stop();
Symbol 456 MovieClip Frame 1
_visible = false;
stop();
Symbol 458 MovieClip Frame 1
this.attachMovie(member, "graphique", 0);
this.graphique._y = this.graphique._y + ((this.graphique._height / 2) - 10);
this.graphique._x = this.graphique._x + (this.graphique._width / 2);
this.hitZone = true;
init = function () {
var _local1 = this;
if ((_local1.direction == "up") && (_local1.diagonal)) {
if (_local1.UpperLeft) {
_local1.homex = _local1._x - _local1.maxxmov;
_local1.homey = _local1._y - _local1.maxymov;
_local1.xspeed = _local1.xspeed * -1;
} else {
_local1.homex = _local1._x;
_local1.homey = _local1._y;
_local1.xspeed = _local1.xspeed * 1;
}
_local1.yspeed = _local1.yspeed * -1;
} else if ((_local1.direction == "down") && (_local1.diagonal)) {
if (_local1.UpperLeft) {
_local1.homex = _local1._x + _local1.maxxmov;
_local1.homey = _local1._y + _local1.maxymov;
} else {
_local1.homex = _local1._x;
_local1.homey = _local1._y;
_local1.xspeed = _local1.xspeed * -1;
}
} else if (_local1.direction == "up") {
_local1.homey = _local1._y - _local1.maxymov;
_local1.xspeed = 0;
_local1.yspeed = _local1.yspeed * -1;
} else if (_local1.direction == "down") {
_local1.homey = _local1._y + _local1.maxymov;
_local1.xspeed = 0;
} else if (_local1.direction == "left") {
_local1.homex = _local1._x - _local1.maxxmov;
_local1.xspeed = _local1.xspeed * -1;
_local1.yspeed = 0;
} else if (_local1.direction == "right") {
_local1.homex = _local1._x + _local1.maxxmov;
_local1.yspeed = 0;
}
};
this.init();
Symbol 459 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 459 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 44;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovinglist(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 353 MovieClip in Symbol 459 MovieClip Frame 1
onClipEvent (load) {
this.DomeNumber = 1;
_global.oGame.addMeToDome(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromDome(this);
}
Instance of Symbol 187 MovieClip "s2" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (load) {
this.ObjectNumber = 2;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 187 MovieClip "s1" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (load) {
this.ObjectNumber = 1;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 188 MovieClip in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 60;
this.maxymov = 44;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovinglist(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 293 MovieClip "bad1" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.haveTouch = false;
this.attRight = true;
this.laserWidthLeft = 150;
this.laserWidthRight = 150;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 2;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 2;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 351 MovieClip "araignee1" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 10;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "left";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = false;
this.BadGuyMove = true;
}
Instance of Symbol 293 MovieClip "bad2" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.laserWidthLeft = 50;
this.laserWidthRight = 800;
this.haveTouch = false;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 2;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 2;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 351 MovieClip "araignee2" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 10;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "left";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = false;
this.BadGuyMove = true;
}
Instance of Symbol 447 MovieClip "batRope4" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if (_global.oGame.level1.porte[2]) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
}
Instance of Symbol 452 MovieClip "batRope3" in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
Instance of Symbol 51 MovieClip in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(5);
}
}
Instance of Symbol 51 MovieClip in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(5);
}
}
Instance of Symbol 51 MovieClip in Symbol 460 MovieClip [BGHit_l1_2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(7);
}
}
Symbol 475 MovieClip Frame 19
_global.oGame.playSound("light");
Instance of Symbol 51 MovieClip in Symbol 475 MovieClip Frame 23
onClipEvent (load) {
_global.oGame.AddLampHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveLampHitZone(this);
}
Symbol 493 MovieClip Frame 14
stop();
Symbol 494 MovieClip Frame 22
_parent.gotoAndStop("exploded");
Symbol 495 MovieClip Frame 1
stop();
Symbol 495 MovieClip Frame 13
_global.oGame.playSound("explosion2");
Symbol 495 MovieClip Frame 19
stop();
Symbol 497 MovieClip Frame 1
_visible = false;
stop();
Symbol 499 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip "plateformeHit3" in Symbol 499 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 70;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 20;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = true;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 458 MovieClip "1" in Symbol 499 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 75;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 20;
this.direction = "right";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = true;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 458 MovieClip in Symbol 499 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 90;
this.maxymov = 70;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < (_global.oPerso.perso._y + 10)) {
if (_global.oGame.level1.porte[3]) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 351 MovieClip "araignee4" in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "left";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = true;
this.BadGuyMove = true;
}
Instance of Symbol 351 MovieClip "araignee3" in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 15;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "right";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = true;
this.BadGuyMove = true;
}
Instance of Symbol 188 MovieClip in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 75;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 20;
this.direction = "right";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 188 MovieClip "plateforme3" in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 70;
this.maxymov = 70;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 187 MovieClip "s3" in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
onClipEvent (load) {
this.ObjectNumber = 3;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 188 MovieClip in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 90;
this.maxymov = 70;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < (_global.oPerso.perso._y + 10)) {
if (_global.oGame.level1.porte[3]) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 495 MovieClip in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
onClipEvent (load) {
this.LampNumber = 2;
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 51 MovieClip in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(14);
}
}
Instance of Symbol 51 MovieClip in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(9);
}
}
Instance of Symbol 499 MovieClip "hitZoneX" in Symbol 500 MovieClip [BGHit_l1_3] Frame 1
/* no clip actions */
Symbol 503 MovieClip Frame 1
stop();
Symbol 503 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 503 MovieClip Frame 4
if (_parent.hitZoneX.domehit._currentframe == 1) {
_parent.dome.gotoAndPlay("Mvbrise");
}
_parent.hitZoneX.domehit.gotoAndStop(2);
Symbol 503 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 503 MovieClip Frame 17
_global.oGame.playSound("zipin");
Symbol 503 MovieClip Frame 30
_global.oGame.playSound("landing");
Symbol 503 MovieClip Frame 35
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 511 MovieClip Frame 19
_global.oGame.playSound(_parent.sound);
Instance of Symbol 51 MovieClip in Symbol 511 MovieClip Frame 23
onClipEvent (load) {
_global.oGame.AddLampHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveLampHitZone(this);
}
Symbol 512 MovieClip Frame 1
stop();
Symbol 512 MovieClip Frame 13
_global.oGame.playSound("explosion2");
Symbol 512 MovieClip Frame 19
stop();
Symbol 514 MovieClip Frame 1
_visible = false;
stop();
Symbol 516 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 353 MovieClip "domehit" in Symbol 516 MovieClip Frame 1
onClipEvent (load) {
this.DomeNumber = 2;
_global.oGame.addMeToDome(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromDome(this);
}
Instance of Symbol 458 MovieClip in Symbol 516 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 15;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 503 MovieClip "batRope6" in Symbol 517 MovieClip [BGHit_l1_4] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
Instance of Symbol 512 MovieClip in Symbol 517 MovieClip [BGHit_l1_4] Frame 1
onClipEvent (load) {
this.LampNumber = 3;
this.sound = "light";
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 512 MovieClip in Symbol 517 MovieClip [BGHit_l1_4] Frame 1
onClipEvent (load) {
this.LampNumber = 4;
this.sound = "light2";
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 188 MovieClip in Symbol 517 MovieClip [BGHit_l1_4] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 90;
this.maxymov = 15;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 51 MovieClip in Symbol 517 MovieClip [BGHit_l1_4] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(15);
}
}
Instance of Symbol 293 MovieClip "bad3" in Symbol 517 MovieClip [BGHit_l1_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 110;
this.laserWidthRight = 196;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 2;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 2;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 520 MovieClip Frame 1
stop();
Symbol 520 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 520 MovieClip Frame 4
if (_parent.hitZoneX.domehit._currentframe == 1) {
_parent.dome.gotoAndPlay("Mvbrise");
}
_parent.hitZoneX.domehit.gotoAndStop(2);
Symbol 520 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 520 MovieClip Frame 16
_global.oGame.playSound("zipin");
Symbol 520 MovieClip Frame 30
_global.oGame.playSound("landing");
Symbol 520 MovieClip Frame 35
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 522 MovieClip Frame 1
_visible = false;
stop();
Symbol 524 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 524 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 44;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 353 MovieClip "domehit" in Symbol 524 MovieClip Frame 1
onClipEvent (load) {
this.DomeNumber = 3;
_global.oGame.addMeToDome(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromDome(this);
}
Instance of Symbol 188 MovieClip in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 60;
this.maxymov = 44;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 520 MovieClip "batRope5" in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
Instance of Symbol 512 MovieClip in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
onClipEvent (load) {
this.LampNumber = 5;
this.sound = "light";
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 512 MovieClip in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
onClipEvent (load) {
this.LampNumber = 7;
this.sound = "light3";
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 512 MovieClip in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
onClipEvent (load) {
this.LampNumber = 6;
this.sound = "light2";
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 51 MovieClip in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(9);
}
}
Instance of Symbol 293 MovieClip "bad4" in Symbol 525 MovieClip [BGHit_l1_5] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 300;
this.laserWidthRight = 166;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 2;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 2;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 530 MovieClip Frame 1
_visible = false;
stop();
Symbol 530 MovieClip Frame 2
stop();
Symbol 532 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 532 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 47;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < (_global.oPerso.perso._y + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress || (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip "plateformeHit4" in Symbol 532 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 90;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 20;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = true;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
Instance of Symbol 351 MovieClip "araignee5" in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 15;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "right";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = true;
this.BadGuyMove = true;
}
Instance of Symbol 351 MovieClip "araignee6" in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "right";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = true;
this.BadGuyMove = true;
}
Instance of Symbol 351 MovieClip "araignee7" in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 15;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "right";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = false;
this.BadGuyMove = true;
}
Instance of Symbol 188 MovieClip "plateforme4" in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 90;
this.maxymov = 70;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 188 MovieClip in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 60;
this.maxymov = 47;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < (_global.oPerso.perso._y + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress || (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 187 MovieClip "s1" in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
onClipEvent (load) {
this.ObjectNumber = 4;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 187 MovieClip in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
onClipEvent (load) {
this.ObjectNumber = 5;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 51 MovieClip in Symbol 533 MovieClip [BGHit_l1_6] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(14);
}
}
Symbol 585 MovieClip Frame 1
stop();
Symbol 585 MovieClip Frame 14
_global.oGame.playSound("switch1");
Symbol 585 MovieClip Frame 25
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.perso._visible = 1;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
_global.oGame.freeze = false;
Symbol 585 MovieClip Frame 26
stop();
Symbol 586 MovieClip Frame 1
stop();
Symbol 586 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 586 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 586 MovieClip Frame 11
_global.oGame.playSound("zipin");
Symbol 586 MovieClip Frame 17
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 587 MovieClip Frame 1
stop();
Symbol 587 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 587 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 587 MovieClip Frame 11
_global.oGame.playSound("zipout");
Symbol 587 MovieClip Frame 26
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 591 MovieClip Frame 1
_visible = false;
stop();
Symbol 593 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip "plateformeHit7" in Symbol 593 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 40;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 20;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = true;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
Instance of Symbol 351 MovieClip "araignee8" in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 0;
this.direction = "left";
this.diagonal = false;
OneWay = false;
}
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
_global.oGame.addmetoMovinglist(this);
}
this.attLeft = true;
this.attRight = true;
this.BadGuyMove = true;
}
Instance of Symbol 585 MovieClip in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (load) {
this.ObjectNumber = 6;
this.doAction = function () {
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 187 MovieClip "s1" in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (load) {
this.ObjectNumber = 7;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 586 MovieClip "batRope8" in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
_global.oGame.freeze = true;
this.gotoAndPlay(2);
}
}
Instance of Symbol 188 MovieClip "plateforme7" in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 40;
this.maxymov = 70;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
Instance of Symbol 51 MovieClip in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(10);
}
}
Instance of Symbol 51 MovieClip in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(17);
}
}
Instance of Symbol 51 MovieClip in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.PlaySound("tragic");
_global.oGame.LevelOver();
}
}
Instance of Symbol 587 MovieClip "batRope9" in Symbol 594 MovieClip [BGHit_l1_8] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
_global.oGame.freeze = true;
this.gotoAndPlay(2);
}
}
Symbol 597 MovieClip Frame 1
stop();
Symbol 597 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 597 MovieClip Frame 4
if (_parent.hitZoneX.domehit._currentframe == 1) {
_parent.dome.gotoAndPlay("Mvbrise");
}
_parent.hitZoneX.domehit.gotoAndStop(2);
Symbol 597 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 597 MovieClip Frame 18
_global.oGame.playSound("zipin");
Symbol 597 MovieClip Frame 30
_global.oGame.playSound("landing");
Symbol 597 MovieClip Frame 35
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 599 MovieClip Frame 1
_visible = false;
stop();
Symbol 601 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 353 MovieClip "domehit" in Symbol 601 MovieClip Frame 1
onClipEvent (load) {
this.DomeNumber = 4;
_global.oGame.addMeToDome(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromDome(this);
}
Instance of Symbol 597 MovieClip "batRope7" in Symbol 602 MovieClip [BGHit_l1_7] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
Instance of Symbol 187 MovieClip "s1" in Symbol 602 MovieClip [BGHit_l1_7] Frame 1
onClipEvent (load) {
this.ObjectNumber = 5;
this.doAction = function () {
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 187 MovieClip in Symbol 602 MovieClip [BGHit_l1_7] Frame 1
onClipEvent (load) {
this.ObjectNumber = 4;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 187 MovieClip in Symbol 602 MovieClip [BGHit_l1_7] Frame 1
onClipEvent (load) {
this.ObjectNumber = 6;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 293 MovieClip "bad5" in Symbol 602 MovieClip [BGHit_l1_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.haveTouch = false;
this.attRight = false;
this.laserWidthLeft = 370;
this.laserWidthRight = 10;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 2;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 2;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 293 MovieClip "bad7" in Symbol 602 MovieClip [BGHit_l1_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.haveTouch = false;
this.attRight = false;
this.laserWidthLeft = 500;
this.laserWidthRight = 10;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 2;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 2;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Symbol 617 MovieClip Frame 19
_global.oGame.playSound("light2");
Instance of Symbol 51 MovieClip in Symbol 617 MovieClip Frame 23
onClipEvent (load) {
_global.oGame.AddLampHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveLampHitZone(this);
}
Symbol 618 MovieClip Frame 1
stop();
Symbol 618 MovieClip Frame 5
_global.oGame.playSound("explosion2");
Symbol 618 MovieClip Frame 11
stop();
Symbol 625 MovieClip Frame 1
stop();
Symbol 625 MovieClip Frame 2
_global.oGame.playSound("swich3");
Symbol 625 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 625 MovieClip Frame 17
_global.oGame.playSound("zipin");
Symbol 625 MovieClip Frame 31
_global.oGame.playSound("landing");
Symbol 625 MovieClip Frame 35
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idle");
Symbol 627 MovieClip Frame 1
_visible = false;
stop();
Symbol 629 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 618 MovieClip in Symbol 630 MovieClip [BGHit_l1_1] Frame 1
onClipEvent (load) {
this.LampNumber = 1;
_global.oGame.VerifyLamp(this);
}
Instance of Symbol 625 MovieClip "batRope51" in Symbol 630 MovieClip [BGHit_l1_1] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
Instance of Symbol 625 MovieClip "batRope2" in Symbol 630 MovieClip [BGHit_l1_1] Frame 1
onClipEvent (load) {
this._visible = 0;
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
this.gotoAndPlay(2);
_global.oGame.freeze = true;
}
}
Instance of Symbol 51 MovieClip in Symbol 630 MovieClip [BGHit_l1_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(1);
}
}
Instance of Symbol 51 MovieClip in Symbol 630 MovieClip [BGHit_l1_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(3);
}
}
Instance of Symbol 51 MovieClip in Symbol 630 MovieClip [BGHit_l1_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(4);
}
}
Symbol 636 MovieClip Frame 1
_visible = 0;
loadMovie (/:gHSRoot_swf add "HSMinScore.swf", "");
Symbol 636 MovieClip Frame 4
stop();
Symbol 659 Button
on (release) {
_parent.gotoAndStop(_parent._currentframe + 1);
}
Symbol 660 MovieClip Frame 43
stop();
Symbol 702 Button
on (release) {
gotoAndStop(_currentframe + 1);
}
Symbol 972 Button
on (release) {
_parent.gotoAndStop("GameOver");
gotoAndStop ("over");
}
Symbol 979 Button
on (release) {
_global.oGame.stopSound("Musique" + _global.oGame.level);
_global.oGame.stopSound("Musique4");
_parent.gotoAndPlay("MainLoop");
this.gotoAndStop("over");
}
Symbol 997 MovieClip Frame 1
stop();
Symbol 997 MovieClip Frame 5
_parent.gotoAndPlay("MainLoop");
Symbol 997 MovieClip Frame 6
_parent.gotoAndStop("final2");
Symbol 997 MovieClip Frame 12
_global.oGame.BeginLevel(2);
stop();
Symbol 997 MovieClip Frame 13
_parent.gotoAndStop("final3");
Symbol 997 MovieClip Frame 18
_global.oGame.BeginLevel(3);
stop();
Symbol 997 MovieClip Frame 20
var scoreArray = _global.oGame.FinalScore();
score = scoreArray[0];
total = scoreArray[1];
multiplier = scoreArray[2];
stop();
Symbol 997 MovieClip Frame 21
var scoreArray = _global.oGame.FinalScore();
score = scoreArray[0];
total = scoreArray[1];
multiplier = scoreArray[2];
stop();
Symbol 997 MovieClip Frame 22
stop();
Symbol 1004 MovieClip Frame 1
_parent.frameAction();
this._visible = 0;
Symbol 1004 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1008 MovieClip Frame 1
_parent.persoFeet = this;
Symbol 1009 MovieClip Frame 1
_parent.persoHead = this;
Symbol 1010 MovieClip Frame 8
stop();
Symbol 1057 MovieClip Frame 15
if (_global.oGame.myRand(1, 10) <= 5) {
gotoAndPlay ("idle");
}
Symbol 1057 MovieClip Frame 32
gotoAndPlay ("idle");
Symbol 1156 MovieClip Frame 3
call("code");
Symbol 1156 MovieClip Frame 4
call("code");
Symbol 1156 MovieClip Frame 6
call("code");
Symbol 1156 MovieClip Frame 7
call("code");
Symbol 1156 MovieClip Frame 8
call("code");
Symbol 1156 MovieClip Frame 9
call("code");
Symbol 1156 MovieClip Frame 10
call("code");
Symbol 1156 MovieClip Frame 11
call("code");
Symbol 1156 MovieClip Frame 12
call("code");
Symbol 1156 MovieClip Frame 13
call("code");
Symbol 1156 MovieClip Frame 14
call("code");
Symbol 1156 MovieClip Frame 15
call("code");
Symbol 1156 MovieClip Frame 16
call("code");
Symbol 1156 MovieClip Frame 17
call("code");
Symbol 1156 MovieClip Frame 18
call("code");
Symbol 1156 MovieClip Frame 19
call("code");
Symbol 1156 MovieClip Frame 20
if (Key.isDown(39) or Key.isDown(37)) {
gotoAndPlay ("loop");
}
Symbol 1156 MovieClip Frame 22
call("code2");
Symbol 1156 MovieClip Frame 23
call("code2");
Symbol 1156 MovieClip Frame 24
call("code2");
Symbol 1156 MovieClip Frame 25
call("code2");
Symbol 1156 MovieClip Frame 26
call("code2");
Symbol 1156 MovieClip Frame 27
call("code2");
Symbol 1156 MovieClip Frame 28
call("code2");
Symbol 1156 MovieClip Frame 29
if (Key.isDown(39) or Key.isDown(37)) {
gotoAndPlay ("start");
}
Symbol 1156 MovieClip Frame 30
gotoAndPlay ("stopped");
Symbol 1156 MovieClip Frame 31
if ((!Key.isDown(39)) and (!Key.isDown(37))) {
gotoAndPlay ("end");
}
Symbol 1156 MovieClip Frame 32
if (Key.isDown(39) or Key.isDown(37)) {
gotoAndPlay ("start");
}
Symbol 1310 MovieClip Frame 3
call("code");
Symbol 1310 MovieClip Frame 4
call("code");
Symbol 1310 MovieClip Frame 6
call("code");
Symbol 1310 MovieClip Frame 7
call("code");
Symbol 1310 MovieClip Frame 8
call("code");
Symbol 1310 MovieClip Frame 9
call("code");
Symbol 1310 MovieClip Frame 10
call("code");
Symbol 1310 MovieClip Frame 11
call("code");
Symbol 1310 MovieClip Frame 12
call("code");
Symbol 1310 MovieClip Frame 13
call("code");
Symbol 1310 MovieClip Frame 14
call("code");
Symbol 1310 MovieClip Frame 15
call("code");
Symbol 1310 MovieClip Frame 16
call("code");
Symbol 1310 MovieClip Frame 17
call("code");
Symbol 1310 MovieClip Frame 18
if (Key.isDown(39) or Key.isDown(37)) {
gotoAndPlay ("loop");
}
Symbol 1310 MovieClip Frame 20
call("code2");
Symbol 1310 MovieClip Frame 21
call("code2");
Symbol 1310 MovieClip Frame 22
call("code2");
Symbol 1310 MovieClip Frame 23
call("code2");
Symbol 1310 MovieClip Frame 24
if (Key.isDown(39) or Key.isDown(37)) {
gotoAndPlay ("start");
}
Symbol 1310 MovieClip Frame 25
gotoAndPlay ("stopped");
Symbol 1310 MovieClip Frame 26
if ((!Key.isDown(39)) and (!Key.isDown(37))) {
gotoAndPlay ("end");
}
Symbol 1310 MovieClip Frame 27
if (Key.isDown(39) or Key.isDown(37)) {
gotoAndPlay ("start");
}
Symbol 1353 MovieClip Frame 1
_visible = false;
_parent._parent.attackZone = this;
Symbol 1375 MovieClip Frame 2
_global.oPerso.persoIsLanding = false;
_global.oPerso.persoIsAttacking = true;
var temp = (Math.floor(Math.random() * 3) + 1);
switch (temp) {
case 1 :
_global.oGame.PlaySound("swich3");
break;
case 2 :
_global.oGame.PlaySound("swich6");
break;
case 3 :
_global.oGame.PlaySound("swich7");
}
Symbol 1375 MovieClip Frame 18
_global.oPerso.persoIsAttacking = false;
Symbol 1375 MovieClip Frame 19
stop();
Symbol 1388 MovieClip Frame 2
_global.oPerso.persoIsLanding = false;
_global.oPerso.PersoIsAttacking = true;
Symbol 1388 MovieClip Frame 6
_global.oPerso.Throw();
_global.oGame.PlaySound("swich1");
Symbol 1388 MovieClip Frame 7
_global.oPerso.PersoIsAttacking = false;
stop();
Symbol 1395 MovieClip Frame 3
stop();
Symbol 1431 MovieClip Frame 3
stop();
Symbol 1451 MovieClip Frame 7
stop();
Symbol 1459 MovieClip Frame 3
stop();
Symbol 1460 MovieClip Frame 8
_global.oPerso.persoIsLanding = false;
stop();
Symbol 1507 MovieClip Frame 9
_global.oPerso.persoIsLanding = false;
stop();
Symbol 1536 MovieClip Frame 2
_global.oGame.playSound("hit2");
Symbol 1536 MovieClip Frame 12
_global.oPerso.persoIsInPain = false;
Symbol 1542 MovieClip Frame 2
_global.oGame.PlaySound("hit2");
Symbol 1542 MovieClip Frame 10
_global.oPerso.persoIsInPain = false;
Symbol 1567 MovieClip Frame 2
stop();
Symbol 1593 MovieClip Frame 5
stop();
Symbol 1597 MovieClip Frame 8
stop();
Symbol 1598 MovieClip Frame 2
_global.oPerso.persoIsAttacking = true;
var temp = (Math.floor(Math.random() * 3) + 1);
switch (temp) {
case 1 :
_global.oGame.PlaySound("swich3");
break;
case 2 :
_global.oGame.PlaySound("swich6");
break;
case 3 :
_global.oGame.PlaySound("swich7");
}
Symbol 1598 MovieClip Frame 8
_global.oPerso.persoIsAttacking = false;
stop();
Symbol 1624 MovieClip Frame 1
_global.oPerso.persoIsAttacking = true;
var temp = (Math.floor(Math.random() * 3) + 1);
switch (temp) {
case 1 :
_global.oGame.PlaySound("swich3");
break;
case 2 :
_global.oGame.PlaySound("swich6");
break;
case 3 :
_global.oGame.PlaySound("swich7");
}
Symbol 1624 MovieClip Frame 4
_global.oPerso.persoIsAttacking = false;
stop();
Symbol 1666 MovieClip Frame 1
_global.oGame.PlaySound("hit3");
Symbol 1666 MovieClip Frame 22
if (_global.oPerso.persoLife <= 0) {
_global.oGame.LoseGame();
} else {
_global.oPerso.persoIsInPain = false;
_global.oGame.resetPlay();
}
stop();
Symbol 1693 MovieClip Frame 1
_global.oGame.PlaySound("hit3");
Symbol 1693 MovieClip Frame 14
if (_global.oPerso.persoLife <= 0) {
_global.oGame.LoseGame();
} else {
_global.oPerso.persoIsInPain = false;
_global.oGame.resetPlay();
}
stop();
Symbol 1695 MovieClip Frame 1
_global.oPerso.persoXSpeed = 0;
Symbol 1695 MovieClip Frame 2
call(1);
Symbol 1695 MovieClip Frame 3
call(1);
Symbol 1695 MovieClip Frame 4
call(1);
Symbol 1695 MovieClip Frame 5
call(1);
Symbol 1695 MovieClip Frame 6
call(1);
Symbol 1695 MovieClip Frame 7
call(1);
Symbol 1695 MovieClip Frame 8
_global.oPerso.persoIsLanding = false;
stop();
Symbol 1696 MovieClip Frame 1
stop();
Instance of Symbol 1006 MovieClip "persoBody" in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1008 MovieClip in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1009 MovieClip in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 1010 MovieClip in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1057 MovieClip in Symbol 1696 MovieClip Frame 1
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1156 MovieClip in Symbol 1696 MovieClip Frame 10
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1310 MovieClip in Symbol 1696 MovieClip Frame 10
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1375 MovieClip "persoAttack" in Symbol 1696 MovieClip Frame 19
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1388 MovieClip in Symbol 1696 MovieClip Frame 19
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1395 MovieClip in Symbol 1696 MovieClip Frame 29
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1431 MovieClip in Symbol 1696 MovieClip Frame 29
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1451 MovieClip in Symbol 1696 MovieClip Frame 39
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1459 MovieClip in Symbol 1696 MovieClip Frame 39
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1460 MovieClip in Symbol 1696 MovieClip Frame 49
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1507 MovieClip in Symbol 1696 MovieClip Frame 49
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1536 MovieClip in Symbol 1696 MovieClip Frame 59
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1542 MovieClip in Symbol 1696 MovieClip Frame 59
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1568 MovieClip in Symbol 1696 MovieClip Frame 69
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1582 MovieClip in Symbol 1696 MovieClip Frame 69
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1598 MovieClip "persoJumpAttack" in Symbol 1696 MovieClip Frame 79
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1624 MovieClip in Symbol 1696 MovieClip Frame 79
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1666 MovieClip in Symbol 1696 MovieClip Frame 90
onClipEvent (load) {
if (!_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Instance of Symbol 1693 MovieClip in Symbol 1696 MovieClip Frame 90
onClipEvent (load) {
if (_global.oPerso.IsBatman) {
this._visible = false;
this.stop();
}
}
Symbol 1697 MovieClip Frame 1
stop();
Instance of Symbol 1696 MovieClip in Symbol 1697 MovieClip Frame 1
onClipEvent (load) {
this.swapDepths(100);
_global.oPerso.perso = this;
}
Symbol 1701 MovieClip Frame 1
_global.oGame.ConsoleVisible = false;
stop();
Symbol 1706 MovieClip Frame 1
stop();
Symbol 1712 MovieClip Frame 1
stop();
Instance of Symbol 1706 MovieClip "bar" in Symbol 1712 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.lifebar = this;
}
Symbol 1712 MovieClip Frame 2
stop();
Symbol 1742 MovieClip Frame 1
stop();
Symbol 1742 MovieClip Frame 2
waiting = setInterval(this.hideMe, 1000);
stop();
Symbol 1742 MovieClip Frame 3
waiting = setInterval(this.hideMe, 1000);
stop();
Symbol 1748 MovieClip Frame 1
_visible = 0;
Symbol 1748 MovieClip Frame 5
stop();
Symbol 1763 MovieClip Frame 1
stop();
Symbol 1763 MovieClip Frame 11
stop();
Symbol 1763 MovieClip Frame 12
_global.oGame.playSound("vitre");
Symbol 1763 MovieClip Frame 20
stop();
Symbol 1786 MovieClip Frame 1
stop();
Symbol 1786 MovieClip Frame 12
_global.oGame.playSound("laserdoor");
Symbol 1786 MovieClip Frame 35
_global.oGame.playSound("icemelt");
Symbol 1786 MovieClip Frame 155
stop();
Symbol 1807 MovieClip Frame 7
_global.oGame.playSound("grille");
Symbol 1807 MovieClip Frame 21
_global.oGame.playSound("swich3");
Symbol 1807 MovieClip Frame 37
stop();
Symbol 1813 MovieClip Frame 1
stop();
Symbol 1813 MovieClip Frame 16
_global.oGame.playSound("switch1");
Symbol 1813 MovieClip Frame 30
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
this.doAction();
Symbol 1813 MovieClip Frame 31
stop();
Instance of Symbol 51 MovieClip in Symbol 1872 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Instance of Symbol 51 MovieClip in Symbol 1872 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 1872 MovieClip Frame 15
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
Symbol 1872 MovieClip Frame 30
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
Symbol 1872 MovieClip Frame 45
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
Symbol 1872 MovieClip Frame 60
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
Symbol 1872 MovieClip Frame 75
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
Symbol 1872 MovieClip Frame 90
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
Symbol 1872 MovieClip Frame 105
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
}
gotoAndPlay ("idle");
Instance of Symbol 51 MovieClip in Symbol 1872 MovieClip Frame 106
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 1872 MovieClip Frame 113
_global.oGame.playSound("swich2");
Instance of Symbol 51 MovieClip in Symbol 1872 MovieClip Frame 115
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 1872 MovieClip Frame 115
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 1872 MovieClip Frame 117
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 1872 MovieClip Frame 135
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 1872 MovieClip Frame 136
_global.oGame.playSound("hurt1");
Symbol 1872 MovieClip Frame 154
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale < 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
stop();
Symbol 1872 MovieClip Frame 155
stop();
Symbol 1872 MovieClip Frame 156
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
_global.oGame.playSound("hit1");
}
Symbol 1872 MovieClip Frame 170
this.gotoAndPlay("idle");
Symbol 1888 MovieClip Frame 1
stop();
Symbol 1888 MovieClip Frame 27
this.haveTouch = false;
Instance of Symbol 51 MovieClip in Symbol 1912 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Instance of Symbol 51 MovieClip in Symbol 1912 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 1912 MovieClip Frame 15
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 1912 MovieClip Frame 30
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 1912 MovieClip Frame 45
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 1912 MovieClip Frame 64
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
gotoAndPlay ("idle");
Symbol 1912 MovieClip Frame 65
this.laserTray.play();
Instance of Symbol 51 MovieClip in Symbol 1912 MovieClip Frame 65
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveLaserHitZone(this);
}
Symbol 1912 MovieClip Frame 80
_global.oGame.playSound("drone1");
Instance of Symbol 51 MovieClip in Symbol 1912 MovieClip Frame 82
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeLaserHitZone(this);
}
Symbol 1912 MovieClip Frame 103
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 1912 MovieClip Frame 104
_global.oGame.playSound("explosion2");
Symbol 1912 MovieClip Frame 124
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale < 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
stop();
Symbol 1912 MovieClip Frame 125
stop();
Symbol 1912 MovieClip Frame 126
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
_global.oGame.playSound("electronic2");
}
Symbol 1912 MovieClip Frame 132
this.gotoAndPlay("idle");
Symbol 1914 MovieClip Frame 1
_visible = false;
stop();
Symbol 1916 MovieClip Frame 1
stop();
Symbol 1916 MovieClip Frame 2
_global.oGame.level1.domebrise[this.DomeNumber] = true;
stop();
Symbol 1917 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 1917 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 120;
this.maxymov = 60;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1916 MovieClip in Symbol 1917 MovieClip Frame 1
onClipEvent (load) {
this.DomeNumber = 1;
_global.oGame.addMeToDome(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromDome(this);
}
Instance of Symbol 188 MovieClip in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 60;
this.maxymov = 60;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (load) {
this.ObjectNumber = 1;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 51 MovieClip in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(18);
}
}
Instance of Symbol 51 MovieClip in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(7);
}
}
Instance of Symbol 51 MovieClip in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(5);
}
}
Instance of Symbol 51 MovieClip in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(9);
}
}
Instance of Symbol 1872 MovieClip "badguy2-1" in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
}
Instance of Symbol 1912 MovieClip "drone1" in Symbol 1918 MovieClip [BGHit_l2_1] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 1926 MovieClip Frame 1
stop();
Symbol 1926 MovieClip Frame 2
_global.oGame.playSound("porte");
Symbol 1926 MovieClip Frame 16
stop();
Symbol 1927 MovieClip Frame 1
stop();
Symbol 1927 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 1927 MovieClip Frame 10
_global.oGame.playSound("zipin");
Symbol 1927 MovieClip Frame 14
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 1927 MovieClip Frame 20
_global.oGame.playSound("zipout");
Symbol 1927 MovieClip Frame 27
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 1955 MovieClip Frame 1
this.playFrost();
Instance of Symbol 1954 MovieClip in Symbol 1955 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 1955 MovieClip Frame 9
gotoAndPlay ("continu");
Symbol 1955 MovieClip Frame 11
this.playFrost();
this.play();
play();
Instance of Symbol 1954 MovieClip in Symbol 1955 MovieClip Frame 11
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Instance of Symbol 1953 MovieClip in Symbol 1955 MovieClip Frame 20
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 1955 MovieClip Frame 70
gotoAndPlay ("pulse");
Instance of Symbol 1953 MovieClip in Symbol 1955 MovieClip Frame 71
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 1956 MovieClip Frame 1
stop();
Symbol 1956 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 1956 MovieClip Frame 10
_global.oGame.playSound("zipin");
Symbol 1956 MovieClip Frame 13
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 1956 MovieClip Frame 17
_global.oGame.playSound("zipout");
Symbol 1956 MovieClip Frame 28
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleDown");
Symbol 1958 MovieClip Frame 1
_visible = false;
stop();
Symbol 1960 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 1960 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 120;
this.maxymov = 55;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip "plateformeHit2" in Symbol 1960 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 150;
this.maxymov = 0;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 188 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 60;
this.maxymov = 55;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip "plateforme2" in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 150;
this.maxymov = 60;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "left";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 1927 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1955 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this.playFrost = function () {
_global.oGame.playSound("frostbeam");
};
}
Instance of Symbol 51 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage == 0) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.level2.stage = 1;
_global.oPerso.perso._visible = false;
_global.oGame.SwitchPerso(8);
}
}
}
Instance of Symbol 1956 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (_global.oGame.level2.porte[3]) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
}
Instance of Symbol 1956 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (_global.oGame.level2.porte[3]) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 16)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this.ObjectNumber = 2;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
} else {
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1813 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this.ObjectNumber = 3;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1813 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this.ObjectNumber = 4;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1927 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 51 MovieClip in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(6);
}
}
Instance of Symbol 1872 MovieClip "badguy2-2" in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
}
Instance of Symbol 1912 MovieClip "drone2" in Symbol 1961 MovieClip [BGHit_l2_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 400;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 1968 MovieClip Frame 1
stop();
Symbol 1968 MovieClip Frame 2
play();
Symbol 1968 MovieClip Frame 20
_global.oGame.playSound("grille");
Symbol 1968 MovieClip Frame 24
_global.oGame.playSound("swich3");
Symbol 1968 MovieClip Frame 28
_global.oGame.playSound("landing");
Symbol 1968 MovieClip Frame 40
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
_global.operso.perso._visible = 1;
Symbol 1968 MovieClip Frame 41
stop();
Symbol 1971 MovieClip Frame 1
stop();
Symbol 1971 MovieClip Frame 3
_global.oGame.playSound("toc");
Symbol 1971 MovieClip Frame 8
_global.oGame.playSound("zipin");
Symbol 1971 MovieClip Frame 11
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 1971 MovieClip Frame 20
stop();
Symbol 1971 MovieClip Frame 21
_global.oGame.playSound("zipout");
Symbol 1971 MovieClip Frame 32
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleDown");
Symbol 1972 MovieClip Frame 1
stop();
Symbol 1972 MovieClip Frame 6
_global.oGame.playSound("toc");
Symbol 1972 MovieClip Frame 11
_global.oGame.playSound("zipin");
Symbol 1972 MovieClip Frame 17
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 1972 MovieClip Frame 21
_global.oGame.playSound("zipout");
Symbol 1972 MovieClip Frame 37
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleDown");
Symbol 1974 MovieClip Frame 1
stop();
Symbol 1974 MovieClip Frame 2
_global.oGame.playSound("grille");
Symbol 1974 MovieClip Frame 17
_global.oGame.playSound("swich3");
Symbol 1974 MovieClip Frame 25
this.doTransition();
Symbol 1975 MovieClip Frame 1
stop();
Symbol 1975 MovieClip Frame 3
_global.oGame.playSound("toc");
Symbol 1975 MovieClip Frame 8
_global.oGame.playSound("zipin");
Symbol 1975 MovieClip Frame 11
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 1975 MovieClip Frame 20
stop();
Symbol 1975 MovieClip Frame 21
_global.oGame.playSound("zipout");
Symbol 1975 MovieClip Frame 34
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleDown");
Symbol 1976 MovieClip Frame 1
stop();
Symbol 1976 MovieClip Frame 7
_global.oGame.playSound("switch1");
Symbol 1976 MovieClip Frame 15
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
this.doAction();
Symbol 1976 MovieClip Frame 16
stop();
Symbol 1978 MovieClip Frame 1
_visible = false;
stop();
Symbol 1980 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 1968 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
if (_global.oGame.level2.stage == 1) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 1971 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1972 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1974 MovieClip "grille" in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage == 2) {
if ((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oGame.level2.stage = 3;
this.gotoAndPlay(2);
}
}
this.doTransition = function () {
var _local1 = _global;
_local1.oGame.freeze = true;
_local1.oPerso.perso._x = 4000;
_local1.oGame.transitTo(false, 1, "down");
};
}
Instance of Symbol 1971 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1971 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
_global.oGame.BatmanAway();
}
}
Instance of Symbol 1972 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1975 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1976 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this.ObjectNumber = 4;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
var _local1 = _global;
_local1.oGame.level2.stage = 1;
_local1.oGame.level2.porte[4] = true;
_local1.oGame.SwitchPerso(2, 450, 115);
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1955 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this.gotoAndPlay("pulse");
this.playFrost = function () {
_global.oGame.playSound("frostbeam");
};
}
Instance of Symbol 1976 MovieClip in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this.ObjectNumber = 5;
this.doAction = function () {
_parent.rayon5.gotoAndPlay("pulse");
_parent.rayon32.gotoAndPlay("pulse");
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1955 MovieClip "rayon32" in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this.playFrost = function () {
_global.oGame.playSound("frostbeam3");
};
}
Instance of Symbol 1955 MovieClip "rayon5" in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
this.playFrost = function () {
_global.oGame.playSound("frostbeam2");
};
}
Instance of Symbol 1872 MovieClip "badguy2-3" in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
}
Instance of Symbol 1912 MovieClip "drone3" in Symbol 1981 MovieClip [BGHit_l2_8] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this.laserWidthLeft = 600;
this.laserWidthRight = 100;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2010 MovieClip Frame 1
stop();
Symbol 2010 MovieClip Frame 10
_parent.rayon7.gotoAndStop("off");
_global.oGame.stopSound("frostbeam2");
stop();
Symbol 2014 MovieClip Frame 1
stop();
Symbol 2014 MovieClip Frame 2
_global.oGame.playSound("mecanism");
Symbol 2014 MovieClip Frame 18
stop();
Symbol 2015 MovieClip Frame 1
stop();
Symbol 2015 MovieClip Frame 5
_global.oGame.playSound("toc");
Symbol 2015 MovieClip Frame 10
_global.oGame.playSound("zipin");
Symbol 2015 MovieClip Frame 16
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2015 MovieClip Frame 21
_global.oGame.playSound("zipout");
Symbol 2015 MovieClip Frame 31
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 2017 MovieClip Frame 1
_visible = false;
stop();
Symbol 2019 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2019 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 60;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 2010 MovieClip in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso.attackzone) && (this._currentframe == 1)) {
_global.oGame.playSound("icefall");
this.gotoAndPlay(2);
}
}
Instance of Symbol 2015 MovieClip in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (_global.oGame.level2.porte[6]) {
if (((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
}
Instance of Symbol 2015 MovieClip in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (_global.oGame.level2.porte[6]) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
this.ObjectNumber = 6;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1813 MovieClip in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
this.ObjectNumber = 7;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._y = eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._y + 110;
_parent.hitZoneY.hitzone6._width = 0;
_parent.hitZoneY.hitzone6._height = 0;
_parent.platform7.gotoAndStop(18);
} else {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._y = eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._y + 110;
_parent.hitZoneY.hitzone6._width = 0;
_parent.hitZoneY.hitzone6._height = 0;
_parent.platform7.gotoAndPlay(2);
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1955 MovieClip "rayon7" in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
this.playFrost = function () {
_global.oGame.playSound("frostbeam2");
};
}
Instance of Symbol 188 MovieClip in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 60;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1872 MovieClip "badguy2-4" in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Instance of Symbol 1912 MovieClip "drone4" in Symbol 2020 MovieClip [BGHit_l2_3] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 150;
this.laserWidthRight = 300;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2023 MovieClip Frame 1
stop();
Symbol 2023 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 2023 MovieClip Frame 9
_global.oGame.playSound("zipin");
Symbol 2023 MovieClip Frame 15
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2023 MovieClip Frame 20
_global.oGame.playSound("zipout");
Symbol 2023 MovieClip Frame 32
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 2025 MovieClip Frame 1
_visible = false;
stop();
Symbol 2027 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2027 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 55;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 1955 MovieClip "rayon11" in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this.playFrost = function () {
_global.oGame.playSound("frostbeam2");
};
}
Instance of Symbol 188 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 55;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this.ObjectNumber = 11;
this.doAction = function () {
_parent.rayon11.gotoAndPlay("pulse");
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2023 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2015 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2015 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 17)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2023 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 17)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1813 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this.ObjectNumber = 12;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 51 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage == 1) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.level2.stage = 2;
_global.oGame.SwitchPerso(8, 420, 210);
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
this.ObjectNumber = 8;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1872 MovieClip "badguy2-6" in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1872 MovieClip "badguy2-5" in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1912 MovieClip "drone5" in Symbol 2028 MovieClip [BGHit_l2_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 150;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2032 MovieClip Frame 1
stop();
Symbol 2032 MovieClip Frame 7
_global.oGame.playSound("grile");
Symbol 2032 MovieClip Frame 22
_global.oGame.playSound("swich3");
Symbol 2032 MovieClip Frame 30
this.doTransition();
Symbol 2032 MovieClip Frame 37
stop();
Symbol 2034 MovieClip Frame 1
_visible = false;
stop();
Symbol 2036 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 1968 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
if (_global.oGame.level2.stage == 3) {
_global.oGame.freeze = false;
this.gotoAndPlay(2);
}
}
Instance of Symbol 2032 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage == 5) {
if ((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oGame.level2.stage = 6;
this.gotoAndPlay(2);
}
}
this.doTransition = function () {
_global.oGame.switchPerso(7, undefined, undefined, false);
};
}
Instance of Symbol 1971 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
_global.oGame.BatmanAway();
}
}
Instance of Symbol 1971 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
_global.oGame.BatmanAway();
}
}
Instance of Symbol 1976 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this.ObjectNumber = 9;
this.doAction = function () {
_parent.rayon9.gotoAndPlay("pulse");
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1955 MovieClip "rayon9" in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this.playFrost = function () {
_global.oGame.playSound("frostbeam2");
};
}
Instance of Symbol 1971 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
_global.oGame.BatmanAway();
}
}
Instance of Symbol 1976 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this.ObjectNumber = 10;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
var _local1 = _global;
if (_local1.oGame.level2.stage == 3) {
_local1.oGame.level2.stage = 4;
_local1.oGame.level2.porte[8] = true;
_local1.oGame.SwitchPerso(4, 450, 125);
}
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1971 MovieClip in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
_global.oGame.BatmanAway();
}
}
Instance of Symbol 1955 MovieClip "rayon231" in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
this.gotoAndPlay("pulse");
this.playFrost = function () {
_global.oGame.playSound("frostbeam");
};
}
Instance of Symbol 1872 MovieClip "badguy2-7" in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1872 MovieClip "badguy2-8" in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1912 MovieClip "drone8" in Symbol 2037 MovieClip [BGHit_l2_9] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 100;
this.laserWidthRight = 200;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2041 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2041 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 120;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2041 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2041 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2041 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso) && (_global.oGame.level2.porte[13])) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Symbol 2043 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 188 MovieClip in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 60;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
onClipEvent (load) {
this.ObjectNumber = 14;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 188 MovieClip in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1872 MovieClip "badguy2-11" in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
}
Instance of Symbol 1912 MovieClip "drone7" in Symbol 2044 MovieClip [BGHit_l2_6] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 150;
this.laserWidthRight = 200;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2047 MovieClip Frame 1
stop();
Symbol 2047 MovieClip Frame 2
_global.oGame.playSound("grille");
play();
Symbol 2047 MovieClip Frame 6
_global.oGame.playSound("swich3");
Symbol 2047 MovieClip Frame 12
_global.oGame.playSound("landing");
Symbol 2047 MovieClip Frame 21
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.operso.perso._visible = 1;
Symbol 2047 MovieClip Frame 28
stop();
Symbol 2050 MovieClip Frame 1
stop();
Symbol 2050 MovieClip Frame 2
play();
Symbol 2050 MovieClip Frame 14
_global.oGame.LevelOver();
_global.oPerso.perso._visible = true;
_global.oGame.freeze = false;
stop();
Symbol 2050 MovieClip Frame 34
_global.oPerso.perso._visible = true;
_global.oGame.freeze = false;
_global.oGame.SwitchPerso(9, 450, 125);
stop();
Symbol 2052 MovieClip Frame 1
_visible = false;
stop();
Symbol 2054 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2054 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 120;
this.maxymov = 117;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2054 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2054 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 51 MovieClip in Symbol 2054 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage != 6) {
this._width = 0;
this._height = 0;
}
}
Instance of Symbol 51 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage == 4) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.level2.stage = 5;
_parent.agp.gotoAndPlay("batman");
_global.oPerso.perso._x = 10000;
_global.oGame.freeze = true;
}
} else if (_global.oGame.level2.stage == 6) {
if (this.hitTest(_global.oPerso.perso)) {
_parent.agp.gotoAndPlay("batgirl");
_global.oPerso.perso._x = 10000;
}
}
}
Instance of Symbol 2047 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (load) {
if (_global.oGame.level2.stage == 6) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 188 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
_global.oGame.addmetoMovingList(this);
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 1976 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (load) {
this.ObjectNumber = 15;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 67 MovieClip [Ascenseur2-1] in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level2.stage != 6) {
this._visible = false;
}
}
Instance of Symbol 188 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 117;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
if (_global.oGame.level2.stage == 6) {
this._visible = false;
}
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 51 MovieClip in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(19);
}
}
Instance of Symbol 1872 MovieClip "badguy2-12" in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1912 MovieClip "drone9" in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 150;
this.laserWidthRight = 200;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 1872 MovieClip "badguy2-13" in Symbol 2055 MovieClip [BGHit_l2_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Symbol 2058 MovieClip Frame 5
stop();
Symbol 2058 MovieClip Frame 6
_global.oGame.playSound("porte");
Symbol 2058 MovieClip Frame 15
stop();
Symbol 2060 MovieClip Frame 1
_visible = false;
stop();
Symbol 2062 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2062 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso) && (_global.oGame.level2.porte[13])) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2062 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2062 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (load) {
this.ObjectNumber = 13;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2015 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 17)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2015 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 188 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso) && (_global.oGame.level2.porte[13])) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 43;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur2-1";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 51 MovieClip in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(6);
}
}
Instance of Symbol 1872 MovieClip "badguy2-10" in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1872 MovieClip "badguy2-9" in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
} else {
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this.gotoAndPlay(Math.floor(Math.random() * 90) + 1);
}
}
Instance of Symbol 1912 MovieClip "drone6" in Symbol 2063 MovieClip [BGHit_l2_5] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 150;
this.laserWidthRight = 200;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 9.5;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 9.5;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2066 MovieClip Frame 1
stop();
Symbol 2066 MovieClip Frame 5
_global.oGame.playSound("toc");
Symbol 2066 MovieClip Frame 9
_global.oGame.playSound("zipin");
Symbol 2066 MovieClip Frame 13
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2066 MovieClip Frame 26
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 2067 MovieClip Frame 1
stop();
Symbol 2067 MovieClip Frame 3
_global.oGame.playSound("toc");
Symbol 2067 MovieClip Frame 9
_global.oGame.playSound("zipin");
Symbol 2067 MovieClip Frame 11
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2067 MovieClip Frame 20
stop();
Symbol 2067 MovieClip Frame 21
_global.oGame.playSound("zipout");
Symbol 2067 MovieClip Frame 32
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleDown");
Symbol 2075 MovieClip Frame 1
stop();
Symbol 2075 MovieClip Frame 2
play();
Symbol 2090 MovieClip Frame 1
this.laserLength();
Instance of Symbol 51 MovieClip in Symbol 2090 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 2090 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Symbol 2090 MovieClip Frame 10
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 2090 MovieClip Frame 25
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 2090 MovieClip Frame 39
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
gotoAndPlay ("idle");
Symbol 2090 MovieClip Frame 50
lasertray.gotoAndPlay(2);
Instance of Symbol 51 MovieClip in Symbol 2090 MovieClip Frame 50
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeLaserHitZone(this);
}
Symbol 2090 MovieClip Frame 59
_global.oGame.playSound("drone1");
Symbol 2090 MovieClip Frame 69
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 2090 MovieClip Frame 70
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
_global.oGame.playSound("electronic2");
}
Symbol 2090 MovieClip Frame 81
this.gotoAndPlay("idle");
Symbol 2090 MovieClip Frame 82
_global.oGame.playSound("explosion2");
Symbol 2090 MovieClip Frame 107
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale < 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
stop();
Symbol 2090 MovieClip Frame 108
stop();
Symbol 2094 MovieClip Frame 1
this.laserLength();
Instance of Symbol 51 MovieClip in Symbol 2094 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 2094 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Symbol 2094 MovieClip Frame 15
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 2094 MovieClip Frame 30
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
Symbol 2094 MovieClip Frame 46
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
this.laserLength();
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
this.laserLength();
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
}
this.gotoAndPlay("idle");
Symbol 2094 MovieClip Frame 57
lasertray.gotoAndPlay(2);
Instance of Symbol 51 MovieClip in Symbol 2094 MovieClip Frame 57
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeLaserHitZone(this);
}
Symbol 2094 MovieClip Frame 66
_global.oGame.playSound("drone1");
Symbol 2094 MovieClip Frame 88
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 2094 MovieClip Frame 89
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
_global.oGame.playSound("electronic2");
}
Symbol 2094 MovieClip Frame 100
this.gotoAndPlay("idle");
Symbol 2094 MovieClip Frame 101
_global.oGame.playSound("explosion2");
Symbol 2094 MovieClip Frame 125
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale < 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
stop();
Symbol 2094 MovieClip Frame 126
stop();
Instance of Symbol 51 MovieClip in Symbol 2153 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 2153 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Symbol 2153 MovieClip Frame 15
if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) and (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if ((((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) and (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("frappe");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("frappe");
}
} else {
gotoAndPlay ("idle");
}
Symbol 2153 MovieClip Frame 20
_global.oGame.playSound("swich5");
Instance of Symbol 51 MovieClip in Symbol 2153 MovieClip Frame 25
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 2153 MovieClip Frame 46
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 2153 MovieClip Frame 47
_global.oGame.stopSound("swich5");
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
_global.oGame.playSound("electronic2");
}
Symbol 2153 MovieClip Frame 60
this.gotoAndPlay("idle");
Symbol 2153 MovieClip Frame 61
_global.oGame.playSound("ColossusDead");
Symbol 2153 MovieClip Frame 79
var gift = (Math.floor(Math.random() * 100) + 1);
if (this._xscale < 0) {
powerup._xscale = powerup._xscale * -1;
}
if ((gift >= 1) && (gift <= 25)) {
powerup.gotoAndStop(2);
} else if ((gift >= 26) && (gift <= 35)) {
powerup.gotoAndStop(3);
} else if ((gift >= 36) && (gift <= 41)) {
powerup.gotoAndStop(4);
} else if ((gift >= 42) && (gift <= 45)) {
powerup.gotoAndStop(5);
} else if ((gift >= 46) && (gift <= 50)) {
powerup.gotoAndStop(6);
} else {
gotoAndStop ("death");
}
stop();
Symbol 2153 MovieClip Frame 80
stop();
Symbol 2155 MovieClip Frame 1
_visible = false;
stop();
Symbol 2157 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2157 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 57;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2157 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 105;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2157 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 75;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
Instance of Symbol 2066 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 188 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 57;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 105;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 75;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
onClipEvent (unload) {
_global.oGame.RemoveFromMovingList(this);
}
Instance of Symbol 2067 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2067 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1974 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level3.stage == 3) {
if ((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oGame.level3.stage = 4;
this.gotoAndPlay(2);
}
}
}
onClipEvent (load) {
this.doTransition = function () {
_global.oGame.transitTo(true, 1, "right");
};
}
Instance of Symbol 1976 MovieClip in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
this.ObjectNumber = 2;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
var _local1 = _global;
if (_local1.oGame.level3.stage == 1) {
_local1.oGame.level3.stage = 2;
_local1.oGame.SwitchPerso(1, 470, 310);
}
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2090 MovieClip "high2" in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 120;
this.laserWidthRight = 120;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2094 MovieClip "low1" in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 130;
this.laserWidthRight = 100;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2153 MovieClip "colossus2" in Symbol 2158 MovieClip [BGHit_l3_2] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Symbol 2196 MovieClip Frame 1
stop();
Symbol 2196 MovieClip Frame 10
if (_parent.porte11._currentframe < 16) {
_parent._parent.porte11.gotoAndPlay("Ferme");
_parent._parent.hitzoney.hitporte11._height = 92;
_parent._parent.hitzoney.hitporte11._width = 37;
}
stop();
Symbol 2196 MovieClip Frame 20
stop();
Symbol 2196 MovieClip Frame 30
stop();
Symbol 2196 MovieClip Frame 40
stop();
Symbol 2196 MovieClip Frame 50
stop();
Symbol 2196 MovieClip Frame 60
stop();
Symbol 2196 MovieClip Frame 70
stop();
Symbol 2196 MovieClip Frame 81
_parent.gotoAndPlay(3);
stop();
Symbol 2215 MovieClip Frame 15
stop();
Symbol 2220 MovieClip Frame 15
stop();
Symbol 2230 MovieClip Frame 15
stop();
Symbol 2233 MovieClip Frame 7
stop();
Symbol 2234 MovieClip Frame 1
stop();
Instance of Symbol 2196 MovieClip "timer" in Symbol 2234 MovieClip Frame 1
onClipEvent (load) {
function TimerAvance() {
temps = temps + 1;
gotoAndPlay("timer" + temps);
_global.oGame.PlaySound("hum");
_global.oGame.ChangeVolume("hum", 100 + (temps * 10));
if (temps == 8) {
clearInterval(timer);
}
}
temps = 0;
timer = setInterval(TimerAvance, 2000);
}
Symbol 2234 MovieClip Frame 2
stop();
Instance of Symbol 2196 MovieClip "timer" in Symbol 2234 MovieClip Frame 3
onClipEvent (load) {
gotoAndPlay ("timer8");
}
Symbol 2234 MovieClip Frame 11
_global.oGame.LoseGame();
Symbol 2238 MovieClip Frame 1
stop();
Symbol 2238 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 2238 MovieClip Frame 8
_global.oGame.playSound("zipin");
Symbol 2238 MovieClip Frame 13
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2238 MovieClip Frame 18
_global.oGame.playSound("zipout");
Symbol 2238 MovieClip Frame 26
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 2239 MovieClip Frame 1
stop();
Symbol 2239 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 2239 MovieClip Frame 8
_global.oGame.playSound("zipin");
Symbol 2239 MovieClip Frame 13
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2239 MovieClip Frame 16
_global.oGame.playSound("zipout");
Symbol 2239 MovieClip Frame 26
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 2246 MovieClip Frame 1
stop();
Symbol 2246 MovieClip Frame 16
_global.oGame.playSound("switch1");
Symbol 2246 MovieClip Frame 30
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
this.doAction();
Symbol 2246 MovieClip Frame 31
stop();
Symbol 2394 MovieClip Frame 3
_global.oGame.playSound("swich6");
Symbol 2394 MovieClip Frame 8
_global.oGame.playSound("FreezeBombe");
Instance of Symbol 51 MovieClip in Symbol 2394 MovieClip Frame 8
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 2395 MovieClip Frame 3
_global.oGame.playSound("swich6");
Instance of Symbol 51 MovieClip in Symbol 2395 MovieClip Frame 7
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 2395 MovieClip Frame 8
_global.oGame.playSound("FreezeBombe");
Symbol 2396 MovieClip Frame 3
_global.oGame.playSound("swich6");
Symbol 2396 MovieClip Frame 10
_global.oGame.playSound("FreezeBombe");
Instance of Symbol 51 MovieClip in Symbol 2396 MovieClip Frame 10
onClipEvent (load) {
_global.oGame.AddAttackHitZone(this);
}
onClipEvent (unload) {
_global.oGame.RemoveAttackHitZone(this);
}
Symbol 2398 MovieClip Frame 1
_global.oGame.playSound("swich5");
Symbol 2398 MovieClip Frame 15
_global.oGame.playSound("patte");
Symbol 2398 MovieClip Frame 24
_parent.gotoAndPlay("idleMed");
Symbol 2399 MovieClip Frame 1
_global.oGame.playSound("swich5");
Symbol 2399 MovieClip Frame 15
_global.oGame.playSound("patte");
Symbol 2399 MovieClip Frame 24
_parent.gotoAndPlay("IdleHigh");
Symbol 2400 MovieClip Frame 1
_global.oGame.playSound("swich5");
Symbol 2400 MovieClip Frame 15
_global.oGame.playSound("patte");
Symbol 2400 MovieClip Frame 20
_parent.gotoAndPlay("idleMed");
Symbol 2401 MovieClip Frame 1
_global.oGame.playSound("swich5");
Symbol 2401 MovieClip Frame 15
_global.oGame.playSound("patte");
Symbol 2401 MovieClip Frame 20
_parent.gotoAndPlay("idleLow");
Symbol 2403 MovieClip Frame 18
_global.oGame.WinGame();
stop();
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 2404 MovieClip Frame 7
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("tire");
} else {
gotoAndPlay ("idle");
}
Symbol 2404 MovieClip Frame 14
_global.oGame.playSound("freezeLaser");
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 14
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeLaserHitZone(this);
}
Symbol 2404 MovieClip Frame 23
this.haveTouch = false;
this.gotoAndPlay("idle");
Symbol 2404 MovieClip Frame 24
_global.oGame.playSound("freezeHit");
Symbol 2404 MovieClip Frame 29
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndPlay("die");
} else {
this.gotoAndPlay("idle");
_parent.FreezeLifeBar.bar.gotoAndStop(_parent.FreezeLifeBar.bar._currentframe + 7);
}
Symbol 2404 MovieClip Frame 30
_global.oGame.playSound("FreezeDieHumain");
Symbol 2404 MovieClip Frame 45
_global.oGame.playSound("FreezeMetamorphose");
Symbol 2404 MovieClip Frame 123
this.VerPos = "Low";
damageTimer = setInterval(this.checkRapidity, 1000);
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 124
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 124
onClipEvent (load) {
_parent.detectZoneNear = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 124
onClipEvent (load) {
_parent.detectZoneMed = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 124
onClipEvent (load) {
_parent.detectZoneFar = this;
}
Symbol 2404 MovieClip Frame 137
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 50) < 300) {
this.gotoAndPlay("OneToTwo");
this.VerPos = "Med";
} else if (_global.oPerso.perso.hitTest(detectZoneNear) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackLowNear");
} else if (_global.oPerso.perso.hitTest(detectZoneMed) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackLowMed");
} else if (_global.oPerso.perso.hitTest(detectZoneFar) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackLowFar");
} else {
gotoAndPlay ("idleLow");
}
Symbol 2404 MovieClip Frame 138
_global.oGame.playSound("FreezeAraigneeHit");
this.nbCoup = this.nbCoup + 1;
Symbol 2404 MovieClip Frame 146
if (_global.oGame.getDamage(this._name) >= 17) {
this.gotoAndPlay("DeathLow");
} else {
if (this.fastAttack == true) {
this.gotoAndPlay("repulseLow");
} else {
this.gotoAndPlay("idleLow");
}
_parent.FreezeLifeBar.bar.gotoAndStop(_parent.FreezeLifeBar.bar._currentframe + 7);
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 147
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 2404 MovieClip Frame 172
this.gotoAndPlay("idleLow");
Symbol 2404 MovieClip Frame 198
this.gotoAndPlay("idleLow");
Symbol 2404 MovieClip Frame 199
grenade.gotoAndPlay(7);
Symbol 2404 MovieClip Frame 218
this.gotoAndPlay("idleLow");
Symbol 2404 MovieClip Frame 242
this.gotoAndPlay("idleLow");
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 243
onClipEvent (load) {
_parent.detectZoneNear = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 243
onClipEvent (load) {
_parent.detectZoneMed = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 243
onClipEvent (load) {
_parent.detectZoneFar = this;
}
Symbol 2404 MovieClip Frame 257
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 50) < 200) {
this.gotoAndPlay("TwoToThree");
this.VerPos = "High";
} else if (((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 50) > 300) {
this.gotoAndPlay("TwoToOne");
this.VerPos = "Low";
} else if (_global.oPerso.perso.hitTest(detectZoneNear) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackMedNear");
} else if (_global.oPerso.perso.hitTest(detectZoneMed) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackMedMed");
} else if (_global.oPerso.perso.hitTest(detectZoneFar) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackMedFar");
} else {
gotoAndPlay ("idleMed");
}
Symbol 2404 MovieClip Frame 258
_global.oGame.playSound("FreezeAraigneeHit");
this.nbCoup = this.nbCoup + 1;
Symbol 2404 MovieClip Frame 266
if (_global.oGame.getDamage(this._name) >= 17) {
this.gotoAndPlay("deathMed");
} else {
if (this.fastAttack == true) {
this.gotoAndPlay("repulseMed");
} else {
this.gotoAndPlay("idleMed");
}
_parent.FreezeLifeBar.bar.gotoAndStop(_parent.FreezeLifeBar.bar._currentframe + 7);
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 267
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 2404 MovieClip Frame 292
this.gotoAndPlay("idleMed");
Symbol 2404 MovieClip Frame 317
this.gotoAndPlay("idleMed");
Symbol 2404 MovieClip Frame 318
grenade.gotoAndPlay(7);
Symbol 2404 MovieClip Frame 334
this.gotoAndPlay("idleMed");
Symbol 2404 MovieClip Frame 360
this.gotoAndPlay("idleMed");
Symbol 2404 MovieClip Frame 369
stop();
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 370
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 370
onClipEvent (load) {
_parent.detectZoneNear = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 370
onClipEvent (load) {
_parent.detectZoneMed = this;
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 370
onClipEvent (load) {
_parent.detectZoneFar = this;
}
Symbol 2404 MovieClip Frame 384
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this._xscale < 0)) {
this._xscale = -this._xscale;
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this._xscale > 0)) {
this._xscale = -this._xscale;
}
if (((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 50) > 200) {
this.gotoAndPlay("ThreeToTwo");
this.VerPos = "Med";
} else if (_global.oPerso.perso.hitTest(detectZoneNear) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackHighNear");
} else if (_global.oPerso.perso.hitTest(detectZoneMed) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackHighMed");
} else if (_global.oPerso.perso.hitTest(detectZoneFar) && (!_global.oPerso.persoIsInPain)) {
this.gotoAndPlay("AttackHighFar");
} else {
gotoAndPlay ("idleHigh");
}
Symbol 2404 MovieClip Frame 385
_global.oGame.playSound("FreezeAraigneeHit");
this.nbCoup = this.nbCoup + 1;
Symbol 2404 MovieClip Frame 393
if (_global.oGame.getDamage(this._name) >= 17) {
this.gotoAndPlay("deathHigh");
} else {
if (this.fastAttack == true) {
this.gotoAndPlay("repulseHigh");
} else {
this.gotoAndPlay("idleHigh");
}
_parent.FreezeLifeBar.bar.gotoAndStop(_parent.FreezeLifeBar.bar._currentframe + 7);
}
Instance of Symbol 51 MovieClip in Symbol 2404 MovieClip Frame 394
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Symbol 2404 MovieClip Frame 421
this.gotoAndPlay("idleHigh");
Symbol 2404 MovieClip Frame 445
this.gotoAndPlay("idleHigh");
Symbol 2404 MovieClip Frame 446
grenade.gotoAndPlay(7);
Symbol 2404 MovieClip Frame 462
this.gotoAndPlay("idleHigh");
Symbol 2404 MovieClip Frame 489
this.gotoAndPlay("idleHigh");
Symbol 2404 MovieClip Frame 490
stop();
Symbol 2404 MovieClip Frame 499
stop();
Symbol 2404 MovieClip Frame 511
stop();
Symbol 2404 MovieClip Frame 521
clearInterval(damageTimer);
stop();
Symbol 2404 MovieClip Frame 529
_global.oGame.playSound("FreezeDie");
clearInterval(damageTimer);
stop();
Symbol 2404 MovieClip Frame 536
_global.oGame.playSound("FreezeDie");
clearInterval(damageTimer);
stop();
Symbol 2406 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 51 MovieClip "HitPorte11" in Symbol 2406 MovieClip Frame 1
onClipEvent (load) {
this._width = 0;
this._height = 0;
}
Symbol 2408 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 2238 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2239 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2239 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2238 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2238 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2239 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2238 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2239 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2246 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this.ObjectNumber = 10;
this.doAction = function () {
var _local1 = _parent;
var _local2 = this;
if (arguments.caller == _global.oGame.AddSwitchPorte) {
_local1.cannon.gotoAndStop(2);
_local1.cannon.timer.gotoAndStop(1);
_local2.gotoAndStop("ouvert");
} else {
_local1.cannon.gotoAndStop(2);
_local1.cannon.timer.gotoAndStop(1);
_local2.gotoAndPlay("ouvre");
}
_local2.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 451 MovieClip "porte11" in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this.gotoAndStop("ouvert");
}
Instance of Symbol 51 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(21);
}
}
Instance of Symbol 51 MovieClip in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(22);
}
}
Instance of Symbol 2404 MovieClip "FreezeFinal" in Symbol 2409 MovieClip [BGHit_l3_9] Frame 1
onClipEvent (load) {
this.haveTouch = false;
this.laserWidthLeft = 1000;
this.laserWidthRight = 1000;
this.VerPos = "";
_global.oGame.stopSound("musique3");
_global.oGame.playSound("musique4");
this.checkRapidity = function () {
if (nbCoup >= 2) {
fastAttack = true;
nbCoup = 0;
} else {
nbCoup = 0;
}
};
}
Symbol 2414 MovieClip Frame 23
_parent.agpBatman._visible = false;
_global.oPerso.perso._x = _global.oGame.level3.bg1[2] - _global.oGame.moveZone._x;
_global.oPerso.perso._y = _global.oGame.level3.bg1[3] - _global.oGame.moveZone._y;
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
_global.oPerso.persoCurAction = "idle";
_global.oPerso.perso.gotoAndStop("idle");
_global.oPerso.perso._xscale = -Math.abs(_global.oPerso.perso._xscale);
_parent.batman._visible = 0;
_global.oGame.level3.stage = 0;
_parent.rayon1.gotoAndPlay(1);
_global.oGamme.freeze = false;
stop();
Symbol 2414 MovieClip Frame 24
stop();
Symbol 2418 MovieClip Frame 1
_visible = false;
stop();
Symbol 2420 MovieClip Frame 1
this._visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2420 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 42;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2420 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso) && (_global.oGame.level3.porte[1])) {
if (this._y > ((_global.oPerso.perso._y + _global.oGame.moveZone._y) - 15)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2420 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 40;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 458 MovieClip "plateformehit1" in Symbol 2420 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 40;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
Instance of Symbol 51 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(6);
}
}
Instance of Symbol 188 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 42;
this.xspeed = 1;
this.yspeed = 1;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = false;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso) && (_global.oGame.level3.porte[1])) {
if (this._y > (_global.oPerso.perso._y + _global.oGame.moveZone._y)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip "plateforme1" in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 40;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-2";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
Instance of Symbol 188 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 35;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
this.ObjectNumber = 1;
this.doAction = function () {
if ((arguments.caller == _global.oGame.AddSwitchPorte) && (_global.oGame.level3.stage != 2)) {
removefrommovinglist(eval ("_parent.plateforme" + this.objectnumber));
eval ("_parent.plateforme" + this.objectnumber)._y = eval ("_parent.plateforme" + this.objectnumber)._y + 45;
eval ("_parent.plateforme" + this.objectnumber).direction = "up";
eval ("_parent.plateforme" + this.objectnumber).maxymov = 23;
eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber)._y = eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber)._y + 45;
eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber).direction = "up";
eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber).maxymov = 23;
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
eval ("_parent.plateforme" + this.objectnumber).automatic = true;
eval ("_parent.plateforme" + this.objectnumber).blocking = true;
eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber).automatic = true;
eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber).blocking = true;
eval ("_parent.plateforme" + this.objectnumber).init();
eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber).init();
} else if (_global.oGame.level3.stage != 2) {
_global.oGame.addmetoMovingList(eval ("_parent.plateforme" + this.objectnumber));
_global.oGame.addmetoMovingList(eval ("_parent.hitZoneX.plateformeHit" + this.objectnumber));
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1955 MovieClip "rayon1" in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
if (_global.oGame.level3.stage == -1) {
this.gotoAndStop("off");
}
}
Instance of Symbol 51 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level3.stage == 0) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.transitionPerso.gotoAndStop(3);
_global.oGame.level3.stage = 1;
_global.oPerso.perso._visible = false;
_global.oPerso.IsBatman = !_global.oPerso.IsBatman;
_global.oPerso.perso.gotoAndStop(1);
_parent.agpBatman._x = _global.oPerso.perso._x;
_parent.agpBatman._y = _global.oPerso.perso._y;
_parent.agpBatman._visible = true;
_parent.agpBatman._xscale = _parent.agpBatman._xscale * -1;
_global.oPerso.perso._x = 200;
_global.oPerso.perso._y = 215;
_global.oPerso.perso._xscale = _global.oPerso.perso._xscale * -1;
_global.oPerso.perso._visible = true;
_parent.agpBatgirl._visible = false;
_parent._parent._parent.batmanLifeBar.gotoAndStop(2);
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
this.ObjectNumber = 2;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2090 MovieClip "high1" in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 130;
this.laserWidthRight = 10;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2153 MovieClip "colossus1" in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Instance of Symbol 1010 MovieClip "agpBatman" in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
if (_global.oGame.level3.stage != -1) {
if ((_global.oGame.level3.stage == 0) || (_global.oGame.level3.stage == 2)) {
this._visible = 0;
}
}
}
Instance of Symbol 2414 MovieClip "agpBatgirl" in Symbol 2421 MovieClip [BGHit_l3_1] Frame 1
onClipEvent (load) {
if (_global.oGame.level3.stage == 0) {
this.gotoAndStop("final");
}
if ((_global.oGame.level3.stage == 1) || (_global.oGame.level3.stage == 2)) {
this._visible = 0;
this.stop();
}
}
Symbol 2424 MovieClip Frame 1
stop();
Symbol 2424 MovieClip Frame 4
_global.oGame.playSound("toc");
Symbol 2424 MovieClip Frame 9
_global.oGame.playSound("zipin");
Symbol 2424 MovieClip Frame 15
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2424 MovieClip Frame 21
_global.oGame.playSound("zipout");
Symbol 2424 MovieClip Frame 30
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Symbol 2426 MovieClip Frame 1
_visible = false;
stop();
Symbol 2428 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2428 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2428 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 20;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 2239 MovieClip in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2424 MovieClip in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2424 MovieClip in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2090 MovieClip "high4" in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this.laserWidthLeft = 190;
this.laserWidthRight = 100;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2094 MovieClip "low3" in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = false;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 100;
this.laserWidthRight = 165;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2153 MovieClip "colossus4" in Symbol 2429 MovieClip [BGHit_l3_4] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Symbol 2433 MovieClip Frame 1
_visible = false;
stop();
Symbol 2435 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2435 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 102;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 458 MovieClip in Symbol 2435 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 102;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 2239 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 15)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1813 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
this.ObjectNumber = 3;
this.doAction = function () {
_parent.rayon3.gotoAndPlay("pulse");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2239 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 188 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 90;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "up";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3-3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 51 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level3.stage == 2) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.level3.stage = 3;
_global.oGame.SwitchPerso(2, 150, 230);
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
this.ObjectNumber = 5;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneY.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
this.gotoAndStop("ouvert");
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 51 MovieClip in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.ShowConsole(6);
}
}
Instance of Symbol 2090 MovieClip "high3" in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 100;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2094 MovieClip "low2" in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 175;
this.laserWidthRight = 300;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2153 MovieClip "colossus3" in Symbol 2436 MovieClip [BGHit_l3_3] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Symbol 2440 MovieClip Frame 1
_visible = false;
stop();
Symbol 2442 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2442 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 40;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 1968 MovieClip in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
if (_global.oGame.level3.stage == 4) {
this.gotoAndPlay(2);
}
}
Instance of Symbol 188 MovieClip in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 40;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if (_global.oGame.mover.getPos(this) == null) {
if (_global.KeyListener.spacePress) {
_global.oPerso.perso._x = (Math.abs(_global.oGame.moveZone._x) + this._x) + (this._width / 2);
_global.oGame.addmetoMovinglist(this);
}
}
}
}
}
Instance of Symbol 2067 MovieClip in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1976 MovieClip in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
this.ObjectNumber = 4;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
_parent.rayon4.gotoAndPlay("pulse");
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2067 MovieClip in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1968 MovieClip in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
if (_global.oGame.level3.stage == 7) {
_global.oGame.level3.stage = 8;
this.gotoAndPlay(2);
}
}
Instance of Symbol 2090 MovieClip "high5" in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 250;
this.laserWidthRight = 100;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2153 MovieClip "colossus5" in Symbol 2443 MovieClip [BGHit_l3_5] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Symbol 2447 MovieClip Frame 1
_visible = false;
stop();
Symbol 2449 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 458 MovieClip in Symbol 2449 MovieClip Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 57;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 1974 MovieClip in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
this.doTransition = function () {
_global.oGame.transitTo(false, -1, "up");
};
}
onClipEvent (enterFrame) {
if (_global.oGame.level3.stage == 6) {
if ((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oGame.level3.stage = 7;
this.gotoAndPlay(2);
}
}
}
Instance of Symbol 188 MovieClip in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
//component parameters
onClipEvent (initialize) {
this.maxxmov = 20;
this.maxymov = 57;
this.xspeed = 1;
this.yspeed = 2;
this.direction = "down";
this.diagonal = false;
this.UpperLeft = false;
member = "ascenseur3";
LeftOffset = 0;
RightOffset = 0;
SpeedCorrection = false;
OneWay = true;
}
onClipEvent (load) {
this.automatic = true;
this.blocking = true;
}
onClipEvent (enterFrame) {
if (this.hitTest(_global.oPerso.perso)) {
if (this._y < ((_global.oPerso.perso._y + _global.oGame.moveZone._y) + 10)) {
if ((_global.oGame.mover.getPos(this) == null) && (this.automatic)) {
_global.oGame.addmetoMovinglist(this);
}
}
}
}
Instance of Symbol 1976 MovieClip in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
this.ObjectNumber = 5;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
var _local1 = _global;
if (_local1.oGame.level3.stage == 4) {
_local1.oGame.level3.stage = 5;
_local1.oGame.SwitchPerso(3, 450, 220);
}
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2090 MovieClip "high6" in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this.laserWidthLeft = 500;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2094 MovieClip "low4" in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2067 MovieClip in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2067 MovieClip in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2067 MovieClip in Symbol 2450 MovieClip [BGHit_l3_6] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Symbol 2453 MovieClip Frame 1
stop();
Symbol 2453 MovieClip Frame 5
_global.oGame.playSound("toc");
Symbol 2453 MovieClip Frame 10
_global.oGame.playSound("zipin");
Symbol 2453 MovieClip Frame 16
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("idleUp");
Symbol 2453 MovieClip Frame 22
_global.oGame.playSound("zipout");
Symbol 2453 MovieClip Frame 31
_global.oPerso.persoXSpeed = 0;
_global.oPerso.persoYSpeed = 0;
pt = new Object();
pt.x = batman._x;
pt.y = batman._y;
this.localToGlobal(pt);
_global.oPerso.perso._x = pt.x - _global.oGame.moveZone._x;
_global.oPerso.perso._y = pt.y - _global.oGame.moveZone._y;
_global.oPerso.persoIsBatRoping = false;
_global.oPerso.persoAnim("idle");
_global.oPerso.perso._visible = 1;
_global.oGame.freeze = false;
gotoAndStop ("Idledown");
Instance of Symbol 51 MovieClip in Symbol 2458 MovieClip Frame 1
onClipEvent (load) {
_global.oGame.AddBadGuysHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeBadGuysHitZone(this);
}
Instance of Symbol 51 MovieClip in Symbol 2458 MovieClip Frame 1
onClipEvent (load) {
_parent.detectZone = this;
}
Symbol 2458 MovieClip Frame 7
if (_global.oPerso.perso.hitTest(detectZone) && (!_global.oPerso.persoIsInPain)) {
if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) < this._x) && (this.attLeft)) {
this.gotoAndPlay("tire");
} else if (((_global.oPerso.perso._x + _global.oGame.moveZone._x) > this._x) && (this.attRight)) {
this.gotoAndPlay("tire");
}
} else {
gotoAndPlay ("idle");
}
Symbol 2458 MovieClip Frame 14
_global.oGame.playSound("freezelaser");
Instance of Symbol 51 MovieClip in Symbol 2458 MovieClip Frame 14
onClipEvent (load) {
_global.oGame.AddLaserHitZone(this);
}
onClipEvent (unload) {
_global.oGame.removeLaserHitZone(this);
}
Symbol 2458 MovieClip Frame 20
this.haveTouch = false;
gotoAndPlay ("idle");
Symbol 2458 MovieClip Frame 21
_global.oGame.playSound("FreezeHit");
Symbol 2458 MovieClip Frame 26
if (_global.oGame.getDamage(this._name) >= 3) {
_global.oGame.AddScore(100);
this.gotoAndPlay("die");
} else {
this.gotoAndPlay("idle");
}
Symbol 2458 MovieClip Frame 27
_global.oGame.playSound("porte");
Symbol 2458 MovieClip Frame 46
_global.oGame.ShowConsole(20);
stop();
Symbol 2460 MovieClip Frame 1
_visible = false;
stop();
Symbol 2462 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 51 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (enterFrame) {
if (_global.oGame.level3.stage == 5) {
if (this.hitTest(_global.oPerso.perso)) {
_global.oGame.level3.stage = 6;
_global.oGame.SwitchPerso(6, 350, 125);
}
}
}
Instance of Symbol 1813 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this.ObjectNumber = 7;
this.doAction = function () {
_parent.rayon7.gotoAndStop("off");
};
this.gotoAndStop("ouvert");
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2453 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 17)) && (_global.oGame.level3.porte[8])) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 1813 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this.ObjectNumber = 8;
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
_parent.porte8.gotoAndStop("ouvert");
} else {
_parent.porte8.gotoAndPlay(2);
}
};
_global.oGame.AddSwitchPorte(this);
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2453 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) && (_global.oGame.level3.porte[8])) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2453 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 17)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2453 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
_global.oPerso.perso._x = 4000;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2239 MovieClip in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2153 MovieClip "colossus7" in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Instance of Symbol 2458 MovieClip "mrFreeze1" in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
if (_global.oGame.level3.stage == 5) {
this.haveTouch = false;
this.laserWidthLeft = 1000;
} else {
this.gotoAndStop(46);
}
}
Instance of Symbol 2090 MovieClip "high8" in Symbol 2463 MovieClip [BGHit_l3_7] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = false;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Symbol 2467 MovieClip Frame 1
_visible = false;
stop();
Symbol 2469 MovieClip Frame 1
_visible = false;
stop();
Instance of Symbol 1976 MovieClip in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
this.ObjectNumber = 7;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
var _local1 = _global;
if (_local1.oGame.level3.stage == 8) {
_local1.oGame.level3.stage = 9;
_local1.oGame.SwitchPerso(7, 300, 132);
}
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 1976 MovieClip in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
this.ObjectNumber = 9;
_global.oGame.AddSwitchPorte(this);
this.doAction = function () {
if (arguments.caller == _global.oGame.AddSwitchPorte) {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvert");
} else {
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._height = 0;
eval ("_parent.hitZoneX.HitPorte" + this.objectnumber)._width = 0;
eval ("_parent.porte" + this.objectnumber).gotoAndPlay("ouvre");
}
};
}
onClipEvent (unload) {
_global.oGame.RemoveSwitchPorte(this);
}
Instance of Symbol 2067 MovieClip in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = true;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if ((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 1)) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2067 MovieClip in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
this._visible = 0;
this.up = false;
if (!this.up) {
this.gotoAndPlay("Idledown");
}
}
onClipEvent (enterFrame) {
if (((((this.hitTest(_global.oPerso.perso) && (_global.KeyListener.spacePress)) && (!_global.oPerso.persoIsJumping)) && (!_global.oPerso.persoIsFalling)) && (this._currentframe == 20)) && (_global.oGame.level3.porte[9])) {
_global.oPerso.perso._visible = 0;
this._visible = 1;
if (this.up) {
this.gotoAndPlay("up");
} else {
this.gotoAndPlay("downPlay");
}
_global.oGame.freeze = true;
}
}
Instance of Symbol 2153 MovieClip "colossus9" in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = true;
this.haveTouch = false;
}
Instance of Symbol 2094 MovieClip "low8" in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = true;
this.attRight = false;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}
Instance of Symbol 2094 MovieClip "low9" in Symbol 2470 MovieClip [BGHit_l3_8] Frame 1
onClipEvent (load) {
if (_global.oGame.getDamage(this._name) >= 3) {
this.gotoAndStop("death");
}
this.attLeft = false;
this.attRight = true;
this.haveTouch = false;
this._xscale = this._xscale * -1;
this.laserWidthLeft = 500;
this.laserWidthRight = 500;
this.laserLength = function () {
var _local1 = this;
if (_local1._xscale > 0) {
_local1.lasermask._width = _local1.laserWidthLeft * 3;
} else {
_local1.lasermask._width = _local1.laserWidthRight * 3;
}
_local1.laserTray.setMask(_local1.lasermask);
};
this.laserLength();
}