Frame 1
ifFrameLoaded (10) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
myArray = new Array();
myArray[0] = "red";
myArray[1] = "yellow";
myArray[2] = 1;
if (myArray[2] == 1) {
gotoAndPlay (5);
}
Frame 4
stop();
Frame 23
ifFrameLoaded (200) {
gotoAndPlay (25);
}
Frame 24
gotoAndPlay (22);
Frame 25
tellTarget ("_root.LogoWb.LogoWb2") {
play();
};
Frame 69
ifFrameLoaded (325) {
gotoAndPlay (71);
}
Frame 70
gotoAndPlay (68);
Frame 108
s = new Sound();
Instance of Symbol 81 MovieClip "LoadingBar" in Frame 108
onClipEvent (load) {
var totalbytes = 1653558;
}
onClipEvent (enterFrame) {
var bytesloaded = _root.getBytesLoaded();
var percentage = (bytesloaded / totalbytes);
_root.LoadingBar.Loaded.Percent.Loaded = int(percentage * 100);
if ((20 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe20 != true)) {
Passe20 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("20");
};
}
if ((30 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe30 != true)) {
Passe30 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("30");
};
}
if ((40 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe40 != true)) {
Passe40 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("40");
};
}
if ((50 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe50 != true)) {
Passe50 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("50");
};
}
if ((60 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe60 != true)) {
Passe60 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("60");
};
}
if ((70 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe70 != true)) {
Passe70 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("70");
};
}
if ((80 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe80 != true)) {
Passe80 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("80");
};
}
if ((90 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe90 != true)) {
Passe90 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("90");
};
}
if ((99 < _root.LoadingBar.Loaded.Percent.Loaded) and (Passe100 != true)) {
Passe100 = true;
tellTarget ("_root.LoadingBar") {
gotoAndPlay ("100");
};
}
ifFrameLoaded (603) {
if (/:Instru != true) {
tellTarget ("_root.InstructionButton") {
gotoAndStop (2);
};
}
}
if (99 < _root.LoadingBar.Loaded.Percent.Loaded) {
_root.LoadingBar.Loaded.Percent.Loaded = 100;
}
}
Frame 583
s.setVolume(90);
Frame 585
s.setVolume(70);
Frame 587
s.setVolume(50);
Frame 589
s.setVolume(40);
Frame 591
s.setVolume(30);
Frame 593
s.setVolume(20);
Frame 595
s.setVolume(10);
Frame 597
s.setVolume(0);
Frame 599
stopAllSounds();
Frame 600
s.setVolume(100);
Frame 603
Set("/:Instru", true);
stopAllSounds();
nextFrame();
Frame 604
stop();
Frame 605
stop();
Frame 606
stop();
Frame 607
stop();
Frame 608
stop();
Frame 609
stop();
Frame 610
stop();
Frame 622
stopAllSounds();
Frame 623
play();
Frame 1295
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=1", 0);
Frame 1296
s = new Sound();
Frame 1301
gotoAndPlay (1303);
Frame 1304
Set("/Variables:From", "Debut");
gotoAndPlay (1305);
Frame 1306
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
if (/Variables:From eq "Tab2") {
Set("/Variables:Tab1Etage", 2);
setProperty("_root.Meg", _x , 509);
setProperty("_root.Meg", _y , 287);
setProperty("_root.Meg", _xscale , 22);
setProperty("_root.Meg", _yscale , 22);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Debut") {
Set("/Variables:Tab1Etage", 1);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
Instance of Symbol 2435 MovieClip in Frame 1306
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheInterieur.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
if (/Variables:AscParleTab1 == true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PitonneAscenseur");
};
} else if (/Variables:ObjetSelect == 5) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("ParleAscenseur");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RegardeAscenseur");
};
}
}
if (_root.CacheInterieur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.DecoupePorte", _visible , 1);
} else {
setProperty("_root.DecoupePorte", _visible , 0);
}
if (/Variables:Tab1Etage == 1) {
setProperty("_root.BalconDevant", _visible , 1);
setProperty("_root.StandDevant", _visible , 1);
} else {
setProperty("_root.BalconDevant", _visible , 0);
setProperty("_root.StandDevant", _visible , 0);
if (/Variables:AscenseurOuverte == true) {
tellTarget ("_root.Collider.BlocAscenseur") {
nextFrame();
};
}
}
if (_root.CacheEscalierBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.MegEscalier") {
gotoAndPlay ("Monte");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (_root.CacheEscalierHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.MegEscalier") {
gotoAndPlay ("Descent");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if ((_root.CacheStand.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:LivreRamasse == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendLivre");
};
}
if ((_root.CacheBanc.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect != 1)) {
if (/Variables:Banc1 == false) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("Banc1");
};
}
}
if (((_root.CacheBanc.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 1)) and (/Variables:CarteFemmeRamasse == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendCarteFemme");
};
}
if (((_root.CacheAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 3)) and (/Variables:AscenseurOuverte == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PasseCarteFemme");
};
}
if ((_root.CacheAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 1)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PasseCarteAlbinos");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1307
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
stop();
Frame 1829
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2AStoppe");
Set("/Variables:EtatActif", "Tab2A");
if (/Variables:From eq "Tab2B1") {
setProperty("_root.Meg", _x , 252);
setProperty("_root.Meg", _y , 311);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Tab1") {
}
Instance of Symbol 2466 MovieClip in Frame 1829
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CachePancarte.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RegardePancarte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
}
if (_root.CacheVersTab2B.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2A2");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1830
Set("/Variables:EtatActif", "Tab2A");
Set("/Variables:EtatVide", "Tab2AStoppe");
stop();
Frame 1839
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2BStoppe");
Set("/Variables:EtatActif", "Tab2B");
if (/Variables:From eq "Tab2A2") {
setProperty("_root.Meg", _x , 208);
setProperty("_root.Meg", _y , 363);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Tab2C1") {
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
Instance of Symbol 2479 MovieClip in Frame 1839
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab2A.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2B1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2C.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2B2");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CachePorteVide.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegMain");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1840
Set("/Variables:EtatActif", "Tab2B");
Set("/Variables:EtatVide", "Tab2BStoppe");
stop();
Frame 1849
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2CStoppe");
Set("/Variables:EtatActif", "Tab2C");
if (/Variables:From eq "Tab2B2") {
setProperty("_root.Meg", _x , 311);
setProperty("_root.Meg", _y , 315);
setProperty("_root.Meg", _xscale , 44);
setProperty("_root.Meg", _yscale , 44);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
if (/Variables:From eq "Tab2D1") {
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
Instance of Symbol 2490 MovieClip in Frame 1849
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab2B.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2C1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2D.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (((/Variables:PorteC == false) and Key.isDown(Key.SPACE)) and (/Variables:objetSelect == 5)) {
Set("/Variables:PorteC", true);
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2C2");
tellTarget ("_root.Animatiques") {
gotoAndStop ("TraversePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:PorteC == true) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2C2");
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1850
Set("/Variables:EtatActif", "Tab2C");
Set("/Variables:EtatVide", "Tab2CStoppe");
stop();
Frame 1859
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.5);
Set("/Variables:EtatVide", "Tab2DStoppe");
Set("/Variables:EtatActif", "Tab2D");
if (/Variables:MegPrison == true) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=9", 0);
myColor = new Color(_root.Meg);
myColorTransform = new Object();
myColorTransform.ra = 80;
myColorTransform.rb = 27;
myColorTransform.ga = 80;
myColorTransform.gb = 27;
myColorTransform.ba = 80;
myColorTransform.bb = 64;
MyColor.setTransform(myColorTransform);
setProperty("_root.Meg", _x , 418);
setProperty("_root.Meg", _y , 280);
setProperty("_root.Meg", _xscale , 33);
setProperty("_root.Meg", _yscale , 33);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
} else if (/Variables:From eq "Tab2C2") {
setProperty("_root.Meg", _x , 208);
setProperty("_root.Meg", _y , 360);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2558 MovieClip in Frame 1859
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (/Variables:MegPrison == true) {
setProperty("_root.DecoupeTab2D", _visible , 1);
setProperty("_root.BarreauDevant", _visible , 1);
} else {
setProperty("_root.DecoupeTab2D", _visible , 0);
setProperty("_root.BarreauDevant", _visible , 0);
}
if (((/Variables:MegPrison == true) and (/Variables:ObjetSelect == 5)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("SortPrison");
};
}
if (_root.CacheVersTab2E.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (((/Variables:PorteD == false) and Key.isDown(Key.SPACE)) and (/Variables:objetSelect == 5)) {
Set("/Variables:PorteD", true);
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2D2");
tellTarget ("_root.Animatiques") {
gotoAndStop ("TraversePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:PorteD == true) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2D2");
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (_root.CacheVersTab2C.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2D1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1860
Set("/Variables:EtatActif", "Tab2D");
Set("/Variables:EtatVide", "Tab2DStoppe");
if (/Variables:MegPrison == true) {
myColor = new Color(_root.Meg);
myColorTransform = new Object();
myColorTransform.ra = 80;
myColorTransform.rb = 27;
myColorTransform.ga = 80;
myColorTransform.gb = 27;
myColorTransform.ba = 80;
myColorTransform.bb = 64;
MyColor.setTransform(myColorTransform);
}
stop();
Frame 1869
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2EStoppe");
Set("/Variables:EtatActif", "Tab2E");
if (/Variables:From eq "Tab2K1") {
setProperty("_root.Meg", _x , 228);
setProperty("_root.Meg", _y , 131);
setProperty("_root.Meg", _xscale , 24);
setProperty("_root.Meg", _yscale , 24);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Tab2D2") {
setProperty("_root.Meg", _x , 235);
setProperty("_root.Meg", _y , 360);
setProperty("_root.Meg", _xscale , 47);
setProperty("_root.Meg", _yscale , 47);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Tab2F1") {
setProperty("_root.Meg", _x , 320);
setProperty("_root.Meg", _y , 307);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
Instance of Symbol 2562 MovieClip in Frame 1869
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == true)) {
if ((/Variables:ObjetSelect == 2) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanLivre");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((/Variables:ObjetSelect == 3) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanCarte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if ((!_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:RobotPositionTir == true)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotTir");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2I.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
if (((/Variables:PorteE == false) and Key.isDown(Key.SPACE)) and (/Variables:objetSelect == 5)) {
Set("/Variables:PorteE", true);
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2E4");
tellTarget ("_root.Animatiques") {
gotoAndStop ("TraversePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:PorteE == true) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2E4");
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (_root.CacheVersTab2D.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2E1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2K.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2E3");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2F.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2E2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1870
Set("/Variables:EtatActif", "Tab2E");
Set("/Variables:EtatVide", "Tab2EStoppe");
stop();
Frame 1879
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2FStoppe");
Set("/Variables:EtatActif", "Tab2F");
if (/Variables:From eq "Tab2G1") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
if (/Variables:From eq "Tab2E2") {
setProperty("_root.Meg", _x , 356);
setProperty("_root.Meg", _y , 349);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2565 MovieClip in Frame 1879
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == true)) {
if ((/Variables:ObjetSelect == 2) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanLivre");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((/Variables:ObjetSelect == 3) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanCarte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if ((!_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:RobotPositionTir == true)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotTir");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CachePorteVide.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegMain");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2E.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2F1");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2G.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2F2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1880
Set("/Variables:EtatActif", "Tab2F");
Set("/Variables:EtatVide", "Tab2FStoppe");
stop();
Frame 1889
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2GStoppe");
Set("/Variables:EtatActif", "Tab2G");
if (/Variables:From eq "Tab2F2") {
setProperty("_root.Meg", _x , 240);
setProperty("_root.Meg", _y , 323);
setProperty("_root.Meg", _xscale , 43);
setProperty("_root.Meg", _yscale , 43);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Tab2K2") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
Instance of Symbol 2568 MovieClip in Frame 1889
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == true)) {
if ((/Variables:ObjetSelect == 2) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanLivre");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((/Variables:ObjetSelect == 3) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanCarte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if ((!_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:RobotPositionTir == true)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotTir");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2F.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2G1");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2K.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2G2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1890
Set("/Variables:EtatActif", "Tab2G");
Set("/Variables:EtatVide", "Tab2GStoppe");
stop();
Frame 1899
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2HStoppe");
Set("/Variables:EtatActif", "Tab2H");
if (/Variables:From eq "Tab2L2") {
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab2M2") {
setProperty("_root.Meg", _x , 375);
setProperty("_root.Meg", _y , 350);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
Instance of Symbol 2581 MovieClip in Frame 1899
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab2M.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (((/Variables:PorteH == false) and Key.isDown(Key.SPACE)) and (/Variables:objetSelect == 5)) {
Set("/Variables:PorteH", true);
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2H1");
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("TraversePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
} else if (/Variables:PorteH == true) {
Set("/Variables:Stoppe", true);
Set("/Variables:From", "Tab2H1");
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if (_root.CacheVersTab2L.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2H2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1900
Set("/Variables:EtatActif", "Tab2H");
Set("/Variables:EtatVide", "Tab2HStoppe");
stop();
Frame 1909
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2IStoppe");
Set("/Variables:EtatActif", "Tab2I");
if (/Variables:From eq "Tab2E4") {
setProperty("_root.Meg", _x , 372);
setProperty("_root.Meg", _y , 348);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
if (/Variables:From eq "Tab2K2") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
Instance of Symbol 2584 MovieClip in Frame 1909
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab2E.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2I1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2L.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2I2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1910
Set("/Variables:EtatActif", "Tab2I");
Set("/Variables:EtatVide", "Tab2IStoppe");
stop();
Frame 1919
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2KStoppe");
Set("/Variables:EtatActif", "Tab2K");
if (/Variables:From eq "Tab2G2") {
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab2E3") {
setProperty("_root.Meg", _x , 232);
setProperty("_root.Meg", _y , 356);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2586 MovieClip in Frame 1919
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == true)) {
if ((/Variables:ObjetSelect == 2) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanLivre");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if ((/Variables:ObjetSelect == 3) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanCarte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if ((!_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:RobotPositionTir == true)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotTir");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2E.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2K1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2G.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:From", "Tab2K2");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1920
Set("/Variables:EtatActif", "Tab2K");
Set("/Variables:EtatVide", "Tab2KStoppe");
stop();
Frame 1929
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2LStoppe");
Set("/Variables:EtatActif", "Tab2L");
if (/Variables:From eq "Tab2H1") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
if (/Variables:From eq "Tab2I2") {
setProperty("_root.Meg", _x , 369);
setProperty("_root.Meg", _y , 358);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2587 MovieClip in Frame 1929
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab2I.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2L1");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArriveCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CachePorteVide.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegMain");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2H.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2L2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneCoin");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1930
Set("/Variables:EtatActif", "Tab2L");
Set("/Variables:EtatVide", "Tab2LStoppe");
stop();
Frame 1939
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2MStoppe");
Set("/Variables:EtatActif", "Tab2M");
if (/Variables:From eq "Tab2H1") {
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab2J2") {
setProperty("_root.Meg", _x , 232);
setProperty("_root.Meg", _y , 358);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2588 MovieClip in Frame 1939
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab2H.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2M2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab2J.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2M1");
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1940
Set("/Variables:EtatActif", "Tab2M");
Set("/Variables:EtatVide", "Tab2MStoppe");
stop();
Frame 1949
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.6);
Set("/Variables:EtatVide", "Tab2JStoppe");
Set("/Variables:EtatActif", "Tab2J");
Instance of Symbol 2666 MovieClip in Frame 1949
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if ((_root.CacheCafe.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 4)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PoisonCafe");
};
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
if (_root.CacheVersAsc2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("Panneau");
};
if (/Variables:CadranVu == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("SndNeedCode");
};
}
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
if (_root.Bureau.Gardien.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardienBaton");
};
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
if (/Variables:GardienLa == false) {
if ((_root.Bureau.CacheMain.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:PorteAsc2Ouverte == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegMain");
};
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
if (((_root.Bureau.CacheGardien.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CarteGardienRamasse == true)) and Key.isDown(Key.SPACE)) and (/Variables:PorteAsc2Ouverte == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardienMain");
};
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
if ((_root.Bureau.CacheGardien.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CarteGardienRamasse == false)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("FouilleGardien");
};
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
}
if (_root.CacheVersTab2M.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab2J2");
Set("/Variables:Stoppe", true);
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArrivePorte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1950
Set("/Variables:EtatActif", "Tab2J");
Set("/Variables:EtatVide", "Tab2JStoppe");
stop();
Frame 1959
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab3AStoppe");
Set("/Variables:EtatActif", "Tab3A");
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=18", 0);
if (/Variables:From eq "Asc2") {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
if (/Variables:From eq "Tab3B") {
setProperty("_root.Meg", _x , 410);
setProperty("_root.Meg", _y , 172);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
Instance of Symbol 2706 MovieClip in Frame 1959
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersTab3B.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3A");
tellTarget ("_root") {
gotoAndPlay ("Tab3BIni");
};
}
if ((_root.CachePorteBarre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:MegCri == false)) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndLocked");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1960
stop();
Set("/Variables:EtatVide", "Tab3AStoppe");
Set("/Variables:EtatActif", "Tab3A");
Frame 1968
setProperty("_root.Laser1Devant", _visible , 0);
setProperty("_root.Laser2Devant", _visible , 0);
setProperty("_root.Laser3Devant", _visible , 0);
setProperty("_root.Laser1Derriere", _visible , 0);
setProperty("_root.Laser2Derriere", _visible , 0);
setProperty("_root.Laser3Derriere", _visible , 0);
Frame 1969
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.2);
Set("/Variables:EtatVide", "Tab3BStoppe");
Set("/Variables:EtatActif", "Tab3B");
if (/Variables:From eq "Tab3C") {
setProperty("_root.Meg", _x , 307);
setProperty("_root.Meg", _y , 370);
setProperty("_root.Meg", _xscale , 30);
setProperty("_root.Meg", _yscale , 30);
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
} else {
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
Instance of Symbol 2731 MovieClip in Frame 1969
onClipEvent (enterFrame) {
if (_root.CacheLaser3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (/Variables:LaserArret == false) {
tellTarget ("_root.SonLaser") {
gotoAndStop ("Arret");
};
}
setProperty("_root.Laser1Devant", _visible , 0);
setProperty("_root.Laser2Devant", _visible , 0);
setProperty("_root.Laser3Devant", _visible , 0);
setProperty("_root.Laser1Derriere", _visible , 0);
setProperty("_root.Laser2Derriere", _visible , 0);
setProperty("_root.Laser3Derriere", _visible , 0);
} else if (_root.CacheLaser2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (/Variables:LaserArret == false) {
tellTarget ("_root.SonLaser") {
gotoAndStop ("Joue");
};
}
setProperty("_root.Laser1Devant", _visible , 0);
setProperty("_root.Laser2Devant", _visible , 0);
setProperty("_root.Laser1Derriere", _visible , 0);
setProperty("_root.Laser2Derriere", _visible , 0);
if (_root.FlipLaser3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Laser3Derriere", _visible , 1);
setProperty("_root.Laser3Devant", _visible , 0);
} else {
setProperty("_root.Laser3Derriere", _visible , 0);
setProperty("_root.Laser3Devant", _visible , 1);
}
} else if (_root.CacheLaser1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (/Variables:LaserArret == false) {
tellTarget ("_root.SonLaser") {
gotoAndStop ("Joue");
};
}
setProperty("_root.Laser1Devant", _visible , 0);
setProperty("_root.Laser3Devant", _visible , 0);
setProperty("_root.Laser1Derriere", _visible , 0);
setProperty("_root.Laser3Derriere", _visible , 0);
if (_root.FlipLaser2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Laser2Derriere", _visible , 1);
setProperty("_root.Laser2Devant", _visible , 0);
} else {
setProperty("_root.Laser2Derriere", _visible , 0);
setProperty("_root.Laser2Devant", _visible , 1);
}
} else {
if (/Variables:LaserArret == false) {
tellTarget ("_root.SonLaser") {
gotoAndStop ("Joue");
};
}
setProperty("_root.Laser1Devant", _visible , 1);
setProperty("_root.Laser2Devant", _visible , 0);
setProperty("_root.Laser3Devant", _visible , 0);
setProperty("_root.Laser1Derriere", _visible , 1);
setProperty("_root.Laser2Derriere", _visible , 0);
setProperty("_root.Laser3Derriere", _visible , 0);
if (_root.FlipLaser1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Laser1Derriere", _visible , 1);
setProperty("_root.Laser1Devant", _visible , 0);
} else {
setProperty("_root.Laser1Derriere", _visible , 0);
setProperty("_root.Laser1Devant", _visible , 1);
}
}
if (_root.Laser1Touche.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Laser1Devant", _visible) == 1)) {
if (_root.Laser1Devant.Droit.hitTest(_root.Meg.Corps)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
if (_root.Laser1Devant.Gauche.hitTest(_root.Meg.Corps)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
}
if (/Variables:Stoppe == true) {
if (_root.Laser2Touche.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Laser2Devant", _visible) == 1)) {
if (_root.Laser2Devant.Droit.hitTest(_root.Meg.Corps) and (/Variables:SautLaser2Ok == false)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
if (_root.Laser2Devant.Gauche.hitTest(_root.Meg.Corps) and (/Variables:SautLaser2Ok == false)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
}
}
if (_root.Laser3Touche.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Laser3Devant", _visible) == 1)) {
if (((((((_root.Laser3Devant.L1.hitTest(_root.Meg.Corps) or _root.Laser3Devant.L2.hitTest(_root.Meg.Corps)) or _root.Laser3Devant.L3.hitTest(_root.Meg.Corps)) or _root.Laser3Devant.L4.hitTest(_root.Meg.Corps)) or _root.Laser3Devant.L5.hitTest(_root.Meg.Corps)) or _root.Laser3Devant.L6.hitTest(_root.Meg.Corps)) or _root.Laser3Devant.L7.hitTest(_root.Meg.Corps)) or _root.Laser3Devant.L8.hitTest(_root.Meg.Corps)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
}
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.Laser2Touche.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Laser2Devant", _visible) == 1)) {
if (_root.Laser2Devant.Droit.hitTest(_root.Meg.Corps)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
if (_root.Laser2Devant.Gauche.hitTest(_root.Meg.Corps)) {
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
}
if (((/Variables:ObjetSelect == 5) and (/Variables:LaserArret != true)) and Key.isDown(Key.SPACE)) {
Set("/Variables:LaserArret", true);
Set("/Variables:PositionLaser1", getProperty("_root.Laser1Devant", _currentframe));
Set("/Variables:PositionLaser2", getProperty("_root.Laser2Devant", _currentframe));
Set("/Variables:PositionLaser3", getProperty("_root.Laser3Devant", _currentframe));
tellTarget ("_root.Animatiques") {
gotoAndStop ("ArretLaser");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab3A.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3B");
tellTarget ("_root") {
gotoAndPlay ("Tab3AIni");
};
}
if (_root.CacheVersTab3C.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.ControlArretLaser") {
gotoAndStop (1);
};
Set("/Variables:From", "Tab3B");
tellTarget ("_root") {
gotoAndPlay ("Tab3CIni");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1970
Set("/Variables:EtatVide", "Tab3BStoppe");
Set("/Variables:EtatActif", "Tab3B");
stop();
Frame 1973
tellTarget ("_root.Laser1Devant") {
stop();
};
tellTarget ("_root.Laser1Derriere") {
stop();
};
tellTarget ("_root.Laser2Devant") {
stop();
};
tellTarget ("_root.Laser2Derriere") {
stop();
};
tellTarget ("_root.Laser3Devant") {
stop();
};
tellTarget ("_root.Laser3Derriere") {
stop();
};
Frame 1979
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.2);
Set("/Variables:EtatVide", "Tab3CStoppe");
Set("/Variables:EtatActif", "Tab3C");
if (/Variables:From eq "Tab3B") {
tellTarget ("_root.Meg") {
gotoAndStop (5);
};
}
Instance of Symbol 2734 MovieClip in Frame 1979
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if ((_root.CachePorteBarre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:MegCri == false)) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndLocked");
};
}
if (_root.Robot.RobotVoit.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == true)) {
if (((/Variables:ObjetSelect == 3) or (/Variables:ObjetSelect == 7)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanCarte");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
}
if ((!_root.Robot.RobotVoit.hitTest(_root.Meg._x, _root.Meg._y, true)) and (/Variables:RobotPositionTir == true)) {
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegGaz");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3C");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if (_root.CacheVersTab3B.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab3C");
tellTarget ("_root") {
gotoAndPlay ("Tab3BIni");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1980
Set("/Variables:EtatVide", "Tab3CStoppe");
Set("/Variables:EtatActif", "Tab3C");
setProperty("_root.Robot", _visible , 1);
stop();
Frame 1989
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.3);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
Instance of Symbol 2777 MovieClip in Frame 1989
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (/Variables:JeuParti == true) {
if (/Variables:PlayerTour eq "Player1") {
tellTarget ("_root.Ordi2") {
gotoAndStop ("Inactif");
};
}
if (/Variables:PlayerTour eq "Player2") {
tellTarget ("_root.Ordi1") {
gotoAndStop ("Inactif");
};
tellTarget ("_root.Ordi1Derriere") {
gotoAndStop ("Inactif");
};
}
}
if (((_root.CacheOrdi1.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheOrdi2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 6)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("InsertCD");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (((_root.CacheOrdi1.hitTest(_root.Meg._x, _root.Meg._y, true) or _root.CacheOrdi2.hitTest(_root.Meg._x, _root.Meg._y, true)) and Key.isDown(Key.SPACE)) and (/Variables:OrdiOuvert == true)) {
if (_root.CacheOrdi1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:PlayerActif", "Player1");
} else {
Set("/Variables:PlayerActif", "Player2");
}
if (/Variables:JeuParti == true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("TicTacToe");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("OrdiOuvert");
};
}
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (getProperty("_root.Meg", _y) < 303) {
setProperty("_root.Ordi1", _visible , 1);
} else {
setProperty("_root.Ordi1", _visible , 0);
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
};
}
Frame 1990
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
tellTarget ("_root.Ordi1") {
gotoAndPlay (1);
};
tellTarget ("_root.Ordi1Derriere") {
gotoAndPlay (1);
};
tellTarget ("_root.Ordi2") {
gotoAndPlay (1);
};
stop();
Frame 1998
StringSave = /Save:Fichier.split("@");
StringNomVar = StringSave[0].split(",");
StringValeurVar = StringSave[1].split(",");
StringTypeVar = StringSave[2].split(",");
i = 0;
while (i < StringNomVar.length) {
if (StringTypeVar[i] eq "number") {
Set("/Variables:" + StringNomVar[i], Number(StringValeurVar[i]));
} else if (StringTypeVar[i] eq "boolean") {
if (StringValeurVar[i] eq "true") {
Set("/Variables:" + StringNomVar[i], true);
} else {
Set("/Variables:" + StringNomVar[i], false);
}
} else {
Set("/Variables:" + StringNomVar[i], StringValeurVar[i]);
}
i = i + 1;
}
StringInventaire = StringSave[3].split(",");
Set("/Variables:InvNb", int(StringInventaire[0]));
i = 1;
while (/Variables:InvNbMax >= i) {
Set("/Variables:InvObjet" + i, int(StringInventaire[i]));
i = i + 1;
}
StringMeg = StringSave[4].split(",");
Set("/Variables:MegSetting", new /Variables:Setting());
/Variables:MegSetting.X = StringMeg[0];
/Variables:MegSetting.Y = StringMeg[1];
/Variables:MegSetting.Scale = StringMeg[2];
/Variables:MegSetting.Position = StringMeg[3];
/Variables:MegSetting.Tableau = StringMeg[4];
/Variables:MegSetting.ControlRobot = StringMeg[5];
/Variables:MegSetting.ControlLaser = StringMeg[6];
/Variables:MegSetting.Robot = StringMeg[7];
Set("/Save:Fichier", "");
/Variables:MegSetting.MegInitialisation();
Frame 1999
prevFrame();
Frame 2000
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 2780 MovieClip in Frame 2000
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 2003
Set("/:test", /Save:Fichier);
if (/Save:Fichier ne "") {
gotoAndStop (1999);
} else {
gotoAndPlay (1303);
}
Frame 2004
stopAllSounds();
gotoAndPlay (2027);
Frame 2011
stopAllSounds();
gotoAndPlay (2027);
Frame 2022
stopAllSounds();
gotoAndPlay (2097);
Frame 2027
stopAllSounds();
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=24", 0);
Frame 2096
stop();
Frame 2097
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=23", 0);
Frame 3497
stop();
Symbol 2 MovieClip Frame 1
Fichier = "";
Symbol 8 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", "_self");
}
Symbol 12 Button
on (release) {
play();
}
Symbol 21 MovieClip Frame 33
stop();
Symbol 21 MovieClip Frame 41
stop();
Symbol 22 MovieClip Frame 41
stop();
Symbol 33 MovieClip Frame 39
stop();
Symbol 34 MovieClip Frame 61
stop();
Symbol 40 MovieClip Frame 61
stop();
Symbol 73 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 74 MovieClip Frame 1
fscommand ("load");
Symbol 74 MovieClip Frame 3
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 74 MovieClip Frame 10
stop();
Symbol 78 MovieClip Frame 9
stop();
Symbol 80 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("Commence");
};
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 12
stop();
Symbol 81 MovieClip Frame 23
stop();
Symbol 81 MovieClip Frame 35
stop();
Symbol 81 MovieClip Frame 48
stop();
Symbol 81 MovieClip Frame 62
stop();
Symbol 81 MovieClip Frame 76
stop();
Symbol 81 MovieClip Frame 90
stop();
Symbol 81 MovieClip Frame 104
stop();
Symbol 81 MovieClip Frame 105
play();
Symbol 81 MovieClip Frame 106
play();
Symbol 81 MovieClip Frame 107
play();
Symbol 81 MovieClip Frame 108
play();
Symbol 81 MovieClip Frame 109
play();
Symbol 81 MovieClip Frame 110
play();
Symbol 81 MovieClip Frame 111
play();
Symbol 81 MovieClip Frame 112
play();
Symbol 81 MovieClip Frame 113
play();
Symbol 81 MovieClip Frame 114
play();
Symbol 81 MovieClip Frame 115
play();
Symbol 81 MovieClip Frame 116
play();
Symbol 81 MovieClip Frame 117
play();
Symbol 81 MovieClip Frame 118
play();
Symbol 81 MovieClip Frame 119
play();
Symbol 81 MovieClip Frame 120
play();
Symbol 81 MovieClip Frame 121
play();
Symbol 81 MovieClip Frame 122
play();
Symbol 81 MovieClip Frame 123
play();
Symbol 81 MovieClip Frame 124
play();
Symbol 81 MovieClip Frame 125
play();
Symbol 81 MovieClip Frame 126
play();
Symbol 81 MovieClip Frame 142
stop();
Symbol 84 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("Instructions");
};
}
Symbol 85 MovieClip Frame 1
stop();
if (/:ViewInst == true) {
gotoAndStop (2);
}
Symbol 85 MovieClip Frame 2
Set("/:ViewInst", true);
Symbol 134 MovieClip Frame 40
stop();
Symbol 135 MovieClip Frame 68
stop();
Symbol 203 MovieClip Frame 57
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 25
stop();
Symbol 254 MovieClip Frame 12
stop();
Symbol 275 Button
on (release) {
Set("/:Instru", false);
gotoAndPlay (109);
}
Symbol 286 Button
on (release) {
nextFrame();
}
Symbol 295 Button
on (release) {
prevFrame();
}
Symbol 400 Button
on (release) {
stopAllSounds();
gotoAndPlay (1296);
}
Symbol 737 MovieClip Frame 1
function Tangeante(Degree) {
return(Math.tan((Math.PI/180) * Degree));
}
function Setting() {
this.X = getProperty("_root.Meg", _x);
this.Y = getProperty("_root.Meg", _y);
this.Scale = getProperty("_root.Meg", _xscale);
this.Position = getProperty("_root.Meg", _currentframe);
this.Tableau = /Variables:EtatActif;
this.ControlRobot = getProperty("_root.AttendIdentification", _currentframe);
this.ControlLaser = getProperty("_root.ControlArretLaser", _currentframe);
this.Robot = getProperty("_root.Robot", _currentframe);
this.MegInitialisation = function () {
tellTarget ("_root") {
gotoAndStop(this.Tableau);
};
setProperty("_root.Meg", _x , this.X);
setProperty("_root.Meg", _y , this.Y);
setProperty("_root.Meg", _xscale , this.Scale);
setProperty("_root.Meg", _yscale , this.Scale);
tellTarget ("_root.Meg") {
gotoAndStop(this.Position);
};
tellTarget ("_root.AttendIdentification") {
gotoAndStop(this.ControlRobot);
};
tellTarget ("_root.ControlArretLaser") {
gotoAndStop(this.ControlLaser);
};
tellTarget ("_root.Robot") {
gotoAndStop(this.Robot);
setProperty("_root.Laser1Devant", _visible , 0);
setProperty("_root.Laser2Devant", _visible , 0);
setProperty("_root.Laser3Devant", _visible , 0);
setProperty("_root.Laser1Derriere", _visible , 0);
setProperty("_root.Laser2Derriere", _visible , 0);
setProperty("_root.Laser3Derriere", _visible , 0);
setProperty("_root.Robot", _visible , 0);
};
};
}
function MegSaveString() {
return((((((((((((((int(/Variables:MegSetting.X) + ",") + int(/Variables:MegSetting.Y)) + ",") + int(/Variables:MegSetting.Scale)) + ",") + /Variables:MegSetting.Position) + ",") + /Variables:MegSetting.Tableau) + ",") + /Variables:MegSetting.ControlRobot) + ",") + /Variables:MegSetting.ControlLaser) + ",") + /Variables:MegSetting.Robot);
}
function InventaireSaveString() {
InventaireSave = "";
InventaireSave = (InventaireSave + /Variables:InvNb) + ",";
i = 1;
while (/Variables:InvNbMax >= i) {
InventaireSave = (InventaireSave + eval ("/Variables:InvObjet" + i)) + ",";
i = i + 1;
}
return(InventaireSave);
}
function VariablesSaveString() {
ArrayNoms = new array();
ArrayNoms.push("Vie");
ArrayNoms.push("EtatActif");
ArrayNoms.push("EtatVide");
ArrayNoms.push("Decale");
ArrayNoms.push("Delta");
ArrayNoms.push("VarieDelta");
ArrayNoms.push("LivreRamasse");
ArrayNoms.push("CarteFemmeRamasse");
ArrayNoms.push("CarteGardienRamasse");
ArrayNoms.push("DartRamasse");
ArrayNoms.push("MegGrimpe");
ArrayNoms.push("MegPrison");
ArrayNoms.push("Tab1Etage");
ArrayNoms.push("Banc1");
ArrayNoms.push("AscenseurOuverte");
ArrayNoms.push("AscParleTab1");
ArrayNoms.push("PorteC");
ArrayNoms.push("PorteD");
ArrayNoms.push("PorteE");
ArrayNoms.push("PorteH");
ArrayNoms.push("RobotPositionTir");
ArrayNoms.push("GardienLa");
ArrayNoms.push("PositionGardien");
ArrayNoms.push("PoisonCafe");
ArrayNoms.push("PoisonDansCafe");
ArrayNoms.push("PorteAsc2Ouverte");
ArrayNoms.push("CadranVu");
ArrayNoms.push("GardienParti");
ArrayNoms.push("CoteTab3A");
ArrayNoms.push("OrdiOuvert");
ArrayNoms.push("LaserArret");
ArrayNoms.push("PositionLaser1");
ArrayNoms.push("PositionLaser2");
ArrayNoms.push("PositionLaser3");
ArrayNoms.push("Case1");
ArrayNoms.push("Case2");
ArrayNoms.push("Case3");
ArrayNoms.push("Case4");
ArrayNoms.push("Case5");
ArrayNoms.push("Case6");
ArrayNoms.push("Case7");
ArrayNoms.push("Case8");
ArrayNoms.push("Case9");
ArrayNoms.push("CaseActive");
ArrayNoms.push("PlayerTour");
ArrayNoms.push("PlayerActif");
ArrayNoms.push("JeuParti");
Set("/Variables:NomsVariablesSave", ArrayNoms.toString());
ArrayValeur = new array();
ArrayType = new array();
i = 0;
while (i < ArrayNoms.length) {
ArrayValeur.Push(eval ("/Variables:" + ArrayNoms[i]));
ArrayType.Push(typeof(eval ("/Variables:" + ArrayNoms[i])));
i = i + 1;
}
Set("/Variables:ValeursVariablesSave", ArrayValeur.toString());
Set("/Variables:TypeVariablesSave", ArrayType.toString());
}
VarieDelta = 4;
Fleche = 1;
Set("/:Idle", false);
InvNbTotal = 7;
InventaireOuvert = false;
LargeurObjet = 72;
InvNb = 3;
InvNbMax = 7;
InvObjetSelect = 0;
Instructions = "RULES\r\nIn Steppenwolf: The X-Creatures Project, you guide Meg Crimson and the Steppenwolf himself through a series of action- and logic-based interactive puzzles. \r\nThere are two major components to this application: the Main Game screen, where all the action takes place, and the Inventory page, where the player can stop to think, access stored information and manipulate a variety of items.\r\n\r\n1. The Main Game Screen\r\nCareful manipulation of the character and of the interactive environment is the key to success in this game. The following keyboard commands are available:\r\nUp, Down, Left and Right Arrows: walk in the appropriate direction\r\nUp/Right, Up/Left, Down/Left, Down/Right Arrow combinations: walk along diagonals\r\nHold SHIFT while pressing on a directional arrow combination: run in the appropriate direction\r\nCTRL: jump in the current direction of movement (not available in episode 1)\r\nSPACE: Context-sensitive \"Action Key\", which depends on the interactive element closest to the character's current position. Examples include opening a door, picking up a statue and storing it in the character's inventory, untying a knot to free a hostage, etc.\r\n\r\nThe game's on-screen interface items are very simple:\r\nThe Life Gauge located in the top-left corner measures the hero's current health level. Don't let it fall to zero, or the game is over. \r\nThe special icon located in the top-right corner gives you access to the Inventory screen. It will look like an electronic bracelet when Steppenwolf is the active character, and like a palmtop computer when Meg is in charge.\r\n\r\nFinally, three short-cut keys give quick access to the inventory: \r\nI: Open the inventory\r\nRight/Left arrows: to scroll the item list while the inventory is opened\r\nO: Close the inventory\r\nT: Store the active object and replace it with its successor.\r\n\r\n2.The Inventory Screen\r\nThis page contains four buttons, a slider which allows you to set the sound volume, and a display window whose contents depend on the state of the MAIL and ITEMS buttons.\r\na) MAIL and ITEMS buttons: Click on these buttons to toggle between MAIL and ITEMS mode. \r\nWhen MAIL is active, the display window shows a list of the recent email messages received by the hero. Click on the (underlined) sender's name to read a message; some messages also come with visual attachments, which can be accessed by clicking on the paper clip icon next to the sender's name. \r\nWhen ITEMS is active, a small area at the bottom of the display window is reserved to a scrolling list of the objects picked up by the characters since the beginning of the episode. Roll over the side edges of this area to scroll the list. Click on one of the objects to make it active; a detailed description will appear in the larger area of the display window. \r\nSome inventory items are components which can be assembled into more elaborate objects. For example, making an antidote potion may require several ingredients. If you drag a different object to the main display window while it's already showing something else, the two will automatically merge into one if appropriate. (Otherwise, the new item simply replaces the old one as active object.)\r\nb) OK button: returns to the main game screen\r\nc) HELP button: read the game's instructions\r\nd) QUIT button: leave the current episode and return to the series' main menu.\r\ne) IMAGE QUALITY buttons: if the animation is choppy or slow on your computer, select a lower image quality.\r\n\r\nMinimum system requirements:\r\nWindows 95/98/NT/2000\r\nMinimum 200MHz processor, Windows compatible sound card, 24 bit display.\r\nMacintosh OS\r\nMinimum 200MHz PowerPC processor, 24 bit display.\r\n";
InvObjet1 = 1;
InvObjet2 = 5;
InvObjet3 = 6;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
InvMail = 0;
InvMailMax = 6;
InvMail1 = 0;
InvMail2 = 0;
InvMail3 = 0;
InvMail4 = 0;
InvMail5 = 0;
InvMail6 = 0;
Mail1 = "Dear Meg,\r\nFor the second portion of your \"Secret of the Wild\" assignment, I want you to seek out the most mythical creature of them all; the Yeti who lives in the Himalayan Mountains. Our reports indicate that he was seen somewhere between Nepal and Tibet a short time ago.\r\nI'm very disappointed that the Steppenwolf didn't join your team, because he would have known which tracks to follow in order to find the creature. So I suggest you find lama Karpama, he should gladly help you in your quest and you will surely benefit from his knowledge. It is reported he may live in Bailama; an old Buddhist temple located just outside the capital. Try to get some information from him. \r\nGood luck, and try to stay out of trouble this time!\r\nMcAllister";
LivreRamasse = false;
CarteFemmeRamasse = false;
CarteGardienRamasse = false;
DartRamasse = false;
MegGrimpe = false;
MegCri = false;
MegPrison = false;
VarX = 0;
Balle = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
Tab1Etage = 1;
Banc1 = false;
AscenseurOuverte = false;
AscParleTab1 = false;
PorteC = false;
PorteD = false;
PorteE = false;
PorteH = false;
RobotPositionTir = false;
GardienLa = true;
PositionGardien = 1;
PoisonCafe = false;
PoisonDansCafe = false;
PorteAsc2Ouverte = false;
CadranVu = false;
GardienParti = false;
CoteTab3A = 1;
OrdiOuvert = false;
LaserArret = false;
PositionLaser1 = 1;
PositionLaser2 = 1;
PositionLaser3 = 1;
Case1 = "";
Case2 = "";
Case3 = "";
Case4 = "";
Case5 = "";
Case6 = "";
Case7 = "";
Case8 = "";
Case9 = "";
CaseActive = "Case1";
PlayerTour = "Player1";
PlayerActif = "";
JeuParti = false;
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
Symbol 742 MovieClip Frame 1
if (/Variables:ObjetSelect == 3) {
nextFrame();
}
stop();
Symbol 742 MovieClip Frame 2
stop();
Symbol 765 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 765 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 765 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 765 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 765 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 765 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 765 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 765 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 773 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 773 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 802 Button
on (release) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
Symbol 804 Button
on (keyPress "t") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "T") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "i") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
}
on (keyPress "I") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
}
on (keyPress "s") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "S") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "l") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
on (keyPress "L") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
Symbol 805 MovieClip Frame 1
stop();
Symbol 805 MovieClip Frame 2
i = 1;
while ((/Variables:InvNb >= i) and (eval ("/Variables:InvObjet" + i) != /Variables:ObjetRemove)) {
if (eval ("/Variables:InvObjet" + i) != /Variables:ObjetRemove) {
i = i + 1;
}
}
k = i;
while (/Variables:InvNb >= k) {
Set("/Variables:InvObjet" + k, eval ("/Variables:InvObjet" + (k + 1)));
k = k + 1;
}
Set("/Variables:InvObjet" + /Variables:InvNb, 0);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
Set("/Variables:InvNb", /Variables:InvNb - 1);
gotoAndStop (1);
Symbol 821 Button
on (release) {
Set("/Variables:TransMail", "");
Set("/Variables:ObjetSelect", 0);
tellTarget ("MailMovie") {
gotoAndStop (2);
};
gotoAndStop (3);
}
Symbol 833 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 838 Button
on (release) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
gotoAndStop (1);
}
Symbol 842 Button
on (release) {
nextFrame();
}
Symbol 852 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 856 Button
on (release) {
gotoAndStop (1);
}
Symbol 857 MovieClip Frame 1
stop();
Symbol 859 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 861 Button
on (release) {
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
gotoAndStop (1);
}
Symbol 862 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 866 MovieClip Frame 1
stop();
Symbol 866 MovieClip Frame 2
stop();
Symbol 866 MovieClip Frame 3
stop();
Symbol 869 MovieClip Frame 1
stop();
Symbol 869 MovieClip Frame 4
gotoAndPlay (2);
Symbol 878 MovieClip Frame 1
stop();
Symbol 878 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 878 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 878 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 878 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 878 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 878 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 878 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 886 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 889 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 892 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail2);
tellTarget ("../../") {
play();
};
}
Symbol 893 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 894 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 896 Button
on (press) {
if ((getProperty("MailBas", _y) - 10) < (getProperty("MailEnsemble", _y) + getProperty("MailEnsemble", _height))) {
setProperty("MailEnsemble", _y , getProperty("MailEnsemble", _y) - 10);
}
tellTarget ("../FlechesRoue") {
gotoAndStop ("Down");
};
Set("/Variables:ScrollMail", -10);
tellTarget ("MailScroll") {
play();
};
tellTarget ("../RoueScroll") {
play();
};
}
on (release, releaseOutside) {
tellTarget ("../FlechesRoue") {
gotoAndStop (1);
};
tellTarget ("MailScroll") {
gotoAndStop (1);
};
tellTarget ("../RoueScroll") {
gotoAndStop (1);
};
}
Symbol 897 Button
on (press) {
if (getProperty("MailEnsemble", _y) < (getProperty("MailHaut", _y) - 10)) {
setProperty("MailEnsemble", _y , getProperty("MailEnsemble", _y) + 10);
} else {
setProperty("MailEnsemble", _y , getProperty("MailHaut", _y));
}
tellTarget ("../FlechesRoue") {
gotoAndStop ("Up");
};
Set("/Variables:ScrollMail", 10);
tellTarget ("MailScroll") {
play();
};
tellTarget ("../RoueScroll") {
play();
};
}
on (release, releaseOutside) {
tellTarget ("../FlechesRoue") {
gotoAndStop (1);
};
tellTarget ("MailScroll") {
gotoAndStop (1);
};
tellTarget ("../RoueScroll") {
gotoAndStop (1);
};
}
Symbol 899 MovieClip Frame 1
stop();
Symbol 899 MovieClip Frame 3
if (0 < /Variables:ScrollMail) {
if (getProperty("../MailEnsemble", _y) < (getProperty("../MailHaut", _y) - /Variables:ScrollMail)) {
setProperty("../MailEnsemble", _y , getProperty("../MailEnsemble", _y) + /Variables:ScrollMail);
} else {
setProperty("../MailEnsemble", _y , getProperty("../MailHaut", _y));
tellTarget ("../../RoueScroll") {
gotoAndStop (1);
};
}
}
if (/Variables:ScrollMail < 0) {
if ((getProperty("../MailBas", _y) + /Variables:ScrollMail) < (getProperty("../MailEnsemble", _y) + getProperty("../MailEnsemble", _height))) {
setProperty("../MailEnsemble", _y , getProperty("../MailEnsemble", _y) + /Variables:ScrollMail);
} else {
tellTarget ("../../RoueScroll") {
gotoAndStop (1);
};
}
}
prevFrame();
play();
Symbol 906 Button
on (press) {
TexteMail.scroll = TexteMail.scroll + 1;
tellTarget ("../FlechesRoue") {
gotoAndStop ("Down");
};
Set("/Variables:Scroll", 1);
tellTarget ("ControlScroll") {
play();
};
tellTarget ("../RoueScroll") {
play();
};
}
on (release, releaseOutside) {
tellTarget ("../FlechesRoue") {
gotoAndStop (1);
};
tellTarget ("ControlScroll") {
gotoAndStop (1);
};
tellTarget ("../RoueScroll") {
gotoAndStop (1);
};
}
Symbol 907 Button
on (press) {
TexteMail.scroll = TexteMail.scroll - 1;
tellTarget ("../FlechesRoue") {
gotoAndStop ("Up");
};
Set("/Variables:Scroll", -1);
tellTarget ("ControlScroll") {
play();
};
tellTarget ("../RoueScroll") {
play();
};
}
on (release, releaseOutside) {
tellTarget ("../FlechesRoue") {
gotoAndStop (1);
};
tellTarget ("ControlScroll") {
gotoAndStop (1);
};
tellTarget ("../RoueScroll") {
gotoAndStop (1);
};
}
Symbol 910 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 911 MovieClip Frame 1
stop();
Symbol 911 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 927 MovieClip Frame 1
gotoAndStop(/Variables:Attachement);
Symbol 927 MovieClip Frame 2
stop();
Symbol 928 Button
on (press) {
if ((getProperty("AttBas", _y) - 10) < (getProperty("Attachement", _y) + getProperty("Attachement", _height))) {
setProperty("Attachement", _y , getProperty("Attachement", _y) - 10);
}
tellTarget ("../FlechesRoue") {
gotoAndStop ("Down");
};
Set("/Variables:ScrollMail", -10);
tellTarget ("ScrollAttachement") {
play();
};
tellTarget ("../RoueScroll") {
play();
};
}
on (release, releaseOutside) {
tellTarget ("../FlechesRoue") {
gotoAndStop (1);
};
tellTarget ("ScrollAttachement") {
gotoAndStop (1);
};
tellTarget ("../RoueScroll") {
gotoAndStop (1);
};
}
Symbol 929 Button
on (press) {
if (getProperty("Attachement", _y) < (getProperty("AttHaut", _y) + 10)) {
setProperty("Attachement", _y , getProperty("Attachement", _y) + 10);
} else {
setProperty("Attachement", _y , getProperty("AttHaut", _y));
}
tellTarget ("../FlechesRoue") {
gotoAndStop ("Up");
};
Set("/Variables:ScrollMail", 10);
tellTarget ("ScrollAttachement") {
play();
};
tellTarget ("../RoueScroll") {
play();
};
}
on (release, releaseOutside) {
tellTarget ("../FlechesRoue") {
gotoAndStop (1);
};
tellTarget ("ScrollAttachement") {
gotoAndStop (1);
};
tellTarget ("../RoueScroll") {
gotoAndStop (1);
};
}
Symbol 930 MovieClip Frame 1
stop();
Symbol 930 MovieClip Frame 3
if (0 < /Variables:ScrollMail) {
if (getProperty("../Attachement", _y) < (getProperty("../AttHaut", _y) - /Variables:ScrollMail)) {
setProperty("../Attachement", _y , getProperty("../Attachement", _y) + /Variables:ScrollMail);
} else {
setProperty("../Attachement", _y , getProperty("../AttHaut", _y));
tellTarget ("../../RoueScroll") {
gotoAndStop (1);
};
}
}
if (/Variables:ScrollMail < 0) {
if ((getProperty("../AttBas", _y) + /Variables:ScrollMail) < (getProperty("../Attachement", _y) + getProperty("../Attachement", _height))) {
setProperty("../Attachement", _y , getProperty("../Attachement", _y) + /Variables:ScrollMail);
} else {
tellTarget ("../../RoueScroll") {
gotoAndStop (1);
};
}
}
prevFrame();
play();
Symbol 931 MovieClip Frame 1
stop();
Symbol 931 MovieClip Frame 2
stop();
Symbol 931 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 931 MovieClip Frame 6
stop();
Symbol 933 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
Symbol 934 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 934 MovieClip Frame 2
/Variables:SaveArray[0] = true;
Symbol 934 MovieClip Frame 3
/Variables:SaveArray[1] = true;
Symbol 934 MovieClip Frame 4
/Variables:SaveArray[2] = true;
Symbol 934 MovieClip Frame 5
/Variables:SaveArray[3] = true;
Symbol 934 MovieClip Frame 6
/Variables:SaveArray[4] = true;
Symbol 934 MovieClip Frame 7
/Variables:SaveArray[5] = true;
Symbol 934 MovieClip Frame 8
/Variables:SaveArray[6] = true;
Symbol 935 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 935 MovieClip Frame 2
/Variables:SaveArray[0] = true;
Symbol 935 MovieClip Frame 3
/Variables:SaveArray[1] = true;
Symbol 935 MovieClip Frame 4
/Variables:SaveArray[2] = true;
Symbol 935 MovieClip Frame 5
/Variables:SaveArray[3] = true;
Symbol 935 MovieClip Frame 6
/Variables:SaveArray[4] = true;
Symbol 935 MovieClip Frame 7
/Variables:SaveArray[5] = true;
Symbol 935 MovieClip Frame 8
/Variables:SaveArray[6] = true;
Symbol 936 MovieClip Frame 1
if (/Variables:InvNb < 4) {
setProperty("../Chaine2", _x , getProperty("../BorneCentre", _x) - ((61.5 * /Variables:LargeurObjet) / 43));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (3 * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (3 * /Variables:LargeurObjet));
} else if (_name eq "Chaine1") {
_x = (getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
} else if (_name eq "Chaine3") {
_x = (getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
Symbol 936 MovieClip Frame 2
stop();
Symbol 937 MovieClip Frame 1
if (3 < /Variables:InvNb) {
if (_root.Inventaire.ZoneMoveG.hitTest(_root._xmouse, _root._ymouse, true)) {
if ((/Variables:Acceleration < 1) and (/Variables:Acceleration >= 0)) {
Set("/Variables:Acceleration", -1);
}
if ((((_root.Inventaire._xmouse - _root.Inventaire.BorneCentre._x) + 20) / 2) < /Variables:Acceleration) {
if (/Variables:Acceleration < 0) {
Set("/Variables:Acceleration", /Variables:Acceleration + (/Variables:Acceleration / 2));
} else {
Set("/Variables:Acceleration", /Variables:Acceleration - (/Variables:Acceleration / 2));
}
} else if (/Variables:Acceleration < 0) {
Set("/Variables:Acceleration", /Variables:Acceleration - (/Variables:Acceleration / 2));
} else {
Set("/Variables:Acceleration", /Variables:Acceleration + (/Variables:Acceleration / 2));
}
} else if (_root.Inventaire.ZoneMoveD.hitTest(_root._xmouse, _root._ymouse, true)) {
if ((-1 < /Variables:Acceleration) and (0 >= /Variables:Acceleration)) {
Set("/Variables:Acceleration", 1);
}
if ((((_root.Inventaire._xmouse - _root.Inventaire.BorneCentre._x) - 20) / 2) < /Variables:Acceleration) {
if (0 < /Variables:Acceleration) {
Set("/Variables:Acceleration", /Variables:Acceleration - (/Variables:Acceleration / 2));
} else {
Set("/Variables:Acceleration", /Variables:Acceleration + (/Variables:Acceleration / 2));
}
} else if (0 < /Variables:Acceleration) {
Set("/Variables:Acceleration", /Variables:Acceleration + (/Variables:Acceleration / 2));
} else {
Set("/Variables:Acceleration", /Variables:Acceleration - (/Variables:Acceleration / 2));
}
} else if (1 < /Variables:Acceleration) {
Set("/Variables:Acceleration", /Variables:Acceleration - (/Variables:Acceleration / 2));
} else if (/Variables:Acceleration < -1) {
Set("/Variables:Acceleration", /Variables:Acceleration - (/Variables:Acceleration / 2));
} else {
Set("/Variables:Acceleration", 0);
}
if (/Variables:Acceleration < -20) {
Set("/Variables:Acceleration", -20);
} else if (20 < /Variables:Acceleration) {
Set("/Variables:Acceleration", 20);
}
setProperty("../Chaine1", _x , getProperty("../Chaine1", _x) - /Variables:Acceleration);
setProperty("../Chaine2", _x , getProperty("../Chaine2", _x) - /Variables:Acceleration);
setProperty("../Chaine3", _x , getProperty("../Chaine3", _x) - /Variables:Acceleration);
if (_root.Inventaire.ZoneMoveD.hitTest(_root._xmouse, _root._ymouse, true)) {
if ((getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine1", _x , getProperty("../Chaine3", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine2", _x , getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((getProperty("../Chaine3", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
} else {
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine2", _x , getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine3", _x , getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
}
}
Symbol 937 MovieClip Frame 2
gotoAndPlay (1);
Symbol 937 MovieClip Frame 3
stop();
Symbol 940 MovieClip Frame 1
stop();
Symbol 940 MovieClip Frame 2
a = 1;
while (eval ("/Variables:InvObjet" + a) != /Variables:ObjetCombine) {
a = a + 1;
}
i = a;
while ((eval ("/Variables:InvObjet" + i) != 0) and (i < /Variables:InvNbMax)) {
Set("/Variables:InvObjet" + i, eval ("/Variables:InvObjet" + (i + 1)));
i = i + 1;
}
i = 1;
while (/Variables:InvNbMax >= i) {
tellTarget ("../Chaine1/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
tellTarget ("../Chaine2/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
tellTarget ("../Chaine3/Objet" + i) {
gotoAndStop(eval ("/Variables:InvObjet" + i) + 1);
};
i = i + 1;
}
if (/Variables:InvNb < 4) {
setProperty("../Chaine2", _x , getProperty("../BorneCentre", _x) - ((61.5 * /Variables:LargeurObjet) / 43));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (3 * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (3 * /Variables:LargeurObjet));
} else if ((getProperty("../Chaine1", _x) < getProperty("../Chaine2", _x)) and (getProperty("../Chaine3", _x) < getProperty("../Chaine1", _x))) {
setProperty("../Chaine3", _x , getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine2", _x , getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
} else if ((getProperty("../Chaine2", _x) < getProperty("../Chaine3", _x)) and (getProperty("../Chaine1", _x) < getProperty("../Chaine2", _x))) {
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
} else {
setProperty("../Chaine2", _x , getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
gotoAndStop (1);
Symbol 941 MovieClip Frame 1
if (Key.isDown(Key.LEFT) and (3 < /Variables:InvNb)) {
Deplace = /Variables:LargeurObjet;
gotoAndPlay (3);
}
if (Key.isDown(Key.RIGHT) and (3 < /Variables:InvNb)) {
Deplace = -1 * /Variables:LargeurObjet;
gotoAndPlay (3);
}
Symbol 941 MovieClip Frame 2
gotoAndPlay (1);
Symbol 941 MovieClip Frame 3
setProperty("../Chaine1", _x , getProperty("../Chaine1", _x) + Deplace);
setProperty("../Chaine2", _x , getProperty("../Chaine2", _x) + Deplace);
setProperty("../Chaine3", _x , getProperty("../Chaine3", _x) + Deplace);
if (Deplace < 0) {
if ((getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine1", _x , getProperty("../Chaine3", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine2", _x , getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((getProperty("../Chaine3", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
} else {
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine2", _x , getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine3", _x , getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
}
Symbol 941 MovieClip Frame 4
gotoAndPlay (1);
Symbol 941 MovieClip Frame 5
setProperty("../Chaine1", _x , getProperty("../Chaine1", _x) + /Variables:Deplace);
setProperty("../Chaine2", _x , getProperty("../Chaine2", _x) + /Variables:Deplace);
setProperty("../Chaine3", _x , getProperty("../Chaine3", _x) + /Variables:Deplace);
if (/Variables:Deplace < 0) {
if ((getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine1", _x , getProperty("../Chaine3", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine2", _x , getProperty("../Chaine1", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
if ((getProperty("../Chaine3", _x) + (/Variables:InvNb * /Variables:LargeurObjet)) < getProperty("../BorneGauche", _x)) {
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (/Variables:InvNb * /Variables:LargeurObjet));
}
} else {
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine2", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine2", _x , getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
if (getProperty("../BorneDroite", _x) < (getProperty("../Chaine3", _x) - (/Variables:InvNb * /Variables:LargeurObjet))) {
setProperty("../Chaine3", _x , getProperty("../Chaine1", _x) - (/Variables:InvNb * /Variables:LargeurObjet));
}
}
Symbol 941 MovieClip Frame 6
gotoAndStop (1);
Symbol 948 Button
on (release) {
gotoAndStop (2);
}
Symbol 949 Button
on (release) {
gotoAndStop (3);
}
Symbol 951 Button
on (release) {
gotoAndStop (4);
}
Symbol 952 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 952 MovieClip Frame 2
_quality = "LOW";
Symbol 952 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 952 MovieClip Frame 4
_quality = "HIGH";
Symbol 956 Button
on (press) {
if (3 < /Variables:InvNb) {
Set("/Variables:Deplace", -1 * /Variables:LargeurObjet);
tellTarget ("ControlFleche") {
gotoAndPlay ("Deplace2");
};
}
}
on (release) {
if (3 < /Variables:InvNb) {
tellTarget ("ControlFleche") {
gotoAndPlay (1);
};
}
}
Symbol 957 Button
on (press) {
if (3 < /Variables:InvNb) {
Set("/Variables:Deplace", /Variables:LargeurObjet);
tellTarget ("ControlFleche") {
gotoAndPlay ("Deplace2");
};
}
}
on (release) {
if (3 < /Variables:InvNb) {
tellTarget ("ControlFleche") {
gotoAndPlay (1);
};
}
}
Symbol 958 Button
on (keyPress "o") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
gotoAndStop (1);
}
}
on (keyPress "O") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
gotoAndStop (1);
}
}
on (keyPress "s") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "S") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "l") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
on (keyPress "L") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
Symbol 959 MovieClip Frame 1
stop();
Symbol 963 Button
on (release) {
Set("/Variables:TransMail", "");
Set("/Variables:ObjetSelect", 0);
tellTarget ("MailMovie") {
gotoAndStop (1);
};
gotoAndStop (2);
}
Symbol 965 Button
on (keyPress "o") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
gotoAndStop (1);
}
}
on (keyPress "O") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
gotoAndStop (1);
}
}
on (keyPress "s") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "S") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
Set("/Variables:SaveArray", new Array());
i = 0;
while (i < /Variables:InvNbTotal) {
Set(/Variables:SaveArray, /Variables:SaveArray.Push(false));
i = i + 1;
}
Set("/Variables:InventaireSave", /Variables:InventaireSaveString());
Set("/Variables:MegSetting", new /Variables:Setting());
Set("/Variables:MegSave", /Variables:MegSaveString());
/Variables:VariablesSaveString();
Set("/Save:Fichier", (((((((/Variables:NomsVariablesSave + "@") + /Variables:ValeursVariablesSave) + "@") + /Variables:TypeVariablesSave) + "@") + /Variables:InventaireSave) + "@") + /Variables:MegSave);
fscommand ("save", /Save:Fichier);
Set("/:test", /Save:Fichier);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
play();
};
}
if (/Variables:LaserArret != true) {
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
}
tellTarget ("_root.GameSaved") {
play();
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "l") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
on (keyPress "L") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
Symbol 966 Button
on (press) {
Set("/Variables:Deplace", -1 * /Variables:LargeurObjet);
tellTarget ("ControlFleche") {
gotoAndPlay ("Deplace2");
};
}
on (release) {
tellTarget ("ControlFleche") {
gotoAndPlay (1);
};
}
Symbol 967 Button
on (press) {
Set("/Variables:Deplace", /Variables:LargeurObjet);
tellTarget ("ControlFleche") {
gotoAndPlay ("Deplace2");
};
}
on (release) {
tellTarget ("ControlFleche") {
gotoAndPlay (1);
};
}
Symbol 968 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
stop();
Symbol 968 MovieClip Frame 2
Set("/Variables:InventaireOuvert", true);
Set("/Variables:PositionGardien", int(getProperty("_root.Bureau.Gardien", _currentframe)));
if (getProperty("_root.MegEscalier", _currentframe) != 1) {
tellTarget ("_root.MegEscalier") {
stop();
};
}
tellTarget ("_root.Bureau.Gardien") {
gotoAndStop ("Arret");
};
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
stop();
Instance of Symbol 834 MovieClip "BoutonVolume" in Symbol 968 MovieClip Frame 2
onClipEvent (load) {
top = _y;
left = _x - 140;
right = _x;
bottom = _y;
setProperty("_parent.BoutonVolume", _x , left + _root.s.getVolume());
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.s.setVolume(_x - left);
}
}
Symbol 968 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 834 MovieClip "BoutonVolume" in Symbol 968 MovieClip Frame 3
onClipEvent (load) {
top = _y;
left = _x - 140;
right = _x;
bottom = _y;
setProperty("_parent.BoutonVolume", _x , left + _root.s.getVolume());
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.s.setVolume(_x - left);
}
}
Symbol 983 MovieClip Frame 23
Set("/Variables:LivreRamasse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=2", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1133 MovieClip Frame 1
tellTarget ("_root") {
gotoAndPlay ("Animatique1");
};
Symbol 1133 MovieClip Frame 80
Set("/Variables:Banc1", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=4", 0);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1156 MovieClip Frame 1
if (/Variables:ObjetSelect == 3) {
nextFrame();
}
stop();
Symbol 1156 MovieClip Frame 2
stop();
Symbol 1171 MovieClip Frame 1
tellTarget ("_root") {
gotoAndPlay ("Animatique2");
};
Symbol 1171 MovieClip Frame 4
Set("/Variables:ObjetRemove", 1);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Symbol 1171 MovieClip Frame 119
Set("/Variables:CarteFemmeRamasse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=5", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (4);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1204 MovieClip Frame 45
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=6", 0);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1211 MovieClip Frame 40
Set("/Variables:AscenseurOuverte", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=7", 0);
tellTarget ("_root.Portes") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1224 MovieClip Frame 7
stop();
Symbol 1316 MovieClip Frame 1
tellTarget ("_root") {
gotoAndPlay ("Animatique3");
};
Symbol 1316 MovieClip Frame 193
Set("/Variables:AscParleTab1", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=8", 0);
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab2AIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1317 MovieClip Frame 26
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1319 MovieClip Frame 49
Set("/Variables:From", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab2AIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1341 MovieClip Frame 19
tellTarget ("_root") {
gotoAndStop ("Tab2A");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1361 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1361 MovieClip Frame 54
if (/Variables:From eq "Tab2C2") {
Set("/Variables:EtatActif", "Tab2D");
tellTarget ("_root") {
gotoAndPlay ("Tab2DIni");
};
}
if (/Variables:From eq "Tab2H1") {
Set("/Variables:EtatActif", "Tab2M");
tellTarget ("_root") {
gotoAndPlay ("Tab2MIni");
};
}
if (/Variables:From eq "Tab2E4") {
Set("/Variables:EtatActif", "Tab2I");
tellTarget ("_root") {
gotoAndPlay ("Tab2IIni");
};
}
if (/Variables:From eq "Tab2D2") {
Set("/Variables:EtatActif", "Tab2E");
tellTarget ("_root") {
gotoAndPlay ("Tab2EIni");
};
}
Symbol 1361 MovieClip Frame 55
if (getProperty("_root.Animatiques", _xscale) < 0) {
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1379 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1379 MovieClip Frame 13
if (/Variables:From eq "Tab2A2") {
Set("/Variables:EtatActif", "Tab2B");
tellTarget ("_root") {
gotoAndPlay ("Tab2BIni");
};
}
if (/Variables:From eq "Tab2L2") {
Set("/Variables:EtatActif", "Tab2H");
tellTarget ("_root") {
gotoAndPlay ("Tab2HIni");
};
}
if (/Variables:From eq "Tab2I2") {
Set("/Variables:EtatActif", "Tab2L");
tellTarget ("_root") {
gotoAndPlay ("Tab2LIni");
};
}
if (/Variables:From eq "Tab2K2") {
Set("/Variables:EtatActif", "Tab2G");
tellTarget ("_root") {
gotoAndPlay ("Tab2GIni");
};
}
if (/Variables:From eq "Tab2G2") {
Set("/Variables:EtatActif", "Tab2K");
tellTarget ("_root") {
gotoAndPlay ("Tab2KIni");
};
}
if (/Variables:From eq "Tab2F2") {
Set("/Variables:EtatActif", "Tab2G");
tellTarget ("_root") {
gotoAndPlay ("Tab2GIni");
};
}
if (/Variables:From eq "Tab2E3") {
Set("/Variables:EtatActif", "Tab2K");
tellTarget ("_root") {
gotoAndPlay ("Tab2KIni");
};
}
if (/Variables:From eq "Tab2E2") {
Set("/Variables:EtatActif", "Tab2F");
tellTarget ("_root") {
gotoAndPlay ("Tab2FIni");
};
}
if (/Variables:From eq "Tab2B2") {
Set("/Variables:EtatActif", "Tab2C");
tellTarget ("_root") {
gotoAndPlay ("Tab2CIni");
};
}
Symbol 1379 MovieClip Frame 14
if (getProperty("_root.Animatiques", _xscale) < 0) {
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1397 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1397 MovieClip Frame 21
if (/Variables:From eq "Tab2D1") {
Set("/Variables:EtatActif", "Tab2C");
tellTarget ("_root") {
gotoAndPlay ("Tab2CIni");
};
}
if (/Variables:From eq "Tab2J2") {
Set("/Variables:EtatActif", "Tab2J");
tellTarget ("_root") {
gotoAndPlay ("Tab2MIni");
};
}
if (/Variables:From eq "Tab2M2") {
Set("/Variables:EtatActif", "Tab2H");
tellTarget ("_root") {
gotoAndPlay ("Tab2HIni");
};
}
if (/Variables:From eq "Tab2M1") {
Set("/Variables:EtatActif", "Tab2J");
tellTarget ("_root") {
gotoAndPlay ("Tab2JIni");
};
}
if (/Variables:From eq "Tab2H1") {
Set("/Variables:EtatActif", "Tab2M");
tellTarget ("_root") {
gotoAndPlay ("Tab2MIni");
};
}
if (/Variables:From eq "Tab2I1") {
Set("/Variables:EtatActif", "Tab2E");
tellTarget ("_root") {
gotoAndPlay ("Tab2EIni");
};
}
if (/Variables:From eq "Tab2E4") {
Set("/Variables:EtatActif", "Tab2I");
tellTarget ("_root") {
gotoAndPlay ("Tab2IIni");
};
}
if (/Variables:From eq "Tab2D2") {
Set("/Variables:EtatActif", "Tab2E");
tellTarget ("_root") {
gotoAndPlay ("Tab2EIni");
};
}
if (/Variables:From eq "Tab2E1") {
Set("/Variables:EtatActif", "Tab2D");
tellTarget ("_root") {
gotoAndPlay ("Tab2DIni");
};
}
if (/Variables:From eq "Tab2C2") {
Set("/Variables:EtatActif", "Tab2D");
tellTarget ("_root") {
gotoAndPlay ("Tab2DIni");
};
}
Symbol 1397 MovieClip Frame 22
if (getProperty("_root.Animatiques", _xscale) < 0) {
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1400 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1400 MovieClip Frame 29
if (/Variables:From eq "Tab2B1") {
Set("/Variables:EtatActif", "Tab2A");
tellTarget ("_root") {
gotoAndPlay ("Tab2AIni");
};
}
if (/Variables:From eq "Tab2H2") {
Set("/Variables:EtatActif", "Tab2L");
tellTarget ("_root") {
gotoAndPlay ("Tab2LIni");
};
}
if (/Variables:From eq "Tab2L1") {
Set("/Variables:EtatActif", "Tab2I");
tellTarget ("_root") {
gotoAndPlay ("Tab2IIni");
};
}
if (/Variables:From eq "Tab2K1") {
Set("/Variables:EtatActif", "Tab2E");
tellTarget ("_root") {
gotoAndPlay ("Tab2EIni");
};
}
if (/Variables:From eq "Tab2G1") {
Set("/Variables:EtatActif", "Tab2F");
tellTarget ("_root") {
gotoAndPlay ("Tab2FIni");
};
}
if (/Variables:From eq "Tab2F1") {
Set("/Variables:EtatActif", "Tab2E");
tellTarget ("_root") {
gotoAndPlay ("Tab2EIni");
};
}
if (/Variables:From eq "Tab2C1") {
Set("/Variables:EtatActif", "Tab2B");
tellTarget ("_root") {
gotoAndPlay ("Tab2BIni");
};
}
Symbol 1400 MovieClip Frame 30
if (getProperty("_root.Animatiques", _xscale) < 0) {
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1417 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1417 MovieClip Frame 41
setProperty("_root.Meg", _visible , 1);
if (/Variables:EtatActif eq "Tab3C") {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=19", 0);
} else {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=10", 0);
}
Set("/Variables:RobotPositionTir", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_root.AttendIdentification") {
gotoAndStop (2);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1432 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1432 MovieClip Frame 27
Set("/Variables:TirLivre", true);
tellTarget ("_parent") {
gotoAndStop ("RobotTir");
};
Symbol 1434 MovieClip Frame 11
stop();
Symbol 1441 MovieClip Frame 24
if (/Variables:TirLivre == true) {
tellTarget ("_parent") {
gotoAndStop ("RobotTirLivre");
};
} else {
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
tellTarget ("_parent") {
gotoAndStop ("RecoitDart");
};
}
Symbol 1466 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 1466 MovieClip Frame 21
if (/Variables:EtatActif eq "Tab3C") {
tellTarget ("_parent") {
gotoAndStop ("MegGaz");
};
} else {
tellTarget ("_parent") {
gotoAndStop ("RobotTir");
};
}
Symbol 1480 MovieClip Frame 25
tellTarget ("_root.Robot") {
gotoAndStop(int(getProperty("_root.Robot", _currentframe)) + 15);
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=11", 0);
Symbol 1480 MovieClip Frame 27
setProperty("_root.Meg", _visible , 1);
Set("/Variables:RobotPositionTir", false);
Set("/Variables:RobotTir", false);
Set("/Variables:TirLivre", false);
if (/Variables:DartRamasse == false) {
Set("/Variables:DartRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (5);
};
}
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1500 MovieClip Frame 6
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
Symbol 1500 MovieClip Frame 19
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=12", 0);
tellTarget ("_root.Fade") {
play();
};
stop();
Symbol 1524 MovieClip Frame 19
if ((/Variables:EtatActif eq "Tab3C") and (/Variables:ObjetSelect != 7)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotTir");
};
}
Symbol 1524 MovieClip Frame 39
if ((/Variables:EtatActif eq "Tab3C") and (/Variables:ObjetSelect == 7)) {
Set("/Variables:From", "Tab3C");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
Symbol 1524 MovieClip Frame 40
tellTarget ("_root.Robot") {
gotoAndStop(int(getProperty("_root.Robot", _currentframe)) + 15);
};
Symbol 1524 MovieClip Frame 42
setProperty("_root.Meg", _visible , 1);
Set("/Variables:RobotPositionTir", false);
Set("/Variables:RobotTir", false);
Set("/Variables:TirLivre", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1538 MovieClip Frame 1
myColor = new Color(_root.Meg);
myColorTransform = new Object();
myColorTransform.ra = 100;
myColorTransform.rb = 0;
myColorTransform.ga = 100;
myColorTransform.gb = 0;
myColorTransform.ba = 100;
myColorTransform.bb = 0;
MyColor.setTransform(myColorTransform);
Symbol 1538 MovieClip Frame 47
Set("/Variables:MegPrison", false);
setProperty("_root.Meg", _x , 372);
setProperty("_root.Meg", _y , 347);
setProperty("_root.Meg", _xscale , 43);
setProperty("_root.Meg", _yscale , 43);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2D");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1584 MovieClip Frame 18
Set("/Variables:PoisonCafe", true);
Set("/Variables:ObjetRemove", 4);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=13", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Bureau.Gardien") {
gotoAndPlay(/Variables:PositionGardien);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1703 MovieClip Frame 13
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 1703 MovieClip Frame 33
tellTarget ("_root.Fade") {
play();
};
stop();
Symbol 1728 MovieClip Frame 35
Set("/Variables:GardienLa", false);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=14", 0);
tellTarget ("_root.Bureau") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1796 MovieClip Frame 51
Set("/Variables:PorteAsc2Ouverte", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=16", 0);
tellTarget ("_root.Collider") {
gotoAndStop (3);
};
tellTarget ("_root.Bureau.Porte") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1802 MovieClip Frame 17
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1809 MovieClip Frame 25
Set("/Variables:CarteGardienRamasse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=15", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (8);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1832 MovieClip Frame 1
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=17", 0);
Symbol 1832 MovieClip Frame 27
Set("/Variables:CoteTab3A", 1);
Set("/Variables:From", "Asc2");
tellTarget ("_root") {
gotoAndPlay ("Tab3AIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1861 MovieClip Frame 27
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:PorteAsc2Ouverte == true) {
Set("/Variables:GardienParti", true);
}
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
tellTarget ("_root.Fade") {
play();
};
stop();
Symbol 1867 MovieClip Frame 1
stop();
Symbol 1867 MovieClip Frame 2
if (_name ne "DEL") {
if (/Variables:Lettre eq "ENTER") {
if (../:Mot eq "ETERNITY") {
tellTarget ("_root.Animatiques") {
gotoAndStop ("Asc2");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("MegGaz");
};
}
}
if (../:Mot.length < 8) {
Set("../:Mot", ../:Mot + /Variables:Lettre);
}
} else {
Set("../:Mot", ../:Mot.Substring(0, ../:Mot.length - 1));
}
Symbol 1901 MovieClip Frame 1
Set("/Variables:Pause2", false);
stop();
Symbol 1901 MovieClip Frame 4
tellTarget ("../" + /Variables:Lettre) {
play();
};
Symbol 1905 MovieClip Frame 1
stop();
Symbol 1905 MovieClip Frame 3
Set("/Variables:Pause", false);
Symbol 1916 MovieClip Frame 1
stop();
Set("/Variables:Lettre", "A");
Instance of Symbol 1903 MovieClip in Symbol 1916 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 2
stop();
Set("/Variables:Lettre", "B");
Instance of Symbol 1908 MovieClip in Symbol 1916 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 3
stop();
Set("/Variables:Lettre", "C");
Symbol 1916 MovieClip Frame 4
stop();
Set("/Variables:Lettre", "D");
Symbol 1916 MovieClip Frame 5
stop();
Set("/Variables:Lettre", "E");
Symbol 1916 MovieClip Frame 6
stop();
Set("/Variables:Lettre", "F");
Symbol 1916 MovieClip Frame 7
stop();
Set("/Variables:Lettre", "G");
Instance of Symbol 1909 MovieClip in Symbol 1916 MovieClip Frame 7
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 8
stop();
Set("/Variables:Lettre", "H");
Instance of Symbol 1910 MovieClip in Symbol 1916 MovieClip Frame 8
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 9
stop();
Set("/Variables:Lettre", "I");
Instance of Symbol 1911 MovieClip in Symbol 1916 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 10
stop();
Set("/Variables:Lettre", "J");
Symbol 1916 MovieClip Frame 11
stop();
Set("/Variables:Lettre", "K");
Symbol 1916 MovieClip Frame 12
stop();
Set("/Variables:Lettre", "L");
Symbol 1916 MovieClip Frame 13
stop();
Set("/Variables:Lettre", "M");
Symbol 1916 MovieClip Frame 14
stop();
Set("/Variables:Lettre", "N");
Instance of Symbol 1912 MovieClip in Symbol 1916 MovieClip Frame 14
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 15
stop();
Set("/Variables:Lettre", "O");
Instance of Symbol 1913 MovieClip in Symbol 1916 MovieClip Frame 15
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("_parent") {
Set("/Variables:Pause", true);
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 16
stop();
Set("/Variables:Lettre", "P");
Instance of Symbol 1911 MovieClip in Symbol 1916 MovieClip Frame 16
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 17
stop();
Set("/Variables:Lettre", "Q");
Symbol 1916 MovieClip Frame 18
stop();
Set("/Variables:Lettre", "R");
Symbol 1916 MovieClip Frame 19
stop();
Set("/Variables:Lettre", "S");
Symbol 1916 MovieClip Frame 20
stop();
Set("/Variables:Lettre", "T");
Symbol 1916 MovieClip Frame 21
stop();
Set("/Variables:Lettre", "U");
Instance of Symbol 1912 MovieClip in Symbol 1916 MovieClip Frame 21
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 22
stop();
Set("/Variables:Lettre", "V");
Instance of Symbol 1914 MovieClip in Symbol 1916 MovieClip Frame 22
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 23
stop();
Set("/Variables:Lettre", "W");
Instance of Symbol 1915 MovieClip in Symbol 1916 MovieClip Frame 23
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.RIGHT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
nextFrame();
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1916 MovieClip Frame 24
stop();
Set("/Variables:Lettre", "X");
Symbol 1916 MovieClip Frame 25
stop();
Set("/Variables:Lettre", "Y");
Symbol 1916 MovieClip Frame 26
stop();
Set("/Variables:Lettre", "Z");
Symbol 1916 MovieClip Frame 27
stop();
Set("/Variables:Lettre", "DEL");
Symbol 1916 MovieClip Frame 28
stop();
Set("/Variables:Lettre", "ENTER");
Instance of Symbol 1912 MovieClip in Symbol 1916 MovieClip Frame 28
onClipEvent (enterFrame) {
if (/Variables:Pause2 != true) {
if (/Variables:Pause != true) {
if (Key.isDown(Key.SPACE)) {
Set("/Variables:Pause2", true);
tellTarget ("_parent.Main") {
play();
};
} else if (Key.isDown(Key.LEFT)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
prevFrame();
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe + 7));
};
} else if (Key.isDown(Key.UP)) {
Set("/Variables:Pause", true);
tellTarget ("_parent") {
gotoAndStop(int(_currentframe - 7));
};
} else if (Key.isDown(Key.CONTROL)) {
setProperty("_root.Meg", _x , 557);
setProperty("_root.Meg", _y , 346);
setProperty("_root.Meg", _xscale , 45);
setProperty("_root.Meg", _yscale , 45);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab2J");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
} else {
Set("/Variables:Pause", false);
}
}
}
Symbol 1919 MovieClip Frame 29
tellTarget ("_root.ControlArretLaser") {
gotoAndPlay (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab3B");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1951 MovieClip Frame 19
Set("/Variables:ObjetRemove", 6);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=20", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:OrdiOuvert", true);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1962 MovieClip Frame 1
stop();
Symbol 1964 MovieClip Frame 1
stop();
Symbol 1970 MovieClip Frame 1
stop();
Instance of Symbol 1967 MovieClip in Symbol 1970 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
play();
};
} else if (Key.isDown(Key.SPACE)) {
tellTarget ("../../") {
gotoAndPlay ("OuvreMessage1");
};
}
}
Symbol 1970 MovieClip Frame 8
stop();
Instance of Symbol 1969 MovieClip in Symbol 1970 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
tellTarget ("../") {
play();
};
} else if (Key.isDown(Key.SPACE)) {
tellTarget ("../../") {
gotoAndPlay ("OuvreJeux");
};
}
}
Symbol 1970 MovieClip Frame 16
gotoAndStop (1);
Symbol 1977 MovieClip Frame 1
stop();
Symbol 1977 MovieClip Frame 6
tellTarget ("../../../") {
play();
};
Symbol 1986 MovieClip Frame 1
if (eval ("/Variables:" + _name) eq "X") {
gotoAndStop (2);
} else if (eval ("/Variables:" + _name) eq "O") {
gotoAndStop (3);
} else {
stop();
}
Symbol 1999 MovieClip Frame 1
stop();
Instance of Symbol 1996 MovieClip in Symbol 1999 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
play();
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:JeuParti", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TicTacToe");
};
}
}
Symbol 1999 MovieClip Frame 8
stop();
Instance of Symbol 1997 MovieClip in Symbol 1999 MovieClip Frame 8
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
play();
};
} else if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndPlay ("VersFerme");
};
} else if (Key.isDown(Key.SPACE)) {
tellTarget ("../../") {
gotoAndPlay ("OuvreMessage2");
};
}
}
Symbol 1999 MovieClip Frame 16
gotoAndStop (1);
Symbol 1999 MovieClip Frame 24
stop();
Instance of Symbol 1998 MovieClip in Symbol 1999 MovieClip Frame 24
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
play();
};
} else if (Key.isDown(Key.SPACE)) {
tellTarget ("../../FenetreGame/Fenetre/Ferme") {
play();
};
}
}
Symbol 1999 MovieClip Frame 32
gotoAndStop (8);
Symbol 2009 MovieClip Frame 1
play();
Symbol 2009 MovieClip Frame 2
stop();
Instance of Symbol 1971 MovieClip in Symbol 2009 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
Symbol 2009 MovieClip Frame 7
stop();
Symbol 2009 MovieClip Frame 12
gotoAndStop (1);
Symbol 2009 MovieClip Frame 23
stop();
Instance of Symbol 2005 MovieClip in Symbol 2009 MovieClip Frame 23
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
tellTarget ("../FenetreMessage/Fenetre/Ferme") {
play();
};
}
}
Symbol 2009 MovieClip Frame 29
gotoAndStop (1);
Symbol 2009 MovieClip Frame 39
stop();
Instance of Symbol 2005 MovieClip in Symbol 2009 MovieClip Frame 39
onClipEvent (enterFrame) {
if (Key.isDown(Key.SPACE)) {
tellTarget ("../FenetreMessage/Fenetre/Ferme") {
play();
};
}
}
Symbol 2009 MovieClip Frame 45
gotoAndStop (7);
Symbol 2017 MovieClip Frame 1
if (eval ("/Variables:" + _name) eq "X") {
gotoAndStop (2);
} else if (eval ("/Variables:" + _name) eq "O") {
gotoAndStop (3);
} else {
stop();
}
Symbol 2021 MovieClip Frame 1
stop();
Symbol 2021 MovieClip Frame 2
if (/Variables:CaseActive eq "Quitter") {
Set("/Variables:CaseActive", "Case1");
tellTarget ("_root.Animatiques") {
gotoAndStop ("OrdiOuvert");
};
} else if ((eval ("/Variables:" + /Variables:CaseActive) ne "X") and (eval ("/Variables:" + /Variables:CaseActive) ne "O")) {
if (/Variables:PlayerActif eq "Player1") {
Set("/Variables:" + /Variables:CaseActive, "X");
tellTarget ("../../" + /Variables:CaseActive) {
gotoAndStop ("X");
};
Set("/Variables:PlayerTour", "Player2");
tellTarget ("../../") {
gotoAndStop ("Attend");
};
} else {
Set("/Variables:" + /Variables:CaseActive, "O");
tellTarget ("../../" + /Variables:CaseActive) {
gotoAndStop ("O");
};
Set("/Variables:PlayerTour", "Player1");
tellTarget ("../../") {
gotoAndStop ("Attend");
};
}
} else {
ChangeJoueur = false;
}
Symbol 2021 MovieClip Frame 3
if (ChangeJoueur == false) {
Set("/Variables:ChangeJoueur", false);
}
gotoAndStop (1);
Symbol 2032 MovieClip Frame 1
Set("/Variables:CaseActive", "Case1");
stop();
Instance of Symbol 2022 MovieClip in Symbol 2032 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (2);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop (4);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 2
Set("/Variables:CaseActive", "Case2");
stop();
Instance of Symbol 2023 MovieClip in Symbol 2032 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (3);
};
} else if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (1);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop (5);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 3
Set("/Variables:CaseActive", "Case3");
stop();
Instance of Symbol 2024 MovieClip in Symbol 2032 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (2);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop (6);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 4
Set("/Variables:CaseActive", "Case4");
stop();
Instance of Symbol 2025 MovieClip in Symbol 2032 MovieClip Frame 4
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (5);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop (7);
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (1);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 5
Set("/Variables:CaseActive", "Case5");
stop();
Instance of Symbol 2026 MovieClip in Symbol 2032 MovieClip Frame 5
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (6);
};
} else if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (4);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop (8);
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (2);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
gotoAndStop (2);
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 6
Set("/Variables:CaseActive", "Case6");
stop();
Instance of Symbol 2027 MovieClip in Symbol 2032 MovieClip Frame 6
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (5);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop (9);
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (3);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 7
Set("/Variables:CaseActive", "Case7");
stop();
Instance of Symbol 2028 MovieClip in Symbol 2032 MovieClip Frame 7
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (8);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop ("Quitter");
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (4);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 8
Set("/Variables:CaseActive", "Case8");
stop();
Instance of Symbol 2029 MovieClip in Symbol 2032 MovieClip Frame 8
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (9);
};
} else if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (7);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop ("Quitter");
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (5);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 9
Set("/Variables:CaseActive", "Case9");
stop();
Instance of Symbol 2030 MovieClip in Symbol 2032 MovieClip Frame 9
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (8);
};
} else if (Key.isDown(Key.DOWN)) {
tellTarget ("../") {
gotoAndStop ("Quitter");
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (6);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:ChangeJoueur", true);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2032 MovieClip Frame 10
Set("/Variables:CaseActive", "Quitter");
stop();
Instance of Symbol 2031 MovieClip in Symbol 2032 MovieClip Frame 10
onClipEvent (enterFrame) {
if (/Variables:ChangeJoueur != true) {
if (Key.isDown(Key.UP)) {
tellTarget ("../") {
gotoAndStop (8);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:Case1", "");
Set("/Variables:Case2", "");
Set("/Variables:Case3", "");
Set("/Variables:Case4", "");
Set("/Variables:Case5", "");
Set("/Variables:Case6", "");
Set("/Variables:Case7", "");
Set("/Variables:Case8", "");
Set("/Variables:Case9", "");
Set("/Variables:PlayerTour", "Player1");
if (_root.CacheOrdi1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:PlayerActif", "Player1");
} else {
Set("/Variables:PlayerActif", "Player2");
}
Set("/Variables:ChangeJoueur", false);
Set("/Variables:JeuParti", false);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
}
Symbol 2037 MovieClip Frame 1
if (/Variables:PlayerActif eq "Player1") {
stop();
} else {
nextFrame();
}
Symbol 2044 MovieClip Frame 1
if (/Variables:PlayerActif eq "Player1") {
nextFrame();
} else {
stop();
}
Symbol 2045 MovieClip Frame 1
stop();
Symbol 2045 MovieClip Frame 2
if (getProperty("../", _currentframe) == 1) {
Set("/Variables:CaseActive", "Case1");
tellTarget ("../../") {
gotoAndStop (1);
};
} else if (getProperty("../", _currentframe) == 2) {
Set("/Variables:CaseActive", "Case1");
tellTarget ("_root.Animatiques") {
gotoAndStop ("OrdiOuvert");
};
}
Symbol 2048 MovieClip Frame 1
stop();
Instance of Symbol 2046 MovieClip in Symbol 2048 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndStop (2);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:Case1", "");
Set("/Variables:Case2", "");
Set("/Variables:Case3", "");
Set("/Variables:Case4", "");
Set("/Variables:Case5", "");
Set("/Variables:Case6", "");
Set("/Variables:Case7", "");
Set("/Variables:Case8", "");
Set("/Variables:Case9", "");
Set("/Variables:PlayerTour", "Player1");
if (_root.CacheOrdi1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:PlayerActif", "Player1");
} else {
Set("/Variables:PlayerActif", "Player2");
}
Set("/Variables:ChangeJoueur", false);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
Instance of Symbol 2047 MovieClip in Symbol 2048 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndStop (1);
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:Case1", "");
Set("/Variables:Case2", "");
Set("/Variables:Case3", "");
Set("/Variables:Case4", "");
Set("/Variables:Case5", "");
Set("/Variables:Case6", "");
Set("/Variables:Case7", "");
Set("/Variables:Case8", "");
Set("/Variables:Case9", "");
Set("/Variables:PlayerTour", "Player1");
if (_root.CacheOrdi1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:PlayerActif", "Player1");
} else {
Set("/Variables:PlayerActif", "Player2");
}
Set("/Variables:ChangeJoueur", false);
Set("/Variables:JeuParti", false);
tellTarget ("../Carre") {
play();
};
} else if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
Symbol 2053 MovieClip Frame 1
play();
Symbol 2053 MovieClip Frame 2
stop();
if (/Variables:PlayerTour eq /Variables:PlayerActif) {
gotoAndStop (3);
} else {
gotoAndStop (4);
}
Symbol 2053 MovieClip Frame 4
if (((((((((/Variables:Case1 ne "") and (/Variables:Case2 ne "")) and (/Variables:Case3 ne "")) and (/Variables:Case4 ne "")) and (/Variables:Case5 ne "")) and (/Variables:Case6 ne "")) and (/Variables:Case7 ne "")) and (/Variables:Case8 ne "")) and (/Variables:Case9 ne "")) {
if (((((((((/Variables:Case1 eq "X") and (/Variables:Case2 eq "O")) and (/Variables:Case3 eq "X")) and (/Variables:Case4 eq "O")) and (/Variables:Case5 eq "X")) and (/Variables:Case6 eq "O")) and (/Variables:Case7 eq "X")) and (/Variables:Case8 eq "O")) and (/Variables:Case9 eq "X")) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
} else {
gotoAndStop (5);
}
}
Instance of Symbol 2039 MovieClip in Symbol 2053 MovieClip Frame 4
onClipEvent (enterFrame) {
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
}
Symbol 2054 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("/Variables:ChangeJoueur", false);
stop();
Symbol 2054 MovieClip Frame 2
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 3
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 4
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 5
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 6
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 7
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 8
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 9
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 10
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 11
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 12
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 13
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 14
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 15
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 16
tellTarget ("_root.AttendIdentification") {
gotoAndStop (1);
};
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 17
Set("/Variables:Stoppe", true);
Set("/Variables:RobotTir", true);
Symbol 2054 MovieClip Frame 18
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 19
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 20
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 21
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 22
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 23
Set("/Variables:Stoppe", true);
Set("/Variables:PositionGardien", getProperty("_root.Bureau.Gardien", _currentframe));
tellTarget ("_root.Bureau.Gardien") {
gotoAndStop ("Arret");
};
Symbol 2054 MovieClip Frame 24
Set("/Variables:Stoppe", true);
Set("/Variables:PositionGardien", getProperty("_root.Bureau.Gardien", _currentframe));
tellTarget ("_root.Bureau.Gardien") {
gotoAndStop ("Arret");
};
Symbol 2054 MovieClip Frame 25
Set("/Variables:Stoppe", true);
Set("/Variables:PositionGardien", getProperty("_root.Bureau.Gardien", _currentframe));
tellTarget ("_root.Bureau.Gardien") {
gotoAndStop ("Arret");
};
Symbol 2054 MovieClip Frame 26
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 27
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 28
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 29
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 30
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 31
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 32
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 33
Set("/Variables:Stoppe", true);
Symbol 2054 MovieClip Frame 34
Set("/Variables:Stoppe", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=21", 0);
Symbol 2054 MovieClip Frame 35
Set("/Variables:Stoppe", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=22", 0);
Symbol 2056 MovieClip Frame 1
stop();
Instance of Symbol 2055 MovieClip in Symbol 2056 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:InventaireOuvert != true) {
tellTarget ("_parent") {
nextFrame();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2056 MovieClip Frame 39
if (/Variables:RobotTir != true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("ScanMeg");
};
}
gotoAndStop (1);
Symbol 2061 MovieClip Frame 1
stop();
Symbol 2061 MovieClip Frame 2
Set("/Variables:MegCri", true);
Symbol 2061 MovieClip Frame 9
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 2061 MovieClip Frame 14
gotoAndStop (1);
Symbol 2061 MovieClip Frame 18
gotoAndStop (1);
Symbol 2061 MovieClip Frame 19
Set("/Variables:CadranVu", true);
Symbol 2061 MovieClip Frame 47
gotoAndStop (1);
Symbol 2061 MovieClip Frame 61
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 2063 MovieClip Frame 1
stop();
Symbol 2063 MovieClip Frame 2
tellTarget ("_root.SonLaser") {
gotoAndStop ("Arret");
};
Instance of Symbol 2062 MovieClip in Symbol 2063 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:EtatActif eq "Tab3B") {
tellTarget ("_root.Laser1Devant") {
gotoAndStop(/Variables:PositionLaser1);
};
tellTarget ("_root.Laser1Derriere") {
gotoAndStop(/Variables:PositionLaser1);
};
tellTarget ("_root.Laser2Devant") {
gotoAndStop(/Variables:PositionLaser2);
};
tellTarget ("_root.Laser2Derriere") {
gotoAndStop(/Variables:PositionLaser2);
};
tellTarget ("_root.Laser3Devant") {
gotoAndStop(/Variables:PositionLaser3);
};
tellTarget ("_root.Laser3Derriere") {
gotoAndStop(/Variables:PositionLaser3);
};
}
if (/Variables:InventaireOuvert != true) {
tellTarget ("_parent") {
nextFrame();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2063 MovieClip Frame 39
tellTarget ("_root.Laser1Devant") {
play();
};
tellTarget ("_root.Laser1Derriere") {
play();
};
tellTarget ("_root.Laser2Devant") {
play();
};
tellTarget ("_root.Laser2Derriere") {
play();
};
tellTarget ("_root.Laser3Devant") {
play();
};
tellTarget ("_root.Laser3Derriere") {
play();
};
Set("/Variables:LaserArret", false);
if ((((((getProperty("_root.Laser1Devant", _visible) == 1) or (getProperty("_root.Laser2Devant", _visible) == 1)) or (getProperty("_root.Laser3Devant", _visible) == 1)) or (getProperty("_root.Laser1Derriere", _visible) == 1)) or (getProperty("_root.Laser2Derriere", _visible) == 1)) or (getProperty("_root.Laser3Derriere", _visible) == 1)) {
tellTarget ("_root.SonLaser") {
gotoAndStop ("Joue");
};
}
Symbol 2068 MovieClip Frame 1
stop();
Symbol 2068 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=99", 0);
gotoAndStop (1);
Symbol 2071 MovieClip Frame 1
stop();
Symbol 2071 MovieClip Frame 2
tellTarget ("_root.Inventaire") {
gotoAndStop (1);
};
Symbol 2071 MovieClip Frame 10
Set("/Variables:EtatActif", "Tab2D");
Set("/Variables:EtatVide", "Tab2DStoppe");
Set("/Variables:ObjetSelect", 0);
Set("/Variables:MegPrison", true);
Set("/Variables:RobotPositionTir", false);
Set("/Variables:RobotTir", false);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndPlay ("Tab2DIni");
};
Symbol 2111 MovieClip Frame 1
if (/Variables:AscenseurOuverte == true) {
gotoAndStop (2);
}
stop();
Symbol 2175 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2175 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2175 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2175 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2175 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2175 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2175 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2175 MovieClip Frame 20
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2175 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2175 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2175 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2175 MovieClip Frame 40
Set("/Variables:Stoppe", false);
play();
Symbol 2175 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2175 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2175 MovieClip Frame 68
gotoAndPlay (45);
Symbol 2175 MovieClip Frame 93
Set("/Variables:Stoppe", true);
Symbol 2175 MovieClip Frame 94
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2175 MovieClip Frame 95
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2175 MovieClip Frame 96
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2175 MovieClip Frame 97
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2175 MovieClip Frame 99
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2175 MovieClip Frame 100
gotoAndStop (1);
Symbol 2183 MovieClip Frame 1
stop();
Symbol 2183 MovieClip Frame 4
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 2183 MovieClip Frame 6
gotoAndStop (1);
Symbol 2187 MovieClip Frame 1
stop();
Symbol 2187 MovieClip Frame 5
gotoAndStop (1);
Symbol 2257 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2257 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2257 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2257 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2257 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2257 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2257 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2257 MovieClip Frame 20
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2257 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2257 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2257 MovieClip Frame 26
gotoAndStop (20);
Symbol 2257 MovieClip Frame 35
Set("/Variables:Stoppe", false);
play();
Symbol 2257 MovieClip Frame 40
if (random(20) == 10) {
gotoAndPlay (42);
}
Symbol 2257 MovieClip Frame 41
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (40);
}
Symbol 2257 MovieClip Frame 59
gotoAndPlay (40);
Symbol 2257 MovieClip Frame 86
Set("/Variables:Stoppe", true);
Symbol 2257 MovieClip Frame 87
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2257 MovieClip Frame 88
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2257 MovieClip Frame 89
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2257 MovieClip Frame 90
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2257 MovieClip Frame 91
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2257 MovieClip Frame 93
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2257 MovieClip Frame 95
gotoAndPlay (1);
Symbol 2291 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2291 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2291 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2291 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2291 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2291 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2291 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2291 MovieClip Frame 20
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2291 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2291 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2291 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2291 MovieClip Frame 38
Set("/Variables:Stoppe", false);
play();
Symbol 2291 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (49);
}
Symbol 2291 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2291 MovieClip Frame 65
gotoAndPlay (45);
Symbol 2291 MovieClip Frame 84
Set("/Variables:Stoppe", true);
Symbol 2291 MovieClip Frame 85
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 5));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 5));
}
}
Symbol 2291 MovieClip Frame 86
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 5));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 5));
}
}
Symbol 2291 MovieClip Frame 87
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 5));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 5));
}
}
Symbol 2291 MovieClip Frame 88
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 5));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 5));
}
}
Symbol 2291 MovieClip Frame 89
Set("/Variables:Stoppe", false);
/:Idle == true;
Symbol 2291 MovieClip Frame 91
gotoAndStop (1);
Symbol 2372 MovieClip Frame 1
if (/Variables:SauteArbre == true) {
gotoAndPlay (92);
} else {
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
}
Symbol 2372 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2372 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2372 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2372 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2372 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2372 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2372 MovieClip Frame 20
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2372 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2372 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2372 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2372 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 2372 MovieClip Frame 41
if (random(20) == 10) {
gotoAndPlay (46);
}
Symbol 2372 MovieClip Frame 42
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (41);
}
Symbol 2372 MovieClip Frame 70
gotoAndPlay (40);
Symbol 2372 MovieClip Frame 87
gotoAndPlay (36);
Symbol 2372 MovieClip Frame 92
Set("/Variables:Stoppe", true);
Symbol 2372 MovieClip Frame 93
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2372 MovieClip Frame 94
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2372 MovieClip Frame 95
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2372 MovieClip Frame 96
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2372 MovieClip Frame 97
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2372 MovieClip Frame 99
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2372 MovieClip Frame 100
if (/Variables:SauteArbre == true) {
Set("/Variables:SauteArbre", false);
Set("/Variables:EtatActif", "Tab1");
tellTarget ("_root") {
gotoAndPlay ("Tab1");
};
}
gotoAndStop (1);
Symbol 2427 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2427 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2427 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2427 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2427 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2427 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2427 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2427 MovieClip Frame 20
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2427 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2427 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2427 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2427 MovieClip Frame 37
Set("/Variables:Stoppe", false);
play();
Symbol 2427 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (48);
}
Symbol 2427 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2427 MovieClip Frame 74
gotoAndPlay (45);
Symbol 2427 MovieClip Frame 96
Set("/Variables:Stoppe", true);
Symbol 2427 MovieClip Frame 97
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2427 MovieClip Frame 98
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2427 MovieClip Frame 99
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2427 MovieClip Frame 100
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
if (_root.CacheSauteAscenseur.hitTest(_root.Meg._x, _root.Meg._y, true)) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2427 MovieClip Frame 102
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2427 MovieClip Frame 103
gotoAndStop (1);
Symbol 2428 MovieClip Frame 1
if (/Variables:DeltaTombe != 0) {
setProperty("_root.Meg", _y , _root.Meg._y + 50);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
} else {
gotoAndPlay (3);
}
Symbol 2428 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2428 MovieClip Frame 4
Set("/Variables:Vie", /Variables:Vie - 10);
if (/Variables:Vie < 1) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
if (/Variables:MegCri == false) {
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
}
tellTarget ("/Animatiques") {
gotoAndStop(/Variables:TombeDans);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2429 MovieClip Frame 1
if ((/Variables:From eq "Tab2") and (/Variables:EtatActif eq "Tab4")) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
setProperty("_root.GrilleDevant", _visible , 0);
setProperty("_root.PapierDevant", _visible , 0);
setProperty("_root.TraqueHautDevant", _visible , 0);
setProperty("_root.TraqueBasDevant", _visible , 0);
setProperty("_root.RouleauDevant", _visible , 0);
gotoAndStop (1);
}
stop();
Symbol 2434 MovieClip Frame 1
stop();
Symbol 2434 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=11&stage=3", 0);
Symbol 2434 MovieClip Frame 29
setProperty("_root.BalconDevant", _visible , 0);
setProperty("_root.StandDevant", _visible , 0);
Symbol 2434 MovieClip Frame 84
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 34);
setProperty("_root.Meg", _y , 92);
setProperty("_root.Meg", _xscale , 17);
setProperty("_root.Meg", _yscale , 17);
Set("/Variables:Tab1Etage", 2);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
gotoAndStop (1);
Symbol 2434 MovieClip Frame 168
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 267);
setProperty("_root.Meg", _y , 170);
setProperty("_root.Meg", _xscale , 14);
setProperty("_root.Meg", _yscale , 14);
Set("/Variables:Tab1Etage", 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
gotoAndStop (1);
Symbol 2439 MovieClip Frame 1
if (/Variables:AscenseurOuverte == true) {
nextFrame();
}
stop();
Symbol 2439 MovieClip Frame 2
stop();
Symbol 2440 MovieClip Frame 1
if (/Variables:Tab1Etage == 2) {
nextFrame();
}
stop();
Symbol 2440 MovieClip Frame 2
stop();
Symbol 2489 MovieClip Frame 1
if (eval ("/Variables:" + _name) == true) {
nextFrame();
}
stop();
Symbol 2489 MovieClip Frame 2
stop();
Symbol 2511 MovieClip Frame 1
if (eval ("/Variables:" + _name) == true) {
nextFrame();
}
stop();
Symbol 2511 MovieClip Frame 2
stop();
Instance of Symbol 2515 MovieClip in Symbol 2557 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:EtatActif eq "Tab2F") {
setProperty("_parent", _visible , 1);
} else {
setProperty("_parent", _visible , 0);
}
if ((_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) and (getProperty("_parent", _visible) == true)) {
Set("/Variables:RobotPositionTir", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotDemande");
};
}
if (((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:RobotPositionTir == false)) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
nextFrame();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2557 MovieClip Frame 50
_visible = 0;
Instance of Symbol 2537 MovieClip in Symbol 2557 MovieClip Frame 51
onClipEvent (enterFrame) {
if (/Variables:EtatActif eq "Tab2E") {
setProperty("_parent", _visible , 1);
} else {
setProperty("_parent", _visible , 0);
}
if ((_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) and (getProperty("_parent", _visible) == true)) {
Set("/Variables:RobotPositionTir", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotDemande");
};
}
if (((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:RobotPositionTir == false)) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
nextFrame();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2557 MovieClip Frame 100
_visible = 0;
Instance of Symbol 2547 MovieClip in Symbol 2557 MovieClip Frame 101
onClipEvent (enterFrame) {
if (/Variables:EtatActif eq "Tab2K") {
setProperty("_parent", _visible , 1);
} else {
setProperty("_parent", _visible , 0);
}
if ((_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) and (getProperty("_parent", _visible) == true)) {
Set("/Variables:RobotPositionTir", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotDemande");
};
}
if (((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:RobotPositionTir == false)) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
nextFrame();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2557 MovieClip Frame 150
_visible = 0;
Instance of Symbol 2555 MovieClip in Symbol 2557 MovieClip Frame 151
onClipEvent (enterFrame) {
if (/Variables:EtatActif eq "Tab2G") {
setProperty("_parent", _visible , 1);
} else {
setProperty("_parent", _visible , 0);
}
if ((_root.Robot.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) and (getProperty("_parent", _visible) == true)) {
Set("/Variables:RobotPositionTir", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotDemande");
};
}
if (((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:RobotPositionTir == false)) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
nextFrame();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2557 MovieClip Frame 199
_visible = 0;
Symbol 2557 MovieClip Frame 200
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 201
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 202
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 203
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 204
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 205
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 206
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 207
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 208
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 209
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 210
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 211
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 212
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 213
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 214
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 215
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 216
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 217
gotoAndPlay (1);
Symbol 2557 MovieClip Frame 218
gotoAndPlay (1);
Symbol 2561 MovieClip Frame 1
if (/Variables:MegPrison == true) {
nextFrame();
}
stop();
Symbol 2561 MovieClip Frame 2
stop();
Symbol 2580 MovieClip Frame 1
if (eval ("/Variables:" + _name) == true) {
nextFrame();
}
stop();
Symbol 2580 MovieClip Frame 2
stop();
Symbol 2594 MovieClip Frame 1
if (/Variables:PorteAsc2Ouverte == true) {
nextFrame();
}
stop();
Symbol 2594 MovieClip Frame 2
stop();
Symbol 2620 MovieClip Frame 1
play();
Symbol 2620 MovieClip Frame 7
if (/Variables:PoisonCafe == true) {
Set("/Variables:PoisonDansCafe", true);
}
Symbol 2620 MovieClip Frame 14
tellTarget ("_parent") {
play();
};
Symbol 2658 MovieClip Frame 1
play();
Symbol 2658 MovieClip Frame 8
if (/Variables:PoisonDansCafe == true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("GardienDors");
};
tellTarget ("_root") {
gotoAndStop ("Tab2JStoppe");
};
}
Symbol 2658 MovieClip Frame 22
if (90 < random(100)) {
gotoAndPlay (1);
}
Symbol 2658 MovieClip Frame 35
if (70 < random(100)) {
gotoAndPlay (1);
}
Symbol 2658 MovieClip Frame 47
if (70 < random(100)) {
gotoAndPlay (1);
}
Symbol 2658 MovieClip Frame 52
tellTarget ("_parent") {
play();
};
Symbol 2661 MovieClip Frame 1
gotoAndPlay(/Variables:PositionGardien);
Symbol 2661 MovieClip Frame 2
stop();
Symbol 2661 MovieClip Frame 11
stop();
Symbol 2661 MovieClip Frame 27
gotoAndPlay (2);
Symbol 2661 MovieClip Frame 28
stop();
Symbol 2665 MovieClip Frame 1
if (/Variables:GardienLa == false) {
if (/Variables:GardienParti == true) {
gotoAndStop (3);
} else {
nextFrame();
}
}
stop();
Symbol 2665 MovieClip Frame 2
stop();
Symbol 2665 MovieClip Frame 3
stop();
Symbol 2670 MovieClip Frame 1
if ((/Variables:GardienLa == false) and (/Variables:PorteAsc2Ouverte == false)) {
nextFrame();
} else if ((/Variables:GardienLa == false) and (/Variables:PorteAsc2Ouverte == true)) {
gotoAndStop (3);
}
stop();
Symbol 2670 MovieClip Frame 2
stop();
Symbol 2670 MovieClip Frame 3
stop();
Instance of Symbol 2703 MovieClip in Symbol 2704 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Robot.RobotVoit.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RobotPositionTir == false)) {
Set("/Variables:RobotPositionTir", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RobotDemande");
};
}
}
Symbol 2715 MovieClip Frame 1
Set("/Variables:SautLaser2Ok", true);
Symbol 2715 MovieClip Frame 6
Set("/Variables:SautLaser2Ok", false);
Symbol 2715 MovieClip Frame 15
Set("/Variables:SautLaser2Ok", true);
Symbol 2715 MovieClip Frame 22
Set("/Variables:SautLaser2Ok", false);
Symbol 2715 MovieClip Frame 31
Set("/Variables:SautLaser2Ok", true);
Symbol 2730 MovieClip Frame 1
stop();
Symbol 2730 MovieClip Frame 2
stop();
Symbol 2730 MovieClip Frame 3
stop();
Symbol 2736 MovieClip Frame 1
stop();
Symbol 2758 MovieClip Frame 1
stop();
Symbol 2759 MovieClip Frame 1
stop();
Symbol 2774 MovieClip Frame 1
if (/Variables:JeuParti == true) {
if (/Variables:PlayerTour eq "Player1") {
gotoAndPlay (34);
} else if (/Variables:PlayerTour eq "Player2") {
gotoAndStop (33);
}
} else {
play();
}
Symbol 2774 MovieClip Frame 32
gotoAndPlay (1);
Symbol 2774 MovieClip Frame 33
tellTarget ("_root.Ordi2") {
gotoAndPlay ("Actif");
};
Symbol 2774 MovieClip Frame 34
play();
Symbol 2774 MovieClip Frame 51
gotoAndPlay (34);
Symbol 2776 MovieClip Frame 1
if (/Variables:JeuParti == true) {
if (/Variables:PlayerTour eq "Player2") {
gotoAndPlay (18);
} else if (/Variables:PlayerTour eq "Player1") {
gotoAndStop (17);
}
} else {
play();
}
Symbol 2776 MovieClip Frame 16
gotoAndPlay (1);
Symbol 2776 MovieClip Frame 17
tellTarget ("_root.Ordi1Derriere") {
gotoAndPlay ("Actif");
};
stop();
Symbol 2776 MovieClip Frame 18
play();
Symbol 2776 MovieClip Frame 35
gotoAndPlay (18);
Symbol 2801 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 2802 MovieClip Frame 1
fscommand ("load");
Symbol 2802 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 2802 MovieClip Frame 3
stop();
Symbol 2805 Button
on (release) {
stopAllSounds();
gotoAndPlay (1296);
}
Symbol 2946 MovieClip Frame 542
stop();
Symbol 3119 MovieClip Frame 36
stop();