Frame 1
stopAllSounds();
Instance of Symbol 13 MovieClip "LoadingBar" in Frame 1
onClipEvent (load) {
var totalbytes = 670000;
JEULOADE = false;
}
onClipEvent (enterFrame) {
var bytesloaded = _root.getBytesLoaded();
var /:percentage = (bytesloaded / totalbytes);
if ((100 < int(/:percentage * 100)) && (JEULOADE == false)) {
this.gotoAndStop(100);
} else if (JEULOADE == false) {
this.gotoAndStop(int(/:percentage * 100) + 1);
}
}
Frame 24
stop();
Frame 25
stop();
Frame 36
stop();
Instance of Symbol 97 MovieClip "LunettesInstructions" in Frame 38
onClipEvent (load) {
PLAYONCE = false;
}
onClipEvent (enterFrame) {
if ((_root.LoadingBar.JEULOADE == true) && (PLAYONCE == false)) {
PLAYONCE = true;
_root.LoadingBar.gotoAndStop("BoutonPlay");
}
}
Frame 48
stop();
Frame 50
_root.LevelKontroller.LEVEL = 1;
_root.LevelKontroller.LOADLEVEL = true;
_root.Character.DEPLACEMENTMARCHE = 7;
Instance of Symbol 107 MovieClip "L1Marche1Floor3" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1Marche1Floor2" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1Marche2Floor2" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1Marche1Floor1" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 108 MovieClip "L1HitTrappe1" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1MurDF3" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1MurGF3" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1MurGF2" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1MurGF1" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1MurDF2" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 109 MovieClip "L1MurDF1" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1MeubleF3" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 110 MovieClip "HitLampadaire" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 112 MovieClip "L1Sensor1GC" in Frame 50
onClipEvent (load) {
SENSORON = false;
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1Sensor3GC" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L1Sensor2GC" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 109 MovieClip "L1HitBoite1F3" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 119 MovieClip "Lampadaire" in Frame 50
onClipEvent (load) {
if (_root.LevelKontroller.MEUBLEOUVERT == true) {
this.gotoAndStop("Etat1");
}
}
Instance of Symbol 188 MovieClip "L1AnimationMonte1" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L1AnimationMonte2" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L1AnimationDescend1" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L1AnimationDescend2" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L1AnimationTombe1G" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 240 MovieClip "L1AnimationTombe1D" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 252 MovieClip "Meuble" in Frame 50
onClipEvent (load) {
if (_root.LevelKontroller.MEUBLEOUVERT == true) {
gotoAndStop (8);
}
}
onClipEvent (enterFrame) {
if ((_root.LevelKontroller.MEUBLEOUVERT == true) && (_root.LevelKontroller.FINIMEUBLEOUVERT == false)) {
_root.Meuble.play();
_root.LevelKontroller.FINIMEUBLEOUVERT = true;
}
}
Instance of Symbol 255 MovieClip "Canne3" in Frame 50
onClipEvent (load) {
if (_root.LevelKontroller.RAMASSECANNE3 == true) {
_root.Canne3._visible = false;
}
}
Instance of Symbol 469 MovieClip "L1Chewy" in Frame 50
onClipEvent (load) {
this.gotoAndStop("DirectionGauche");
_root.Villains.DIRECTIONCG = _root.Villains.GAUCHE;
}
Instance of Symbol 492 MovieClip "L1Gooey" in Frame 50
onClipEvent (load) {
this.gotoAndStop("DirectionGauche");
_root.Villains.DIRECTIONCG = _root.Villains.GAUCHE;
}
Instance of Symbol 515 MovieClip "LifeAbbyGame" in Frame 50
onClipEvent (load) {
LifePoint = 100;
this.gotoAndStop(LifePoint);
}
Instance of Symbol 529 MovieClip "IconeLunettes" in Frame 50
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 541 MovieClip "Character" in Frame 50
onClipEvent (load) {
GAUCHE = 1;
DROIT = 2;
DIRECTION = GAUCHE;
DEPLACEMENTMARCHE = 7;
JUMP = false;
FINJUMP = true;
JUMPCOURANT = false;
DEPLACEMENTSAUT = false;
DISTANCESAUTLONGMONTE = 30;
DISTANCESAUTLONGDESCEND = 15;
DISTANCESAUTCOURTMONTE = 10;
DISTANCESAUTCOURTDESCEND = 5;
JUMPDROIT = false;
SAUTCOURTFLAG = false;
PUNCHDROITE = false;
PUNCHGAUCHE = false;
KEYRIGHT = false;
KEYLEFT = false;
KEYUP = false;
KEYDOWN = false;
KEYSPACE = false;
KEYCONTROL = false;
KEYSHIFT = false;
KEYPGDN = true;
KEYPGUP = true;
CHARACTERBLOQUE = false;
CHARACTERBLOQUEJUMP = false;
ABBYBLESSE = false;
ABBYMEURT = false;
}
onClipEvent (enterFrame) {
if ((((((((((((((!Key.isDown(Key.LEFT)) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMP != true)) && (PUNCHDROITE != true)) && (PUNCHGAUCHE != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (!Key.isDown(Key.SHIFT))) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) || (Key.isDown(Key.SPACE) && (_root.LevelKontroller.LUNETTESBARREES == true))) {
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHESTICKY = false;
KEYRIGHT = false;
KEYLEFT = false;
KEYUP = false;
KEYDOWN = false;
KEYSPACE = false;
KEYCONTROL = false;
KEYSHIFT = false;
if (DIRECTION == DROIT) {
if (JUMPCOURANT != true) {
JUMP = false;
PUNCHDROITE = false;
FINJUMP = true;
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.gotoAndStop("DirectionDroite");
_root.Abby.AbbyRight.gotoAndStop("Idle");
}
}
if (DIRECTION == GAUCHE) {
if (JUMPCOURANT != true) {
JUMP = false;
PUNCHGAUCHE = false;
FINJUMP = true;
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.gotoAndStop("DirectionGauche");
_root.Abby.AbbyLeft.gotoAndStop("Idle");
}
}
}
if ((((((((((((Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYRIGHT = true;
DIRECTION = DROIT;
if (FINJUMP == true) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.gotoAndStop("DirectionDroite");
_root.Abby.AbbyRight.gotoAndStop("Walk");
setProperty("_root.Abby", _x , _root.Abby._x + DEPLACEMENTMARCHE);
}
}
if ((((((((((((Key.isDown(Key.LEFT) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYLEFT = true;
DIRECTION = GAUCHE;
if (FINJUMP == true) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.gotoAndStop("DirectionGauche");
_root.Abby.AbbyLeft.gotoAndStop("Walk");
setProperty("_root.Abby", _x , _root.Abby._x - DEPLACEMENTMARCHE);
}
}
if (((((((((((((Key.isDown(Key.UP) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (CHARACTERBLOQUEJUMP == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYUP = true;
JUMPDROIT = true;
if (_root.LevelKontroller.PRIORITE == false) {
if (DIRECTION == DROIT) {
JUMP = true;
_root.Abby.AbbyRight.gotoAndStop("Jump");
}
if (DIRECTION == GAUCHE) {
JUMP = true;
_root.Abby.AbbyLeft.gotoAndStop("Jump");
}
}
}
if (((((((((((((Key.isDown(Key.UP) && (Key.isDown(Key.LEFT))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (CHARACTERBLOQUEJUMP == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYUP = true;
JUMPDROIT = false;
if (DIRECTION == DROIT) {
JUMP = true;
_root.Abby.AbbyRight.gotoAndStop("Jump");
}
if (DIRECTION == GAUCHE) {
JUMP = true;
_root.Abby.AbbyLeft.gotoAndStop("Jump");
}
}
if (((((((((((((Key.isDown(Key.UP) && (Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (CHARACTERBLOQUEJUMP == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYUP = true;
JUMPDROIT = false;
if (DIRECTION == DROIT) {
JUMP = true;
_root.Abby.AbbyRight.gotoAndStop("Jump");
}
if (DIRECTION == GAUCHE) {
JUMP = true;
_root.Abby.AbbyLeft.gotoAndStop("Jump");
}
}
if ((((((((((((Key.isDown(Key.DOWN) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYDOWN = true;
FINJUMP = true;
FINJUMP = true;
if (DIRECTION == DROIT) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.AbbyRight.gotoAndStop("Crouch");
}
if (DIRECTION == GAUCHE) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.AbbyLeft.gotoAndStop("Crouch");
}
}
if ((((((((((((Key.isDown(Key.DOWN) && (Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYDOWN = true;
FINJUMP = true;
FINJUMP = true;
if (DIRECTION == DROIT) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.AbbyRight.gotoAndStop("Crouch");
}
if (DIRECTION == GAUCHE) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.AbbyLeft.gotoAndStop("Crouch");
}
}
if ((((((((((((Key.isDown(Key.DOWN) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYDOWN = true;
FINJUMP = true;
FINJUMP = true;
if (DIRECTION == DROIT) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.AbbyRight.gotoAndStop("Crouch");
}
if (DIRECTION == GAUCHE) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
_root.Abby.AbbyLeft.gotoAndStop("Crouch");
}
}
if (((((((((((((Key.isDown(Key.SPACE) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.RIGHT))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.PORTELUNETTES == true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.LUNETTESBARREES == true)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
if (((_root.LevelKontroller.LAMPADAIREACTIF == false) && (_root.Abby.hitTest(_root.HitLampadaire))) && (_root.LevelKontroller.MEUBLEOUVERT == false)) {
_root.Lampadaire.gotoAndPlay("Hint");
}
}
if (((((((((((((Key.isDown(Key.SPACE) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.RIGHT))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.PORTELUNETTES == true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (CHARACTERBLOQUE == false)) && (ABBYBLESSE == false)) && (ABBYMEURT == false)) {
_root.Villains.TOUCHESTICKY = false;
KEYSPACE = true;
FINJUMP = true;
if (_root.LevelKontroller.ENTREROOMFINALE == true) {
if (_root.Coffre._currentframe == 9) {
_root.gotoAndStop("PreloaderFinal");
}
}
if (((_root.LevelKontroller.LAMPADAIREACTIF == false) && (_root.LevelKontroller.MEUBLEOUVERT == false)) && (_root.Abby.hitTest(_root.HitLampadaire) == true)) {
_root.Lampadaire.gotoAndPlay("Hint");
}
if (_root.LevelKontroller.LAMPADAIREACTIF == true) {
if (DIRECTION == DROIT) {
ANIMATIONWORK = true;
_root.Abby._x = 325;
_root.Abby.AbbyRight.gotoAndStop("Work");
}
if (DIRECTION == GAUCHE) {
ANIMATIONWORK = true;
_root.Abby._x = 325;
_root.Abby.AbbyLeft.gotoAndStop("Work");
}
} else if (_root.LevelKontroller.DEVANTPORTE == true) {
KEYRIGHT = false;
KEYLEFT = false;
KEYUP = false;
KEYDOWN = false;
KEYSPACE = false;
KEYCONTROL = false;
KEYSHIFT = false;
if (DIRECTION == DROIT) {
if (JUMPCOURANT != true) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
JUMP = false;
PUNCHDROITE = false;
FINJUMP = true;
_root.Abby.gotoAndStop("DirectionDroite");
_root.Abby.AbbyRight.gotoAndStop("Idle");
}
}
if (DIRECTION == GAUCHE) {
if (JUMPCOURANT != true) {
_root.LevelKontroller.TOUCHEGC = false;
_root.LevelKontroller.TOUCHESTICKY = false;
JUMP = false;
PUNCHGAUCHE = false;
FINJUMP = true;
_root.Abby.gotoAndStop("DirectionGauche");
_root.Abby.AbbyLeft.gotoAndStop("Idle");
}
}
} else if (_root.LevelKontroller.ACTIVEASCENSEUR == false) {
if (DIRECTION == DROIT) {
_root.Abby.AbbyRight.gotoAndStop("Lunettes");
}
if (DIRECTION == GAUCHE) {
_root.Abby.AbbyLeft.gotoAndStop("Lunettes");
}
}
}
}
Instance of Symbol 543 MovieClip "Villains" in Frame 50
onClipEvent (load) {
_root.Villains.DROITE = 1;
_root.Villains.GAUCHE = 2;
_root.Villains.DIRECTIONCG = GAUCHE;
_root.Villains.DEPLACEMENTCOOEYCHEWY = 6;
_root.Villains.ALERTECHEWYGOOEY = false;
TOUCHEGC = false;
TOUCHESTICKY = false;
}
onClipEvent (enterFrame) {
if (_root.LevelKontroller.LEVEL == 1) {
if (_root.Abby.hitTest(_root.L1Sensor1GC)) {
_root.L1Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L1Sensor2GC)) {
_root.L1Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L1Sensor3GC)) {
_root.L1Sensor1GC.SENSORON = true;
}
if (_root.L1Sensor1GC.SENSORON == true) {
if (DIRECTIONCG == DROITE) {
_root.L1Chewy._x = _root.L1Chewy._x + DEPLACEMENTCOOEYCHEWY;
_root.L1Gooey._x = _root.L1Gooey._x + DEPLACEMENTCOOEYCHEWY;
} else if (DIRECTIONCG == GAUCHE) {
_root.L1Chewy._x = _root.L1Chewy._x - DEPLACEMENTCOOEYCHEWY;
_root.L1Gooey._x = _root.L1Gooey._x - DEPLACEMENTCOOEYCHEWY;
}
}
if (_root.L1Chewy.hitTest(_root.L1F2MurDLimite) || (_root.L1Gooey.hitTest(_root.L1F2MurDLimite))) {
if (ALERTECHEWYGOOEY == true) {
_root.L1Sensor1GC.SENSORON = false;
}
DIRECTIONCG = GAUCHE;
_root.L1Chewy.gotoAndStop("DirectionGauche");
_root.L1Gooey.gotoAndStop("DirectionGauche");
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
}
if (_root.L1Chewy.hitTest(_root.L1MurGF2) || (_root.L1Gooey.hitTest(_root.L1MurGF2))) {
DIRECTIONCG = DROITE;
_root.L1Chewy.gotoAndStop("DirectionDroite");
_root.L1Gooey.gotoAndStop("DirectionDroite");
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
}
if ((((_root.Abby.hitTest(_root.L1Chewy.Chewy.HitChewy) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHEGC == false)) && (TOUCHESTICKY == false)) && (_root.Character.ABBYBLESSE == false)) {
TOUCHEGC = true;
if ((_root.LevelKontroller.LUNETTESON == true) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
}
}
if (_root.LevelKontroller.LEVEL == 2) {
if (_root.Abby.hitTest(_root.L2Sensor1GC)) {
_root.L2Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L2Sensor2GC)) {
_root.L2Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L2Sensor3GC)) {
_root.L2Sensor1GC.SENSORON = true;
}
if (_root.L2Sensor1GC.SENSORON == true) {
if (DIRECTIONCG == DROITE) {
_root.L2Chewy._x = _root.L2Chewy._x + DEPLACEMENTCOOEYCHEWY;
_root.L2Gooey._x = _root.L2Gooey._x + DEPLACEMENTCOOEYCHEWY;
} else if (DIRECTIONCG == GAUCHE) {
_root.L2Chewy._x = _root.L2Chewy._x - DEPLACEMENTCOOEYCHEWY;
_root.L2Gooey._x = _root.L2Gooey._x - DEPLACEMENTCOOEYCHEWY;
}
}
if (_root.L2Chewy.hitTest(_root.L2F1MurDLimite) || (_root.L2Gooey.hitTest(_root.L2F1MurDLimite))) {
if (ALERTECHEWYGOOEY == true) {
_root.L2Sensor1GC.SENSORON = false;
}
DIRECTIONCG = GAUCHE;
_root.L2Chewy.gotoAndStop("DirectionGauche");
_root.L2Gooey.gotoAndStop("DirectionGauche");
}
if (_root.L2Chewy.hitTest(_root.L2MurGF1) || (_root.L2Gooey.hitTest(_root.L2MurGF1))) {
DIRECTIONCG = DROITE;
_root.L2Chewy.gotoAndStop("DirectionDroite");
_root.L2Gooey.gotoAndStop("DirectionDroite");
}
if ((((_root.Abby.hitTest(_root.L2Chewy.Chewy.HitChewy) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHEGC == false)) && (TOUCHESTICKY == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHEGC = true;
}
if (_root.Abby._y != _root.LevelKontroller.YFLOOR3) {
_root.L2Sticky.gotoAndPlay("stop");
}
if (_root.Abby._y == _root.LevelKontroller.YFLOOR3) {
if (_root.Abby.hitTest(_root.L2HitBoite1F3)) {
if (Key.isDown(Key.DOWN)) {
_root.L2Sticky.gotoAndPlay("idle");
}
} else if (_root.Character.CHARACTERBLOQUE == false) {
_root.L2Sticky.gotoAndPlay("depart");
_root.L2Sticky.Sticky.gotoAndPlay("TirAGauche");
} else if ((_root.Character.CHARACTERBLOQUE == true) && (LEVEL2MARCHE1PLAY == false)) {
_root.L2Sticky.gotoAndPlay("idle");
}
}
if ((((_root.Abby.hitTest(_root.L2Sticky.Sticky.StickyLeft.Bombons) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHESTICKY == false)) && (TOUCHEGC == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Touche");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHESTICKY = true;
}
}
if (_root.LevelKontroller.LEVEL == 3) {
if (_root.Abby.hitTest(_root.L3Sensor1GC)) {
_root.L3Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L3Sensor2GC)) {
_root.L3Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L3Sensor3GC)) {
_root.L3Sensor1GC.SENSORON = true;
}
if (_root.L3Sensor1GC.SENSORON == true) {
if (DIRECTIONCG == DROITE) {
_root.L3Chewy._x = _root.L3Chewy._x + DEPLACEMENTCOOEYCHEWY;
_root.L3Gooey._x = _root.L3Gooey._x + DEPLACEMENTCOOEYCHEWY;
} else if (DIRECTIONCG == GAUCHE) {
_root.L3Chewy._x = _root.L3Chewy._x - DEPLACEMENTCOOEYCHEWY;
_root.L3Gooey._x = _root.L3Gooey._x - DEPLACEMENTCOOEYCHEWY;
}
}
if (_root.L3Chewy.hitTest(_root.L3F1MurGLimite) || (_root.L3Gooey.hitTest(_root.L3F1MurGLimite))) {
if (ALERTECHEWYGOOEY == true) {
_root.L3Sensor1GC.SENSORON = false;
}
DIRECTIONCG = DROITE;
_root.L3Chewy.gotoAndStop("DirectionDroite");
_root.L3Gooey.gotoAndStop("DirectionDroite");
}
if (_root.L3Chewy.hitTest(_root.L3MurDF1) || (_root.L3Gooey.hitTest(_root.L3MurDF1))) {
DIRECTIONCG = GAUCHE;
_root.L3Chewy.gotoAndStop("DirectionGauche");
_root.L3Gooey.gotoAndStop("DirectionGauche");
}
if ((((_root.Abby.hitTest(_root.L3Chewy.Chewy.HitChewy) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHEGC == false)) && (TOUCHESTICKY == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHEGC = true;
}
if (_root.Abby._y != _root.LevelKontroller.YFLOOR2) {
_root.L3Sticky.gotoAndPlay("stop");
}
if (_root.Abby._y == _root.LevelKontroller.YFLOOR2) {
if (_root.Abby.hitTest(_root.L3HitBoite1F2)) {
if (Key.isDown(Key.DOWN)) {
_root.L3Sticky.gotoAndPlay("idle");
}
} else if (_root.Character.CHARACTERBLOQUE == false) {
_root.L3Sticky.gotoAndPlay("depart");
_root.L3Sticky.Sticky.gotoAndPlay("TirADroite");
} else if (_root.Character.CHARACTERBLOQUE == true) {
_root.L3Sticky.gotoAndPlay("idle");
}
}
if ((((_root.Abby.hitTest(_root.L3Sticky.Sticky.StickyRight.Bombons) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHESTICKY == false)) && (TOUCHEGC == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHESTICKY = true;
}
}
if (_root.LevelKontroller.LEVEL == 4) {
if (_root.Abby.hitTest(_root.L4Sensor1GC)) {
_root.L4Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L4Sensor2GC)) {
_root.L4Sensor1GC.SENSORON = true;
}
if (_root.Abby.hitTest(_root.L4Sensor3GC)) {
_root.L4Sensor1GC.SENSORON = true;
}
if (_root.L4Sensor1GC.SENSORON == true) {
if (DIRECTIONCG == DROITE) {
_root.L4Chewy._x = _root.L4Chewy._x + DEPLACEMENTCOOEYCHEWY;
_root.L4Gooey._x = _root.L4Gooey._x + DEPLACEMENTCOOEYCHEWY;
} else if (DIRECTIONCG == GAUCHE) {
_root.L4Chewy._x = _root.L4Chewy._x - DEPLACEMENTCOOEYCHEWY;
_root.L4Gooey._x = _root.L4Gooey._x - DEPLACEMENTCOOEYCHEWY;
}
}
if (_root.L4Chewy.hitTest(_root.L4F1MurDLimite) || (_root.L4Gooey.hitTest(_root.L4F1MurDLimite))) {
if (ALERTECHEWYGOOEY == true) {
_root.L4Sensor1GC.SENSORON = false;
}
DIRECTIONCG = GAUCHE;
_root.L4Chewy.gotoAndStop("DirectionGauche");
_root.L4Gooey.gotoAndStop("DirectionGauche");
}
if (_root.L4Chewy.hitTest(_root.L4MurGF1) || (_root.L4Gooey.hitTest(_root.L4MurGF1))) {
DIRECTIONCG = DROITE;
_root.L4Chewy.gotoAndStop("DirectionDroite");
_root.L4Gooey.gotoAndStop("DirectionDroite");
}
if ((((_root.Abby.hitTest(_root.L4Chewy.Chewy.HitChewy) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHEGC == false)) && (TOUCHESTICKY == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 10;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHEGC = true;
}
if (_root.Abby._y != _root.LevelKontroller.YFLOOR2) {
_root.L4Sticky.gotoAndPlay("stop");
}
if (_root.Abby._y == _root.LevelKontroller.YFLOOR2) {
if (_root.Abby.hitTest(_root.L4HitBoite1F2)) {
if (Key.isDown(Key.DOWN)) {
_root.L4Sticky.gotoAndPlay("idle");
}
} else if (_root.Abby.hitTest(_root.L4HitBoite2F2)) {
if (Key.isDown(Key.DOWN)) {
_root.L4Sticky.gotoAndPlay("idle");
}
} else if (_root.Character.CHARACTERBLOQUE == false) {
_root.L4Sticky.gotoAndPlay("depart");
_root.L4Sticky.Sticky.gotoAndPlay("TirADroite");
} else if (_root.Character.CHARACTERBLOQUE == true) {
_root.L4Sticky.gotoAndPlay("idle");
}
}
if ((((_root.Abby.hitTest(_root.L4Sticky.Sticky.StickyRight.Bombons) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHESTICKY == false)) && (TOUCHEGC == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHESTICKY = true;
}
}
if (_root.LevelKontroller.LEVEL == 5) {
if (_root.Abby._y != _root.LevelKontroller.YFLOOR1) {
_root.L5Sticky.gotoAndPlay("stop");
}
if (_root.Abby._y == _root.LevelKontroller.YFLOOR1) {
if (_root.Abby.hitTest(_root.L5HitBoite1F1)) {
if (Key.isDown(Key.DOWN)) {
_root.L5Sticky.gotoAndPlay("idle");
}
} else if (_root.Character.CHARACTERBLOQUE == false) {
_root.L5Sticky.gotoAndPlay("depart");
_root.L5Sticky.Sticky.gotoAndPlay("TirAGauche");
} else if (_root.Character.CHARACTERBLOQUE == true) {
_root.L5Sticky.gotoAndPlay("idle");
}
}
if (((_root.Abby.hitTest(_root.L5Sticky.Sticky.StickyLeft.Bombons) && (_root.Character.CHARACTERBLOQUE == false)) && (TOUCHESTICKY == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.LevelKontroller.LUNETTESON == true) && (_root.LevelKontroller.LUNETTESON == true)) && (_root.Character.ABBYBLESSE == false)) {
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyRight.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
if (((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.LevelKontroller.LUNETTESON == false)) && (_root.Character.ABBYBLESSE == false)) {
if (((_root.Character.JUMPCOURANT == false) && (_root.Character.JUMP == false)) && (_root.Character.ABBYBLESSE == false)) {
_root.Character.ABBYBLESSE = true;
_root.Abby.AbbyLeft.gotoAndStop("Blesse");
}
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 15;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
_root.SFX.gotoAndPlay("Touche");
}
TOUCHESTICKY = true;
}
}
}
Instance of Symbol 545 MovieClip "LevelKontroller" in Frame 50
onClipEvent (load) {
function ChargementLevel() {
DEVANTPORTE = false;
if (((NUMEROPORTE1 == 1) || (NUMEROPORTE2 == 1)) || (NUMEROPORTE3 == 1)) {
PORTE1ACTIVE = true;
}
if (((NUMEROPORTE1 == 2) || (NUMEROPORTE2 == 2)) || (NUMEROPORTE3 == 2)) {
_root.Porte2.ACTIVE = true;
PORTE2ACTIVE = true;
}
if (((NUMEROPORTE1 == 3) || (NUMEROPORTE2 == 3)) || (NUMEROPORTE3 == 3)) {
_root.Porte3.ACTIVE = true;
PORTE3ACTIVE = true;
}
if (((NUMEROPORTE1 == 4) || (NUMEROPORTE2 == 4)) || (NUMEROPORTE3 == 4)) {
_root.Porte4.ACTIVE = true;
PORTE4ACTIVE = true;
}
if (((NUMEROPORTE1 == 5) || (NUMEROPORTE2 == 5)) || (NUMEROPORTE3 == 5)) {
_root.Porte5.ACTIVE = true;
PORTE5ACTIVE = true;
}
if (((NUMEROPORTE1 == 6) || (NUMEROPORTE2 == 6)) || (NUMEROPORTE3 == 6)) {
_root.Porte6.ACTIVE = true;
PORTE6ACTIVE = true;
}
if (((NUMEROPORTE1 == 7) || (NUMEROPORTE2 == 7)) || (NUMEROPORTE3 == 7)) {
_root.Porte7.ACTIVE = true;
PORTE7ACTIVE = true;
}
if (LEVEL == 1) {
_root.Character.FINIMONTE = false;
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIDESCEND = false;
_root.Character.FINIDESCENDMOITIE = false;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.SPECIALVARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
_root.LevelKontroller.VARASCL3D = true;
_root.LevelKontroller.PORTELUNETTES = true;
_root.LevelKontroller.LUNETTESON = false;
_root.LevelKontroller.LUNETTESONPORTE = false;
_root.LevelKontroller.IDLE = false;
_root.LevelKontroller.ANIMATIONWORK = false;
DEVANTPORTE = false;
PRIORITE = false;
ACTIVEASCENSEUR = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
_root.Character.JUMPCOURANT = false;
_root.Character.DEPLACEMENTSAUT = false;
_root.Character.JUMPDROIT = false;
_root.Character.SAUTCOURTFLAG = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.CHARACTERBLOQUEJUMP = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
L1MurDF3PASSE = false;
L1MurGF3PASSE = false;
L1MurDF2PASSE = false;
L1MurGF2PASSE = false;
L1MurDF1PASSE = false;
L1MurGF1PASSE = false;
TRAPPE1OPEN = false;
_root.L1HitTrappe1._visible = false;
_root.L1Etages.L1Trappe1.gotoAndStop("Ready");
LOADLEVEL = false;
}
if (LEVEL == 2) {
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
L2MurDF3PASSE = false;
L2MurGF3PASSE = false;
L2MurDF2PASSE = false;
L2MurGF2PASSE = false;
L2MurDF1PASSE = false;
L2MurGF1PASSE = false;
TRAPPE1OPEN = false;
_root.L2HitTrappe1._visible = false;
_root.L2Etages.L2Trappe1.gotoAndStop("Ready");
LOADLEVEL = false;
}
if (LEVEL == 3) {
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
L3MurDF3PASSE = false;
L3MurGF3PASSE = false;
L3MurDF2PASSE = false;
L3MurGF2PASSE = false;
L3MurDF1PASSE = false;
L3MurGF1PASSE = false;
L3TOMBEDESCEND = false;
TRAPPE1OPEN = false;
LOADLEVEL = false;
}
if (LEVEL == 4) {
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
L4MurDF3PASSE = false;
L4MurGF3PASSE = false;
L4MurDF2PASSE = false;
L4MurGF2PASSE = false;
L4MurDF1PASSE = false;
L4MurGF1PASSE = false;
L4TOMBEDESCEND = false;
L4TOMBEMONTE = false;
TRAPPE1OPEN = false;
_root.L4HitTrappe1._visible = false;
_root.L4Etages.L4Trappe1.gotoAndStop("Ready");
LOADLEVEL = false;
}
if (LEVEL == 5) {
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
L5MurDF3PASSE = false;
L5MurGF3PASSE = false;
L5MurDF2PASSE = false;
L5MurGF2PASSE = false;
L5MurDF1PASSE = false;
L5MurGF1PASSE = false;
TRAPPE1OPEN = false;
_root.L5HitTrappe1._visible = false;
_root.L5Etages.L5Trappe1.gotoAndStop("Ready");
LOADLEVEL = false;
}
if (LEVEL == 6) {
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
if ((PORTE == 1) && (VISITEPORTE1 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 2) && (VISITEPORTE2 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 3) && (VISITEPORTE3 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 4) && (VISITEPORTE4 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 5) && (VISITEPORTE5 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 6) && (VISITEPORTE6 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 7) && (VISITEPORTE7 == false)) {
_root.Lunettes._visible = false;
_root.Lampe1._visible = true;
_root.Plan._visible = false;
} else if ((PORTE == 8) && (VISITEPORTE8 == false)) {
_root.Lampe1._visible = false;
_root.Lunettes._visible = true;
_root.Plan._visible = true;
VISITEPORTE8 = true;
} else if (((PORTE == 8) && (VISITEPORTE8 == true)) && (LUNETTESTROUVEES == false)) {
_root.Lampe1._visible = false;
_root.Lunettes._visible = true;
_root.Plan._visible = true;
} else if (((PORTE == 8) && (VISITEPORTE8 == true)) && (LUNETTESTROUVEES == true)) {
_root.Lampe1._visible = false;
_root.Lunettes._visible = false;
_root.Plan._visible = true;
} else {
_root.Lunettes._visible = false;
_root.Lampe1._visible = false;
_root.Plan._visible = false;
}
LOADLEVEL = false;
}
}
LOADLEVEL = true;
LEVEL = 1;
FLOOR = 1;
YFLOOR3 = 114.5;
YFLOOR2 = 236.5;
YFLOOR1 = 359.5;
TRAPPE1OPEN = false;
FINIMANETTE = false;
FINIASCDESCENDL3 = false;
FINIASCDESCENDL5 = false;
FLAGASCENSEUR = false;
FINIASCMONTEL3 = false;
FINIASCMONTEL5 = false;
ASCDEBUTMONTE = false;
ASCDEBUTMONTE2 = false;
L0MurDF3PASSE = false;
L0MurGF3PASSE = false;
L0MurDF2PASSE = false;
L0MurGF2PASSE = false;
L0MurDF1PASSE = false;
L0MurGF1PASSE = false;
L1MurDF3PASSE = false;
L1MurGF3PASSE = false;
L1MurDF2PASSE = false;
L1MurGF2PASSE = false;
L1MurDF1PASSE = false;
L1MurGF1PASSE = false;
L2MurDF3PASSE = false;
L2MurGF3PASSE = false;
L2MurDF2PASSE = false;
L2MurGF2PASSE = false;
L2MurDF1PASSE = false;
L2MurGF1PASSE = false;
MARCHE1FLOOR1SPECIAL = false;
LEVEL2MARCHE1PLAY = false;
L3MurDF3PASSE = false;
L3MurGF3PASSE = false;
L3MurDF2PASSE = false;
L3MurGF2PASSE = false;
L3MurDF1PASSE = false;
L3MurGF1PASSE = false;
L3TOMBEDESCEND = false;
ASCPASSEL3 = false;
L4MurDF3PASSE = false;
L4MurGF3PASSE = false;
L4MurDF2PASSE = false;
L4MurGF2PASSE = false;
L4MurDF1PASSE = false;
L4MurGF1PASSE = false;
MARCHE1FLOOR3SPECIAL = false;
LEVEL4MARCHE1PLAY = false;
L4TOMBEDESCEND = false;
L4TOMBEMONTE = false;
L5MurDF3PASSE = false;
L5MurGF3PASSE = false;
L5MurDF2PASSE = false;
L5MurGF2PASSE = false;
L5MurDF1PASSE = false;
L5MurGF1PASSE = false;
ASCPASSEL5 = false;
ASCPASSEL5M = false;
RAMASSECANNE1 = false;
RAMASSECANNE2 = false;
RAMASSECANNE3 = false;
RAMASSECANNE4 = false;
RAMASSECANNE5 = false;
APPARITIONCABANE = false;
APPARITIONLAMPE = false;
APPARITIONLUNETTES = false;
LUNETTESTROUVEES = false;
ENTREPORTE = true;
PORTE1ACTIVE = false;
PORTE2ACTIVE = false;
PORTE3ACTIVE = false;
PORTE4ACTIVE = false;
PORTE5ACTIVE = false;
PORTE6ACTIVE = false;
PORTE7ACTIVE = false;
ENTREEPORTE1 = false;
ENTREEPORTE2 = false;
ENTREEPORTE3 = false;
ENTREEPORTE4 = false;
ENTREEPORTE5 = false;
ENTREEPORTE6 = false;
ENTREEPORTE7 = false;
ENTREEPORTELUNETTES = false;
NUMEROPORTE = 0;
NUMEROPORTE1 = 0;
NUMEROPORTE2 = 0;
NUMEROPORTE3 = 0;
NUMEROPORTE1OK = false;
NUMEROPORTE2OK = false;
TabNumeroPorte = new Array(3);
i = 0;
while (i < 12) {
NUMEROPORTE = Math.floor(Math.random() * 7) + 1;
TabNumeroPorte[i] = NUMEROPORTE;
i++;
}
i = 0;
while (i < 12) {
if ((i == 0) && (NUMEROPORTE1OK == false)) {
NUMEROPORTE = TabNumeroPorte[i];
NUMEROPORTE1 = NUMEROPORTE;
NUMEROPORTE1OK = true;
} else {
NUMEROPORTE = TabNumeroPorte[i];
if ((NUMEROPORTE != NUMEROPORTE1) && (NUMEROPORTE2OK == false)) {
NUMEROPORTE2 = NUMEROPORTE;
NUMEROPORTE2OK = true;
} else if ((NUMEROPORTE != NUMEROPORTE1) && (NUMEROPORTE != NUMEROPORTE2)) {
NUMEROPORTE3 = NUMEROPORTE;
break;
}
}
i++;
}
LAMPE1ACTIVE = NUMEROPORTE1;
LAMPE2ACTIVE = NUMEROPORTE2;
LAMPE3ACTIVE = NUMEROPORTE3;
PORTE = 0;
TOTALLAMPES = 0;
AFFICHELAMPESTOTALES = 0;
VISITEPORTE1 = false;
VISITEPORTE2 = false;
VISITEPORTE3 = false;
VISITEPORTE4 = false;
VISITEPORTE5 = false;
VISITEPORTE6 = false;
VISITEPORTE7 = false;
VISITEPORTE8 = false;
LAMPADAIREACTIF = false;
MEUBLEOUVERT = false;
FINIMEUBLEOUVERT = false;
COFFREOUVERT = false;
FINICOFFREOUVERT = false;
_root.Character.FINIMONTE = false;
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIDESCEND = false;
_root.Character.FINIDESCENDMOITIE = false;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.SPECIALVARM1F3 = false;
_root.LevelKontroller.VARM2F3 = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.VART1F3G = false;
_root.LevelKontroller.VARASCL3D = true;
_root.LevelKontroller.PORTELUNETTES = true;
_root.LevelKontroller.LUNETTESBARREES = true;
_root.LevelKontroller.LUNETTESON = false;
_root.LevelKontroller.LUNETTESONPORTE = false;
_root.LevelKontroller.IDLE = false;
_root.LevelKontroller.ANIMATIONWORK = false;
DEVANTPORTE = false;
PRIORITE = false;
ACTIVEASCENSEUR = false;
_root.LevelKontroller.ENTREROOMFINALE = false;
_root.LifeAbbyGame.LifePoint = 100;
PLAYGAMEOVER = true;
PLAYABBYCRI = false;
}
onClipEvent (enterFrame) {
if (0 >= _root.LifeAbbyGame.LifePoint) {
_root.Character.CHARACTERBLOQUE = true;
_root.Character.ABBYMEURT = true;
if (_root.Character.DIRECTION == _root.Character.DROIT) {
_root.Abby.gotoAndStop("DirectionDroite");
_root.Abby.AbbyRight.gotoAndStop("Die");
}
if (_root.Character.DIRECTION == _root.Character.GAUCHE) {
_root.Abby.gotoAndStop("DirectionGauche");
_root.Abby.AbbyLeft.gotoAndStop("Die");
}
if (_root.LevelKontroller.PLAYGAMEOVER != false) {
_root.MovieGameOver.gotoAndPlay("PlayGameOver");
_root.LevelKontroller.PLAYGAMEOVER = false;
}
}
if (LOADLEVEL == true) {
ChargementLevel();
}
if (LEVEL == 1) {
PRIORITE = false;
_root.Character.CHARACTERBLOQUEJUMP = false;
if (_root.Abby.hitTest(_root.HitLampadaire) && (TOTALLAMPES == 3)) {
LAMPADAIREACTIF = true;
}
if ((!_root.Abby.hitTest(_root.HitLampadaire)) && (TOTALLAMPES == 3)) {
LAMPADAIREACTIF = false;
}
if (_root.Abby.hitTest(_root.HitLampadaire) && (TOTALLAMPES != 3)) {
LAMPADAIREACTIF = false;
}
if (((_root.Abby.hitTest(_root.L1Marche1Floor3) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
_root.Villains.ALERTECHEWYGOOEY = false;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L1AnimationDescend1._visible = true;
_root.L1AnimationDescend1.play();
_root.LevelKontroller.VARM1F3 = true;
}
}
if (((_root.Abby.hitTest(_root.L1Marche1Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Villains.ALERTECHEWYGOOEY = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L1AnimationMonte2._visible = true;
_root.L1AnimationMonte2.play();
_root.LevelKontroller.VARM1F2 = true;
}
}
if (((_root.Abby.hitTest(_root.L1Marche2Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
_root.Villains.ALERTECHEWYGOOEY = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L1AnimationDescend2._visible = true;
_root.L1AnimationDescend2.play();
_root.LevelKontroller.VARM2F2 = true;
}
}
if (((_root.Abby.hitTest(_root.L1Marche1Floor1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
_root.Character.CHARACTERBLOQUEJUMP = true;
if (Key.isDown(Key.UP)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Villains.ALERTECHEWYGOOEY = false;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L1AnimationMonte1._visible = true;
_root.L1AnimationMonte1.play();
_root.LevelKontroller.VARM1F1 = true;
}
}
if ((_root.Abby.hitTest(_root.L1HitTrappe1) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
if (_root.LevelKontroller.TRAPPE1OPEN != true) {
_root.L1Etages.L1Trappe1.play();
}
if (_root.Character.DIRECTION == _root.Character.DROIT) {
_root.L1AnimationTombe1D._visible = true;
_root.L1AnimationTombe1D.play();
_root.LevelKontroller.VART1F2D = true;
}
if (_root.Character.DIRECTION == _root.Character.GAUCHE) {
_root.L1AnimationTombe1G._visible = true;
_root.L1AnimationTombe1G.play();
_root.LevelKontroller.VART1F2G = true;
}
}
if (_root.Character.FINIMONTE == true) {
if (_root.LevelKontroller.VARM1F1 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L1AnimationMonte1._visible = false;
_root.L1AnimationMonte1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 505;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM1F2 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L1AnimationMonte2._visible = false;
_root.L1AnimationMonte2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 350;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINIDESCEND == true) {
if (_root.LevelKontroller.VARM1F3 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L1AnimationDescend1._visible = false;
_root.L1AnimationDescend1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 200;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM2F2 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L1AnimationDescend2._visible = false;
_root.L1AnimationDescend2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 370;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINITOMBE == true) {
if (_root.LevelKontroller.VART1F2D == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L1AnimationTombe1D._visible = false;
_root.L1AnimationTombe1G._visible = false;
_root.L1AnimationTombe1D.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 290;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART1F2G == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L1AnimationTombe1G._visible = false;
_root.L1AnimationTombe1D._visible = false;
_root.L1AnimationTombe1G.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 200;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
}
if (_root.Abby.hitTest(_root.L1MurDF3) && (L1MurDF3PASSE == false)) {
_root.gotoAndStop("Level3");
_root.Abby._x = 40;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
L1MurDF3PASSE = true;
}
if ((_root.Abby.hitTest(_root.L1MurGF3) && (L1MurGF3PASSE == false)) && (_root.Character.DIRECTION == _root.Character.GAUCHE)) {
_root.gotoAndStop("Level2");
_root.Abby._x = 560;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
L1MurGF3PASSE = true;
}
if (_root.Abby.hitTest(_root.L1MurDF2) && (L1MurDF2PASSE == false)) {
_root.gotoAndStop("Level3");
_root.Abby._x = 40;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
L1MurDF2PASSE = true;
}
if (_root.Abby.hitTest(_root.L1MurGF2)) {
_root.Abby._x = 40;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L1MurDF1)) {
_root.Abby._x = 523;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
}
if ((_root.Abby.hitTest(_root.L1MurGF1) && (L1MurGF1PASSE == false)) && (_root.Character.DIRECTION == _root.Character.GAUCHE)) {
_root.gotoAndStop("Level2");
_root.Abby._x = 560;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
L1MurGF1PASSE = true;
}
if (_root.Abby.hitTest(_root.L1MeubleF3) && (MEUBLEOUVERT == false)) {
_root.Abby._x = 445;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
}
if (LEVEL == 2) {
PRIORITE = false;
if (((_root.Abby.hitTest(_root.L2Marche1Floor3) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L2AnimationDescend1._visible = true;
_root.L2AnimationDescend1.play();
_root.LevelKontroller.SPECIALVARM1F3 = true;
}
}
if (((_root.Abby.hitTest(_root.L2Marche1Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L2AnimationMonte1._visible = true;
_root.L2AnimationMonte1.play();
_root.LevelKontroller.VARM1F2 = true;
}
}
if (((_root.Abby.hitTest(_root.L2Marche1Floor1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
_root.Villains.ALERTECHEWYGOOEY = true;
MARCHE1FLOOR1SPECIAL = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L2AnimationDescend2._visible = true;
_root.L2AnimationDescend2.play();
_root.LevelKontroller.VARM1F1 = true;
}
}
if ((_root.Abby.hitTest(_root.L2HitTrappe1) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
if (TRAPPE1OPEN != true) {
_root.L2Etages.L2Trappe1.play();
}
if (_root.Character.DIRECTION == _root.Character.DROIT) {
_root.L2AnimationTombe1D._visible = true;
_root.L2AnimationTombe1D.play();
_root.LevelKontroller.VART1F2D = true;
}
if (_root.Character.DIRECTION == _root.Character.GAUCHE) {
_root.L2AnimationTombe1G._visible = true;
_root.L2AnimationTombe1G.play();
_root.LevelKontroller.VART1F2G = true;
}
}
if (((((_root.Abby._x >= 470) && (600 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L2AnimationTombe2D._visible = true;
_root.L2AnimationTombe2D.play();
_root.LevelKontroller.VART2F2D = true;
}
if ((_root.Character.FINIDESCENDMOITIE == true) && (MARCHE1FLOOR1SPECIAL == true)) {
LEVEL4MARCHE1PLAY = true;
_root.gotoAndStop("Level4");
}
if (LEVEL2MARCHE1PLAY == true) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L2AnimationMonte2._visible = true;
_root.L2AnimationMonte2.play();
_root.LevelKontroller.VARM1F1 = true;
LEVEL2MARCHE1PLAY = false;
}
if (_root.Character.FINIMONTE == true) {
if (_root.LevelKontroller.VARM1F2 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L2AnimationMonte1._visible = false;
_root.L2AnimationMonte1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 200;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM1F1 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L2AnimationMonte2._visible = false;
_root.L2AnimationMonte2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 260;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F1 = false;
L4TOMBEMONTE = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
MARCHE1FLOOR3SPECIAL = false;
}
}
if (_root.Character.FINIDESCEND == true) {
if (_root.LevelKontroller.SPECIALVARM1F3 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L2AnimationDescend1._visible = false;
_root.L2AnimationDescend1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 70;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.SPECIALVARM1F3 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINITOMBE == true) {
if (_root.LevelKontroller.VART1F2D == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L2AnimationTombe1D._visible = false;
_root.L2AnimationTombe1G._visible = false;
_root.L2AnimationTombe1D.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 400;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2D = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART1F2G == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L2AnimationTombe1G._visible = false;
_root.L2AnimationTombe1D._visible = false;
_root.L2AnimationTombe1G.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 310;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART2F2D == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L2AnimationTombe2D._visible = false;
_root.L2AnimationTombe2D.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 520;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART2F2D = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
}
if (_root.Abby.hitTest(_root.L2MurGF3)) {
_root.Abby._x = 140;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if ((_root.Abby.hitTest(_root.L2MurDF3) && (L2MurDF3PASSE == false)) && (_root.Character.DIRECTION == _root.Character.DROIT)) {
_root.gotoAndStop("Level1");
_root.Abby._x = 40;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
L2MurDF3PASSE = true;
}
if (_root.Abby.hitTest(_root.L2MurGF2)) {
_root.Abby._x = 30;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L2MurDF2)) {
_root.Abby._x = 573;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
}
if (_root.Abby.hitTest(_root.L2MurGF1)) {
_root.Abby._x = 30;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
}
if ((_root.Abby.hitTest(_root.L2MurDF1) && (L2MurDF1PASSE == false)) && (_root.Character.DIRECTION == _root.Character.DROIT)) {
_root.gotoAndStop("Level1");
_root.Abby._x = 40;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
}
if (_root.Abby.hitTest(_root.SensorPorte1L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte1R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte2L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte2R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
}
if (LEVEL == 3) {
_root.LevelKontroller.ENTREROOMFINALE = false;
PRIORITE = false;
ACTIVEASCENSEUR = false;
if (((_root.Abby.hitTest(_root.L3Marche1Floor3) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L3AnimationDescend2._visible = true;
_root.L3AnimationDescend2.play();
_root.LevelKontroller.VARM1F3 = true;
}
}
if (((_root.Abby.hitTest(_root.L3Marche1Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L3AnimationMonte2._visible = true;
_root.L3AnimationMonte2.play();
_root.LevelKontroller.VARM1F2 = true;
}
}
if ((((_root.Abby.hitTest(_root.L3Marche2Floor2) && (L3TOMBEDESCEND == false)) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
L3TOMBEDESCEND = true;
_root.Villains.ALERTECHEWYGOOEY = false;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L3AnimationDescend1._visible = true;
_root.L3AnimationDescend1.play();
_root.LevelKontroller.VARM2F2 = true;
}
}
if (((((((_root.Abby._x >= 315) && (365 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (L3TOMBEDESCEND == false)) && (_root.Character.ABBYMEURT == false)) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
L3TOMBEDESCEND = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L3AnimationTombe1G._visible = true;
_root.L3AnimationTombe1G.play();
_root.LevelKontroller.VART1F2G = true;
}
if (((_root.Abby.hitTest(_root.L3Marche1Floor1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Villains.ALERTECHEWYGOOEY = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L3AnimationMonte1._visible = true;
_root.L3AnimationMonte1.play();
_root.LevelKontroller.VARM1F1 = true;
}
}
if (((_root.Abby.hitTest(_root.L3Ascenseur1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
ACTIVEASCENSEUR = true;
if (Key.isDown(Key.SPACE) && (_root.Character.CHARACTERBLOQUE == false)) {
_root.Villains.ALERTECHEWYGOOEY = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.AscenseurL3.gotoAndPlay("AbbyBaisseManette");
_root.LevelKontroller.VARASCL3D = true;
}
}
if ((FINIASCMONTEL5 == true) && (FLAGASCENSEUR == false)) {
FLAGASCENSEUR = true;
_root.AscenseurL3.gotoAndPlay("AscenseurMonte");
}
if ((FINIASCMONTEL5 == true) && (FINIASCMONTEL3 == true)) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.AscenseurL3.AbbyAscFin._visible = false;
_root.gotoAndStop("AbbyLeveManette");
_root.AscenseurL3.AnimationManette.gotoAndStop("Idle");
_root.Abby._visible = true;
_root.Abby._x = 110;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
FINIASCMONTEL3 = false;
FINIASCMONTEL5 = false;
FLAGASCENSEUR = false;
ASCPASSEL3 = false;
ASCPASSEL5 = false;
ASCDEBUTMONTE2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.Character.FINIMONTE == true) {
if (_root.LevelKontroller.VARM1F2 == true) {
_root.L3AnimationMonte2._visible = false;
_root.L3AnimationMonte2.gotoAndStop(1);
_root.Character.DIRECTION = _root.Character.DROIT;
_root.Abby._visible = true;
_root.Abby._x = 290;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM1F1 == true) {
_root.L3AnimationMonte1._visible = false;
_root.L3AnimationMonte1.gotoAndStop(1);
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.Abby._visible = true;
_root.Abby._x = 380;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINIDESCEND == true) {
if (_root.LevelKontroller.VARM1F3 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L3AnimationDescend2._visible = false;
_root.L3AnimationDescend2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 150;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM2F2 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L3AnimationDescend1._visible = false;
_root.L3AnimationDescend1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 500;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM2F2 = false;
L3TOMBEDESCEND = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINITOMBE == true) {
if (_root.LevelKontroller.VART1F2G == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L3AnimationTombe1G._visible = false;
_root.L3AnimationTombe1G.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 300;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2G = false;
L3TOMBEDESCEND = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
}
if (_root.Abby.hitTest(_root.L3MurDF3)) {
_root.Abby._x = 573;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if (_root.Abby.hitTest(_root.L3MurDF2)) {
_root.Abby._x = 485;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L3MurGF2) && (L3MurGF2PASSE == false)) {
_root.gotoAndStop("Level1");
_root.Abby._x = 560;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
L3MurGF2PASSE = true;
}
if (((_root.Abby._x >= 170) && (250 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) {
_root.Abby._x = 170;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (((_root.Abby._x >= 250) && (285 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR3)) {
_root.Abby._x = 285;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if (_root.Abby.hitTest(_root.L3MurGF1) && (L3MurGF1PASSE == false)) {
_root.gotoAndStop("Level1");
_root.Abby._x = 560;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
L3MurGF1PASSE = true;
}
if (_root.Abby.hitTest(_root.L3MurDF1)) {
_root.Abby._x = 573;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
L3MurDF1PASSE = true;
}
if (_root.Abby.hitTest(_root.L3Coffre)) {
_root.LevelKontroller.ENTREROOMFINALE = true;
if (_root.Coffre._currentframe == 9) {
_root.gotoAndStop("InstructionsFinal");
}
}
if (_root.Abby.hitTest(_root.SensorPorte3L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte3R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
}
if (LEVEL == 4) {
PRIORITE = false;
if (((_root.Abby.hitTest(_root.L4Marche2Floor3) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Villains.ALERTECHEWYGOOEY = false;
MARCHE1FLOOR3SPECIAL = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationMonte1._visible = true;
_root.L4AnimationMonte1.play();
_root.LevelKontroller.VARM1F1 = true;
}
}
if ((((_root.Character.FINIMONTEMOITIE == true) && (MARCHE1FLOOR3SPECIAL == true)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
LEVEL2MARCHE1PLAY = true;
_root.gotoAndStop("Level2");
}
if ((((_root.Abby.hitTest(_root.L4Marche1Floor3) && (L4TOMBEDESCEND == false)) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
L4TOMBEDESCEND = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationDescend2._visible = true;
_root.L4AnimationDescend2.play();
_root.LevelKontroller.VARM1F3 = true;
}
}
if ((((_root.Abby.hitTest(_root.L4Marche2Floor3) && (L4TOMBEMONTE == false)) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
L4TOMBEMONTE = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationMonte1._visible = true;
_root.L4AnimationMonte1.play();
_root.LevelKontroller.VARM2F3 = true;
}
}
if (((((((_root.Abby._x >= 280) && (320 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR3)) && (L4TOMBEDESCEND == false)) && (_root.Character.ABBYMEURT == false)) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.LevelKontroller.IDLE = true;
L4TOMBEDESCEND = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.L4AnimationTombe2D._visible = true;
_root.L4AnimationTombe2D.play();
_root.LevelKontroller.VART1F3D = true;
}
if (((((((_root.Abby._x >= 320) && (460 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR3)) && (L4TOMBEDESCEND == false)) && (_root.Character.ABBYMEURT == false)) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.LevelKontroller.IDLE = true;
L4TOMBEDESCEND = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.L4AnimationTombe2G._visible = true;
_root.L4AnimationTombe2G.play();
_root.LevelKontroller.VART1F3G = true;
}
if (((_root.Abby.hitTest(_root.L4Marche1Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationMonte2._visible = true;
_root.L4AnimationMonte2.play();
_root.LevelKontroller.VARM1F2 = true;
MARCHE1FLOOR3SPECIAL = false;
}
}
if (((_root.Abby.hitTest(_root.L4Marche2Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.DOWN)) {
_root.Villains.ALERTECHEWYGOOEY = false;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationDescend3._visible = true;
_root.L4AnimationDescend3.play();
_root.LevelKontroller.VARM2F2 = true;
}
}
if (((_root.Abby.hitTest(_root.L4Marche1Floor1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
if (Key.isDown(Key.UP)) {
_root.Villains.ALERTECHEWYGOOEY = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationMonte3._visible = true;
_root.L4AnimationMonte3.play();
_root.LevelKontroller.VARM1F1 = true;
MARCHE1FLOOR3SPECIAL = false;
}
}
if (LEVEL4MARCHE1PLAY == true) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L4AnimationDescend1._visible = true;
_root.L4AnimationDescend1.play();
_root.LevelKontroller.VARM1F1 = true;
LEVEL4MARCHE1PLAY = false;
}
if ((_root.Abby.hitTest(_root.L4HitTrappe1) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
if (_root.LevelKontroller.TRAPPE1OPEN != true) {
_root.L4Etages.L4Trappe1.play();
}
if (_root.Character.DIRECTION == _root.Character.DROIT) {
L4TOMBEMONTE = true;
_root.L4AnimationTombe1D._visible = true;
_root.L4AnimationTombe1D.play();
_root.LevelKontroller.VART1F2D = true;
}
if (_root.Character.DIRECTION == _root.Character.GAUCHE) {
_root.L4AnimationTombe1G._visible = true;
_root.L4AnimationTombe1G.play();
_root.LevelKontroller.VART1F2G = true;
}
}
if (_root.Character.FINIMONTE == true) {
if (_root.LevelKontroller.VARM1F1 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L4AnimationMonte3._visible = false;
_root.L4AnimationMonte3.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 265;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM1F2 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L4AnimationMonte2._visible = false;
_root.L4AnimationMonte2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 260;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
L4TOMBEDESCEND = false;
}
}
if (_root.Character.FINIDESCEND == true) {
if (_root.LevelKontroller.VARM1F1 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L4AnimationDescend1._visible = false;
_root.L4AnimationDescend1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 90;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.IDLE = false;
MARCHE1FLOOR1SPECIAL = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM1F3 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L4AnimationDescend2._visible = false;
_root.L4AnimationDescend2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 120;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
L4TOMBEDESCEND = false;
}
if (_root.LevelKontroller.VARM2F2 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L4AnimationDescend3._visible = false;
_root.L4AnimationDescend3.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 405;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINITOMBE == true) {
if (_root.LevelKontroller.VART1F2D == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L4AnimationTombe1D._visible = false;
_root.L4AnimationTombe1G._visible = false;
_root.L4AnimationTombe1D.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 190;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2D = false;
L4TOMBEMONTE = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART1F2G == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L4AnimationTombe1G._visible = false;
_root.L4AnimationTombe1D._visible = false;
_root.L4AnimationTombe1G.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 100;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F2G = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART1F3D == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L4AnimationTombe2D._visible = false;
_root.L4AnimationTombe2D.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 340;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F3D = false;
L4TOMBEDESCEND = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART1F3G == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L4AnimationTombe2G._visible = false;
_root.L4AnimationTombe2G.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 410;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F3G = false;
L4TOMBEDESCEND = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
}
if (_root.Abby.hitTest(_root.L4MurGF3)) {
_root.Abby._x = 30;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if (_root.Abby.hitTest(_root.L4MurDF3)) {
_root.gotoAndStop("Level5");
_root.Abby._x = 35;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
L4MurDF3PASSE = true;
}
if (_root.Abby.hitTest(_root.L4MurDF2)) {
_root.Abby._x = 573;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L4MurGF2)) {
_root.Abby._x = 100;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L4MurDF1) && (L4MurDF1PASSE == false)) {
_root.gotoAndStop("Level5");
_root.Abby._x = 40;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
L4MurDF1PASSE = true;
}
if (_root.Abby.hitTest(_root.L4MurGF1)) {
_root.Abby._x = 30;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
}
if (_root.Abby.hitTest(_root.L4MaisonRoomL) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.L4MaisonRoomR) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte4L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte4R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte5L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte5R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
}
if (LEVEL == 5) {
PRIORITE = false;
if (((_root.Abby.hitTest(_root.L5Marche1Floor1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
_root.Character.JUMP = false;
if (Key.isDown(Key.UP)) {
_root.Villains.ALERTECHEWYGOOEY = true;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L5AnimationMonte1._visible = true;
_root.L5AnimationMonte1.play();
_root.LevelKontroller.VARM1F1 = true;
}
}
if (((_root.Abby.hitTest(_root.L5Marche2Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
_root.Character.JUMP = false;
if (Key.isDown(Key.DOWN)) {
_root.Villains.ALERTECHEWYGOOEY = false;
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L5AnimationDescend1._visible = true;
_root.L5AnimationDescend1.play();
_root.LevelKontroller.VARM2F2 = true;
}
}
if (((_root.Abby.hitTest(_root.L5Marche1Floor2) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
_root.Character.JUMP = false;
if (Key.isDown(Key.UP)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L5AnimationMonte2._visible = true;
_root.L5AnimationMonte2.play();
_root.LevelKontroller.VARM1F2 = true;
}
}
if (((_root.Abby.hitTest(_root.L5Marche1Floor3) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PRIORITE = true;
_root.Character.JUMP = false;
if (Key.isDown(Key.DOWN)) {
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.L5AnimationDescend2._visible = true;
_root.L5AnimationDescend2.play();
_root.LevelKontroller.VARM1F3 = true;
}
}
if ((_root.Abby.hitTest(_root.L5HitTrappe1) && (PLAYABBYCRI == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
PLAYABBYCRI = true;
_root.SFX.gotoAndPlay("Touche");
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
if (_root.LevelKontroller.TRAPPE1OPEN != true) {
_root.L5Etages.L5Trappe1.play();
}
if (_root.Character.DIRECTION == _root.Character.DROIT) {
_root.L5AnimationTombe1D._visible = true;
_root.L5AnimationTombe1D.play();
_root.LevelKontroller.VART1F3D = true;
}
if (_root.Character.DIRECTION == _root.Character.GAUCHE) {
_root.L5AnimationTombe1G._visible = true;
_root.L5AnimationTombe1G.play();
_root.LevelKontroller.VART1F3G = true;
}
}
if (((_root.Abby.hitTest(_root.L5Ascenseur1) && (_root.Character.JUMP == false)) && (_root.Character.ABBYMEURT == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
if (Key.isDown(Key.SPACE) && (_root.Character.CHARACTERBLOQUE == false)) {
_root.Villains.ALERTECHEWYGOOEY = false;
_root.AscenseurL5.gotoAndStop("AbbyLeveManette");
_root.Character.CHARACTERBLOQUE = true;
_root.Abby._visible = false;
_root.LevelKontroller.IDLE = true;
_root.AscenseurL5.gotoAndPlay("AbbyLeveManette");
ASCPASSEL5M = true;
ASCDEBUTMONTE = true;
}
}
if ((FINIASCDESCENDL3 == true) && (FLAGASCENSEUR == false)) {
FLAGASCENSEUR = true;
_root.AscenseurL5.gotoAndPlay("AscenseurDescend");
}
if ((FINIASCDESCENDL3 == true) && (_root.LevelKontroller.FINIASCDESCENDL5 == true)) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.Abby._visible = true;
_root.Abby._x = 370;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.LevelKontroller.VARASCL3D = false;
FINIASCDESCENDL3 = false;
FINIASCDESCENDL5 = false;
FLAGASCENSEUR = false;
ASCPASSEL3 = false;
ASCPASSEL5 = false;
FINIMANETTE = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.Character.FINIMONTE == true) {
if (_root.LevelKontroller.VARM1F1 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L5AnimationMonte1._visible = false;
_root.L5AnimationMonte1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 560;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F1 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM1F2 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L5AnimationMonte2._visible = false;
_root.L5AnimationMonte2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 180;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
_root.Character.FINIMONTE = false;
_root.LevelKontroller.VARM1F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINIDESCEND == true) {
if (_root.LevelKontroller.VARM1F3 == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L5AnimationDescend2._visible = false;
_root.L5AnimationDescend2.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 330;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM1F3 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
if (_root.LevelKontroller.VARM2F2 == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L5AnimationDescend1._visible = false;
_root.L5AnimationDescend1.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 420;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
_root.Character.FINIDESCEND = false;
_root.LevelKontroller.VARM2F2 = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
}
}
if (_root.Character.FINITOMBE == true) {
if (_root.LevelKontroller.VART1F3D == true) {
_root.Character.DIRECTION = _root.Character.DROIT;
_root.L5AnimationTombe1D._visible = false;
_root.L5AnimationTombe1D.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 156;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F3D = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
if (_root.LevelKontroller.VART1F3G == true) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
_root.L5AnimationTombe1G._visible = false;
_root.L5AnimationTombe1G.gotoAndStop(1);
_root.Abby._visible = true;
_root.Abby._x = 54;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
_root.Character.FINITOMBE = false;
_root.LevelKontroller.VART1F3G = false;
_root.LevelKontroller.IDLE = false;
_root.Character.CHARACTERBLOQUE = false;
_root.LifeAbbyGame.LifePoint = _root.LifeAbbyGame.LifePoint - 5;
_root.LifeAbbyGame.gotoAndStop(_root.LifeAbbyGame.LifePoint);
PLAYABBYCRI = false;
}
}
if (_root.Abby.hitTest(_root.L5MurGF3) && (L5MurGF3PASSE == false)) {
_root.gotoAndStop("Level4");
_root.Abby._x = 565;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
L5MurGF3PASSE = true;
}
if (((_root.Abby._x >= 190) && (250 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR3)) {
_root.Abby._x = 190;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if (((_root.Abby._x >= 270) && (340 >= _root.Abby._x)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR3)) {
_root.Abby._x = 340;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if (_root.Abby.hitTest(_root.L5MurDF3)) {
_root.Abby._x = 573;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
}
if (_root.Abby.hitTest(_root.L5MurDF2)) {
_root.Abby._x = 573;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L5MurGF2)) {
_root.Abby._x = 30;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
}
if (_root.Abby.hitTest(_root.L5MurGF1) && (L5MurGF1PASSE == false)) {
_root.gotoAndStop("Level4");
_root.Abby._x = 560;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
L5MurGF1PASSE = true;
}
if (_root.Abby.hitTest(_root.L5MurDF1)) {
_root.Abby._x = 480;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
L5MurDF1PASSE = true;
}
if (_root.Abby.hitTest(_root.SensorPorte6L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte6R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte7L) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
if (_root.Abby.hitTest(_root.SensorPorte7R) && (_root.Character.JUMP == false)) {
DEVANTPORTE = false;
}
}
if (LEVEL == 6) {
if ((PORTE == 1) && (VISITEPORTE1 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE1 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
} else if ((PORTE == 2) && (VISITEPORTE2 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE2 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
} else if ((PORTE == 3) && (VISITEPORTE3 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE3 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
} else if ((PORTE == 4) && (VISITEPORTE4 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE4 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
} else if ((PORTE == 5) && (VISITEPORTE5 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE5 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
} else if ((PORTE == 6) && (VISITEPORTE6 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE6 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
} else if ((PORTE == 7) && (VISITEPORTE7 == false)) {
if (_root.AbbyRoom.hitTest(_root.Lampe1)) {
_root.Lampe1._visible = false;
TOTALLAMPES++;
AFFICHELAMPESTOTALES++;
VISITEPORTE7 = true;
_root.SFX.gotoAndPlay("SonTrouveLampe");
}
}
if (_root.AbbyRoom.hitTest(_root.Lunettes) && (_root.Lunettes._visible == true)) {
_root.LevelKontroller.LUNETTESBARREES = false;
_root.Lunettes._visible = false;
_root.SFX.gotoAndPlay("SonTrouveLunettes");
LUNETTESTROUVEES = true;
_root.IconeLunettes._visible = true;
}
if (_root.AbbyRoom.hitTest(_root.RoomMurG)) {
_root.AbbyRoom._x = 335;
}
if (_root.AbbyRoom.hitTest(_root.RoomMurD)) {
if (ENTREEPORTE1 == true) {
_root.gotoAndStop("Level2");
_root.Abby._x = 310;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
ENTREEPORTE1 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTE2 == true) {
_root.gotoAndStop("Level2");
_root.Abby._x = 100;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
ENTREEPORTE2 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTE3 == true) {
_root.gotoAndStop("Level3");
_root.Abby._x = 570;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
ENTREEPORTE3 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTE4 == true) {
_root.gotoAndStop("Level4");
_root.Abby._x = 570;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
ENTREEPORTE4 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTE5 == true) {
_root.gotoAndStop("Level4");
_root.Abby._x = 70;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
ENTREEPORTE5 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTE6 == true) {
_root.gotoAndStop("Level5");
_root.Abby._x = 480;
_root.Abby._y = _root.LevelKontroller.YFLOOR2;
ENTREEPORTE6 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTE7 == true) {
_root.gotoAndStop("Level5");
_root.Abby._x = 260;
_root.Abby._y = _root.LevelKontroller.YFLOOR1;
ENTREEPORTE6 = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLAMPE = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
} else if (ENTREEPORTELUNETTES == true) {
_root.gotoAndStop("Level4");
_root.Abby._x = 550;
_root.Abby._y = _root.LevelKontroller.YFLOOR3;
ENTREEPORTELUNETTES = false;
APPARITIONCABANE = false;
ENTREPORTE = true;
APPARITIONLUNETTES = false;
_root.Character.CHARACTERBLOQUE = false;
DEVANTPORTE = false;
}
}
}
if (_root.Abby.hitTest(_root.Canne1) && (RAMASSECANNE1 == false)) {
_root.SFX.gotoAndPlay("SonCanne");
_root.Canne1._visible = false;
RAMASSECANNE1 = true;
_root.Variables.TOTALCANNES++;
}
if (_root.Abby.hitTest(_root.Canne2) && (RAMASSECANNE2 == false)) {
_root.SFX.gotoAndPlay("SonCanne");
_root.Canne2._visible = false;
RAMASSECANNE2 = true;
_root.Variables.TOTALCANNES++;
}
if (_root.Abby.hitTest(_root.Canne3) && (RAMASSECANNE3 == false)) {
_root.SFX.gotoAndPlay("SonCanne");
_root.Canne3._visible = false;
RAMASSECANNE3 = true;
_root.Variables.TOTALCANNES++;
}
if (_root.Abby.hitTest(_root.Canne4) && (RAMASSECANNE4 == false)) {
_root.SFX.gotoAndPlay("SonCanne");
_root.Canne4._visible = false;
RAMASSECANNE4 = true;
_root.Variables.TOTALCANNES++;
}
if (_root.Abby.hitTest(_root.Canne5) && (RAMASSECANNE5 == false)) {
_root.SFX.gotoAndPlay("SonCanne");
_root.Canne5._visible = false;
RAMASSECANNE5 = true;
_root.Variables.TOTALCANNES++;
}
if (_root.Abby.hitTest(_root.L4MaisonRoom) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
APPARITIONLUNETTES = true;
APPARITIONLAMPE = false;
APPARITIONCABANE = true;
ENTREEPORTELUNETTES = true;
PORTE = 8;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte1) && (PORTE1ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE1 = true;
PORTE = 1;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte2) && (PORTE2ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE2 = true;
PORTE = 2;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte3) && (PORTE3ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE3 = true;
PORTE = 3;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte4) && (PORTE4ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE4 = true;
PORTE = 4;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte5) && (PORTE5ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE5 = true;
PORTE = 5;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte6) && (PORTE6ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE6 = true;
PORTE = 6;
}
}
if ((((_root.Abby.hitTest(_root.SensorPorte7) && (PORTE7ACTIVE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.LUNETTESON == false)) {
DEVANTPORTE = true;
if (Key.isDown(Key.SPACE)) {
_root.Character.CHARACTERBLOQUE = true;
APPARITIONLAMPE = true;
APPARITIONLUNETTES = false;
APPARITIONCABANE = true;
ENTREEPORTE7 = true;
PORTE = 7;
}
}
}
Instance of Symbol 553 MovieClip "Variables" in Frame 50
onClipEvent (load) {
TOTALCANNES = 0;
}
Frame 58
_root.LevelKontroller.LOADLEVEL = false;
stop();
Frame 60
_root.LevelKontroller.LEVEL = 2;
_root.LevelKontroller.LOADLEVEL = true;
_root.Character.DEPLACEMENTMARCHE = 7;
Instance of Symbol 107 MovieClip "L2Sensor2GC" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2Sensor3GC" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 588 MovieClip "Porte2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.LevelKontroller.PORTE2ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte2.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if (((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.DEVANTPORTE == true)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if (((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 589 MovieClip "Porte1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.LevelKontroller.PORTE1ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte1.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if (((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.DEVANTPORTE == true)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if (((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 107 MovieClip "SensorPorte1L" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte1R" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte2L" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte2R" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2Marche1Floor3" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2Marche1Floor2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2MurGF3" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2MurGF2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2MurGF1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2MurDF2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2MurDF1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 108 MovieClip "L2HitTrappe1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2MurDF3" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2Marche1Floor1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 590 MovieClip "L2Sensor1GC" in Frame 60
onClipEvent (load) {
SENSORON = false;
this._visible = false;
}
Instance of Symbol 107 MovieClip "L2HitBoite1F3" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L2AnimationDescend1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L2AnimationMonte1" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L2AnimationDescend2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L2AnimationTombe1G" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L2AnimationTombe1D" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L2AnimationTombe2D" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L2AnimationMonte2" in Frame 60
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 689 MovieClip "L2Sticky" in Frame 60
onClipEvent (load) {
this.gotoAndPlay("stop");
}
Instance of Symbol 690 MovieClip "L2Chewy" in Frame 60
onClipEvent (load) {
this.gotoAndStop("DirectionGauche");
_root.Villains.DIRECTIONCG = _root.Villains.GAUCHE;
}
Instance of Symbol 691 MovieClip "L2Gooey" in Frame 60
onClipEvent (load) {
this.gotoAndStop("DirectionGauche");
_root.Villains.DIRECTIONCG = _root.Villains.GAUCHE;
}
Frame 68
_root.LevelKontroller.LOADLEVEL = false;
stop();
Frame 70
_root.LevelKontroller.LEVEL = 3;
_root.LevelKontroller.LOADLEVEL = true;
_root.Character.DEPLACEMENTMARCHE = 7;
Instance of Symbol 712 MovieClip "Coffre" in Frame 70
onClipEvent (load) {
if (_root.LevelKontroller.COFFREOUVERT == true) {
this.gotoAndPlay(9);
}
if (_root.LevelKontroller.COFFREOUVERT == false) {
this.gotoAndPlay(1);
}
}
Instance of Symbol 715 MovieClip "Porte3" in Frame 70
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((((_root.LevelKontroller.PORTE3ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte3.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if ((((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.DEVANTPORTE == true)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if ((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 107 MovieClip "SensorPorte3R" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Marche1Floor3" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Marche1Floor2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Marche2Floor2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Marche1Floor1" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3MurDF3" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3MurGF3" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3MurGF2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3MurGF1" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3MurDF2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3MurDF1" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte3" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Ascenseur1" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte3L" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 716 MovieClip "L3Sensor1GC" in Frame 70
onClipEvent (load) {
SENSORON = false;
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Sensor2GC" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3Sensor3GC" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L3HitBoite1F2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 110 MovieClip "L3Coffre" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L3AnimationMonte1" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L3AnimationMonte2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L3AnimationDescend2" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L3AnimationDescend1" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L3AnimationTombe1G" in Frame 70
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 718 MovieClip "Canne1" in Frame 70
onClipEvent (load) {
if (_root.LevelKontroller.RAMASSECANNE1 == true) {
_root.Canne1._visible = false;
}
}
Instance of Symbol 719 MovieClip "L3Sticky" in Frame 70
onClipEvent (load) {
this.gotoAndPlay("stop");
}
Instance of Symbol 720 MovieClip "L3Chewy" in Frame 70
onClipEvent (load) {
this.gotoAndStop("DirectionDroite");
_root.Villains.DIRECTIONCG = _root.Villains.DROITE;
}
Instance of Symbol 721 MovieClip "L3Gooey" in Frame 70
onClipEvent (load) {
this.gotoAndStop("DirectionDroite");
_root.Villains.DIRECTIONCG = _root.Villains.DROITE;
}
Frame 78
_root.LevelKontroller.LOADLEVEL = false;
stop();
Frame 80
_root.LevelKontroller.LEVEL = 4;
_root.LevelKontroller.LOADLEVEL = true;
_root.Character.DEPLACEMENTMARCHE = 7;
Instance of Symbol 789 MovieClip "Maison" in Frame 80
onClipEvent (enterFrame) {
if ((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR3)) && (_root.LevelKontroller.DEVANTPORTE == true)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this.play();
_root.LevelKontroller.ENTREPORTE = false;
}
}
Instance of Symbol 792 MovieClip "Porte5" in Frame 80
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.LevelKontroller.PORTE5ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte5.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if (((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.DEVANTPORTE == true)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if (((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 793 MovieClip "Porte4" in Frame 80
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.LevelKontroller.PORTE4ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte4.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if (((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.DEVANTPORTE == true)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if (((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 107 MovieClip "L4Marche1Floor3" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4Marche1Floor2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4Marche2Floor2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4Marche1Floor1" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MurDF3" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MurGF3" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MurGF2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MurGF1" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MurDF2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MurDF1" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 108 MovieClip "L4HitTrappe1" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4Marche2Floor3" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MaisonRoom" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte4" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte5" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte5R" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte4L" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MaisonRoomL" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4MaisonRoomR" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte4R" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte5L" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 109 MovieClip "L4Sensor3GC" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 794 MovieClip "L4Sensor1GC" in Frame 80
onClipEvent (load) {
SENSORON = false;
this._visible = false;
}
Instance of Symbol 110 MovieClip "L4Sensor2GC" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4HitBoite1F2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L4HitBoite2F2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L4AnimationDescend1" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L4AnimationDescend2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L4AnimationMonte2" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L4AnimationDescend3" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L4AnimationMonte3" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L4AnimationMonte1" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L4AnimationTombe1D" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L4AnimationTombe1G" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L4AnimationTombe2D" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L4AnimationTombe2G" in Frame 80
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 799 MovieClip "Canne4" in Frame 80
onClipEvent (load) {
if (_root.LevelKontroller.RAMASSECANNE4 == true) {
_root.Canne4._visible = false;
}
}
Instance of Symbol 800 MovieClip "L4Sticky" in Frame 80
onClipEvent (load) {
this.gotoAndPlay("stop");
}
Instance of Symbol 801 MovieClip "L4Chewy" in Frame 80
onClipEvent (load) {
this.gotoAndStop("DirectionGauche");
_root.Villains.DIRECTIONCG = _root.Villains.GAUCHE;
}
Instance of Symbol 802 MovieClip "L4Gooey" in Frame 80
onClipEvent (load) {
this.gotoAndStop("DirectionGauche");
_root.Villains.DIRECTIONCG = _root.Villains.GAUCHE;
}
Frame 88
_root.LevelKontroller.LOADLEVEL = false;
stop();
Frame 90
_root.LevelKontroller.LEVEL = 5;
_root.LevelKontroller.LOADLEVEL = true;
_root.AscenseurL5.gotoAndStop("AscenseurDescend");
_root.Character.DEPLACEMENTMARCHE = 7;
Instance of Symbol 823 MovieClip "Porte6" in Frame 90
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if (((((_root.LevelKontroller.PORTE6ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte6.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if ((((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.DEVANTPORTE == true)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if ((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR2)) && (_root.LevelKontroller.LUNETTESBARREES == false)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 824 MovieClip "Porte7" in Frame 90
onClipEvent (load) {
this._visible = false;
}
onClipEvent (enterFrame) {
if ((((_root.LevelKontroller.PORTE7ACTIVE == true) && (_root.LevelKontroller.LUNETTESONPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
_root.SFX.gotoAndPlay("SonPorteVerte");
_root.Porte7.gotoAndStop("NIGHTGoggles");
this._visible = true;
} else if (((((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.LevelKontroller.ENTREPORTE == true)) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.DEVANTPORTE == true)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
_root.Character.DIRECTION = _root.Character.GAUCHE;
this._visible = true;
this.gotoAndPlay("Entre");
_root.LevelKontroller.ENTREPORTE = false;
} else if (((_root.LevelKontroller.APPARITIONCABANE == true) && (_root.Abby._y == _root.LevelKontroller.YFLOOR1)) && (_root.LevelKontroller.ACTIVEASCENSEUR == false)) {
this._visible = true;
} else {
this._visible = false;
}
}
Instance of Symbol 107 MovieClip "L5Marche1Floor3" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5Marche1Floor2" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5Marche2Floor2" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5Marche1Floor1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5MurDF3" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5MurGF3" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5MurGF2" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5MurGF1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5MurDF2" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5MurDF1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 108 MovieClip "L5HitTrappe1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5Ascenseur1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte6" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte7" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte7L" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte7R" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte6L" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "SensorPorte6R" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "L5HitBoite1F1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L5AnimationDescend1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 201 MovieClip "L5AnimationDescend2" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L5AnimationMonte1" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 189 MovieClip "L5AnimationMonte2" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L5AnimationTombe1G" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 239 MovieClip "L5AnimationTombe1D" in Frame 90
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 827 MovieClip "Canne5" in Frame 90
onClipEvent (load) {
if (_root.LevelKontroller.RAMASSECANNE5 == true) {
_root.Canne5._visible = false;
}
}
Instance of Symbol 828 MovieClip "Canne2" in Frame 90
onClipEvent (load) {
if (_root.LevelKontroller.RAMASSECANNE2 == true) {
_root.Canne2._visible = false;
}
}
Instance of Symbol 829 MovieClip "L5Sticky" in Frame 90
onClipEvent (load) {
this.gotoAndPlay("stop");
}
Frame 98
_root.LevelKontroller.LOADLEVEL = false;
stop();
Frame 100
_root.LevelKontroller.LEVEL = 6;
_root.LevelKontroller.LOADLEVEL = true;
_root.CharacterRoom.DEPLACEMENTMARCHE = 18;
_root.LevelKontroller.APPARITIONCABANE = false;
if (_root.LevelKontroller.PORTE == 8) {
_root.Plan._visible = true;
}
nextFrame();
Instance of Symbol 861 MovieClip "Plan" in Frame 100
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 862 MovieClip "Lunettes" in Frame 100
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "RoomMurG" in Frame 100
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 107 MovieClip "RoomMurD" in Frame 100
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 865 MovieClip "Lampe1" in Frame 100
onClipEvent (load) {
this._visible = false;
}
Instance of Symbol 866 MovieClip "CharacterRoom" in Frame 100
onClipEvent (load) {
GAUCHE = 1;
DROIT = 2;
DIRECTION = GAUCHE;
DEPLACEMENTMARCHE = 18;
JUMP = false;
FINJUMP = true;
JUMPCOURANT = false;
DEPLACEMENTSAUT = false;
DISTANCESAUTLONGMONTE = 30;
DISTANCESAUTLONGDESCEND = 15;
DISTANCESAUTCOURTMONTE = 10;
DISTANCESAUTCOURTDESCEND = 5;
JUMPDROIT = false;
SAUTCOURTFLAG = false;
PUNCHDROITE = false;
PUNCHGAUCHE = false;
KEYRIGHT = false;
KEYLEFT = false;
KEYUP = false;
KEYDOWN = false;
KEYSPACE = false;
KEYCONTROL = false;
KEYSHIFT = false;
KEYPGDN = true;
KEYPGUP = true;
}
onClipEvent (enterFrame) {
if ((((((((((!Key.isDown(Key.LEFT)) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (JUMP != true)) && (PUNCHDROITE != true)) && (PUNCHGAUCHE != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (!Key.isDown(Key.SHIFT))) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYRIGHT = false;
KEYLEFT = false;
KEYUP = false;
KEYDOWN = false;
KEYSPACE = false;
KEYCONTROL = false;
KEYSHIFT = false;
if (DIRECTION == DROIT) {
if (JUMPCOURANT != true) {
JUMP = false;
PUNCHDROITE = false;
FINJUMP = true;
_root.AbbyRoom.gotoAndStop("DirectionDroite");
_root.AbbyRoom.AbbyRight.gotoAndStop("Idle");
}
}
if (DIRECTION == GAUCHE) {
if (JUMPCOURANT != true) {
JUMP = false;
PUNCHGAUCHE = false;
FINJUMP = true;
_root.AbbyRoom.gotoAndStop("DirectionGauche");
_root.AbbyRoom.AbbyLeft.gotoAndStop("Idle");
}
}
}
if (((((((((Key.isDown(Key.RIGHT) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYRIGHT = true;
DIRECTION = DROIT;
if (FINJUMP == true) {
_root.AbbyRoom.gotoAndStop("DirectionDroite");
_root.AbbyRoom.AbbyRight.gotoAndStop("Walk");
setProperty("_root.AbbyRoom", _x , _root.AbbyRoom._x + DEPLACEMENTMARCHE);
}
}
if (((((((((Key.isDown(Key.LEFT) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYLEFT = true;
DIRECTION = GAUCHE;
if (FINJUMP == true) {
_root.AbbyRoom.gotoAndStop("DirectionGauche");
_root.AbbyRoom.AbbyLeft.gotoAndStop("Walk");
setProperty("_root.AbbyRoom", _x , _root.AbbyRoom._x - DEPLACEMENTMARCHE);
}
}
if (((((((((Key.isDown(Key.UP) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYUP = true;
JUMPDROIT = true;
if (DIRECTION == DROIT) {
JUMP = true;
_root.AbbyRoom.AbbyRight.gotoAndStop("Jump");
}
if (DIRECTION == GAUCHE) {
JUMP = true;
_root.AbbyRoom.AbbyLeft.gotoAndStop("Jump");
}
}
if (((((((((Key.isDown(Key.UP) && (Key.isDown(Key.LEFT))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYUP = true;
JUMPDROIT = false;
if (DIRECTION == DROIT) {
JUMP = true;
_root.AbbyRoom.AbbyRight.gotoAndStop("Jump");
}
if (DIRECTION == GAUCHE) {
JUMP = true;
_root.AbbyRoom.AbbyLeft.gotoAndStop("Jump");
}
}
if (((((((((Key.isDown(Key.UP) && (Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.DOWN))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYUP = true;
JUMPDROIT = false;
if (DIRECTION == DROIT) {
JUMP = true;
_root.AbbyRoom.AbbyRight.gotoAndStop("Jump");
}
if (DIRECTION == GAUCHE) {
JUMP = true;
_root.AbbyRoom.AbbyLeft.gotoAndStop("Jump");
}
}
if (((((((((Key.isDown(Key.DOWN) && (!Key.isDown(Key.LEFT))) && (!Key.isDown(Key.UP))) && (!Key.isDown(Key.RIGHT))) && (!Key.isDown(Key.SPACE))) && (JUMPCOURANT != true)) && (_root.LevelKontroller.LUNETTESON != true)) && (_root.LevelKontroller.IDLE == false)) && (_root.LevelKontroller.APPARITIONCABANE == false)) && (_root.LevelKontroller.ANIMATIONWORK == false)) {
KEYDOWN = true;
FINJUMP = true;
FINJUMP = true;
if (DIRECTION == DROIT) {
_root.AbbyRoom.AbbyRight.gotoAndStop("Crouch");
}
if (DIRECTION == GAUCHE) {
_root.AbbyRoom.AbbyLeft.gotoAndStop("Crouch");
}
}
}
Frame 109
_root.LevelKontroller.LOADLEVEL = true;
stop();
Frame 111
stop();
Frame 120
stop();
Frame 130
stop();
Frame 140
stop();
Frame 152
stop();
Frame 154
stopAllSounds();
Frame 156
stopAllSounds();
_root.gotoAndPlay("Level1");
Symbol 11 Button
on (release) {
_root.gotoAndPlay("Level1");
}
Symbol 12 MovieClip Frame 5
if (_root._currentFrame == 1) {
_root.gotoAndStop("Instructions");
}
Symbol 12 MovieClip Frame 14
stop();
Symbol 13 MovieClip Frame 1
stop();
Symbol 13 MovieClip Frame 100
_root.LoadingBar.JEULOADE = true;
stop();
Symbol 13 MovieClip Frame 101
stop();
Symbol 42 MovieClip Frame 26
_root.gotoAndStop("Preloader");
Symbol 51 Button
on (release) {
nextFrame();
}
Symbol 53 Button
on (release) {
_root.gotoAndPlay("Instructions");
}
Symbol 56 Button
on (release) {
_root.gotoAndPlay("Screen2");
}
Symbol 119 MovieClip Frame 1
stop();
Symbol 119 MovieClip Frame 4
_root.IconeLampe._visible = false;
_root.LevelKontroller.AFFICHELAMPESTOTALES = " ";
_root.LevelKontroller.MEUBLEOUVERT = true;
_root.LevelKontroller.COFFREOUVERT = true;
Symbol 119 MovieClip Frame 9
_root.IconeLampe._visible = false;
_root.LevelKontroller.AFFICHELAMPESTOTALES = " ";
_root.LevelKontroller.MEUBLEOUVERT = true;
_root.LevelKontroller.COFFREOUVERT = true;
stop();
Symbol 119 MovieClip Frame 45
gotoAndStop (1);
Symbol 134 MovieClip Frame 1
_root.LevelKontroller.TRAPPE1OPEN = false;
stop();
Symbol 134 MovieClip Frame 8
stop();
Symbol 134 MovieClip Frame 13
_root.LevelKontroller.TRAPPE1OPEN = true;
stop();
Symbol 188 MovieClip Frame 1
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIMONTE = false;
stop();
Symbol 188 MovieClip Frame 2
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIMONTE = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
_root.Character.MONTEESCALIER = true;
Symbol 188 MovieClip Frame 34
_root.Character.FINIMONTEMOITIE = true;
_root.Character.FINIMONTE = false;
Symbol 188 MovieClip Frame 48
_root.Character.FINIMONTEMOITIE = true;
_root.Character.FINIMONTE = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.MONTEESCALIER = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 189 MovieClip Frame 1
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIMONTE = false;
stop();
Symbol 189 MovieClip Frame 2
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIMONTE = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
_root.Character.MONTEESCALIER = true;
Symbol 189 MovieClip Frame 34
_root.Character.FINIMONTEMOITIE = true;
_root.Character.FINIMONTE = false;
Symbol 189 MovieClip Frame 48
_root.Character.FINIMONTEMOITIE = true;
_root.Character.FINIMONTE = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.MONTEESCALIER = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 201 MovieClip Frame 1
_root.Character.FINIDESCENDMOITIE = false;
_root.Character.FINIDESCEND = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
stop();
Symbol 201 MovieClip Frame 2
_root.Character.FINIDESCENDMOITIE = false;
_root.Character.FINIDESCEND = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
Symbol 201 MovieClip Frame 21
_root.Character.FINIDESCENDMOITIE = true;
_root.Character.FINIDESCEND = false;
Symbol 201 MovieClip Frame 48
_root.Character.FINIDESCENDMOITIE = true;
_root.Character.FINIDESCEND = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 239 MovieClip Frame 1
_root.Character.FINITOMBE = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
stop();
Symbol 239 MovieClip Frame 2
_root.Character.FINITOMBE = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
Symbol 239 MovieClip Frame 8
Symbol 239 MovieClip Frame 18
_root.Character.FINITOMBE = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 240 MovieClip Frame 1
_root.Character.FINITOMBE = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
stop();
Symbol 240 MovieClip Frame 2
_root.Character.FINITOMBE = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
Symbol 240 MovieClip Frame 8
Symbol 240 MovieClip Frame 18
_root.Character.FINITOMBE = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 252 MovieClip Frame 1
stop();
Symbol 252 MovieClip Frame 8
stop();
Symbol 282 MovieClip Frame 1
stop();
Instance of Symbol 256 MovieClip in Symbol 282 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(50) == 10) {
_parent.play();
}
}
Symbol 300 MovieClip Frame 1
_root.Character.JUMPCOURANT = true;
_root.Character.JUMP = true;
_root.Character.FINJUMP = false;
_root.CharacterRoom.JUMPCOURANT = true;
_root.CharacterRoom.JUMP = true;
_root.CharacterRoom.FINJUMP = false;
Symbol 300 MovieClip Frame 2
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTMONTE;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTLONGMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTLONGMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
}
Symbol 300 MovieClip Frame 3
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTMONTE;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTLONGMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTLONGMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
}
Symbol 300 MovieClip Frame 4
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTMONTE;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTLONGMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTLONGMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
}
Symbol 300 MovieClip Frame 5
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
Symbol 300 MovieClip Frame 6
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
Symbol 300 MovieClip Frame 7
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
__parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
__parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
Symbol 300 MovieClip Frame 12
_root.Character.JUMPCOURANT = true;
_root.Character.JUMP = true;
_root.Character.FINJUMP = false;
_root.CharacterRoom.JUMPCOURANT = true;
_root.CharacterRoom.JUMP = true;
_root.CharacterRoom.FINJUMP = false;
Symbol 300 MovieClip Frame 13
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
_root.Villains.TOUCHEGC = false;
_root.Villains.TOUCHESTICKY = false;
_root.CharacterRoom.JUMPCOURANT = false;
_root.CharacterRoom.JUMP = false;
_root.CharacterRoom.FINJUMP = true;
Symbol 345 MovieClip Frame 1
_root.LevelKontroller.LUNETTESON = false;
_root.LevelKontroller.LUNETTESONPORTE = false;
_root.Character.ABBYBLESSE = false;
Symbol 345 MovieClip Frame 2
_root.LevelKontroller.LUNETTESON = true;
_root.LevelKontroller.LUNETTESONPORTE = false;
_root.Character.ABBYBLESSE = false;
Symbol 345 MovieClip Frame 4
_root.LevelKontroller.LUNETTESON = true;
_root.LevelKontroller.LUNETTESONPORTE = true;
_root.Character.ABBYBLESSE = false;
Symbol 345 MovieClip Frame 20
_root.LevelKontroller.LUNETTESON = true;
_root.LevelKontroller.LUNETTESONPORTE = true;
_root.Character.ABBYBLESSE = false;
Symbol 345 MovieClip Frame 26
_root.LevelKontroller.LUNETTESON = true;
_root.LevelKontroller.LUNETTESONPORTE = false;
_root.Character.ABBYBLESSE = false;
Symbol 345 MovieClip Frame 29
_root.LevelKontroller.LUNETTESON = false;
_root.LevelKontroller.LUNETTESONPORTE = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Villains.TOUCHESTICKY = false;
stop();
Symbol 346 MovieClip Frame 1
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIMONTE = false;
stop();
Symbol 346 MovieClip Frame 2
_root.Character.FINIMONTEMOITIE = false;
_root.Character.FINIMONTE = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
_root.Character.MONTEESCALIER = true;
Symbol 346 MovieClip Frame 34
_root.Character.FINIMONTEMOITIE = true;
_root.Character.FINIMONTE = false;
Symbol 346 MovieClip Frame 48
_root.Character.FINIMONTEMOITIE = true;
_root.Character.FINIMONTE = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.MONTEESCALIER = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 347 MovieClip Frame 1
_root.Character.FINIDESCENDMOITIE = false;
_root.Character.FINIDESCEND = false;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
stop();
Symbol 347 MovieClip Frame 2
_root.Character.FINIDESCENDMOITIE = false;
_root.Character.FINIDESCEND = false;
_root.Abby.AbbyLeft.gotoAndStop("Idle");
_root.Abby.AbbyRight.gotoAndStop("Idle");
Symbol 347 MovieClip Frame 21
_root.Character.FINIDESCENDMOITIE = true;
_root.Character.FINIDESCEND = false;
Symbol 347 MovieClip Frame 48
_root.Character.FINIDESCENDMOITIE = true;
_root.Character.FINIDESCEND = true;
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Character.CHARACTERBLOQUE = false;
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
stop();
Symbol 348 MovieClip Frame 4
stop();
Symbol 361 MovieClip Frame 38
stop();
Symbol 372 MovieClip Frame 14
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Villains.TOUCHESTICKY = false;
stop();
Symbol 409 MovieClip Frame 1
_root.LevelKontroller.ANIMATIONWORK = true;
Symbol 409 MovieClip Frame 12
_root.LevelKontroller.ANIMATIONWORK = true;
Symbol 409 MovieClip Frame 21
_root.LevelKontroller.ANIMATIONWORK = true;
_root.Lampadaire.gotoAndStop("Etat1");
Symbol 409 MovieClip Frame 30
_root.LevelKontroller.ANIMATIONWORK = true;
Symbol 409 MovieClip Frame 41
_root.LevelKontroller.ANIMATIONWORK = false;
stop();
Symbol 411 MovieClip Frame 1
stop();
Instance of Symbol 256 MovieClip in Symbol 411 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(50) == 10) {
_parent.play();
}
}
Symbol 413 MovieClip Frame 1
_root.Character.JUMPCOURANT = true;
_root.Character.JUMP = true;
_root.Character.FINJUMP = false;
_root.CharacterRoom.JUMPCOURANT = true;
_root.CharacterRoom.JUMP = true;
_root.CharacterRoom.FINJUMP = false;
Symbol 413 MovieClip Frame 2
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTMONTE;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTLONGMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTLONGMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
}
Symbol 413 MovieClip Frame 3
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTMONTE;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTLONGMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTLONGMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
}
Symbol 413 MovieClip Frame 4
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTMONTE;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTLONGMONTE;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTLONGMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTMONTE;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTLONGMONTE;
}
}
Symbol 413 MovieClip Frame 5
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
Symbol 413 MovieClip Frame 6
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
Symbol 413 MovieClip Frame 7
if (_root.Character.SAUTCOURTFLAG == true) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
__parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.Character.SAUTCOURTFLAG == false) {
if ((_root.Character.DIRECTION == _root.Character.DROIT) && (_root.Character.JUMPDROIT == false)) {
__parent._parent._x = _parent._parent._x + _root.Character.DISTANCESAUTCOURTDESCEND;
}
if ((_root.Character.DIRECTION == _root.Character.GAUCHE) && (_root.Character.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.Character.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == true) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
if (_root.CharacterRoom.SAUTCOURTFLAG == false) {
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.DROIT) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x + _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
if ((_root.CharacterRoom.DIRECTION == _root.CharacterRoom.GAUCHE) && (_root.CharacterRoom.JUMPDROIT == false)) {
_parent._parent._x = _parent._parent._x - _root.CharacterRoom.DISTANCESAUTCOURTDESCEND;
}
}
Symbol 413 MovieClip Frame 12
_root.Character.JUMPCOURANT = true;
_root.Character.JUMP = true;
_root.Character.FINJUMP = false;
_root.CharacterRoom.JUMPCOURANT = true;
_root.CharacterRoom.JUMP = true;
_root.CharacterRoom.FINJUMP = false;
Symbol 413 MovieClip Frame 13
_root.Character.JUMPCOURANT = false;
_root.Character.JUMP = false;
_root.Character.FINJUMP = true;
_root.Villains.TOUCHEGC = false;
_root.Villains.TOUCHESTICKY = false;
_root.CharacterRoom.JUMPCOURANT = false;
_root.CharacterRoom.JUMP = false;
_root.CharacterRoom.FINJUMP = true;
Symbol 414 MovieClip Frame 38
stop();
Symbol 415 MovieClip Frame 14
_root.Character.ABBYBLESSE = false;
_root.Villains.TOUCHEGC = false;
_root.Villains.TOUCHESTICKY = false;
stop();
Symbol 417 MovieClip Frame 1
stop();
Symbol 417 MovieClip Frame 2
stop();
Symbol 469 MovieClip Frame 1
stop();
Symbol 469 MovieClip Frame 2
stop();
Symbol 492 MovieClip Frame 1
stop();
Symbol 492 MovieClip Frame 2
stop();
Symbol 515 MovieClip Frame 1
stop();
Symbol 538 Button
on (release) {
_root.gotoAndPlay("Reset");
}
Symbol 539 MovieClip Frame 1
stop();
Symbol 539 MovieClip Frame 6
_root.LifeAbbyGame.gotoAndStop(1);
_root.Character.CHARACTERBLOQUE = true;
Symbol 539 MovieClip Frame 42
stop();
Symbol 551 MovieClip Frame 1
stop();
Symbol 551 MovieClip Frame 18
stop();
Symbol 551 MovieClip Frame 58
stop();
Symbol 551 MovieClip Frame 78
stop();
Symbol 551 MovieClip Frame 98
stop();
Symbol 551 MovieClip Frame 108
stop();
Symbol 551 MovieClip Frame 121
stop();
Symbol 556 MovieClip Frame 2
stop();
Symbol 587 MovieClip Frame 1
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 587 MovieClip Frame 2
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 587 MovieClip Frame 13
_root.LevelKontrolller.APPARITIONCABANE = true;
_root.gotoAndStop("RoomGoggles");
stop();
Symbol 587 MovieClip Frame 14
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 587 MovieClip Frame 21
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 588 MovieClip Frame 1
stop();
Symbol 588 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 588 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 589 MovieClip Frame 1
stop();
Symbol 589 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 589 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 688 MovieClip Frame 34
gotoAndPlay (1);
Symbol 688 MovieClip Frame 66
gotoAndPlay (35);
Symbol 689 MovieClip Frame 6
stop();
Symbol 689 MovieClip Frame 12
stop();
Symbol 689 MovieClip Frame 18
stop();
Symbol 689 MovieClip Frame 24
stop();
Symbol 690 MovieClip Frame 1
stop();
Symbol 690 MovieClip Frame 2
stop();
Symbol 691 MovieClip Frame 1
stop();
Symbol 691 MovieClip Frame 2
stop();
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 9
stop();
Symbol 715 MovieClip Frame 1
stop();
Symbol 715 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 715 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 719 MovieClip Frame 6
stop();
Symbol 719 MovieClip Frame 12
stop();
Symbol 719 MovieClip Frame 18
stop();
Symbol 719 MovieClip Frame 24
stop();
Symbol 720 MovieClip Frame 1
stop();
Symbol 720 MovieClip Frame 2
stop();
Symbol 721 MovieClip Frame 1
stop();
Symbol 721 MovieClip Frame 2
stop();
Symbol 769 MovieClip Frame 1
_root.LevelKontroller.FINIASCDESCENDL3 = false;
stop();
Symbol 769 MovieClip Frame 25
_root.LevelKontroller.FINIASCDESCENDL3 = false;
Symbol 769 MovieClip Frame 41
_root.LevelKontroller.FINIASCDESCENDL3 = true;
_root.gotoAndStop("Level5");
stop();
Symbol 769 MovieClip Frame 42
_root.LevelKontroller.FINIASCMONTEL3 = false;
Symbol 769 MovieClip Frame 58
_root.LevelKontroller.FINIASCMONTEL3 = true;
Symbol 789 MovieClip Frame 1
stop();
Symbol 789 MovieClip Frame 13
_root.gotoAndStop("RoomGoggles");
stop();
Symbol 789 MovieClip Frame 21
stop();
Symbol 792 MovieClip Frame 1
stop();
Symbol 792 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 792 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 793 MovieClip Frame 1
stop();
Symbol 793 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 793 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 800 MovieClip Frame 6
stop();
Symbol 800 MovieClip Frame 12
stop();
Symbol 800 MovieClip Frame 18
stop();
Symbol 800 MovieClip Frame 24
stop();
Symbol 801 MovieClip Frame 1
stop();
Symbol 801 MovieClip Frame 2
stop();
Symbol 802 MovieClip Frame 1
stop();
Symbol 802 MovieClip Frame 2
stop();
Symbol 823 MovieClip Frame 1
stop();
Symbol 823 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 823 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 824 MovieClip Frame 1
stop();
Symbol 824 MovieClip Frame 11
_root.LevelKontrolller.APPARITIONCABANE = true;
Symbol 824 MovieClip Frame 20
_root.LevelKontrolller.APPARITIONCABANE = true;
stop();
Symbol 829 MovieClip Frame 6
stop();
Symbol 829 MovieClip Frame 12
stop();
Symbol 829 MovieClip Frame 18
stop();
Symbol 829 MovieClip Frame 24
stop();
Symbol 837 MovieClip Frame 1
stop();
Symbol 837 MovieClip Frame 2
stop();
Symbol 838 MovieClip Frame 1
stop();
Symbol 838 MovieClip Frame 24
_root.LevelKontroller.FINIASCMONTEL5 = false;
Symbol 838 MovieClip Frame 40
_root.LevelKontroller.FINIASCMONTEL5 = true;
_root.gotoAndStop("Level3");
stop();
Symbol 838 MovieClip Frame 41
_root.LevelKontroller.FINIASCDESCENDL5 = false;
Symbol 838 MovieClip Frame 57
_root.LevelKontroller.FINIASCDESCENDL5 = true;
Symbol 895 Button
on (release) {
nextFrame();
}
Symbol 899 Button
on (release) {
_root.gotoAndStop("InstructionsFinal");
}
Symbol 903 Button
on (release) {
gotoAndStop (122);
}
Symbol 905 Button
on (release) {
_root.gotoAndStop("IF2");
}
Symbol 950 MovieClip Frame 1
stop();
Symbol 950 MovieClip Frame 6
stop();
Symbol 950 MovieClip Frame 11
stop();
Symbol 950 MovieClip Frame 16
stop();
Symbol 950 MovieClip Frame 21
stop();
Symbol 950 MovieClip Frame 22
_parent.gotoAndPlay(who_died);
Symbol 950 MovieClip Frame 24
stop();
Symbol 951 MovieClip Frame 1
stop();
Symbol 951 MovieClip Frame 6
stop();
Symbol 951 MovieClip Frame 11
stop();
Symbol 951 MovieClip Frame 16
stop();
Symbol 951 MovieClip Frame 21
stop();
Symbol 951 MovieClip Frame 22
_parent.gotoAndPlay(who_died);
Symbol 951 MovieClip Frame 24
stop();
Symbol 953 MovieClip Frame 1
stop();
Symbol 953 MovieClip Frame 3
stop();
Symbol 953 MovieClip Frame 5
stop();
Symbol 953 MovieClip Frame 7
stop();
Symbol 953 MovieClip Frame 9
stop();
Symbol 953 MovieClip Frame 11
_parent.gotoAndPlay("game_over");
Symbol 953 MovieClip Frame 12
stop();
Symbol 960 MovieClip Frame 45
stop();
_parent.play();
Symbol 961 MovieClip Frame 1
stop();
Symbol 961 MovieClip Frame 3
stop();
Symbol 961 MovieClip Frame 5
stop();
Symbol 961 MovieClip Frame 7
stop();
Symbol 961 MovieClip Frame 9
stop();
Symbol 961 MovieClip Frame 11
_parent.gotoAndPlay("game_over");
Symbol 961 MovieClip Frame 12
stop();
Symbol 1063 Button
on (release) {
_root.gotoAndPlay("Reset");
}
Symbol 1067 MovieClip Frame 1
stop();
Symbol 1067 MovieClip Frame 2
play();
Symbol 1067 MovieClip Frame 8
stop();
Symbol 1112 MovieClip Frame 1
stop();
Symbol 1112 MovieClip Frame 2
play();
Symbol 1112 MovieClip Frame 8
stop();
Symbol 1132 MovieClip Frame 1
stop();
Instance of Symbol 949 MovieClip "variables" in Symbol 1132 MovieClip Frame 1
onClipEvent (load) {
attack_type = "";
}
Instance of Symbol 950 MovieClip "life_abby" in Symbol 1132 MovieClip Frame 1
onClipEvent (load) {
who_died = "game_over";
}
Instance of Symbol 951 MovieClip "life_sticky" in Symbol 1132 MovieClip Frame 1
onClipEvent (load) {
who_died = "ending";
}
Instance of Symbol 953 MovieClip "cane_meter_abby" in Symbol 1132 MovieClip Frame 1
onClipEvent (load) {
if (_root.Variables.TOTALCANNES == 5) {
this.gotoAndStop("Canne5");
} else if (_root.Variables.TOTALCANNES == 4) {
this.gotoAndStop("Canne4");
} else if (_root.Variables.TOTALCANNES == 3) {
this.gotoAndStop("Canne3");
} else if (_root.Variables.TOTALCANNES == 2) {
this.gotoAndStop("Canne2");
} else if (_root.Variables.TOTALCANNES == 1) {
this.gotoAndStop("Canne1");
} else if (_root.Variables.TOTALCANNES == 0) {
this.gotoAndStop("Canne0");
}
}
Instance of Symbol 961 MovieClip "cane_meter_abby" in Symbol 1132 MovieClip Frame 2
onClipEvent (load) {
if (_root.Variables.TOTALCANNES == 5) {
this.gotoAndStop("Canne5");
} else if (_root.Variables.TOTALCANNES == 4) {
this.gotoAndStop("Canne4");
} else if (_root.Variables.TOTALCANNES == 3) {
this.gotoAndStop("Canne3");
} else if (_root.Variables.TOTALCANNES == 2) {
this.gotoAndStop("Canne2");
} else if (_root.Variables.TOTALCANNES == 1) {
this.gotoAndStop("Canne1");
}
}
Symbol 1132 MovieClip Frame 3
stop();
random_attack = random(3) + 1;
if (random_attack == 1) {
Set("variables:attack_type", "H");
} else if (random_attack == 2) {
Set("variables:attack_type", "M");
} else if (random_attack == 3) {
Set("variables:attack_type", "L");
}
gotoAndPlay(variables:attack_type);
Instance of Symbol 964 MovieClip in Symbol 1132 MovieClip Frame 22
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
tellTarget (_parent) {
gotoAndPlay(variables:attack_type + "H");
};
}
if (Key.isDown(Key.DOWN)) {
tellTarget (_parent) {
gotoAndPlay(variables:attack_type + "L");
};
}
if (Key.isDown(Key.RIGHT)) {
tellTarget (_parent) {
gotoAndPlay(variables:attack_type + "M");
};
}
if (Key.isDown(Key.LEFT)) {
tellTarget (_parent) {
gotoAndPlay(variables:attack_type + "B");
};
}
}
Symbol 1132 MovieClip Frame 42
gotoAndPlay (178);
Symbol 1132 MovieClip Frame 62
gotoAndPlay (290);
Symbol 1132 MovieClip Frame 82
gotoAndPlay (398);
Symbol 1132 MovieClip Frame 100
cane_meter_abby.play();
Symbol 1132 MovieClip Frame 114
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 127
life_abby.play();
Symbol 1132 MovieClip Frame 130
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 140
life_sticky.play();
Symbol 1132 MovieClip Frame 146
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 165
cane_meter_abby.play();
Symbol 1132 MovieClip Frame 177
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 190
life_abby.play();
Symbol 1132 MovieClip Frame 193
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 205
life_sticky.play();
Symbol 1132 MovieClip Frame 208
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 227
cane_meter_abby.play();
Symbol 1132 MovieClip Frame 241
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 255
life_abby.play();
Symbol 1132 MovieClip Frame 257
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 276
cane_meter_abby.play();
Symbol 1132 MovieClip Frame 289
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 302
life_abby.play();
Symbol 1132 MovieClip Frame 304
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 316
life_abby.play();
Symbol 1132 MovieClip Frame 319
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 330
life_sticky.play();
Symbol 1132 MovieClip Frame 335
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 351
cane_meter_abby.play();
Symbol 1132 MovieClip Frame 365
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 381
cane_meter_abby.play();
Symbol 1132 MovieClip Frame 397
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 409
life_abby.play();
Symbol 1132 MovieClip Frame 412
gotoAndPlay (2);
Symbol 1132 MovieClip Frame 413
_root.Musique.gotoAndStop("Silence");
Symbol 1132 MovieClip Frame 452
stop();
Symbol 1132 MovieClip Frame 453
_root.Musique.gotoAndStop("Silence");
play();
Instance of Symbol 1112 MovieClip in Symbol 1132 MovieClip Frame 497
onClipEvent (load) {
gotoAndPlay (2);
}
Symbol 1132 MovieClip Frame 525
stop();
_root.gotoAndPlay("Outro");
Symbol 1148 Button
on (release) {
_root.gotoAndPlay("GetSecretCode");
}
Symbol 1149 MovieClip Frame 100
stop();
Symbol 1159 MovieClip Frame 8
stop();