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 = 1780794;
}
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 1117
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=1", 0);
stopAllSounds();
Frame 1118
s = new Sound();
Frame 1123
gotoAndPlay (1125);
Frame 1125
Set("/Variables:From", "Debut");
gotoAndPlay (1126);
Frame 1127
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
Instance of Symbol 2850 MovieClip in Frame 1127
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (345 < getProperty("_root.Meg", _y)) {
setProperty("_root.Tourelle2Devant", _visible , 0);
} else {
setProperty("_root.Tourelle2Devant", _visible , 1);
}
if (308 < getProperty("_root.Meg", _y)) {
setProperty("_root.Tourelle1Devant", _visible , 0);
} else {
setProperty("_root.Tourelle1Devant", _visible , 1);
}
if (314 < getProperty("_root.Meg", _y)) {
setProperty("_root.CordeDevant", _visible , 0);
} else {
setProperty("_root.CordeDevant", _visible , 1);
}
if (179 < getProperty("_root.Meg", _y)) {
setProperty("_root.JetDevant", _visible , 0);
} else {
setProperty("_root.JetDevant", _visible , 1);
}
if ((_root.CacheParachute.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CordeParachuteRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=2", 0);
tellTarget ("_root.CordeParachute") {
nextFrame();
};
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (2);
};
Set("/Variables:CordeParachuteRamasse", true);
}
if (((_root.CacheBonhomme.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CasqueRamasse == false)) and Key.isDown(Key.SPACE)) and (/Variables:JetLa == true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=5", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
tellTarget ("_root.Bonhomme.Casque") {
nextFrame();
};
tellTarget ("_root.Bonhomme.BonhommeOmbre") {
nextFrame();
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (3);
};
Set("/Variables:CasqueRamasse", true);
}
if ((_root.CacheJet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 2)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("StepJet");
};
} else if ((((_root.CacheJet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect != 2)) and Key.isDown(Key.SPACE)) and (/Variables:JetLa == true)) and (/Variables:MegCri == false)) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("Forgot");
};
}
if (((_root.CacheCordes.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CordeCentre == false)) and Key.isDown(Key.SPACE)) and ((/Variables:CordeGauche == true) or (/Variables:CordeDroite == true))) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=4", 0);
if (/Variables:CordeDroite == true) {
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
}
Set("/Variables:Stoppe", true);
Set("/Variables:CordeTemp", "CordeCentre");
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttacheCorde");
};
}
if ((_root.CacheTourelle1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 1)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=3", 0);
Set("/Variables:Stoppe", true);
Set("/Variables:CordeTemp", "CordeGauche");
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttacheCorde");
};
}
if ((_root.CacheTourelle2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 1)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
Set("/Variables:CordeTemp", "CordeDroite");
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttacheCorde");
};
}
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 / 7);
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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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);
}
}
if ((/Variables:HelicoPet == false) and (/Variables:HelicoTourne == false)) {
setProperty("_root.Gts.Helico", _x , getProperty("_root.Gts.Helico", _x) + /Variables:MoveX);
setProperty("_root.Gts.Helico", _y , getProperty("_root.Gts.Helico", _y) + /Variables:MoveY);
if (_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace) and (/Variables:HelicoSonArrive != true)) {
tellTarget ("_root.SonsHelico") {
gotoAndPlay ("HelicoPasse");
};
} else if (!_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace)) {
Set("/Variables:HelicoSonArrive", false);
}
if (_root.Gts.Helico.hitTest("_root.Gts." + /Variables:Destination)) {
if (/Variables:Destination eq "P1") {
Random = random(100);
if (Random < 33) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P2");
} else if (Random < 66) {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P11");
}
} else if (/Variables:Destination eq "P2") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P3");
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
}
} else if (/Variables:Destination eq "P3") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P4");
} else {
Set("/Variables:Destination", "P2");
}
} else if (/Variables:Destination eq "P4") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P5");
} else {
Set("/Variables:Destination", "P3");
}
} else if (/Variables:Destination eq "P5") {
if (/Variables:DirectionHelico eq "Droite") {
if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
}
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
}
} else if (/Variables:Destination eq "P6") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P7");
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
}
} else if (/Variables:Destination eq "P7") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P8");
} else {
Set("/Variables:Destination", "P6");
}
} else if (/Variables:Destination eq "P8") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P9");
} else {
Set("/Variables:Destination", "P7");
}
} else if (/Variables:Destination eq "P9") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P10");
} else {
Set("/Variables:Destination", "P8");
}
} else if (/Variables:Destination eq "P10") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P11");
} else {
Set("/Variables:Destination", "P9");
}
} else if (/Variables:Destination eq "P11") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:Destination", "P10");
}
} else if (/Variables:Destination eq "P12") {
if (/Variables:DirectionHelico eq "Droite") {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P2");
}
} else {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P11");
}
}
} else if (/Variables:Destination eq "P13") {
if (/Variables:MoveY < 0) {
Random = random(100);
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P6");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
Set("/Variables:Destination", "P12");
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
}
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Helico", _x) - getProperty("_root.Gts." + /Variables:Destination, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Helico", _y) - getProperty("_root.Gts." + /Variables:Destination, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else if (/Variables:HelicoTourne == false) {
setProperty("_root.Gts.Helico", _visible , 0);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1128
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
stop();
Frame 1138
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
Instance of Symbol 2941 MovieClip in Frame 1138
onClipEvent (enterFrame) {
if (((getProperty("_root.sjGlobal", _x) < 10) and (/Variables:VitesseTasse < 0)) or ((245 < getProperty("_root.sjGlobal", _x)) and (0 < /Variables:VitesseTasse))) {
} else {
setProperty("_root.sjGlobal", _x , getProperty("_root.sjGlobal", _x) + /Variables:VitesseTasse);
setProperty("_root.sjGlobal", _y , getProperty("_root.sjGlobal", _y) + /Variables:VitesseTasse);
}
setProperty("_root.Gts.ZoneDeplace.Garde1", _x , getProperty("_root.Gts.ZoneDeplace.Garde1", _x) - ((/Variables:Vitesse - 2.5) * 2));
setProperty("_root.Gts.ZoneDeplace.Garde1", _y , getProperty("_root.Gts.ZoneDeplace.Garde1", _y) + ((/Variables:Vitesse - 2.5) * 2));
setProperty("_root.Gts.ZoneDeplace.Garde2", _x , getProperty("_root.Gts.ZoneDeplace.Garde2", _x) - ((/Variables:Vitesse - 2.5) * 2));
setProperty("_root.Gts.ZoneDeplace.Garde2", _y , getProperty("_root.Gts.ZoneDeplace.Garde2", _y) + ((/Variables:Vitesse - 2.5) * 2));
setProperty("_root.FondNeige", _x , getProperty("_root.FondNeige", _x) - (/Variables:Vitesse * 10));
setProperty("_root.FondNeige", _y , getProperty("_root.FondNeige", _y) + (/Variables:Vitesse * 10));
setProperty("_root.Gts.ZoneDeplace.FondNeige", _x , getProperty("_root.Gts.ZoneDeplace.FondNeige", _x) - (/Variables:Vitesse * 10));
setProperty("_root.Gts.ZoneDeplace.FondNeige", _y , getProperty("_root.Gts.ZoneDeplace.FondNeige", _y) + (/Variables:Vitesse * 10));
if (1300 < getProperty("_root.FondNeige", _y)) {
setProperty("_root.FondNeige", _x , 88);
setProperty("_root.FondNeige", _y , 346);
setProperty("_root.Gts.ZoneDeplace.FondNeige", _x , 126.3);
setProperty("_root.Gts.ZoneDeplace.FondNeige", _y , 304.8);
tellTarget ("/FondNeige/Obstacles") {
gotoAndStop (1);
};
tellTarget ("/Gts/ZoneDeplace/FondNeige/Obstacles") {
gotoAndStop (1);
};
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , getProperty("_root.sjGlobal", _x));
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , getProperty("_root.sjGlobal", _y));
if (getProperty("_root.Gts.ZoneDeplace.Garde1", _y) < 130) {
tellTarget ("_root") {
gotoAndStop ("GardeTir");
};
}
if (_root.Gts.ZoneDeplace.Garde2.hitTest(_root.Gts.ZoneDeplace.CollisionGarde)) {
tellTarget ("_root") {
gotoAndStop ("Cache");
};
}
}
Frame 1139
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
stop();
Frame 1143
tellTarget ("_root.Animatiques") {
gotoAndStop ("SjExplose");
};
stop();
Frame 1144
tellTarget ("_root.Animatiques") {
gotoAndStop ("SjCache");
};
stop();
Frame 1145
tellTarget ("_root.Animatiques") {
gotoAndStop ("SjTir");
};
stop();
Frame 1148
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Gts") {
gotoAndStop (4);
};
Frame 1190
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
Instance of Symbol 3014 MovieClip in Frame 1190
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if ((/Variables:ObjetSelect == 3) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Meg") {
gotoAndStop ("TientPanneau");
};
}
if (getProperty("_root.Meg", _y) < 129) {
setProperty("_root.CoinDevant", _visible , 1);
} else {
setProperty("_root.CoinDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 281) {
setProperty("_root.CamionDevant", _visible , 1);
setProperty("_root.CordeDevant", _visible , 1);
} else {
setProperty("_root.CamionDevant", _visible , 0);
setProperty("_root.CordeDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 177) {
setProperty("_root.Tourelle1Devant", _visible , 1);
} else {
setProperty("_root.Tourelle1Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 329) {
setProperty("_root.Tourelle2Devant", _visible , 1);
} else {
setProperty("_root.Tourelle2Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 264) {
setProperty("_root.PanneauDevant", _visible , 1);
} else {
setProperty("_root.PanneauDevant", _visible , 0);
}
if ((_root.CacheEntree.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:EntreeVue == false)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitEntree");
};
}
if (_root.CacheGrimpe.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:MegGrimpe", true);
tellTarget ("_root") {
gotoAndStop ("Tab3Grimpe");
};
}
if ((((_root.CacheTreuil.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:TreuilVue == false)) and (/Variables:CordeAttache == false)) and Key.isDown(Key.SPACE)) and (/Variables:PanneauArrache == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitTreuil");
};
}
if (((_root.CacheTreuil.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CordeAttache == true)) and Key.isDown(Key.SPACE)) and (/Variables:PanneauArrache == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("TourneTreuil");
};
}
if (((_root.CacheDome.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DomeVue == false)) and (/Variables:DomeOuvert == false)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitDome");
};
}
if ((_root.CacheDome.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:DomeOuvert == true)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("EntreDome");
};
}
if (((_root.CacheCorde.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CordeAttache == false)) and Key.isDown(Key.SPACE)) and (/Variables:PanneauArrache == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceCorde");
};
}
if (((_root.CachePanneau.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PanneauRamasse == false)) and Key.isDown(Key.SPACE)) and (/Variables:PanneauArrache == true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=11", 0);
Set("/Variables:PanneauRamasse", "true");
tellTarget ("_root.PanneauDevant") {
gotoAndStop (3);
};
tellTarget ("_root.PanneauDerriere") {
gotoAndStop (3);
};
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (4);
};
}
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 / 7);
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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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);
}
}
if ((/Variables:HelicoPet == false) and (/Variables:HelicoTourne == false)) {
setProperty("_root.Gts.Helico", _x , getProperty("_root.Gts.Helico", _x) + /Variables:MoveX);
setProperty("_root.Gts.Helico", _y , getProperty("_root.Gts.Helico", _y) + /Variables:MoveY);
if (_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace) and (/Variables:HelicoSonArrive != true)) {
tellTarget ("_root.SonsHelico") {
gotoAndPlay ("HelicoPasse");
};
} else if (!_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace)) {
Set("/Variables:HelicoSonArrive", false);
}
if (_root.Gts.Helico.hitTest("_root.Gts." + /Variables:Destination)) {
if (/Variables:Destination eq "P1") {
Random = random(100);
if (Random < 33) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P2");
} else if (Random < 66) {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P11");
}
} else if (/Variables:Destination eq "P2") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P3");
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
}
} else if (/Variables:Destination eq "P3") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P4");
} else {
Set("/Variables:Destination", "P2");
}
} else if (/Variables:Destination eq "P4") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P5");
} else {
Set("/Variables:Destination", "P3");
}
} else if (/Variables:Destination eq "P5") {
if (/Variables:DirectionHelico eq "Droite") {
if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
}
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
}
} else if (/Variables:Destination eq "P6") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P7");
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
}
} else if (/Variables:Destination eq "P7") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P8");
} else {
Set("/Variables:Destination", "P6");
}
} else if (/Variables:Destination eq "P8") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P9");
} else {
Set("/Variables:Destination", "P7");
}
} else if (/Variables:Destination eq "P9") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P10");
} else {
Set("/Variables:Destination", "P8");
}
} else if (/Variables:Destination eq "P10") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P11");
} else {
Set("/Variables:Destination", "P9");
}
} else if (/Variables:Destination eq "P11") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:Destination", "P10");
}
} else if (/Variables:Destination eq "P12") {
if (/Variables:DirectionHelico eq "Droite") {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P2");
}
} else {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P11");
}
}
} else if (/Variables:Destination eq "P13") {
if (/Variables:MoveY < 0) {
Random = random(100);
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P6");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
Set("/Variables:Destination", "P12");
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
}
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Helico", _x) - getProperty("_root.Gts." + /Variables:Destination, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Helico", _y) - getProperty("_root.Gts." + /Variables:Destination, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else if (/Variables:HelicoTourne == false) {
setProperty("_root.Gts.Helico", _visible , 0);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1191
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:MegGrimpe", false);
stop();
Frame 1200
Set("/Variables:EtatVide", "Tab3Grimpe");
Set("/Variables:EtatActif", "Tab3Grimpe");
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.MegGrimpe") {
gotoAndStop (2);
};
stop();
Frame 1205
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:ErukaPoubelle", false);
Set("/Variables:MegGrimpe", false);
tellTarget ("_root.Gts") {
gotoAndStop (6);
};
if (/Variables:From eq "Tab5") {
setProperty("_root.Meg", _x , 40);
setProperty("_root.Meg", _y , 343);
setProperty("_root.Meg", _xscale , 30);
setProperty("_root.Meg", _yscale , 30);
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
} else if (/Variables:From eq "Tab6") {
setProperty("_root.Meg", _x , 203);
setProperty("_root.Meg", _y , 114);
setProperty("_root.Meg", _xscale , 22);
setProperty("_root.Meg", _yscale , 22);
} else {
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Instance of Symbol 3091 MovieClip in Frame 1205
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (_root.CacheGrimpeHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.MegGrimpe") {
gotoAndStop ("Descend");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (_root.CacheGrimpeBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.MegGrimpe") {
gotoAndStop ("Grimpe");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Grimpe");
};
}
if (((_root.CacheBrancheFil1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 5)) and Key.isDown(Key.SPACE)) and (/Variables:FilBranche1 == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=16", 0);
Set("/Variables:FilBranche1", true);
Set("/Variables:ObjetRemove", 5);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("PlaceFil");
};
}
tellTarget ("_root.FilSol") {
gotoAndStop (2);
};
}
if (_root.CacheVersTab6.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab6Ini");
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if ((_root.CacheBrancheFil2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:FilBranche1 == true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("BrancheFils");
};
}
if ((_root.CacheFil.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:FilRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=14", 0);
tellTarget ("_root.Fil") {
nextFrame();
};
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (6);
};
Set("/Variables:FilRamasse", true);
}
if ((_root.CacheExtincteur.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ExtincteurRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=15", 0);
tellTarget ("_root.Extincteur") {
nextFrame();
};
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (5);
};
Set("/Variables:ExtincteurRamasse", true);
}
if (_root.CacheVoitEruka.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ErukaVue == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitEruka");
};
}
if (getProperty("_root.Meg", _y) < 324) {
setProperty("_root.PoteauGaucheDevant", _visible , 1);
} else {
setProperty("_root.PoteauGaucheDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 220.5) {
setProperty("_root.SiloDevant", _visible , 1);
} else {
setProperty("_root.SiloDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 128) {
setProperty("_root.Poutre3Devant", _visible , 1);
} else {
setProperty("_root.Poutre3Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 115) {
setProperty("_root.Poutre2Devant", _visible , 1);
} else {
setProperty("_root.Poutre2Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 103) {
setProperty("_root.Poutre1Devant", _visible , 1);
} else {
setProperty("_root.Poutre1Devant", _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 / 7);
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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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);
}
}
if ((/Variables:HelicoPet == false) and (/Variables:HelicoTourne == false)) {
setProperty("_root.Gts.Helico", _x , getProperty("_root.Gts.Helico", _x) + /Variables:MoveX);
setProperty("_root.Gts.Helico", _y , getProperty("_root.Gts.Helico", _y) + /Variables:MoveY);
if (_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace) and (/Variables:HelicoSonArrive != true)) {
tellTarget ("_root.SonsHelico") {
gotoAndPlay ("HelicoPasse");
};
} else if (!_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace)) {
Set("/Variables:HelicoSonArrive", false);
}
if (_root.Gts.Helico.hitTest("_root.Gts." + /Variables:Destination)) {
if (/Variables:Destination eq "P1") {
Random = random(100);
if (Random < 33) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P2");
} else if (Random < 66) {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P11");
}
} else if (/Variables:Destination eq "P2") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P3");
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
}
} else if (/Variables:Destination eq "P3") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P4");
} else {
Set("/Variables:Destination", "P2");
}
} else if (/Variables:Destination eq "P4") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P5");
} else {
Set("/Variables:Destination", "P3");
}
} else if (/Variables:Destination eq "P5") {
if (/Variables:DirectionHelico eq "Droite") {
if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
}
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
}
} else if (/Variables:Destination eq "P6") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P7");
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
}
} else if (/Variables:Destination eq "P7") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P8");
} else {
Set("/Variables:Destination", "P6");
}
} else if (/Variables:Destination eq "P8") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P9");
} else {
Set("/Variables:Destination", "P7");
}
} else if (/Variables:Destination eq "P9") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P10");
} else {
Set("/Variables:Destination", "P8");
}
} else if (/Variables:Destination eq "P10") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P11");
} else {
Set("/Variables:Destination", "P9");
}
} else if (/Variables:Destination eq "P11") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:Destination", "P10");
}
} else if (/Variables:Destination eq "P12") {
if (/Variables:DirectionHelico eq "Droite") {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P2");
}
} else {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P11");
}
}
} else if (/Variables:Destination eq "P13") {
if (/Variables:MoveY < 0) {
Random = random(100);
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P6");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
Set("/Variables:Destination", "P12");
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
}
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Helico", _x) - getProperty("_root.Gts." + /Variables:Destination, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Helico", _y) - getProperty("_root.Gts." + /Variables:Destination, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else if (/Variables:HelicoTourne == false) {
setProperty("_root.Gts.Helico", _visible , 0);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1206
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:MegGrimpe", false);
stop();
Frame 1213
if (/Variables:MegGrimpe == true) {
tellTarget ("_root.MegGrimpe") {
gotoAndStop (10);
};
}
Set("/Variables:EtatActif", "Tab4Grimpe");
Set("/Variables:EtatVide", "Tab4Grimpe");
Set("/Variables:MegGrimpe", true);
setProperty("_root.Meg", _visible , 0);
Frame 1218
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab5Stoppe");
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:ErukaPoubelle", false);
tellTarget ("_root.Gts") {
gotoAndStop (10);
};
if (/Variables:From eq "Tab7") {
Set("/Variables:Tab5Etage", 1);
setProperty("_root.Meg", _x , 200);
setProperty("_root.Meg", _y , 357);
setProperty("_root.Meg", _xscale , 23);
setProperty("_root.Meg", _yscale , 23);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
if (/Variables:From eq "Tab4") {
Set("/Variables:Tab5Etage", 2);
setProperty("_root.Meg", _x , 398);
setProperty("_root.Meg", _y , 391);
setProperty("_root.Meg", _xscale , 33);
setProperty("_root.Meg", _yscale , 33);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Tab6") {
Set("/Variables:Tab5Etage", 2);
tellTarget ("_root.Meg") {
gotoAndStop (4);
};
}
Instance of Symbol 3156 MovieClip in Frame 1218
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (141 < getProperty("_root.Meg", _y)) {
setProperty("_root.PoteauDevant", _visible , 0);
} else {
setProperty("_root.PoteauDevant", _visible , 1);
}
if (_root.CacheVersTab7.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:TunnelDeffonce == true)) {
Set("/Variables:From", "Tab5");
tellTarget ("_root") {
gotoAndPlay ("Tab7Ini");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab5");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if (_root.CacheVersTab6.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab5");
tellTarget ("_root") {
gotoAndPlay ("Tab6Ini");
};
}
if ((_root.CacheExplose.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 7)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PlaceBombonne");
};
}
if ((((_root.CacheExplose.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 4)) and (/Variables:BombonnePlace == true)) and (/Variables:Chauffe == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("ChauffeBombonne");
};
}
if ((_root.CacheBombonne.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:BombonneRamasse == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("RamasseBombonne");
};
}
if (_root.CacheDecoupe.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.DecoupeSortie") {
gotoAndStop (2);
};
} else {
tellTarget ("_root.DecoupeSortie") {
gotoAndStop (1);
};
}
if (/Variables:Tab5Etage == 1) {
setProperty("_root.PallierBasDevant", _visible , 1);
} else {
setProperty("_root.PallierBasDevant", _visible , 0);
}
if (_root.CacheBoutonHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
if (((/Variables:CouleurFil1 == 2) and (/Variables:CouleurFil2 == 3)) and (/Variables:CouleurFil3 == 1)) {
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.ManetteHautDevant") {
gotoAndStop (2);
};
tellTarget ("_root.Ascenseur.MegAsc") {
gotoAndStop (2);
};
tellTarget ("_root.Ascenseur") {
play();
};
} else if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("Ascenseur");
};
}
}
if (_root.CacheBoutonBas.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root.Ascenseur.MegAsc") {
gotoAndStop (2);
};
tellTarget ("_root.Ascenseur") {
play();
};
}
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 / 7);
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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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);
}
}
if ((/Variables:HelicoPet == false) and (/Variables:HelicoTourne == false)) {
setProperty("_root.Gts.Helico", _x , getProperty("_root.Gts.Helico", _x) + /Variables:MoveX);
setProperty("_root.Gts.Helico", _y , getProperty("_root.Gts.Helico", _y) + /Variables:MoveY);
if (_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace) and (/Variables:HelicoSonArrive != true)) {
tellTarget ("_root.SonsHelico") {
gotoAndPlay ("HelicoPasse");
};
} else if (!_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace)) {
Set("/Variables:HelicoSonArrive", false);
}
if (_root.Gts.Helico.hitTest("_root.Gts." + /Variables:Destination)) {
if (/Variables:Destination eq "P1") {
Random = random(100);
if (Random < 33) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P2");
} else if (Random < 66) {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P11");
}
} else if (/Variables:Destination eq "P2") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P3");
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
}
} else if (/Variables:Destination eq "P3") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P4");
} else {
Set("/Variables:Destination", "P2");
}
} else if (/Variables:Destination eq "P4") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P5");
} else {
Set("/Variables:Destination", "P3");
}
} else if (/Variables:Destination eq "P5") {
if (/Variables:DirectionHelico eq "Droite") {
if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
}
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
}
} else if (/Variables:Destination eq "P6") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P7");
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
}
} else if (/Variables:Destination eq "P7") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P8");
} else {
Set("/Variables:Destination", "P6");
}
} else if (/Variables:Destination eq "P8") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P9");
} else {
Set("/Variables:Destination", "P7");
}
} else if (/Variables:Destination eq "P9") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P10");
} else {
Set("/Variables:Destination", "P8");
}
} else if (/Variables:Destination eq "P10") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P11");
} else {
Set("/Variables:Destination", "P9");
}
} else if (/Variables:Destination eq "P11") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:Destination", "P10");
}
} else if (/Variables:Destination eq "P12") {
if (/Variables:DirectionHelico eq "Droite") {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P2");
}
} else {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P11");
}
}
} else if (/Variables:Destination eq "P13") {
if (/Variables:MoveY < 0) {
Random = random(100);
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P6");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
Set("/Variables:Destination", "P12");
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
}
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Helico", _x) - getProperty("_root.Gts." + /Variables:Destination, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Helico", _y) - getProperty("_root.Gts." + /Variables:Destination, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else if (/Variables:HelicoTourne == false) {
setProperty("_root.Gts.Helico", _visible , 0);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1219
Set("/Variables:EtatActif", "Tab5");
Set("/Variables:EtatVide", "Tab5Stoppe");
stop();
Frame 1229
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:StepDessus", false);
Set("/Variables:Decale", 0.5);
Set("/Variables:EtatVide", "Tab6Stoppe");
Set("/Variables:EtatActif", "Tab6");
tellTarget ("_root.Gts") {
gotoAndStop (8);
};
if ((/Variables:ErukaMort == true) or (/Variables:ErukaPoubelle == true)) {
tellTarget ("_root.Eruka") {
gotoAndStop ("PasLa");
};
}
if (/Variables:From eq "Tab4") {
setProperty("_root.Meg", _x , 200);
setProperty("_root.Meg", _y , 385);
setProperty("_root.Meg", _xscale , 62);
setProperty("_root.Meg", _yscale , 62);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
}
if (/Variables:From eq "Tab5") {
setProperty("_root.Meg", _x , 230);
setProperty("_root.Meg", _y , 123);
setProperty("_root.Meg", _xscale , 31);
setProperty("_root.Meg", _yscale , 31);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
Instance of Symbol 3288 MovieClip in Frame 1229
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab6");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab6");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheCassette.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ErukaMort == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("ErukaAttaque");
};
} else if (((_root.CacheCassette.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CassetteRamasse == false)) and Key.isDown(Key.SPACE)) and (/Variables:ErukaMort == true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendCassette");
};
}
if ((_root.CachePoubelle1.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PositionPoubelle == 1)) and Key.isDown(Key.SPACE)) {
if ((/Variables:ErukaPoubelle == true) and (/Variables:CuveOuverte == true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("TueEruka");
};
} else if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("NotNow");
};
}
}
if ((_root.CacheEtagere.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:PositionEtagere == 1)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("PousseEtagere");
};
}
if (_root.CachePortrait.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitPortrait");
};
}
if (_root.CacheOrdi.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=22", 0);
if (((/Variables:CouleurFil1 == 2) and (/Variables:CouleurFil2 == 3)) and (/Variables:CouleurFil3 == 1)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitOrdiOk");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("VoitOrdi");
};
}
}
if ((_root.CacheBouton.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CuveOuverte == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=18", 0);
Set("/Variables:CuveOuverte", true);
if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("CuveBouton");
};
}
tellTarget ("_root.Cuve") {
play();
};
}
if (getProperty("_root.Meg", _y) < 206) {
setProperty("_root.Bloc0Devant", _visible , 1);
} else {
setProperty("_root.Bloc0Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 250) {
setProperty("_root.Bloc1Devant", _visible , 1);
} else {
setProperty("_root.Bloc1Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 170) {
setProperty("_root.Bloc2Devant", _visible , 1);
} else {
setProperty("_root.Bloc2Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 173) {
setProperty("_root.Bloc3Devant", _visible , 1);
} else {
setProperty("_root.Bloc3Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 240) {
setProperty("_root.Poubelle1Devant", _visible , 1);
} else {
setProperty("_root.Poubelle1Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 164) {
setProperty("_root.Poubelle2Devant", _visible , 1);
} else {
setProperty("_root.Poubelle2Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 255) {
setProperty("_root.EtagereDevant", _visible , 1);
} else {
setProperty("_root.EtagereDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 221) {
setProperty("_root.Etagere2Devant", _visible , 1);
} else {
setProperty("_root.Etagere2Devant", _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 / 7);
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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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);
}
}
if ((/Variables:HelicoPet == false) and (/Variables:HelicoTourne == false)) {
setProperty("_root.Gts.Helico", _x , getProperty("_root.Gts.Helico", _x) + /Variables:MoveX);
setProperty("_root.Gts.Helico", _y , getProperty("_root.Gts.Helico", _y) + /Variables:MoveY);
if (_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace) and (/Variables:HelicoSonArrive != true)) {
tellTarget ("_root.SonsHelico") {
gotoAndPlay ("HelicoPasse");
};
} else if (!_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace)) {
Set("/Variables:HelicoSonArrive", false);
}
if (_root.Gts.Helico.hitTest("_root.Gts." + /Variables:Destination)) {
if (/Variables:Destination eq "P1") {
Random = random(100);
if (Random < 33) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P2");
} else if (Random < 66) {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P11");
}
} else if (/Variables:Destination eq "P2") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P3");
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
}
} else if (/Variables:Destination eq "P3") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P4");
} else {
Set("/Variables:Destination", "P2");
}
} else if (/Variables:Destination eq "P4") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P5");
} else {
Set("/Variables:Destination", "P3");
}
} else if (/Variables:Destination eq "P5") {
if (/Variables:DirectionHelico eq "Droite") {
if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
}
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
}
} else if (/Variables:Destination eq "P6") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P7");
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
}
} else if (/Variables:Destination eq "P7") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P8");
} else {
Set("/Variables:Destination", "P6");
}
} else if (/Variables:Destination eq "P8") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P9");
} else {
Set("/Variables:Destination", "P7");
}
} else if (/Variables:Destination eq "P9") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P10");
} else {
Set("/Variables:Destination", "P8");
}
} else if (/Variables:Destination eq "P10") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P11");
} else {
Set("/Variables:Destination", "P9");
}
} else if (/Variables:Destination eq "P11") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:Destination", "P10");
}
} else if (/Variables:Destination eq "P12") {
if (/Variables:DirectionHelico eq "Droite") {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P2");
}
} else {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P11");
}
}
} else if (/Variables:Destination eq "P13") {
if (/Variables:MoveY < 0) {
Random = random(100);
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P6");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
Set("/Variables:Destination", "P12");
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
}
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Helico", _x) - getProperty("_root.Gts." + /Variables:Destination, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Helico", _y) - getProperty("_root.Gts." + /Variables:Destination, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else if (/Variables:HelicoTourne == false) {
setProperty("_root.Gts.Helico", _visible , 0);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1230
Set("/Variables:EtatActif", "Tab6");
Set("/Variables:EtatVide", "Tab6Stoppe");
if ((/Variables:ErukaMort == true) or (/Variables:ErukaPoubelle == true)) {
tellTarget ("_root.Eruka") {
gotoAndStop ("PasLa");
};
}
stop();
Frame 1240
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0.1);
Set("/Variables:EtatVide", "Tab7Stoppe");
Set("/Variables:EtatActif", "Tab7");
tellTarget ("_root.Gts") {
gotoAndStop (12);
};
Instance of Symbol 3294 MovieClip in Frame 1240
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
if (_root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tab7");
tellTarget ("_root") {
gotoAndPlay ("Tab5Ini");
};
}
if (_root.CacheTv.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) {
if (/Variables:ObjetSelect == 6) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=27", 0);
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
} else if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("Forgot");
};
}
}
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 / 7);
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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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 * 8), 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 / 7);
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);
}
}
if ((/Variables:HelicoPet == false) and (/Variables:HelicoTourne == false)) {
setProperty("_root.Gts.Helico", _x , getProperty("_root.Gts.Helico", _x) + /Variables:MoveX);
setProperty("_root.Gts.Helico", _y , getProperty("_root.Gts.Helico", _y) + /Variables:MoveY);
if (_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace) and (/Variables:HelicoSonArrive != true)) {
tellTarget ("_root.SonsHelico") {
gotoAndPlay ("HelicoPasse");
};
} else if (!_root.Gts.Helico.hitTest(_root.Gts.ZoneDeplace)) {
Set("/Variables:HelicoSonArrive", false);
}
if (_root.Gts.Helico.hitTest("_root.Gts." + /Variables:Destination)) {
if (/Variables:Destination eq "P1") {
Random = random(100);
if (Random < 33) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P2");
} else if (Random < 66) {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P11");
}
} else if (/Variables:Destination eq "P2") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P3");
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P12");
}
} else if (/Variables:Destination eq "P3") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P4");
} else {
Set("/Variables:Destination", "P2");
}
} else if (/Variables:Destination eq "P4") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P5");
} else {
Set("/Variables:Destination", "P3");
}
} else if (/Variables:Destination eq "P5") {
if (/Variables:DirectionHelico eq "Droite") {
if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P6");
}
}
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P4");
}
}
} else if (/Variables:Destination eq "P6") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P7");
} else if (/Variables:TableauStep == 2) {
Random = random(100);
if (Random < 70) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
if (Random < 45) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P5");
}
}
} else if (/Variables:Destination eq "P7") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P8");
} else {
Set("/Variables:Destination", "P6");
}
} else if (/Variables:Destination eq "P8") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P9");
} else {
Set("/Variables:Destination", "P7");
}
} else if (/Variables:Destination eq "P9") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P10");
} else {
Set("/Variables:Destination", "P8");
}
} else if (/Variables:Destination eq "P10") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P11");
} else {
Set("/Variables:Destination", "P9");
}
} else if (/Variables:Destination eq "P11") {
if (/Variables:DirectionHelico eq "Droite") {
Set("/Variables:Destination", "P12");
} else {
Set("/Variables:Destination", "P10");
}
} else if (/Variables:Destination eq "P12") {
if (/Variables:DirectionHelico eq "Droite") {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P2");
}
} else {
Random = random(100);
if (Random < 65) {
Set("/Variables:Destination", "P13");
} else {
Set("/Variables:Destination", "P11");
}
}
} else if (/Variables:Destination eq "P13") {
if (/Variables:MoveY < 0) {
Random = random(100);
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
Set("/Variables:Destination", "P6");
} else {
Set("/Variables:DirectionHelico", "Gauche");
Set("/Variables:Destination", "P5");
}
} else {
Random = random(100);
Set("/Variables:Destination", "P12");
if (Random < 50) {
Set("/Variables:DirectionHelico", "Droite");
} else {
Set("/Variables:DirectionHelico", "Gauche");
}
}
}
Set("/Variables:DistanceX", -1 * (getProperty("_root.Gts.Helico", _x) - getProperty("_root.Gts." + /Variables:Destination, _x)));
Set("/Variables:DistanceY", -1 * (getProperty("_root.Gts.Helico", _y) - getProperty("_root.Gts." + /Variables:Destination, _y)));
if (Math.abs(/Variables:DistanceX) >= Math.abs(/Variables:DistanceY)) {
if (/Variables:DistanceX < 0) {
Set("/Variables:MoveX", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveX", /Variables:Vitesse);
}
Set("/Variables:MoveY", /Variables:DistanceY / (Math.abs(/Variables:DistanceX) / /Variables:Vitesse));
} else {
if (/Variables:DistanceY < 0) {
Set("/Variables:MoveY", /Variables:Vitesse * -1);
} else {
Set("/Variables:MoveY", /Variables:Vitesse);
}
Set("/Variables:MoveX", /Variables:DistanceX / (Math.abs(/Variables:DistanceY) / /Variables:Vitesse));
}
}
} else if (/Variables:HelicoTourne == false) {
setProperty("_root.Gts.Helico", _visible , 0);
}
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
};
}
Frame 1241
Set("/Variables:EtatActif", "Tab7");
Set("/Variables:EtatVide", "Tab7Stoppe");
stop();
Frame 1253
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;
}
tellTarget ("_root.Gts") {
gotoAndStop(/Variables:GtsFrame);
};
setProperty("_root.Gts", _visible , /Variables:GtsVisible);
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.MegInitialisation();
Frame 1254
prevFrame();
Frame 1255
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 3295 MovieClip in Frame 1255
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 1258
if (/Save:Fichier ne "") {
gotoAndStop (1254);
} else {
stopAllSounds();
gotoAndPlay (1118);
}
Frame 1259
stopAllSounds();
gotoAndPlay (1282);
Frame 1266
stopAllSounds();
gotoAndPlay (1282);
Frame 1277
stopAllSounds();
gotoAndPlay (1352);
Frame 1282
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=29", 0);
stopAllSounds();
Frame 1351
stop();
Frame 2129
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=28", 0);
Frame 2172
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 202 MovieClip Frame 57
stop();
Symbol 203 MovieClip Frame 1
stop();
Symbol 206 MovieClip Frame 1
stop();
Symbol 230 MovieClip Frame 25
stop();
Symbol 253 MovieClip Frame 12
stop();
Symbol 274 Button
on (release) {
Set("/:Instru", false);
gotoAndPlay (109);
}
Symbol 285 Button
on (release) {
nextFrame();
}
Symbol 294 Button
on (release) {
prevFrame();
}
Symbol 355 Button
on (release) {
stopAllSounds();
gotoAndPlay (1118);
}
Symbol 821 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.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);
};
if (/Variables:EtatActif eq "Tab6") {
tellTarget ("_root.Eruka") {
gotoAndStop(/Variables:PositionEruka);
};
}
};
}
function MegSaveString() {
return((((((((int(/Variables:MegSetting.X) + ",") + int(/Variables:MegSetting.Y)) + ",") + int(/Variables:MegSetting.Scale)) + ",") + /Variables:MegSetting.Position) + ",") + /Variables:MegSetting.Tableau);
}
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("VarX");
ArrayNoms.push("ObjetSelect");
ArrayNoms.push("MegGrimpe");
ArrayNoms.push("CordeParachuteRamasse");
ArrayNoms.push("CasqueRamasse");
ArrayNoms.push("PanneauRamasse");
ArrayNoms.push("ExtincteurRamasse");
ArrayNoms.push("FilRamasse");
ArrayNoms.push("CassetteRamasse");
ArrayNoms.push("CordeGauche");
ArrayNoms.push("CordeDroite");
ArrayNoms.push("CordeCentre");
ArrayNoms.push("JetLa");
ArrayNoms.push("EntreeVue");
ArrayNoms.push("DomeVue");
ArrayNoms.push("TreuilVue");
ArrayNoms.push("DomeOuvert");
ArrayNoms.push("CordeAttache");
ArrayNoms.push("CordeAccroche");
ArrayNoms.push("PanneauArrache");
ArrayNoms.push("ErukaVue");
ArrayNoms.push("FilBranche1");
ArrayNoms.push("FilBranche2");
ArrayNoms.push("Slot1");
ArrayNoms.push("Slot2");
ArrayNoms.push("Slot3");
ArrayNoms.push("BrancheActive");
ArrayNoms.push("CouleurFil1");
ArrayNoms.push("CouleurFil2");
ArrayNoms.push("CouleurFil3");
ArrayNoms.push("PositionAscenseur");
ArrayNoms.push("Tab5Etage");
ArrayNoms.push("TunnelDeffonce");
ArrayNoms.push("BombonneRamasse");
ArrayNoms.push("BombonnePlace");
ArrayNoms.push("Chauffe");
ArrayNoms.push("OrdiVue");
ArrayNoms.push("CuveOuverte");
ArrayNoms.push("PositionEtagere");
ArrayNoms.push("PositionPoubelle");
ArrayNoms.push("ErukaPoubelle");
ArrayNoms.push("ErukaMort");
ArrayNoms.push("PoubelleVue");
ArrayNoms.push("StepDessus");
ArrayNoms.push("GtsFrame");
ArrayNoms.push("GtsVisible");
ArrayNoms.push("TableauStep");
if (/Variables:EtatActif eq "Tab6") {
Set("/Variables:PositionEruka", getProperty("_root.Eruka", _currentframe));
ArrayNoms.push("PositionEruka");
}
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());
}
Vitesse = 6;
Jump = false;
JumpStart = false;
VarieDelta = 4;
Fleche = 1;
Set("/:Idle", false);
NbObstacles = 7;
BaseScaleGts = 16.8;
InvNbTotal = 7;
InventaireOuvert = false;
LargeurObjet = 60;
InvNb = 0;
InvNbMax = 10;
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 = 0;
InvObjet2 = 0;
InvObjet3 = 0;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
InvMail = 0;
InvMailMax = 6;
InvMail1 = 1;
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";
Set("/Variables:CordeParachuteRamasse", false);
Set("/Variables:CasqueRamasse", false);
Set("/Variables:PanneauRamasse", false);
Set("/Variables:ExtincteurRamasse", false);
Set("/Variables:FilRamasse", false);
Set("/Variables:CassetteRamasse", false);
MegCri = false;
MegGrimpe = false;
VarX = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
GtsFrame = 2;
GtsVisible = 1;
CordeGauche = false;
CordeDroite = false;
CordeCentre = false;
JetLa = false;
EntreeVue = false;
DomeVue = false;
TreuilVue = false;
DomeOuvert = false;
CordeAttache = false;
CordeAccroche = false;
PanneauArrache = false;
ErukaVue = false;
FilBranche1 = false;
FilBranche2 = false;
Slot1 = false;
Slot2 = false;
Slot3 = false;
BrancheActive = 1;
CouleurFil1 = 1;
CouleurFil2 = 1;
CouleurFil3 = 1;
Set("/Variables:PositionAscenseur", 1);
Set("/Variables:Tab5Etage", 2);
Set("/Variables:TunnelDeffonce", false);
Set("/Variables:BombonneRamasse", false);
Set("/Variables:BombonnePlace", false);
Set("/Variables:Chauffe", false);
OrdiVue = false;
CuveOuverte = false;
PositionEtagere = 1;
PositionPoubelle = 1;
ErukaPoubelle = false;
ErukaMort = false;
PoubelleVue = false;
StepDessus = false;
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
Symbol 830 MovieClip Frame 1
stop();
Symbol 830 MovieClip Frame 2
gotoAndStop (1);
Symbol 830 MovieClip Frame 6
gotoAndStop (1);
Symbol 830 MovieClip Frame 7
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (9);
}
Symbol 830 MovieClip Frame 8
gotoAndPlay (10);
Symbol 830 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 830 MovieClip Frame 19
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 830 MovieClip Frame 22
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 830 MovieClip Frame 64
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 830 MovieClip Frame 91
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 830 MovieClip Frame 109
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 871 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 871 MovieClip Frame 16
if (getProperty("_root.Animatiques", _xscale) < 0) {
setProperty("_root.Animatiques", _xscale , getProperty("_root.Animatiques", _xscale) - (2 * getProperty("_root.Animatiques", _xscale)));
}
if (/Variables:CordeTemp eq "CordeGauche") {
tellTarget ("_root.CordeGauche") {
nextFrame();
};
Set("/Variables:CordeGauche", true);
Set("/Variables:ObjetRemove", 1);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
} else if (/Variables:CordeTemp eq "CordeDroite") {
tellTarget ("_root.CordeDroite") {
nextFrame();
};
Set("/Variables:CordeDroite", true);
Set("/Variables:ObjetRemove", 1);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
} else {
Set("/Variables:CordeDroite", false);
Set("/Variables:CordeGauche", false);
Set("/Variables:CordeCentre", true);
tellTarget ("_root.CordeDevant") {
nextFrame();
};
tellTarget ("_root.CordeDerriere") {
nextFrame();
};
tellTarget ("_root.CordeGauche") {
gotoAndStop (1);
};
tellTarget ("_root.CordeDroite") {
gotoAndStop (1);
};
}
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 885 MovieClip Frame 1
if (/Variables:CordeCentre == true) {
nextFrame();
}
stop();
Symbol 885 MovieClip Frame 2
stop();
Symbol 923 MovieClip Frame 1
setProperty("_root.Meg", _visible , 0);
Symbol 923 MovieClip Frame 22
if (_root.CacheFjBlesse.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Vie", /Variables:Vie - 25);
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));
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) - 20);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
}
Symbol 923 MovieClip Frame 23
Set("/Variables:JetLa", true);
tellTarget ("_root.Gts.Fj") {
gotoAndStop ("PasLa");
};
tellTarget ("_root.Collider") {
nextFrame();
};
tellTarget ("_root.JetDevant") {
nextFrame();
};
tellTarget ("_root.JetDerriere") {
nextFrame();
};
tellTarget ("_root.JetBouge") {
gotoAndStop (1);
};
tellTarget ("_root.Bonhomme") {
nextFrame();
};
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 975 MovieClip Frame 8
stop();
Symbol 978 MovieClip Frame 8
stop();
Symbol 1006 MovieClip Frame 71
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=6", 0);
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1101 MovieClip Frame 8
stop();
Symbol 1107 MovieClip Frame 59
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
stop();
Symbol 1108 MovieClip Frame 36
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
stop();
Symbol 1172 MovieClip Frame 90
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=7", 0);
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1212 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1212 MovieClip Frame 41
Set("/Variables:EntreeVue", true);
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1232 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1232 MovieClip Frame 38
Set("/Variables:DomeVue", true);
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1253 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1253 MovieClip Frame 34
Set("/Variables:TreuilVue", true);
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1321 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1321 MovieClip Frame 45
Set("/Variables:CordeAttache", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=8", 0);
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root.CordeDevant") {
nextFrame();
};
tellTarget ("_root.CordeDerriere") {
nextFrame();
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1330 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1330 MovieClip Frame 12
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=10", 0);
if (/Variables:CordeAccroche == false) {
tellTarget ("_parent") {
gotoAndStop ("CableTombe");
};
} else {
tellTarget ("_parent") {
gotoAndStop ("PanneauArrache");
};
}
Symbol 1332 MovieClip Frame 27
Set("/Variables:CordeAttache", false);
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root.CordeDevant") {
gotoAndStop (1);
};
tellTarget ("_root.CordeDerriere") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1340 MovieClip Frame 20
Set("/Variables:CordeAttache", false);
Set("/Variables:PanneauArrache", true);
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root.PanneauDevant") {
nextFrame();
};
tellTarget ("_root.PanneauDerriere") {
nextFrame();
};
tellTarget ("_root.CordeDevant") {
gotoAndStop (1);
};
tellTarget ("_root.CordeDerriere") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1346 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1346 MovieClip Frame 17
Set("/Variables:CordeAccroche", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=9", 0);
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1417 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1417 MovieClip Frame 49
tellTarget ("_root.Lumieres") {
play();
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=13", 0);
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1439 MovieClip Frame 1
if (/Variables:DomeOuvert == true) {
gotoAndStop (16);
}
stop();
Symbol 1439 MovieClip Frame 16
stop();
Symbol 1442 MovieClip Frame 1
tellTarget ("_root.Lumieres") {
stop();
};
tellTarget ("_root.Lasers") {
stop();
};
Symbol 1442 MovieClip Frame 24
Set("/Variables:DomeOuvert", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=12", 0);
Set("/Variables:ObjetRemove", 3);
Set("/Variables:ObjetSelect", 0);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 20);
setProperty("_root.Meg", _xscale , getProperty("_root.Meg", _xscale) + 5);
setProperty("_root.Meg", _yscale , getProperty("_root.Meg", _yscale) + 5);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
tellTarget ("_root.Lumieres") {
play();
};
tellTarget ("_root.Lasers") {
play();
};
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Dome") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1498 MovieClip Frame 22
Set("/Variables:ErukaVue", true);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1522 MovieClip Frame 1
gotoAndStop(/Variables:CouleurFil1);
Symbol 1525 MovieClip Frame 1
stop();
Symbol 1525 MovieClip Frame 2
stop();
Symbol 1526 MovieClip Frame 1
gotoAndStop(/Variables:CouleurFil2);
Symbol 1528 MovieClip Frame 1
stop();
Symbol 1528 MovieClip Frame 2
stop();
Symbol 1529 MovieClip Frame 1
gotoAndStop(/Variables:CouleurFil3);
Symbol 1530 MovieClip Frame 1
stop();
Symbol 1530 MovieClip Frame 2
stop();
Symbol 1531 MovieClip Frame 1
gotoAndStop(/Variables:BrancheActive);
Symbol 1541 MovieClip Frame 1
gotoAndStop(/Variables:BrancheActive);
Symbol 1548 MovieClip Frame 1
stop();
Instance of Symbol 1540 MovieClip in Symbol 1548 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("../../") {
gotoAndPlay ("Descend2");
};
} else if (Key.isDown(Key.SPACE) and (/Variables:Slot1 == false)) {
tellTarget ("../") {
play();
};
}
}
Symbol 1548 MovieClip Frame 7
Set("/Variables:Slot1", true);
Set("/Variables:CouleurFil1", /Variables:BrancheActive);
Set("/Variables:BrancheActive", /Variables:BrancheActive + 1);
tellTarget ("../Fil1") {
gotoAndStop (2);
};
Symbol 1548 MovieClip Frame 14
if (/Variables:BrancheActive == 4) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=17", 0);
Set("/Variables:BrancheActive", 1);
Set("/Variables:FilBranche2", true);
tellTarget ("_root.FilSol") {
gotoAndStop (3);
};
Set("/Variables:Slot1", false);
Set("/Variables:Slot2", false);
Set("/Variables:Slot3", false);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
Symbol 1550 MovieClip Frame 1
stop();
Instance of Symbol 1549 MovieClip in Symbol 1550 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("../../") {
gotoAndPlay ("Descend3");
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndPlay ("Monte1");
};
} else if (Key.isDown(Key.SPACE) and (/Variables:Slot2 == false)) {
tellTarget ("../") {
play();
};
}
}
Symbol 1550 MovieClip Frame 7
Set("/Variables:Slot2", true);
Set("/Variables:CouleurFil2", /Variables:BrancheActive);
Set("/Variables:BrancheActive", /Variables:BrancheActive + 1);
tellTarget ("../Fil2") {
gotoAndStop (2);
};
Symbol 1550 MovieClip Frame 14
if (/Variables:BrancheActive == 4) {
Set("/Variables:BrancheActive", 1);
Set("/Variables:FilBranche2", true);
tellTarget ("_root.FilSol") {
gotoAndStop (3);
};
Set("/Variables:Slot1", false);
Set("/Variables:Slot2", false);
Set("/Variables:Slot3", false);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
Symbol 1552 MovieClip Frame 1
stop();
Instance of Symbol 1551 MovieClip in Symbol 1552 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndPlay ("Monte2");
};
} else if (Key.isDown(Key.SPACE) and (/Variables:Slot3 == false)) {
tellTarget ("../") {
play();
};
}
}
Symbol 1552 MovieClip Frame 7
Set("/Variables:Slot3", true);
Set("/Variables:CouleurFil3", /Variables:BrancheActive);
Set("/Variables:BrancheActive", /Variables:BrancheActive + 1);
tellTarget ("../Fil3") {
gotoAndStop (2);
};
Symbol 1552 MovieClip Frame 14
trace(/Variables:BrancheActive);
if (/Variables:BrancheActive == 4) {
Set("/Variables:BrancheActive", 1);
Set("/Variables:FilBranche2", true);
tellTarget ("_root.FilSol") {
gotoAndStop (3);
};
Set("/Variables:Slot1", false);
Set("/Variables:Slot2", false);
Set("/Variables:Slot3", false);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_root.Animatiques") {
gotoAndStop (1);
};
}
Symbol 1553 MovieClip Frame 3
stop();
Symbol 1553 MovieClip Frame 8
stop();
Symbol 1553 MovieClip Frame 13
stop();
Symbol 1553 MovieClip Frame 18
stop();
Symbol 1553 MovieClip Frame 22
gotoAndStop (3);
Symbol 1575 MovieClip Frame 12
stop();
Symbol 1588 MovieClip Frame 1
Set("/Variables:Frame", int(getProperty("_root.Eruka", _currentframe)));
tellTarget ("_root.Eruka") {
gotoAndStop ("PasLa");
};
Symbol 1588 MovieClip Frame 22
Set("/Variables:PositionEtagere", 2);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=19", 0);
tellTarget ("_root.EtagereDevant") {
gotoAndStop (2);
};
tellTarget ("_root.EtagereDerriere") {
gotoAndStop (2);
};
tellTarget ("_root.Etagere2Devant") {
gotoAndStop (2);
};
tellTarget ("_root.Etagere2Derriere") {
gotoAndStop (2);
};
tellTarget ("_root.EtagereOmbres") {
gotoAndStop (2);
};
tellTarget ("_root.Eruka") {
gotoAndStop(/Variables:Frame);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1602 MovieClip Frame 1
if (/Variables:OrdiVue == true) {
gotoAndPlay (3);
}
Symbol 1602 MovieClip Frame 41
Set("/Variables:OrdiVue", true);
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1609 MovieClip Frame 1
if (/Variables:OrdiVue == true) {
gotoAndPlay (3);
}
Symbol 1609 MovieClip Frame 41
Set("/Variables:OrdiVue", true);
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1651 MovieClip Frame 23
Set("/Variables:ErukaPoubelle", true);
tellTarget ("_root.TimerEruka") {
gotoAndPlay (2);
};
tellTarget ("_root.Eruka") {
gotoAndStop ("PasLa");
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1670 MovieClip Frame 15
Set("/Variables:ErukaPoubelle", false);
tellTarget ("_root.Eruka") {
gotoAndStop ("Attend");
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1701 MovieClip Frame 6
stop();
Symbol 1702 MovieClip Frame 15
Set("/Variables:PositionPoubelle", 2);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=20", 0);
setProperty("_root.Meg", _x , 423);
setProperty("_root.Meg", _y , 229);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
tellTarget ("_root.Poubelle1Devant") {
nextFrame();
};
tellTarget ("_root.Poubelle1Derriere") {
nextFrame();
};
tellTarget ("_root.Poubelle2Devant") {
nextFrame();
};
tellTarget ("_root.Poubelle2Derriere") {
nextFrame();
};
tellTarget ("_root.PoubelleOmbres") {
nextFrame();
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1728 MovieClip Frame 1
Set("/Variables:Frame", int(getProperty("_root.Eruka", _currentframe)));
tellTarget ("_root.Eruka") {
gotoAndStop ("PasLa");
};
Symbol 1728 MovieClip Frame 5
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 1728 MovieClip Frame 12
setProperty("_root.Meg", _x , 277);
setProperty("_root.Meg", _y , 306);
setProperty("_root.Meg", _xscale , 53);
setProperty("_root.Meg", _yscale , 53);
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
if (/Variables:ErukaPoubelle == true) {
Set("/Variables:ErukaPoubelle", false);
tellTarget ("_root.Eruka") {
gotoAndStop (19);
};
} else {
tellTarget ("_root.Eruka") {
gotoAndStop(/Variables:Frame);
};
}
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1768 MovieClip Frame 19
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=21", 0);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (7);
};
tellTarget ("_root.Cassette") {
gotoAndStop (2);
};
Set("/Variables:CassetteRamasse", true);
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1795 MovieClip Frame 1
Set("/Variables:Frame", int(getProperty("_root.Eruka", _currentframe)));
tellTarget ("_root.Eruka") {
gotoAndStop ("PasLa");
};
Symbol 1795 MovieClip Frame 47
tellTarget ("_root.Eruka") {
gotoAndStop(/Variables:Frame);
};
tellTarget ("_root") {
gotoAndStop ("Tab6");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1826 MovieClip Frame 16
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=23", 0);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (8);
};
tellTarget ("_root.Cassette") {
gotoAndStop (2);
};
Set("/Variables:BombonneRamasse", true);
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1849 MovieClip Frame 24
tellTarget ("_root.Explosion") {
gotoAndStop (2);
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=25", 0);
Set("/Variables:BombonnePlace", true);
Set("/Variables:ObjetRemove", 7);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1859 MovieClip Frame 1
stop();
Symbol 1913 MovieClip Frame 69
tellTarget ("_root.Explosion") {
gotoAndPlay (3);
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=26", 0);
tellTarget ("_root.Explosion.Torche") {
gotoAndStop (2);
};
Set("/Variables:ObjetRemove", 4);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:Chauffe", true);
tellTarget ("_root") {
gotoAndStop ("Tab5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1914 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("/Variables:AnimJoue", false);
stop();
Symbol 1914 MovieClip Frame 2
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1914 MovieClip Frame 3
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 4
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 5
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 6
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 7
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 8
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 9
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 10
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 11
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 12
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 13
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 14
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 15
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 16
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 17
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _visible , 0);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 18
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 19
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 20
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 21
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 22
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 23
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 24
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 25
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
Set("/Variables:ErukaMort", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 26
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 27
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 28
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 29
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 30
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1914 MovieClip Frame 31
Set("/Variables:AnimJoue", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 1919 MovieClip Frame 1
stop();
Symbol 1919 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=99", 0);
gotoAndStop (1);
Symbol 1920 MovieClip Frame 1
stop();
Symbol 1920 MovieClip Frame 9
stop();
Symbol 1924 MovieClip Frame 1
if (/Variables:CordeParachuteRamasse == true) {
nextFrame();
}
stop();
Symbol 1924 MovieClip Frame 2
stop();
Symbol 1926 MovieClip Frame 1
if (eval ("/Variables:" + _name) == true) {
nextFrame();
}
stop();
Symbol 1926 MovieClip Frame 2
stop();
Symbol 1927 MovieClip Frame 1
if (/Variables:CordeCentre == true) {
nextFrame();
}
stop();
Symbol 1927 MovieClip Frame 2
stop();
Symbol 1936 MovieClip Frame 1
if (/Variables:JetLa == true) {
nextFrame();
}
stop();
Symbol 1936 MovieClip Frame 2
stop();
Symbol 1942 MovieClip Frame 1
if (/Variables:CasqueRamasse == true) {
nextFrame();
}
stop();
Symbol 1942 MovieClip Frame 2
stop();
Symbol 1943 MovieClip Frame 1
if (/Variables:JetLa == true) {
nextFrame();
}
stop();
Symbol 1943 MovieClip Frame 2
stop();
Symbol 1959 MovieClip Frame 1
if (/Variables:JetLa == true) {
gotoAndStop (100);
}
stop();
Instance of Symbol 1958 MovieClip in Symbol 1959 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("../") {
stop();
};
} else {
tellTarget ("../") {
play();
};
}
}
Symbol 1959 MovieClip Frame 99
gotoAndStop (1);
Symbol 1964 MovieClip Frame 1
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , getProperty("GtsSteppen", _xscale) - (100 - ((/Variables:BaseScaleGts * 100) / _xscale)));
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , getProperty("GtsSteppen", _yscale) - (100 - ((/Variables:BaseScaleGts * 100) / _yscale)));
Symbol 1967 MovieClip Frame 1
if (/Variables:ErukaMort == true) {
gotoAndStop (74);
}
Symbol 1967 MovieClip Frame 73
gotoAndPlay (1);
Symbol 1971 MovieClip Frame 1
if (/Variables:ErukaMort == true) {
gotoAndStop (6);
}
stop();
Symbol 1971 MovieClip Frame 2
stop();
Symbol 1971 MovieClip Frame 3
stop();
Symbol 1971 MovieClip Frame 4
stop();
Symbol 1971 MovieClip Frame 5
stop();
Symbol 1971 MovieClip Frame 6
stop();
Symbol 1972 MovieClip Frame 2
Set("/Variables:TableauStep", 1);
nextFrame();
Symbol 1972 MovieClip Frame 3
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , 130);
stop();
Symbol 1972 MovieClip Frame 4
Set("/Variables:TableauStep", 2);
nextFrame();
Symbol 1972 MovieClip Frame 5
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , 130);
stop();
Symbol 1972 MovieClip Frame 6
Set("/Variables:TableauStep", 3);
nextFrame();
Symbol 1972 MovieClip Frame 7
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
stop();
Symbol 1972 MovieClip Frame 8
Set("/Variables:TableauStep", 4);
nextFrame();
Symbol 1972 MovieClip Frame 9
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _yscale , 130);
stop();
Symbol 1972 MovieClip Frame 10
Set("/Variables:TableauStep", 5);
nextFrame();
Symbol 1972 MovieClip Frame 11
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _xscale , 130);
stop();
Symbol 1972 MovieClip Frame 12
Set("/Variables:TableauStep", 6);
nextFrame();
Symbol 1972 MovieClip Frame 13
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
stop();
Symbol 1980 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 1980 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 1980 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 1980 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 1980 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 1980 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 1980 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 1980 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 1988 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 1988 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 1994 Button
on (release) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
Symbol 1996 Button
on (keyPress "t") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AnimJoue == false) {
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:AnimJoue == false) {
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) {
if (/Variables:AnimJoue == false) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
}
on (keyPress "I") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AnimJoue == false) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
}
on (keyPress "s") {
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;
}
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
}
}
on (keyPress "S") {
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;
}
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
}
}
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 1997 MovieClip Frame 1
stop();
Symbol 1997 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 2009 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 2020 Button
on (release) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 2030 Button
on (release) {
nextFrame();
}
Symbol 2037 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 2040 Button
on (release) {
gotoAndStop (1);
}
Symbol 2041 MovieClip Frame 1
stop();
Symbol 2049 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 2060 Button
on (release) {
Set("/Variables:ObjetSelect", 0);
Set("/Variables:TransMail", "");
tellTarget ("MailMovie") {
gotoAndStop (1);
};
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 183);
setProperty("/Gts", _y , 173);
setProperty("/Gts", _xscale , 40);
setProperty("/Gts", _yscale , 40);
nextFrame();
}
Symbol 2062 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 2063 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 2065 MovieClip Frame 1
stop();
Symbol 2065 MovieClip Frame 2
stop();
Symbol 2065 MovieClip Frame 3
stop();
Symbol 2068 MovieClip Frame 1
stop();
Symbol 2068 MovieClip Frame 4
gotoAndPlay (2);
Symbol 2077 MovieClip Frame 1
stop();
Symbol 2077 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 2077 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 2077 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 2077 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 2077 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 2077 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 2077 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 2080 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();
Set("/Variables:InvObjetSelect", int(substring(_name, 6, 2)));
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
Symbol 2081 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);
};
Set("/Variables:InvObjetSelect", int(substring(_name, 6, 2)));
_x = /Variables:Xposition;
_y = /Variables:Yposition;
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
Symbol 2082 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 2083 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 2084 MovieClip Frame 1
if (/Variables:InvNb < 4) {
setProperty("../Chaine2", _x , getProperty("../BorneGauche", _x) + (/Variables:LargeurObjet / 4));
setProperty("../Chaine1", _x , getProperty("../Chaine2", _x) - (3 * /Variables:LargeurObjet));
setProperty("../Chaine3", _x , getProperty("../Chaine2", _x) + (3 * /Variables:LargeurObjet));
} else {
setProperty("../Chaine2", _x , getProperty("../BorneGauche", _x) + (/Variables:LargeurObjet / 4));
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 2084 MovieClip Frame 2
stop();
Symbol 2085 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 2085 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2085 MovieClip Frame 3
stop();
Symbol 2088 MovieClip Frame 1
stop();
Symbol 2088 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("../BorneGauche", _x) + (/Variables:LargeurObjet / 4));
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));
}
if ((/Variables:ObjetCombine == 1) or (/Variables:ObjetCombine == 2)) {
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (2);
};
}
gotoAndStop (1);
Symbol 2089 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 2089 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2089 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 2089 MovieClip Frame 4
gotoAndPlay (1);
Symbol 2089 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 2089 MovieClip Frame 6
gotoAndStop (1);
Symbol 2103 Button
on (release) {
gotoAndStop (2);
}
Symbol 2104 Button
on (release) {
gotoAndStop (3);
}
Symbol 2106 Button
on (release) {
gotoAndStop (4);
}
Symbol 2107 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 2107 MovieClip Frame 2
_quality = "LOW";
Symbol 2107 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 2107 MovieClip Frame 4
_quality = "HIGH";
Symbol 2108 Button
on (release) {
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 2109 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 2110 Button
on (keyPress "o") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
}
on (keyPress "O") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
}
on (keyPress "s") {
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;
}
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "S") {
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;
}
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
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 2118 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 2120 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 2123 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 2126 Button
on (press) {
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 2127 Button
on (press) {
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 2129 MovieClip Frame 1
stop();
Symbol 2129 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 2136 Button
on (press) {
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 2137 Button
on (press) {
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 2140 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 2141 MovieClip Frame 1
stop();
Symbol 2141 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 2145 MovieClip Frame 1
gotoAndStop(/Variables:Attachement);
Symbol 2145 MovieClip Frame 2
stop();
Symbol 2146 Button
on (press) {
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 2147 Button
on (press) {
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 2148 MovieClip Frame 1
stop();
Symbol 2148 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 2149 MovieClip Frame 1
stop();
Symbol 2149 MovieClip Frame 2
stop();
Symbol 2149 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 2149 MovieClip Frame 6
stop();
Symbol 2150 MovieClip Frame 1
stop();
Symbol 2152 Button
on (release) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 2153 Button
on (release) {
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
_root.Inventaire.swapdepths(_root.Gts);
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
prevFrame();
}
Symbol 2159 Button
on (release) {
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
_root.Inventaire.swapdepths(_root.Gts);
Set("/Variables:TransMail", "");
Set("/Variables:ObjetSelect", 0);
tellTarget ("MailMovie") {
gotoAndStop (1);
};
gotoAndStop (2);
}
Symbol 2162 Button
on (keyPress "o") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndPlay(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
}
on (keyPress "O") {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", false);
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
}
on (keyPress "s") {
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;
}
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
}
on (keyPress "S") {
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;
}
Set("/Variables:GtsFrame", getProperty("_root.Gts", _currentframe));
Set("/Variables:GtsVisible", getProperty("_root.Gts", _visible));
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);
tellTarget ("_root.GameSaved") {
play();
};
Set("/Variables:Stoppe", false);
Set("/Variables:InventaireOuvert", false);
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 2163 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 2166 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 2168 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 2168 MovieClip Frame 2
stop();
Symbol 2169 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
stop();
Symbol 2169 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
stop();
Instance of Symbol 2010 MovieClip "BoutonVolume" in Symbol 2169 MovieClip Frame 2
onClipEvent (load) {
top = _y;
left = _x - 110;
right = _x;
bottom = _y;
setProperty("_parent.BoutonVolume", _x , left + _root.s.getVolume());
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.s.setVolume(_x - left);
}
}
Symbol 2169 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 2010 MovieClip "BoutonVolume" in Symbol 2169 MovieClip Frame 3
onClipEvent (load) {
top = _y;
left = _x - 110;
right = _x;
bottom = _y;
setProperty("_parent.BoutonVolume", _x , left + _root.s.getVolume());
}
onClipEvent (enterFrame) {
if (dragging == true) {
_root.s.setVolume(_x - left);
}
}
Symbol 2329 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2329 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2329 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2329 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2329 MovieClip Frame 8
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2329 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2329 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2329 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2329 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2329 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2329 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 2329 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (47);
}
Symbol 2329 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2329 MovieClip Frame 72
gotoAndPlay (45);
Symbol 2329 MovieClip Frame 77
Set("/Variables:Stoppe", true);
Symbol 2329 MovieClip Frame 78
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);
}
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);
}
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 2329 MovieClip Frame 79
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);
}
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);
}
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 2329 MovieClip Frame 80
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);
}
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);
}
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 2329 MovieClip Frame 81
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);
}
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);
}
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 2329 MovieClip Frame 84
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2329 MovieClip Frame 86
Set("/Variables:Stoppe", false);
gotoAndPlay (1);
Symbol 2341 MovieClip Frame 1
stop();
Symbol 2341 MovieClip Frame 4
Set("/Variables:Vie", /Variables:Vie - 25);
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 2341 MovieClip Frame 7
gotoAndStop (1);
Symbol 2346 MovieClip Frame 1
stop();
Symbol 2346 MovieClip Frame 7
gotoAndStop (1);
Symbol 2469 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2469 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2469 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2469 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2469 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2469 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2469 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2469 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2469 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2469 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2469 MovieClip Frame 40
Set("/Variables:Stoppe", false);
play();
Symbol 2469 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2469 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2469 MovieClip Frame 73
gotoAndPlay (45);
Symbol 2469 MovieClip Frame 83
Set("/Variables:Stoppe", true);
Symbol 2469 MovieClip Frame 85
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);
}
Symbol 2469 MovieClip Frame 86
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);
}
Symbol 2469 MovieClip Frame 87
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);
}
Symbol 2469 MovieClip Frame 88
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);
}
Symbol 2469 MovieClip Frame 89
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);
}
}
Symbol 2469 MovieClip Frame 91
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2469 MovieClip Frame 92
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2585 MovieClip Frame 1
Set("_root:Idle", false);
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2585 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2585 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2585 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2585 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2585 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2585 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2585 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2585 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2585 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2585 MovieClip Frame 38
Set("/Variables:Stoppe", false);
play();
Symbol 2585 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (49);
}
Symbol 2585 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2585 MovieClip Frame 68
gotoAndPlay (45);
Symbol 2585 MovieClip Frame 80
Set("/Variables:Stoppe", true);
Symbol 2585 MovieClip Frame 81
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2585 MovieClip Frame 82
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2585 MovieClip Frame 83
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2585 MovieClip Frame 84
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
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 * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2585 MovieClip Frame 87
Set("/Variables:Stoppe", false);
/:Idle == true;
Symbol 2585 MovieClip Frame 89
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2701 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2701 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2701 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2701 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2701 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2701 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2701 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2701 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2701 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2701 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2701 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 2701 MovieClip Frame 41
if (random(20) == 10) {
gotoAndPlay (46);
}
Symbol 2701 MovieClip Frame 42
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (41);
}
Symbol 2701 MovieClip Frame 73
gotoAndPlay (40);
Symbol 2701 MovieClip Frame 84
Set("/Variables:Stoppe", true);
Symbol 2701 MovieClip Frame 85
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);
}
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);
}
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 2701 MovieClip Frame 86
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);
}
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);
}
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 2701 MovieClip Frame 87
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);
}
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);
}
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 2701 MovieClip Frame 88
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);
}
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);
}
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 2701 MovieClip Frame 89
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);
}
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);
}
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 2701 MovieClip Frame 93
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2701 MovieClip Frame 94
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2790 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2790 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2790 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2790 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2790 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2790 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2790 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2790 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2790 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2790 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2790 MovieClip Frame 37
Set("/Variables:Stoppe", false);
play();
Symbol 2790 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2790 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2790 MovieClip Frame 80
gotoAndPlay (45);
Symbol 2790 MovieClip Frame 91
Set("/Variables:Stoppe", true);
Symbol 2790 MovieClip Frame 92
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);
}
Symbol 2790 MovieClip Frame 93
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);
}
Symbol 2790 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 / 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);
}
Symbol 2790 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 / 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);
}
Symbol 2790 MovieClip Frame 99
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2790 MovieClip Frame 101
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2812 MovieClip Frame 1
if (/Variables:DeltaTombe != 0) {
if (/Variables:DeltaTombe == 6) {
Meurt = true;
}
setProperty("_root.Meg", _y , _root.Meg._y + 50);
Set("/Variables:DeltaTombe", /Variables:DeltaTombe - 1);
} else {
gotoAndPlay (3);
}
Symbol 2812 MovieClip Frame 2
gotoAndPlay (1);
Symbol 2812 MovieClip Frame 4
if (Meurt == true) {
Set("/Variables:StepMeurt", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndStepTombe");
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("StepTombe");
};
} else {
if (/Variables:GrosBobo == true) {
Set("/Variables:GrosBobo", false);
Set("/Variables:Vie", /Variables:Vie - 50);
} else {
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");
};
}
Set("/Variables:FinTrou", true);
tellTarget ("_parent") {
gotoAndStop (1);
};
}
stop();
Symbol 2814 MovieClip Frame 1
Set("/Variables:TientPanneau", false);
if (/Variables:FinTrou == true) {
Set("/Variables:FinTrou", false);
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 50);
}
stop();
Symbol 2814 MovieClip Frame 2
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 3
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 4
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 5
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 6
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 7
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 8
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 9
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 10
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 11
Set("/Variables:TientPanneau", false);
Symbol 2814 MovieClip Frame 12
Set("/Variables:TientPanneau", true);
Instance of Symbol 2815 MovieClip in Symbol 2844 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
tellTarget ("../") {
stop();
};
} else if (/Variables:JetLa == false) {
tellTarget ("../") {
play();
};
} else {
tellTarget ("../") {
gotoAndStop ("Mort");
};
}
}
Symbol 2844 MovieClip Frame 127
tellTarget ("_root.Gts.Fj") {
gotoAndStop (2);
};
Symbol 2844 MovieClip Frame 142
Set("/Variables:Balle", random(10) + 1);
Symbol 2844 MovieClip Frame 151
if ((getProperty("_root.Animatiques", _currentframe) != 1) or (/Variables:InventaireOuvert == true)) {
} else if (/Variables:CordeCentre == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("MechantPend");
};
} else {
tellTarget (_root.SonGun) {
play();
};
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
}
Symbol 2844 MovieClip Frame 155
Set("/Variables:Balle", random(10) + 1);
tellTarget (_root.SonGun) {
play();
};
tellTarget ("_root.Meg.Balle" + /Variables:Balle) {
gotoAndPlay (2);
};
Symbol 2844 MovieClip Frame 160
gotoAndStop (1);
Symbol 2849 MovieClip Frame 1
if (/Variables:JetLa == true) {
nextFrame();
}
stop();
Symbol 2849 MovieClip Frame 2
stop();
Symbol 2853 MovieClip Frame 1
stop();
Instance of Symbol 2863 MovieClip in Symbol 2864 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) and (/Variables:Jump == false)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Instance of Symbol 2865 MovieClip in Symbol 2866 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) and (/Variables:Jump == false)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Instance of Symbol 2870 MovieClip in Symbol 2871 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) and (/Variables:Jump == false)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Instance of Symbol 2875 MovieClip in Symbol 2876 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) and (/Variables:Jump == false)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Instance of Symbol 2880 MovieClip in Symbol 2881 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) and (/Variables:Jump == false)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Instance of Symbol 2885 MovieClip in Symbol 2886 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) and (/Variables:Jump == false)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Symbol 2887 MovieClip Frame 1
gotoAndStop(/Variables:Vitesse);
Symbol 2887 MovieClip Frame 2
stop();
Symbol 2887 MovieClip Frame 3
stop();
Symbol 2888 MovieClip Frame 1
gotoAndStop(/Variables:Vitesse);
Symbol 2888 MovieClip Frame 2
stop();
Symbol 2888 MovieClip Frame 3
stop();
Symbol 2889 MovieClip Frame 1
gotoAndStop(/Variables:Vitesse);
Symbol 2889 MovieClip Frame 2
stop();
Symbol 2889 MovieClip Frame 3
stop();
Symbol 2890 MovieClip Frame 1
gotoAndStop(/Variables:Vitesse);
Symbol 2890 MovieClip Frame 2
stop();
Symbol 2890 MovieClip Frame 3
stop();
Symbol 2891 MovieClip Frame 1
gotoAndStop(/Variables:Vitesse);
Symbol 2891 MovieClip Frame 2
stop();
Symbol 2891 MovieClip Frame 3
stop();
Symbol 2892 MovieClip Frame 1
if (getProperty("../../", _name) ne "ZoneDeplace") {
Set("/Variables:PositonAvant", /Variables:PositionObstacles);
Set("/Variables:PositionObstacles", random(/Variables:NbObstacles - 1) + 2);
}
if (/Variables:PositionObstacles == /Variables:PositonAvant) {
Set("/Variables:PositionObstacles", random(/Variables:NbObstacles - 1) + 2);
}
gotoAndStop(/Variables:PositionObstacles);
Symbol 2907 MovieClip Frame 3
Set("/Variables:Jump", true);
Symbol 2907 MovieClip Frame 14
Set("/Variables:Jump", false);
Set("/Variables:JumpStart", false);
Symbol 2907 MovieClip Frame 16
tellTarget ("../") {
gotoAndStop (2);
};
Symbol 2908 MovieClip Frame 1
gotoAndPlay(/Variables:PositionTourne);
Instance of Symbol 2901 MovieClip in Symbol 2908 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:JumpStart == false) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndPlay ("TourneGauche");
};
} else if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndPlay ("TourneDroite");
};
} else if (Key.isDown(Key.SPACE)) {
Set("/Variables:JumpStart", true);
tellTarget ("../") {
gotoAndStop ("Jump");
};
}
}
}
Symbol 2908 MovieClip Frame 2
Set("/Variables:VitesseTasse", 0);
stop();
Symbol 2908 MovieClip Frame 3
Set("/Variables:VitesseTasse", -2);
Instance of Symbol 2902 MovieClip in Symbol 2908 MovieClip Frame 3
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
} else {
tellTarget ("../") {
gotoAndPlay(12 - _currentframe);
};
}
}
Symbol 2908 MovieClip Frame 4
Set("/Variables:VitesseTasse", -4);
Symbol 2908 MovieClip Frame 5
Set("/Variables:VitesseTasse", -6);
Symbol 2908 MovieClip Frame 6
Set("/Variables:VitesseTasse", -8);
stop();
Symbol 2908 MovieClip Frame 7
Set("/Variables:VitesseTasse", -6);
Instance of Symbol 2903 MovieClip in Symbol 2908 MovieClip Frame 7
onClipEvent (enterFrame) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("../") {
gotoAndPlay(12 - _currentframe);
};
}
}
Symbol 2908 MovieClip Frame 8
Set("/Variables:VitesseTasse", -4);
Symbol 2908 MovieClip Frame 9
Set("/Variables:VitesseTasse", -2);
gotoAndStop (2);
Symbol 2908 MovieClip Frame 10
Set("/Variables:VitesseTasse", 0);
Symbol 2908 MovieClip Frame 11
Set("/Variables:VitesseTasse", 2);
Instance of Symbol 2904 MovieClip in Symbol 2908 MovieClip Frame 11
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
} else {
tellTarget ("../") {
gotoAndPlay(28 - _currentframe);
};
}
}
Symbol 2908 MovieClip Frame 12
Set("/Variables:VitesseTasse", 4);
Symbol 2908 MovieClip Frame 13
Set("/Variables:VitesseTasse", 6);
Symbol 2908 MovieClip Frame 14
Set("/Variables:VitesseTasse", 8);
stop();
Symbol 2908 MovieClip Frame 15
Set("/Variables:VitesseTasse", 6);
Instance of Symbol 2905 MovieClip in Symbol 2908 MovieClip Frame 15
onClipEvent (enterFrame) {
if (Key.isDown(Key.RIGHT)) {
tellTarget ("../") {
gotoAndPlay(28 - _currentframe);
};
}
}
Symbol 2908 MovieClip Frame 16
Set("/Variables:VitesseTasse", 4);
Symbol 2908 MovieClip Frame 17
Set("/Variables:VitesseTasse", 2);
gotoAndStop (2);
Symbol 2908 MovieClip Frame 18
Set("/Variables:VitesseTasse", 0);
Symbol 2908 MovieClip Frame 19
stop();
Instance of Symbol 2909 MovieClip in Symbol 2911 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
if (/:Ralentis != true) {
Set("/:Ralentis", true);
Set("/:Accelere", false);
tellTarget ("_root.Ralentis") {
gotoAndPlay (2);
};
}
} else {
tellTarget ("../") {
gotoAndPlay(16 - _currentframe);
};
}
}
Symbol 2911 MovieClip Frame 5
tellTarget ("_root.Ralentis") {
play();
};
Symbol 2911 MovieClip Frame 8
Set("/Variables:Vitesse", 1);
tellTarget ("/FondNeige/Obstacles/ObstacleCours") {
gotoAndStop (1);
};
stop();
Instance of Symbol 2910 MovieClip in Symbol 2911 MovieClip Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
if (/:Ralentis != true) {
tellTarget ("_root.Ralentis") {
gotoAndPlay (2);
};
Set("/:Ralentis", true);
Set("/:Accelere", false);
}
tellTarget ("../") {
gotoAndPlay(16 - _currentframe);
};
} else if (Key.isDown(Key.UP)) {
if (/:Accelere != true) {
tellTarget ("_root.Accelere") {
gotoAndPlay (2);
};
Set("/:Ralentis", false);
Set("/:Accelere", true);
}
}
}
Symbol 2911 MovieClip Frame 15
Set("/Variables:Vitesse", 2);
Set("/Variables:PositionTourne", getProperty("sjTourne", _currentframe));
tellTarget ("../") {
gotoAndStop ("Vitesse2");
};
Instance of Symbol 2912 MovieClip in Symbol 2913 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
Set("/Variables:PositionTourne", getProperty("../sjTourne", _currentframe));
tellTarget ("../../") {
gotoAndStop ("Vitesse3");
};
} else if (Key.isDown(Key.DOWN)) {
Set("/Variables:PositionTourne", getProperty("../sjTourne", _currentframe));
tellTarget ("../../") {
gotoAndStop ("Vitesse1");
};
}
}
Instance of Symbol 2914 MovieClip in Symbol 2916 MovieClip Frame 1
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
if (/:Accelere != true) {
tellTarget ("_root.Accelere") {
gotoAndPlay (2);
};
Set("/:Ralentis", false);
Set("/:Accelere", true);
}
} else {
tellTarget ("../") {
gotoAndPlay(16 - _currentframe);
};
}
}
Symbol 2916 MovieClip Frame 5
tellTarget ("_root.Accelere") {
play();
};
Symbol 2916 MovieClip Frame 8
Set("/Variables:Vitesse", 3);
tellTarget ("/FondNeige/Obstacles/ObstacleCours") {
gotoAndStop (3);
};
stop();
Instance of Symbol 2915 MovieClip in Symbol 2916 MovieClip Frame 9
onClipEvent (enterFrame) {
if (Key.isDown(Key.UP)) {
if (/:Accelere != true) {
tellTarget ("_root.Accelere") {
gotoAndPlay (2);
};
Set("/:Ralentis", false);
Set("/:Accelere", true);
}
tellTarget ("../") {
gotoAndPlay(16 - _currentframe);
};
} else if (Key.isDown(Key.DOWN)) {
if (/:Ralentis != true) {
tellTarget ("_root.Ralentis") {
gotoAndPlay (2);
};
Set("/:Ralentis", true);
Set("/:Accelere", false);
}
}
}
Symbol 2916 MovieClip Frame 15
Set("/Variables:Vitesse", 2);
Set("/Variables:PositionTourne", getProperty("sjTourne", _currentframe));
tellTarget ("../") {
gotoAndStop ("Vitesse2");
};
Symbol 2917 MovieClip Frame 1
stop();
Symbol 2917 MovieClip Frame 2
tellTarget ("/FondNeige/Obstacles/ObstacleCours") {
gotoAndStop (2);
};
if (Key.isDown(Key.UP)) {
gotoAndStop (3);
} else if (Key.isDown(Key.DOWN)) {
gotoAndStop (1);
}
stop();
Symbol 2917 MovieClip Frame 3
stop();
Instance of Symbol 2925 MovieClip in Symbol 2926 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDevant) or this.hitTest(_root.sjGlobal.sj.sjTourne.sjMovie.ZoneDerriere)) {
tellTarget ("_root") {
gotoAndStop ("Boom");
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde1.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde1") {
play();
};
}
if (this.hitTest(_root.Gts.ZoneDeplace.Garde2.ZoneDevant)) {
tellTarget ("_root.Gts.ZoneDeplace.Garde2") {
play();
};
}
}
Symbol 2932 MovieClip Frame 1
if (getProperty("../../", _name) ne "ZoneDeplace") {
Set("/Variables:PositionObstacles", random(/Variables:NbObstacles - 1) + 2);
}
gotoAndStop(/Variables:PositionObstacles);
Symbol 2936 MovieClip Frame 1
stop();
Symbol 2946 MovieClip Frame 1
stop();
Symbol 2947 MovieClip Frame 1
stop();
Instance of Symbol 2952 MovieClip "ZoneTir" in Symbol 2953 MovieClip Frame 1
onClipEvent (enterFrame) {
if (this.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Stoppe != true)) {
tellTarget ("_root.Lasers.Laser" + (substring(getProperty("_parent", _name), 8, 1))) {
play();
};
}
}
Symbol 2964 MovieClip Frame 1
if ((/Variables:PanneauArrache == true) and (/Variables:PanneauRamasse == false)) {
nextFrame();
} else if (/Variables:PanneauRamasse == true) {
gotoAndStop (3);
} else {
stop();
}
Symbol 2964 MovieClip Frame 2
stop();
Symbol 2964 MovieClip Frame 3
stop();
Symbol 2971 MovieClip Frame 1
if (/Variables:CordeAttache == true) {
nextFrame();
}
stop();
Symbol 2971 MovieClip Frame 2
stop();
Symbol 3002 MovieClip Frame 1
if (/Variables:MegGrimpe == true) {
setProperty("_root.Tourelle2Devant", _visible , 0);
gotoAndStop (17);
}
stop();
Instance of Symbol 2980 MovieClip in Symbol 3002 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if (key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _x , 195);
setProperty("_root.Meg", _y , 368);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2982 MovieClip in Symbol 3002 MovieClip Frame 3
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
gotoAndStop(49 + (50 - _currentframe));
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2991 MovieClip in Symbol 3002 MovieClip Frame 48
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if (((key.isDown(Key.SPACE) and (/Variables:CordeAttache == true)) and (/Variables:PanneauArrache == false)) and (/Variables:CordeAccroche == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("AccrocheCable");
};
}
if (key.isDown(Key.UP)) {
}
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2993 MovieClip in Symbol 3002 MovieClip Frame 49
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if (((key.isDown(Key.SPACE) and (/Variables:CordeAttache == true)) and (/Variables:PanneauArrache == false)) and (/Variables:CordeAccroche == false)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("AccrocheCable");
};
}
if (key.isDown(Key.UP)) {
}
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 2995 MovieClip in Symbol 3002 MovieClip Frame 50
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
gotoAndStop(49 + (50 - _currentframe));
};
}
}
}
Instance of Symbol 3001 MovieClip in Symbol 3002 MovieClip Frame 94
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (/Variables:Stoppe != true)) {
if (key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _x , 195);
setProperty("_root.Meg", _y , 368);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
gotoAndStop(33 + (34 - _currentframe));
};
}
}
}
Symbol 3009 MovieClip Frame 1
stop();
Symbol 3009 MovieClip Frame 6
if (/Variables:TientPanneau == false) {
Set("/Variables:Vie", /Variables:Vie - 25);
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));
} else {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 40);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PerceDome");
};
gotoAndStop (1);
}
Symbol 3022 MovieClip Frame 1
if (/Variables:FilBranche2 == true) {
gotoAndStop (3);
} else if (/Variables:FilBranche1 == true) {
gotoAndStop (2);
} else {
stop();
}
Symbol 3022 MovieClip Frame 2
stop();
Symbol 3022 MovieClip Frame 3
stop();
Symbol 3037 MovieClip Frame 1
if (/Variables:ExtincteurRamasse == true) {
nextFrame();
}
stop();
Symbol 3037 MovieClip Frame 2
stop();
Symbol 3040 MovieClip Frame 1
if (/Variables:FilRamasse == true) {
nextFrame();
}
stop();
Symbol 3040 MovieClip Frame 2
stop();
Symbol 3088 MovieClip Frame 1
stop();
Instance of Symbol 3052 MovieClip in Symbol 3088 MovieClip Frame 2
onClipEvent (enterFrame) {
if (/Variables:Stoppe != true) {
if (key.isDown(Key.DOWN)) {
setProperty("_root.Meg", _x , 290);
setProperty("_root.Meg", _y , 263);
setProperty("_root.Meg", _xscale , 24);
setProperty("_root.Meg", _yscale , 24);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Instance of Symbol 3054 MovieClip in Symbol 3088 MovieClip Frame 3
onClipEvent (enterFrame) {
if (/Variables:Stoppe != true) {
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
gotoAndStop(94 - int(_currentframe));
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
}
Symbol 3088 MovieClip Frame 47
gotoAndPlay (94);
Instance of Symbol 3066 MovieClip in Symbol 3088 MovieClip Frame 48
onClipEvent (enterFrame) {
if (/Variables:Stoppe != true) {
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
gotoAndPlay ("Debarquement");
};
}
}
}
Instance of Symbol 3067 MovieClip in Symbol 3088 MovieClip Frame 49
onClipEvent (enterFrame) {
if (/Variables:Stoppe != true) {
if (key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (key.isDown(Key.UP)) {
tellTarget ("_parent") {
gotoAndStop(94 - int(_currentframe));
};
}
}
}
Symbol 3088 MovieClip Frame 93
setProperty("_root.Meg", _x , 290);
setProperty("_root.Meg", _y , 263);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
gotoAndStop (1);
Symbol 3088 MovieClip Frame 111
setProperty("_root.Meg", _x , 313);
setProperty("_root.Meg", _y , 123);
setProperty("_root.Meg", _xscale , 24);
setProperty("_root.Meg", _yscale , 24);
setProperty("_root.Meg", _visible , 1);
tellTarget ("_root.Meg") {
gotoAndStop (7);
};
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
gotoAndStop (1);
Symbol 3117 MovieClip Frame 1
stop();
Symbol 3117 MovieClip Frame 2
stop();
Symbol 3119 MovieClip Frame 1
stop();
Symbol 3125 MovieClip Frame 38
if (/Variables:Safe == false) {
Set("/Variables:Vie", /Variables:Vie - 50);
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 3126 MovieClip Frame 1
if (/Variables:TunnelDeffonce == true) {
gotoAndStop (46);
} else if (/Variables:Chauffe == true) {
tellTarget ("_root.SonChalumeau") {
gotoAndPlay (2);
};
gotoAndPlay (3);
} else if (/Variables:BombonnePlace == true) {
nextFrame();
} else {
stop();
}
Symbol 3126 MovieClip Frame 2
stop();
Symbol 3126 MovieClip Frame 45
Set("/Variables:TunnelDeffonce", true);
if (/Variables:Tab5Etage == 1) {
tellTarget ("_root.Collider") {
gotoAndStop (3);
};
} else {
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
}
Symbol 3126 MovieClip Frame 46
stop();
Symbol 3139 MovieClip Frame 1
stop();
Symbol 3139 MovieClip Frame 2
stop();
Symbol 3145 MovieClip Frame 1
if (/Variables:PositionAscenseur == 2) {
gotoAndStop (11);
}
stop();
Symbol 3145 MovieClip Frame 2
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=10&stage=24", 0);
Symbol 3145 MovieClip Frame 10
Set("/Variables:PositionAscenseur", 2);
Set("/Variables:Stoppe", false);
Set("/Variables:Tab5Etage", 1);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.PallierBasDevant", _visible , 1);
setProperty("_root.Meg", _x , 141);
setProperty("_root.Meg", _y , 389);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
tellTarget ("MegAsc") {
gotoAndStop (1);
};
Symbol 3145 MovieClip Frame 11
Set("/Variables:Safe", false);
stop();
Symbol 3145 MovieClip Frame 17
Set("/Variables:Safe", true);
Symbol 3145 MovieClip Frame 21
tellTarget ("_root.ManetteHautDevant") {
gotoAndStop (1);
};
tellTarget ("MegAsc") {
gotoAndStop (1);
};
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root.Collider") {
gotoAndStop (1);
};
setProperty("_root.PallierBasDevant", _visible , 0);
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 108);
setProperty("_root.Meg", _y , 165);
Set("/Variables:PositionAscenseur", 1);
Set("/Variables:Tab5Etage", 2);
Set("/Variables:Stoppe", false);
Symbol 3149 MovieClip Frame 1
if (/Variables:PositionAscenseur == 2) {
nextFrame();
}
stop();
Symbol 3149 MovieClip Frame 2
stop();
Symbol 3151 MovieClip Frame 1
stop();
Symbol 3151 MovieClip Frame 2
stop();
Symbol 3155 MovieClip Frame 1
if (/Variables:Tab5Etage == 1) {
nextFrame();
} else {
stop();
}
Symbol 3155 MovieClip Frame 2
if (/Variables:TunnelDeffonce == true) {
nextFrame();
}
stop();
Symbol 3155 MovieClip Frame 3
stop();
Symbol 3162 MovieClip Frame 1
if (/Variables:PositionPoubelle == 2) {
nextFrame();
}
stop();
Symbol 3162 MovieClip Frame 2
stop();
Symbol 3165 MovieClip Frame 1
if (/Variables:PositionEtagere == 2) {
nextFrame();
}
stop();
Symbol 3165 MovieClip Frame 2
stop();
Symbol 3174 MovieClip Frame 1
if (/Variables:PositionPoubelle == 2) {
nextFrame();
}
stop();
Symbol 3174 MovieClip Frame 2
stop();
Symbol 3178 MovieClip Frame 1
if (/Variables:CuveOuverte == true) {
gotoAndStop (5);
}
stop();
Symbol 3178 MovieClip Frame 5
stop();
Symbol 3183 MovieClip Frame 1
if (/Variables:PositionEtagere == 2) {
nextFrame();
}
stop();
Symbol 3183 MovieClip Frame 2
stop();
Symbol 3184 MovieClip Frame 1
if (/Variables:PositionEtagere == 2) {
nextFrame();
}
stop();
Symbol 3184 MovieClip Frame 2
stop();
Symbol 3185 MovieClip Frame 1
if (/Variables:PositionPoubelle == 2) {
nextFrame();
}
stop();
Symbol 3185 MovieClip Frame 2
stop();
Symbol 3188 MovieClip Frame 1
if (/Variables:CassetteRamasse == true) {
nextFrame();
}
stop();
Symbol 3188 MovieClip Frame 2
stop();
Symbol 3213 MovieClip Frame 6
if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
Set("/Variables:Vie", /Variables:Vie - 10);
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 3213 MovieClip Frame 17
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 3214 MovieClip Frame 1
stop();
Symbol 3214 MovieClip Frame 2
stop();
Symbol 3217 MovieClip Frame 1
stop();
Symbol 3217 MovieClip Frame 2
stop();
Symbol 3228 MovieClip Frame 6
if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
Set("/Variables:Vie", /Variables:Vie - 10);
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 3228 MovieClip Frame 17
tellTarget ("../") {
gotoAndStop (1);
};
Symbol 3229 MovieClip Frame 1
stop();
Symbol 3229 MovieClip Frame 2
stop();
Symbol 3231 MovieClip Frame 1
stop();
Symbol 3231 MovieClip Frame 2
stop();
Symbol 3238 MovieClip Frame 1
stop();
Symbol 3238 MovieClip Frame 2
stop();
Symbol 3276 MovieClip Frame 1
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Instance of Symbol 3215 MovieClip in Symbol 3276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (/Variables:ErukaMort == true) {
tellTarget ("../") {
gotoAndStop ("PasLa");
};
} else if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
tellTarget ("../") {
stop();
};
tellTarget ("../Pos") {
nextFrame();
};
} else if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 1
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 2
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 3
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 4
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 5
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 6
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 7
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 8
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 9
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 10
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 11
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 12
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 13
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 14
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 15
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 16
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 17
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 18
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 19
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 19
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 20
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 21
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 22
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 23
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 24
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 25
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 26
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 27
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 28
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 29
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 30
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 31
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 32
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 33
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 34
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 35
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 36
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 37
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Symbol 3276 MovieClip Frame 38
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (3);
};
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 38
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 39
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 40
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 41
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 42
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 43
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 44
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 45
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 46
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 47
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 48
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 49
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 50
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 51
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 52
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 53
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 54
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 55
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Symbol 3276 MovieClip Frame 56
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (4);
};
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 56
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 57
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 58
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 59
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 60
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 61
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 62
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 63
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 64
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 65
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 66
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 67
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 68
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 69
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 70
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 71
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 72
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 73
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
if (/Variables:PositionEtagere == 2) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ErukaPlongePoubelle");
};
}
Symbol 3276 MovieClip Frame 74
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 74
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 75
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 76
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 77
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 78
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 79
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 80
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 80
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 81
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 82
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 83
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 84
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 85
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 86
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 87
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Symbol 3276 MovieClip Frame 88
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (1);
};
Instance of Symbol 3216 MovieClip in Symbol 3276 MovieClip Frame 88
onClipEvent (enterFrame) {
if (_root.Meg.Pieds.hitTest(this) and (/Variables:StepDessus == false)) {
Set("/Variables:StepDessus", true);
_root.Eruka.swapDepths(_root.BackEruka);
}
if ((!_root.Meg.Pieds.hitTest(this)) and (/Variables:StepDessus == true)) {
Set("/Variables:StepDessus", false);
_root.Eruka.swapDepths(_root.BackEruka);
}
}
Symbol 3276 MovieClip Frame 89
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 90
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 91
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
Symbol 3276 MovieClip Frame 92
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (2);
};
gotoAndStop (1);
Symbol 3276 MovieClip Frame 93
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Instance of Symbol 3273 MovieClip in Symbol 3276 MovieClip Frame 93
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
tellTarget ("../") {
stop();
};
tellTarget ("../Pos") {
nextFrame();
};
} else if (_root.CachePoubelle1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("../") {
gotoAndStop ("Hesite");
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Symbol 3276 MovieClip Frame 94
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Random = random(100);
if (80 < Random) {
gotoAndStop (106);
} else if (60 < Random) {
gotoAndStop (116);
} else {
nextFrame();
}
Symbol 3276 MovieClip Frame 95
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Instance of Symbol 3273 MovieClip in Symbol 3276 MovieClip Frame 95
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
tellTarget ("../") {
stop();
};
tellTarget ("../Pos") {
nextFrame();
};
} else if (_root.CachePoubelle1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("../") {
gotoAndStop ("Hesite");
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Symbol 3276 MovieClip Frame 96
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 97
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 98
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 99
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 100
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 101
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 102
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 103
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 104
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 105
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
gotoAndStop (93);
Symbol 3276 MovieClip Frame 106
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Instance of Symbol 3273 MovieClip in Symbol 3276 MovieClip Frame 106
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
tellTarget ("../") {
stop();
};
tellTarget ("../Pos") {
nextFrame();
};
} else if (_root.CachePoubelle1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("../") {
gotoAndStop ("Hesite");
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Symbol 3276 MovieClip Frame 107
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 108
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 109
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 110
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 111
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 112
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 113
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 114
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 115
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
gotoAndStop (93);
Symbol 3276 MovieClip Frame 116
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Instance of Symbol 3274 MovieClip in Symbol 3276 MovieClip Frame 116
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
tellTarget ("../") {
stop();
};
tellTarget ("../Pos") {
nextFrame();
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Symbol 3276 MovieClip Frame 117
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 118
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 119
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 120
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 121
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 122
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 123
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
if (_root.CachePoubelle1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
gotoAndStop (135);
} else {
nextFrame();
}
Symbol 3276 MovieClip Frame 124
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Instance of Symbol 3274 MovieClip in Symbol 3276 MovieClip Frame 124
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else if (_root.Meg.Pieds.hitTest(_root.Eruka.ZoneFrappe)) {
tellTarget ("../") {
stop();
};
tellTarget ("../Pos") {
nextFrame();
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Symbol 3276 MovieClip Frame 125
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 126
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 127
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 128
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 129
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 130
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 131
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 132
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 133
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 134
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
gotoAndStop (93);
Symbol 3276 MovieClip Frame 135
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Instance of Symbol 3275 MovieClip in Symbol 3276 MovieClip Frame 135
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == true) or (getProperty("_root.Animatiques", _currentframe) != 1)) {
tellTarget ("../") {
stop();
};
} else {
tellTarget ("../") {
nextFrame();
};
}
}
Symbol 3276 MovieClip Frame 136
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Symbol 3276 MovieClip Frame 137
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (5);
};
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("ErukaPlongePoubelle");
};
gotoAndStop (138);
Symbol 3276 MovieClip Frame 138
tellTarget ("_root.Gts.Eruka") {
gotoAndStop (6);
};
stop();
Symbol 3278 MovieClip Frame 1
if ((/Variables:ErukaPoubelle == true) and (/Variables:ErukaMort == false)) {
nextFrame();
}
stop();
Instance of Symbol 3277 MovieClip in Symbol 3278 MovieClip Frame 2
onClipEvent (enterFrame) {
if (((/Variables:InventaireOuvert == true) or (/Variables:Stoppe == true)) or (/Variables:ErukaPoubelle == false)) {
tellTarget ("../") {
stop();
};
} else {
tellTarget ("../") {
play();
};
}
}
Symbol 3278 MovieClip Frame 66
if (/Variables:ErukaMort == false) {
Set("/Variables:Stoppe", true);
Set("/Variables:ErukaPoubelle", false);
tellTarget ("_root.Inventaire") {
gotoAndStop (1);
};
tellTarget ("_root.Animatiques") {
gotoAndStop ("ErukaSortPoubelle");
};
}
Symbol 3283 MovieClip Frame 1
if (/Variables:PositionEtagere == 2) {
nextFrame();
}
stop();
Symbol 3283 MovieClip Frame 2
stop();
Symbol 3286 MovieClip Frame 1
if (/Variables:PositionPoubelle == 2) {
nextFrame();
}
stop();
Symbol 3286 MovieClip Frame 2
stop();
Symbol 3287 MovieClip Frame 1
if (/Variables:Tab5Etage == 1) {
nextFrame();
} else {
stop();
}
Symbol 3322 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 3323 MovieClip Frame 1
fscommand ("load");
Symbol 3323 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 3323 MovieClip Frame 3
stop();
Symbol 3326 Button
on (release) {
stopAllSounds();
gotoAndPlay (1118);
}
Symbol 3605 MovieClip Frame 20
stop();