Frame 1
g_episode_name = "steppenwolf_episode_16";
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 = 1439408;
}
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 624
stop();
Frame 840
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=1", 0);
Frame 841
s = new Sound();
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/timerstart.swf", "MovieTimer");
stop();
}
Frame 846
gotoAndPlay (848);
Frame 848
Set("/Variables:From", "Debut");
gotoAndPlay (849);
Frame 849
Set("/Variables:EtatActif", "Tab1");
Frame 850
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:EtatActif", "Tab1");
Set("/:Idle", true);
if (/Variables:From eq "Tab2") {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.MegArriveTab2") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
Frame 851
Set("/Variables:EtatActif", "Tab1");
Set("/Variables:EtatVide", "Tab1Stoppe");
Set("/Variables:MegGrimpe", false);
if (/Variables:From eq "Tab2") {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.MegArriveTab2") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
stop();
Instance of Symbol 2076 MovieClip in Frame 851
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (/Variables:Poisson3Ramasse == false) {
if (990 < random(1000)) {
tellTarget ("_root.Poisson3.Poisson") {
play();
};
}
}
if ((((_root.CachePoisson.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 1)) and (/Variables:Poisson3Ramasse == false)) and Key.isDown(Key.SPACE)) and (/Variables:NetFixe == true)) {
Set("/Variables:Poisson3Ramasse", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttrapePoisson");
};
tellTarget ("_root.Poisson3") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
} else if (((((_root.CachePoisson.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 5)) and (/Variables:Poisson3Ramasse == false)) and Key.isDown(Key.SPACE)) and (/Variables:NetFixe == false)) and (/Variables:MegCri == false)) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("DontWork");
};
}
if (((/Variables:ObjetSelect == 8) and Key.isDown(Key.SPACE)) and (/Variables:SangPris == true)) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if ((_root.CacheMat.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:MatRamasse == false)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=2", 0);
Set("/Variables:MatRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Mat") {
gotoAndStop (2);
};
}
if (((_root.CacheCoque.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 11)) and (/Variables:CoquePerce == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PerceCoque");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (((_root.CacheCoque.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ChargeRamasse == false)) and (/Variables:CoquePerce == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendCharge");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (((_root.CacheBrisePic.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 1)) and (/Variables:Tab1TentaculeMort == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("TueTentacule1");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser.Obj") {
play();
};
if (_root.CacheJeyser.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
}
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1TentaculeMort == false)) {
tellTarget ("_root.Tentacule") {
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 / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Tombe");
};
}
}
};
}
Frame 856
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Instance of Symbol 2088 MovieClip in Frame 856
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1TentaculeMort == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
}
}
}
Frame 857
Set("/Variables:EtatActif", "Tab1Tombe");
Set("/Variables:EtatVide", "Tab1Tombe");
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
Frame 863
Set("/Variables:EtatActif", "Tab2");
Frame 864
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:EtatActif", "Tab2");
Set("/Variables:Stoppe", true);
if (/Variables:From eq "Tab1") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
gotoAndStop (872);
} else if (/Variables:From eq "Tab1Corniche") {
Set("/Variables:Stoppe", true);
gotoAndStop (871);
}
Frame 865
Set("/Variables:EtatActif", "Tab2");
Set("/Variables:EtatVide", "Tab2Stoppe");
Set("/Variables:MegGrimpe", false);
stop();
Instance of Symbol 2149 MovieClip in Frame 865
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (((/Variables:ObjetSelect == 8) and Key.isDown(Key.SPACE)) and (/Variables:SangPris == true)) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if (((_root.CacheEntreBateau.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:WinchRamasse == false)) and Key.isDown(Key.SPACE)) and (/Variables:Tab2CornicheEcroule == true)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendWinch");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2TentaculeMort == false)) {
tellTarget ("_root.Tentacule") {
play();
};
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser2.Obj") {
play();
};
if (_root.CacheJeyser2.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser2.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser2") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab2Stoppe");
};
}
}
if (990 < random(1000)) {
tellTarget ("_root.Jeyser1.Obj") {
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 / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab2Tombe");
};
}
}
};
}
Frame 871
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Instance of Symbol 2154 MovieClip in Frame 871
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2TentaculeMort == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
}
}
}
Frame 872
Set("/Variables:EtatActif", "Tab2Tombe");
Set("/Variables:EtatVide", "Tab2Tombe");
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
Frame 879
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=3", 0);
Set("/Variables:EtatActif", "Tab2b");
Frame 880
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab2bStoppe");
Set("/Variables:EtatActif", "Tab2b");
Set("/Variables:Stoppe", true);
if (/Variables:From eq "Tab1") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
gotoAndStop (888);
}
if (/Variables:From eq "Tab3") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.ArriveTab3") {
gotoAndPlay (2);
};
gotoAndStop (887);
}
Frame 881
Set("/Variables:EtatActif", "Tab2b");
Set("/Variables:EtatVide", "Tab2bStoppe");
Set("/Variables:MegGrimpe", false);
if (/Variables:From eq "Tab3") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.ArriveTab3") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
}
stop();
Instance of Symbol 2156 MovieClip in Frame 881
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (((/Variables:ObjetSelect == 8) and Key.isDown(Key.SPACE)) and (/Variables:SangPris == true)) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if ((_root.CacheBateauGauche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CanotRamasse == false)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendCanot");
};
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
}
if (234 < getProperty("_root.Meg", _y)) {
setProperty("_root.TiBateauDevant", _visible , 0);
} else {
setProperty("_root.TiBateauDevant", _visible , 1);
}
if (333 < getProperty("_root.Meg", _y)) {
setProperty("_root.SubDevant", _visible , 0);
} else {
setProperty("_root.SubDevant", _visible , 1);
}
if (((_root.CacheSub.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:SubRouePlace == true)) and Key.isDown(Key.SPACE)) and (/Variables:TorpilleRamasse == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendTorpille");
};
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
}
if (((_root.CacheSub.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:SubRouePlace == false)) and (/Variables:ObjetSelect == 10)) and Key.isDown(Key.SPACE)) {
Set("/Variables:SubRouePlace", true);
Set("/Variables:ObjetRemove", 10);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.SubDevant.Roue") {
gotoAndStop (2);
};
tellTarget ("_root.SubDerriere.Roue") {
gotoAndStop (2);
};
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab2TentaculeMort == false)) {
tellTarget ("_root.Tentacule") {
play();
};
}
if (990 < random(1000)) {
tellTarget ("_root.Jeyser2.Obj") {
play();
};
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser1.Obj") {
play();
};
if (_root.CacheJeyser1.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser1.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser1") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab2bStoppe");
};
}
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab2bTombe");
};
}
}
};
}
Frame 887
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Instance of Symbol 2088 MovieClip in Frame 887
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1TentaculeMort == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
}
}
}
Frame 888
Set("/Variables:EtatActif", "Tab2bTombe");
Set("/Variables:EtatVide", "Tab2bTombe");
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
Frame 895
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=7", 0);
Set("/Variables:EtatActif", "Tab3");
Frame 896
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:Stoppe", true);
if (/Variables:From eq "Tab2") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
gotoAndStop (904);
}
if (/Variables:From eq "Tab4") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.ArriveTab4") {
gotoAndPlay (2);
};
gotoAndStop (903);
}
Frame 897
Set("/Variables:EtatActif", "Tab3");
Set("/Variables:EtatVide", "Tab3Stoppe");
Set("/Variables:MegGrimpe", false);
if (/Variables:From eq "Tab4") {
Set("/Variables:Stoppe", true);
tellTarget ("_root.ArriveTab4") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
stop();
Instance of Symbol 2185 MovieClip in Frame 897
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (((/Variables:ObjetSelect == 8) and Key.isDown(Key.SPACE)) and (/Variables:SangPris == true)) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if (((_root.CacheLacheMine.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 12)) and (/Variables:MineLache == false)) and Key.isDown(Key.SPACE)) {
Set("/Variables:MineLache", true);
Set("/Variables:ObjetRemove", 12);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.MinePlaceDevant") {
gotoAndPlay (2);
tellTarget ("_root.MinePlaceDerriere") {
gotoAndPlay (2);
};
};
}
if (/Variables:Poisson2Ramasse == false) {
if (990 < random(1000)) {
tellTarget ("_root.Poisson2.Poisson") {
play();
};
}
}
if (((_root.Poisson2.CachePoisson.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Poisson2Ramasse == false)) and Key.isDown(Key.SPACE)) and ((/Variables:ObjetSelect == 5) or ((/Variables:ObjetSelect == 1) and (/Variables:NetFixe == true)))) {
Set("/Variables:Poisson2Ramasse", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttrapePoisson");
};
tellTarget ("_root.Poisson2") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
if (/Variables:Tab3TentaculeMort == true) {
setProperty("_root.MinePlaceDevant", _visible , 0);
} else if (290 < getProperty("_root.Meg", _y)) {
setProperty("_root.MinePlaceDevant", _visible , 0);
} else {
setProperty("_root.MinePlaceDevant", _visible , 1);
}
if ((_root.CacheMine.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:MineRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=8", 0);
Set("/Variables:MineRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.MineDevant") {
gotoAndStop (2);
};
tellTarget ("_root.MineDerriere") {
gotoAndStop (2);
};
}
if ((_root.CacheLanceTorpille.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 7)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LanceTorpille");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
if ((_root.CacheGrille.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:GrilleRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=9", 0);
Set("/Variables:GrilleRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
tellTarget ("_root.Grille") {
gotoAndStop (2);
};
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab3TentaculeMort == false)) {
tellTarget ("_root.Tentacule") {
play();
};
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser2.Obj") {
play();
};
if (_root.CacheJeyser2.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser2.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser2") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab3toppe");
};
}
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser1.Obj") {
play();
};
if (_root.CacheJeyser1.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser1.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser1") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
}
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab3Tombe");
};
}
}
};
}
Frame 903
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Instance of Symbol 2193 MovieClip in Frame 903
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab3TentaculeMort == false)) {
tellTarget ("_root.Tentacule") {
play();
};
}
}
}
Frame 904
Set("/Variables:EtatActif", "Tab3Tombe");
Set("/Variables:EtatVide", "Tab3Tombe");
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
Frame 909
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=11", 0);
Set("/Variables:EtatActif", "Tab4");
setProperty("_root.Bateau2Devant", _visible , 0);
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (6);
};
Frame 910
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:EtatActif", "Tab4");
if (/Variables:From eq "Tab3") {
Set("/Variables:Stoppe", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
gotoAndStop (918);
}
if (/Variables:From eq "Tab5Droite") {
setProperty("_root.Meg", _x , 264);
setProperty("_root.Meg", _y , 167);
tellTarget ("_root.Meg") {
gotoAndStop (2);
};
}
if (/Variables:From eq "Tab5Gauche") {
setProperty("_root.Meg", _x , 408);
setProperty("_root.Meg", _y , 157);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Frame 911
Set("/Variables:EtatActif", "Tab4");
Set("/Variables:EtatVide", "Tab4Stoppe");
Set("/Variables:MegGrimpe", false);
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (6);
};
stop();
Instance of Symbol 2239 MovieClip in Frame 911
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (((/Variables:ObjetSelect == 8) and Key.isDown(Key.SPACE)) and (/Variables:SangPris == true)) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:VolcanPet == false)) {
tellTarget ("_root.Tentacule") {
play();
};
}
if ((_root.CacheLachePoisson2.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 6)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=17", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LachePoisson");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if ((/Variables:VolcanPet == true) and _root.CacheVersTab5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (347 < getProperty("_root.Meg", _x)) {
Set("/Variables:From", "Tab4Droite");
} else {
Set("/Variables:From", "Tab4Gauche");
}
if (/Variables:NbPoissonLache == 0) {
tellTarget ("_root") {
gotoAndPlay ("Tab5aIni");
};
} else if (/Variables:NbPoissonLache == 1) {
tellTarget ("_root") {
gotoAndPlay ("Tab5bIni");
};
} else if (/Variables:NbPoissonLache == 2) {
tellTarget ("_root") {
gotoAndPlay ("Tab5cIni");
};
} else if (/Variables:NbPoissonLache == 3) {
tellTarget ("_root") {
gotoAndPlay ("Tab5dIni");
};
}
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab4TentaculeMort == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (/Variables:Poisson1Ramasse == false) {
if (990 < random(1000)) {
tellTarget ("_root.Poisson1.Poisson") {
play();
};
}
}
if (/Variables:VolcanPet == false) {
if (95 < random(100)) {
tellTarget ("_root.Oeil.Oeil2.Pupille") {
play();
};
}
Pos = getProperty("_root.Meg", _x);
if (Pos < 68) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (1);
};
} else if (Pos < 86) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (2);
};
} else if (Pos < 104) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (3);
};
} else if (Pos < 122) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (4);
};
} else if (Pos < 140) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (5);
};
} else if (Pos < 158) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (6);
};
} else if (Pos < 176) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (7);
};
} else if (Pos < 194) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (8);
};
} else if (Pos < 212) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (9);
};
} else if (Pos < 230) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (10);
};
} else if (Pos < 248) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (11);
};
} else if (Pos < 266) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (12);
};
} else if (Pos < 284) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (13);
};
} else if (Pos < 302) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (14);
};
} else if (Pos < 320) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (15);
};
} else if (Pos < 338) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (16);
};
} else if (Pos < 358) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (17);
};
} else if (Pos < 374) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (18);
};
} else if (Pos < 392) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (19);
};
} else if (Pos < 410) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (20);
};
} else if (Pos < 428) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (21);
};
} else if (Pos < 446) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (22);
};
} else if (Pos < 464) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (23);
};
} else if (Pos < 482) {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (24);
};
} else {
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (25);
};
}
}
if (getProperty("_root.Meg", _y) < 216) {
setProperty("_root.OsDevant", _visible , 1);
} else {
setProperty("_root.OsDevant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 213) {
setProperty("_root.Bateau2Devant", _visible , 1);
} else {
setProperty("_root.Bateau2Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 272) {
setProperty("_root.Bateau1Devant", _visible , 1);
} else {
setProperty("_root.Bateau1Devant", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 314) {
setProperty("_root.Bateau3Devant", _visible , 1);
} else {
setProperty("_root.Bateau3Devant", _visible , 0);
}
if (((_root.Poisson1.CachePoisson.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Poisson1Ramasse == false)) and Key.isDown(Key.SPACE)) and ((/Variables:ObjetSelect == 5) or ((/Variables:ObjetSelect == 1) and (/Variables:NetFixe == true)))) {
Set("/Variables:Poisson1Ramasse", true);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("AttrapePoisson");
};
tellTarget ("_root.Poisson1") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if ((_root.CacheNet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:NetRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=13", 0);
Set("/Variables:NetRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Net") {
gotoAndStop (2);
};
}
if ((_root.CacheRoue.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:RoueRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=12", 0);
Set("/Variables:RoueRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 10);
tellTarget ("_root.Roue") {
gotoAndStop (2);
};
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser1.Obj") {
play();
};
if (_root.CacheJeyser1.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser1.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser1") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Tombe");
};
}
}
};
}
Frame 917
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Instance of Symbol 2088 MovieClip in Frame 917
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1TentaculeMort == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
}
}
}
Frame 918
setProperty("_root.Bateau2Devant", _visible , 0);
Set("/Variables:EtatActif", "Tab4Tombe");
Set("/Variables:EtatVide", "Tab4Tombe");
tellTarget ("_root.Oeil.Oeil2") {
gotoAndStop (6);
};
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
Frame 925
if (/Variables:From eq "Tab4Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 46);
}
Frame 926
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab5aStoppe");
Set("/Variables:EtatActif", "Tab5a");
Frame 927
Set("/Variables:EtatActif", "Tab5a");
Set("/Variables:EtatVide", "Tab5aStoppe");
Set("/Variables:MegGrimpe", false);
stop();
Instance of Symbol 2252 MovieClip in Frame 927
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (Key.isDown(Key.SPACE) and (/Variables:MegCri == false)) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("TooDark");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (185 < getProperty("_root.Meg", _x)) {
Set("/Variables:From", "Tab5Droite");
} else {
Set("/Variables:From", "Tab5Gauche");
}
gotoAndPlay ("Tab4Ini");
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatStoppe);
};
}
}
};
}
Frame 933
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Frame 939
if (/Variables:From eq "Tab4Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 46);
}
Frame 940
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab5bStoppe");
Set("/Variables:EtatActif", "Tab5b");
if (/Variables:Arrive eq "Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 52);
}
Frame 941
Set("/Variables:EtatActif", "Tab5b");
Set("/Variables:EtatVide", "Tab5bStoppe");
Set("/Variables:MegGrimpe", false);
stop();
Instance of Symbol 2267 MovieClip in Frame 941
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if ((_root.CachePlaceFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 5)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PlaceFilet");
};
tellTarget ("_root") {
gotoAndStop ("Tab5bStoppe");
};
} else if ((_root.CachePlaceFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:FiletBloquePorte == true)) {
Set("/Variables:FiletBloquePorte", false);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Poisson1") {
gotoAndPlay (1);
};
tellTarget ("_root.Filet") {
gotoAndStop (1);
};
tellTarget ("_root.Collider.CacheFilet") {
gotoAndStop (1);
};
}
if ((/Variables:ObjetSelect == 6) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=18", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LachePoisson");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (185 < getProperty("_root.Meg", _x)) {
Set("/Variables:From", "Tab5Droite");
} else {
Set("/Variables:From", "Tab5Gauche");
}
gotoAndPlay ("Tab4Ini");
}
if (getProperty("_root.Meg", _y) < 73) {
setProperty("_root.Entree1", _visible , 1);
} else {
setProperty("_root.Entree1", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 52) {
setProperty("_root.Entree2", _visible , 1);
} else {
setProperty("_root.Entree2", _visible , 0);
}
if (990 < random(1000)) {
tellTarget ("_root.Poisson1.Poisson") {
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 / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatStoppe);
};
}
}
};
}
Frame 947
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Frame 953
if (/Variables:From eq "Tab4Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 46);
}
Frame 954
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab5cStoppe");
Set("/Variables:EtatActif", "Tab5c");
if (/Variables:Arrive eq "Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 52);
}
Frame 955
Set("/Variables:EtatActif", "Tab5c");
Set("/Variables:EtatVide", "Tab5cStoppe");
Set("/Variables:MegGrimpe", false);
stop();
Instance of Symbol 2277 MovieClip in Frame 955
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (((_root.CacheRoche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 1)) and Key.isDown(Key.SPACE)) and (/Variables:RocheTombe == false)) {
if (/Variables:NetFixe == true) {
if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("NeedSomething");
};
}
} else {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PousseRoche");
};
gotoAndStop ("Tab5dStoppe");
}
}
if ((_root.CachePlaceFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 5)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PlaceFilet");
};
tellTarget ("_root") {
gotoAndStop ("Tab5cStoppe");
};
} else if ((_root.CachePlaceFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:FiletBloquePorte == true)) {
Set("/Variables:FiletBloquePorte", false);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Poisson1") {
gotoAndPlay (1);
};
tellTarget ("_root.Filet") {
gotoAndStop (1);
};
tellTarget ("_root.Collider.CacheFilet") {
gotoAndStop (1);
};
}
if ((/Variables:ObjetSelect == 6) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=18", 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("LachePoisson");
};
tellTarget ("_root") {
gotoAndStop ("Tab5cStoppe");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (185 < getProperty("_root.Meg", _x)) {
Set("/Variables:From", "Tab5Droite");
} else {
Set("/Variables:From", "Tab5Gauche");
}
gotoAndPlay ("Tab4Ini");
}
if (getProperty("_root.Meg", _y) < 73) {
setProperty("_root.Entree1", _visible , 1);
} else {
setProperty("_root.Entree1", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 52) {
setProperty("_root.Entree2", _visible , 1);
} else {
setProperty("_root.Entree2", _visible , 0);
}
if (990 < random(1000)) {
tellTarget ("_root.Poisson1.Poisson") {
play();
};
}
if (990 < random(1000)) {
tellTarget ("_root.Poisson2.Poisson") {
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 / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatStoppe);
};
}
}
};
}
Frame 961
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Frame 967
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=19", 0);
if (/Variables:From eq "Tab4Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 46);
}
Set("/Variables:FrameOeil", 1);
Set("/Variables:FrameSub", 1);
Set("/Variables:FrameSubBalance", 1);
Set("/Variables:KrakenAssomme", false);
Set("/Variables:NbTouche", 0);
Set("/Variables:NbRatte", 0);
Frame 968
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
Set("/Variables:Decale", 0);
Set("/Variables:EtatVide", "Tab5dStoppe");
Set("/Variables:EtatActif", "Tab5d");
if (/Variables:Arrive eq "Gauche") {
setProperty("_root.Meg", _x , 245);
setProperty("_root.Meg", _y , 52);
}
Frame 969
Set("/Variables:EtatActif", "Tab5d");
Set("/Variables:EtatVide", "Tab5dStoppe");
Set("/Variables:MegGrimpe", false);
if (/Variables:From eq "Treuil") {
Set("/Variables:From", "");
setProperty("_root.Meg", _x , "325.4");
setProperty("_root.Meg", _y , "82.1");
tellTarget ("_root.Meg") {
gotoAndStop (8);
};
}
stop();
Instance of Symbol 2323 MovieClip in Frame 969
onClipEvent (enterFrame) {
tellTarget ("_root") {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:Stoppe != true)) {
if (((((Key.isDown(Key.DOWN) or Key.isDown(Key.LEFT)) or Key.isDown(Key.RIGHT)) or Key.isDown(Key.UP)) and (!Key.isDown(Key.CONTROL))) and (/Variables:InventaireOuvert == false)) {
tellTarget ("_root.SonSub") {
gotoAndStop ("Joue");
};
} else {
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
}
if (((_root.CacheRoche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 1)) and Key.isDown(Key.SPACE)) and (/Variables:RocheTombe == false)) {
if (/Variables:NetFixe == true) {
if (/Variables:MegCri == false) {
Set("/Variables:MegCri", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("NeedSomething");
};
}
} else {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PousseRoche");
};
gotoAndStop ("Tab5dStoppe");
}
}
if ((_root.CachePlaceFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:ObjetSelect == 5)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PlaceFilet");
};
tellTarget ("_root") {
gotoAndStop ("Tab5dStoppe");
};
} else if ((_root.CachePlaceFilet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(Key.SPACE)) and (/Variables:FiletBloquePorte == true)) {
Set("/Variables:FiletBloquePorte", false);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Poisson1") {
gotoAndPlay (1);
};
tellTarget ("_root.Filet") {
gotoAndStop (1);
};
tellTarget ("_root.Collider.CacheFilet") {
gotoAndStop (1);
};
}
if (/Variables:KrakenAssomme == true) {
tellTarget ("_root.Oeil1") {
nextFrame();
};
tellTarget ("_root.Oeil2") {
nextFrame();
};
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:KrakenAssomme == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5dStoppe");
};
}
if ((((_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:KrakenAssomme == true)) and (/Variables:ObjetSelect == 14)) and (/Variables:SangPris == false)) and Key.isDown(Key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendSang");
};
tellTarget ("_root") {
gotoAndStop ("Tab5dStoppe");
};
}
if ((_root.CacheAccroche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:TreuilAttache == true)) and Key.isDown(Key.SPACE)) {
tellTarget ("_root") {
gotoAndStop ("Tab5dGrimpe");
};
}
if ((_root.CacheAccroche.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 ("AttacheTreuil");
};
tellTarget ("_root") {
gotoAndStop ("tab5dStoppe");
};
}
if (_root.CacheVersTab4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (185 < getProperty("_root.Meg", _x)) {
Set("/Variables:From", "Tab5Droite");
} else {
Set("/Variables:From", "Tab5Gauche");
}
gotoAndPlay ("Tab4Ini");
}
if ((_root.CacheCanon.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:CanonRamasse == false)) and Key.isDown(Key.SPACE)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=20", 0);
Set("/Variables:CanonRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 11);
tellTarget ("_root.Canon") {
gotoAndStop (2);
};
}
if (getProperty("_root.Meg", _y) < 73) {
setProperty("_root.Entree1", _visible , 1);
} else {
setProperty("_root.Entree1", _visible , 0);
}
if (getProperty("_root.Meg", _y) < 52) {
setProperty("_root.Entree2", _visible , 1);
} else {
setProperty("_root.Entree2", _visible , 0);
}
if (980 < random(1000)) {
tellTarget ("_root.Jeyser1.Obj") {
play();
};
if (_root.CacheJeyser1.hitTest(_root.Meg._x, _root.Meg._y, true) and (getProperty("_root.Jeyser1.Obj", _currentframe) < 14)) {
setProperty("_root.Meg", _visible , 0);
Set("/Variables:Stoppe", true);
tellTarget ("_root.Jeyser1") {
play();
};
tellTarget ("_root") {
gotoAndStop ("Tab5dStoppe");
};
}
}
if (/Variables:Play != true) {
Random = random(1000);
if (Random < 10) {
Set("/Variables:Play", true);
tellTarget ("_root.Poisson1.Poisson") {
play();
};
} else if (Random < 20) {
Set("/Variables:Play", true);
tellTarget ("_root.Poisson2.Poisson") {
play();
};
} else if (Random < 30) {
Set("/Variables:Play", true);
tellTarget ("_root.Poisson3.Poisson") {
play();
};
} else if ((Random < 40) and (/Variables:KrakenAssomme == false)) {
Set("/Variables:Play", true);
tellTarget ("_root.Tentacule1") {
play();
};
} else if ((Random < 50) and (/Variables:KrakenAssomme == false)) {
Set("/Variables:Play", true);
tellTarget ("_root.Tentacule2") {
play();
};
tellTarget ("_root.Tentacule3") {
play();
};
tellTarget ("_root.Tentacule4") {
play();
};
} else {
Set("/Variables:Play", false);
}
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / /Variables:VarieDelta);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
tellTarget ("_root") {
gotoAndStop ("Tab5dTombe");
};
}
}
};
}
Frame 975
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
Instance of Symbol 2328 MovieClip in Frame 975
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (/Variables:KrakenAssomme == true) {
tellTarget ("_root.Oeil1") {
nextFrame();
};
tellTarget ("_root.Oeil2") {
nextFrame();
};
}
if (_root.CacheTentacule.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:KrakenAssomme == false)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
}
}
}
Frame 976
Set("/Variables:EtatActif", "Tab5dTombe");
Set("/Variables:EtatVide", "Tab5dTombe");
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
tellTarget ("_root.Meg.Obj") {
gotoAndStop ("Tombe");
};
Instance of Symbol 2329 MovieClip in Frame 979
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (/Variables:KrakenAssomme == true) {
tellTarget ("_root.Oeil1") {
nextFrame();
};
tellTarget ("_root.Oeil2") {
nextFrame();
};
}
if ((_root.Sub2.Mine.TiteMine.hitTest(_root.CacheBouche) == true) and (/Variables:BoucheOuverte == true)) {
tellTarget ("_root.Sub2.Mine") {
gotoAndStop ("Pause");
};
setProperty("_root.Sub2.Mine", _x , 0);
setProperty("_root.Sub2.Mine", _y , 0);
Set("/Variables:MineLance", false);
Set("/Variables:NbTouche", /Variables:NbTouche + 1);
if (2 < /Variables:NbTouche) {
Set("/Variables:KrakenAssomme", true);
}
tellTarget ("_root.Tentacule1") {
play();
};
tellTarget ("_root.Bouche") {
gotoAndPlay ("Choc");
};
tellTarget ("_root.Choc") {
play();
};
}
if (/Variables:Play != true) {
Random = random(1000);
if (Random < 10) {
Set("/Variables:Play", true);
tellTarget ("_root.Poisson1.Poisson") {
play();
};
} else if (Random < 20) {
Set("/Variables:Play", true);
tellTarget ("_root.Poisson2.Poisson") {
play();
};
} else if (Random < 30) {
Set("/Variables:Play", true);
tellTarget ("_root.Poisson3.Poisson") {
play();
};
} else if (Random < 40) {
} else if ((Random < 50) and (/Variables:KrakenAssomme == false)) {
Set("/Variables:Play", true);
tellTarget ("_root.Tentacule2") {
play();
};
tellTarget ("_root.Tentacule3") {
play();
};
tellTarget ("_root.Tentacule4") {
play();
};
} else {
Set("/Variables:Play", false);
}
}
}
}
Frame 980
setProperty("_root.Meg", _visible , 0);
Set("/Variables:EtatVide", "Tab5dGrimpe");
Set("/Variables:EtatActif", "Tab5dGrimpe");
tellTarget ("_root.SonSub") {
gotoAndStop ("Arret");
};
if (/Variables:MegGrimpe == true) {
tellTarget ("_root.MegGrimpe") {
gotoAndStop (2);
};
}
Set("/Variables:MegGrimpe", true);
Set("/Variables:Play", false);
stop();
Frame 985
StringSave = /Save:Fichier.split("@");
StringNomVar = StringSave[0].split(",");
StringValeurVar = StringSave[1].split(",");
StringTypeVar = StringSave[2].split(",");
i = 0;
while (i < StringNomVar.length) {
if (StringTypeVar[i] eq "number") {
Set("/Variables:" + StringNomVar[i], Number(StringValeurVar[i]));
} else if (StringTypeVar[i] eq "boolean") {
if (StringValeurVar[i] eq "true") {
Set("/Variables:" + StringNomVar[i], true);
} else {
Set("/Variables:" + StringNomVar[i], false);
}
} else {
Set("/Variables:" + StringNomVar[i], StringValeurVar[i]);
}
i = i + 1;
}
StringInventaire = StringSave[3].split(",");
Set("/Variables:InvNb", int(StringInventaire[0]));
i = 1;
while (/Variables:InvNbMax >= i) {
Set("/Variables:InvObjet" + i, int(StringInventaire[i]));
i = i + 1;
}
StringMeg = StringSave[4].split(",");
Set("/Variables:MegSetting", new /Variables:Setting());
/Variables:MegSetting.X = StringMeg[0];
/Variables:MegSetting.Y = StringMeg[1];
/Variables:MegSetting.Scale = StringMeg[2];
/Variables:MegSetting.Position = StringMeg[3];
/Variables:MegSetting.Tableau = StringMeg[4];
Set("/Save:Fichier", "");
/Variables:MegSetting.MegInitialisation();
Frame 986
prevFrame();
Frame 987
stopAllSounds();
fscommand ("load");
play();
Instance of Symbol 2367 MovieClip in Frame 987
onClipEvent (data) {
tellTarget ("_root") {
play();
};
}
Frame 990
Set("/:test", /Save:Fichier);
if (/Save:Fichier ne "") {
gotoAndStop (986);
} else {
gotoAndPlay (847);
}
Frame 991
stopAllSounds();
gotoAndPlay (1014);
Frame 998
stopAllSounds();
gotoAndPlay (1014);
Frame 1009
stopAllSounds();
if (/:Challenge == true) {
Set("/:TempsPris", (getTimer() - /Save:TempsDepart) / 1000);
Set("/:g_total_time", /:TempsPris * 1000);
}
gotoAndPlay (1075);
Frame 1014
stopAllSounds();
Frame 1074
stop();
Frame 1075
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=23", 0);
Frame 1919
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=7&stage=22", 0);
Frame 1983
if (/:Challenge == true) {
loadMovie ("/steppenwolf/med/timer/lowtime.swf", "MovieTimer");
} else {
tellTarget ("Question") {
gotoAndStop (2);
};
}
stop();
Symbol 2 MovieClip Frame 1
TempsDepart = getTimer();
Fichier = "";
Symbol 8 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", "_self");
}
Symbol 12 Button
on (release) {
play();
}
Symbol 21 MovieClip Frame 33
stop();
Symbol 21 MovieClip Frame 41
stop();
Symbol 22 MovieClip Frame 41
stop();
Symbol 33 MovieClip Frame 39
stop();
Symbol 34 MovieClip Frame 61
stop();
Symbol 40 MovieClip Frame 61
stop();
Symbol 73 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 74 MovieClip Frame 1
fscommand ("load");
Symbol 74 MovieClip Frame 3
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 74 MovieClip Frame 10
stop();
Symbol 78 MovieClip Frame 9
stop();
Symbol 80 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("Commence");
};
}
Symbol 81 MovieClip Frame 1
stop();
Symbol 81 MovieClip Frame 12
stop();
Symbol 81 MovieClip Frame 23
stop();
Symbol 81 MovieClip Frame 35
stop();
Symbol 81 MovieClip Frame 48
stop();
Symbol 81 MovieClip Frame 62
stop();
Symbol 81 MovieClip Frame 76
stop();
Symbol 81 MovieClip Frame 90
stop();
Symbol 81 MovieClip Frame 104
stop();
Symbol 81 MovieClip Frame 105
play();
Symbol 81 MovieClip Frame 106
play();
Symbol 81 MovieClip Frame 107
play();
Symbol 81 MovieClip Frame 108
play();
Symbol 81 MovieClip Frame 109
play();
Symbol 81 MovieClip Frame 110
play();
Symbol 81 MovieClip Frame 111
play();
Symbol 81 MovieClip Frame 112
play();
Symbol 81 MovieClip Frame 113
play();
Symbol 81 MovieClip Frame 114
play();
Symbol 81 MovieClip Frame 115
play();
Symbol 81 MovieClip Frame 116
play();
Symbol 81 MovieClip Frame 117
play();
Symbol 81 MovieClip Frame 118
play();
Symbol 81 MovieClip Frame 119
play();
Symbol 81 MovieClip Frame 120
play();
Symbol 81 MovieClip Frame 121
play();
Symbol 81 MovieClip Frame 122
play();
Symbol 81 MovieClip Frame 123
play();
Symbol 81 MovieClip Frame 124
play();
Symbol 81 MovieClip Frame 125
play();
Symbol 81 MovieClip Frame 126
play();
Symbol 81 MovieClip Frame 142
stop();
Symbol 84 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("Instructions");
};
}
Symbol 85 MovieClip Frame 1
stop();
if (/:ViewInst == true) {
gotoAndStop (2);
}
Symbol 85 MovieClip Frame 2
Set("/:ViewInst", true);
Symbol 134 MovieClip Frame 40
stop();
Symbol 135 MovieClip Frame 68
stop();
Symbol 203 MovieClip Frame 57
stop();
Symbol 204 MovieClip Frame 1
stop();
Symbol 207 MovieClip Frame 1
stop();
Symbol 231 MovieClip Frame 25
stop();
Symbol 254 MovieClip Frame 12
stop();
Symbol 275 Button
on (release) {
Set("/:Instru", false);
gotoAndPlay (109);
}
Symbol 286 Button
on (release) {
nextFrame();
}
Symbol 295 Button
on (release) {
prevFrame();
}
Symbol 311 Button
on (release) {
Set("/:Challenge", true);
gotoAndPlay (625);
}
Symbol 318 Button
on (release) {
Set("/:Challenge", false);
gotoAndPlay (625);
}
Symbol 431 Button
on (release) {
stopAllSounds();
gotoAndPlay (841);
}
Symbol 705 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);
};
};
}
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("MegGrimpe");
ArrayNoms.push("From");
ArrayNoms.push("SautePas");
ArrayNoms.push("MatRamasse");
ArrayNoms.push("TorpilleRamasse");
ArrayNoms.push("WinchRamasse");
ArrayNoms.push("GrilleRamasse");
ArrayNoms.push("MineRamasse");
ArrayNoms.push("NetRamasse");
ArrayNoms.push("RoueRamasse");
ArrayNoms.push("CanonRamasse");
ArrayNoms.push("CanotRamasse");
ArrayNoms.push("ChargeRamasse");
ArrayNoms.push("Poisson1Ramasse");
ArrayNoms.push("Poisson2Ramasse");
ArrayNoms.push("Poisson3Ramasse");
ArrayNoms.push("NbFishRamasse");
ArrayNoms.push("NetFixe");
ArrayNoms.push("CoquePerce");
ArrayNoms.push("Tab1TentaculeMort");
ArrayNoms.push("Tab1CornicheEcroule");
ArrayNoms.push("Tab2TentaculeMort");
ArrayNoms.push("Tab2CornicheEcroule");
ArrayNoms.push("SubOuvert");
ArrayNoms.push("SubRouePlace");
ArrayNoms.push("Tab3TentaculeMort");
ArrayNoms.push("MineLache");
ArrayNoms.push("VolcanPet");
ArrayNoms.push("NbPoissonLache");
ArrayNoms.push("TreuilAttache");
ArrayNoms.push("KrakenAssomme");
ArrayNoms.push("SangPris");
ArrayNoms.push("NbTouche");
ArrayNoms.push("NbRatte");
ArrayNoms.push("RocheTombe");
ArrayNoms.push("FiletBloquePorte");
ArrayNoms.push("FrameOeil");
ArrayNoms.push("FrameBalance");
ArrayNoms.push("FrameSubBalance");
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 = 6;
Fleche = 1;
Set("/:Idle", false);
NbObstacles = 7;
BaseScaleGts = 16.8;
InvNbTotal = 13;
InventaireOuvert = false;
LargeurObjet = 60;
InvNb = 1;
InvNbMax = 13;
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 = 14;
InvObjet2 = 0;
InvObjet3 = 0;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
InvObjet11 = 0;
InvObjet12 = 0;
InvObjet13 = 0;
InvMail = 0;
InvMailMax = 6;
InvMail1 = 1;
InvMail2 = 0;
InvMail3 = 0;
InvMail4 = 0;
InvMail5 = 0;
InvMail6 = 0;
Mail1 = "M. Borden\rHead of X Research Team\r\rAs the new manager of the special projects dept., I would like to introduce myself and take this opportunity to bring a few points to your attention. We do feel concerned about the major problems that the X-Creatures Project have gone through lately, especially after Mrs.Thompson's \"accident\". So we totally understand your concern regarding the events that you and your team have gone through. As you already know, Mr. Donovan takes a very special interest in this experiment. I am sure with a good team effort we can find a way to put everything back on tracks. Therefore, I would like to schedule a conference call with you tomorrow at 3pm to go over the new structure we would like to put in place with your help.\r\rRegards,\r\rWally\r\rWallace Price III\rSpecial Projects Manager\rDonovan Corp.\rEdward Donovan Street\rHouston, Texas ";
MegCri = false;
VarX = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
Set("/Variables:MatRamasse", false);
Set("/Variables:TorpilleRamasse", false);
Set("/Variables:WinchRamasse", false);
Set("/Variables:GrilleRamasse", false);
Set("/Variables:MineRamasse", false);
Set("/Variables:NetRamasse", false);
Set("/Variables:RoueRamasse", false);
Set("/Variables:CanonRamasse", false);
Set("/Variables:CanotRamasse", false);
Set("/Variables:ChargeRamasse", false);
Set("/Variables:Poisson1Ramasse", false);
Set("/Variables:Poisson2Ramasse", false);
Set("/Variables:Poisson3Ramasse", false);
Set("/Variables:NbFishRamasse", 0);
Set("/Variables:NetFixe", false);
Set("/Variables:SautePas", false);
Set("/Variables:CoquePerce", false);
Set("/Variables:Tab1TentaculeMort", false);
Set("/Variables:Tab1CornicheEcroule", false);
Set("/Variables:Tab2TentaculeMort", false);
Set("/Variables:Tab2CornicheEcroule", false);
Set("/Variables:SubOuvert", false);
Set("/Variables:SubRouePlace", false);
Set("/Variables:Tab3TentaculeMort", false);
Set("/Variables:MineLache", false);
Set("/Variables:VolcanPet", false);
Set("/Variables:NbPoissonLache", 0);
Set("/Variables:TreuilAttache", false);
Set("/Variables:KrakenAssomme", false);
Set("/Variables:MineLance", false);
Set("/Variables:BoucheOuverte", false);
Set("/Variables:SangPris", false);
Set("/Variables:NbTouche", 0);
Set("/Variables:NbRatte", 0);
Set("/Variables:FrameOeil", 1);
Set("/Variables:FrameBalance", 1);
Set("/Variables:FrameSubBalance", 1);
Set("/Variables:Balance", false);
Set("/Variables:RocheTombe", false);
Set("/Variables:FiletBloquePorte", false);
MegSave = "";
InventaireSave = "";
NomsVariablesSave = "";
ValeursVariablesSave = "";
Symbol 712 MovieClip Frame 1
stop();
Symbol 712 MovieClip Frame 2
gotoAndStop (1);
Symbol 712 MovieClip Frame 6
gotoAndStop (1);
Symbol 712 MovieClip Frame 7
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (9);
}
Symbol 712 MovieClip Frame 8
gotoAndPlay (10);
Symbol 712 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 712 MovieClip Frame 32
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 712 MovieClip Frame 50
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 712 MovieClip Frame 68
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 721 MovieClip Frame 1
if (/Variables:NetFixe == true) {
gotoAndStop (2);
}
stop();
Symbol 721 MovieClip Frame 2
stop();
Symbol 811 MovieClip Frame 1
gotoAndStop(/Variables:NbFishRamasse);
Symbol 880 MovieClip Frame 1
if (/Variables:SangPris == true) {
nextFrame();
}
stop();
Symbol 881 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 881 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 881 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 881 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 881 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 881 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 881 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 881 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 881 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 881 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 881 MovieClip Frame 11
Set("/Variables:ObjetSelect", 10);
Symbol 881 MovieClip Frame 12
Set("/Variables:ObjetSelect", 11);
Symbol 881 MovieClip Frame 13
Set("/Variables:ObjetSelect", 12);
Symbol 881 MovieClip Frame 14
Set("/Variables:ObjetSelect", 13);
Symbol 881 MovieClip Frame 15
Set("/Variables:ObjetSelect", 14);
Symbol 889 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 889 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 895 Button
on (release) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
Symbol 897 Button
on (keyPress "t") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "T") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:InvObjet1 != 0) {
if (/Variables:InvObjetSelect == 12) {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
} else if (eval ("/Variables:InvObjet" + (/Variables:InvObjetSelect + 1)) != 0) {
Set("/Variables:InvObjetSelect", /Variables:InvObjetSelect + 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(eval ("/Variables:InvObjet" + /Variables:InvObjetSelect) + 1);
};
} else {
Set("/Variables:InvObjetSelect", 1);
tellTarget ("ObjetAffiche") {
gotoAndStop(/Variables:InvObjet1 + 1);
};
}
}
}
}
on (keyPress "i") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
on (keyPress "I") {
if ((/Variables:AnimJoue == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (/Variables:AnimJoue != true) {
Set("/Variables:Stoppe", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
play();
}
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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: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();
};
gotoAndStop (1);
}
}
}
on (keyPress "S") {
if (/:Challenge != true) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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: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();
};
tellTarget ("_root.GameSaved") {
play();
};
gotoAndStop (1);
}
}
}
on (keyPress "l") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 898 MovieClip Frame 1
stop();
Symbol 898 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 910 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 922 Button
on (release) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
Symbol 932 Button
on (release) {
nextFrame();
}
Symbol 941 Button
on (release) {
getURL ("/web/steppenwolf/play.jsp?end=true");
}
Symbol 942 Button
on (release) {
gotoAndStop (1);
}
Symbol 943 MovieClip Frame 1
stop();
Symbol 951 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 962 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 964 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 965 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 967 MovieClip Frame 1
stop();
Symbol 967 MovieClip Frame 2
stop();
Symbol 967 MovieClip Frame 3
stop();
Symbol 970 MovieClip Frame 1
stop();
Symbol 970 MovieClip Frame 4
gotoAndPlay (2);
Symbol 974 MovieClip Frame 1
if (/Variables:NetFixe == true) {
gotoAndStop (2);
}
stop();
Symbol 974 MovieClip Frame 2
stop();
Symbol 975 MovieClip Frame 1
if (/Variables:NetFixe == true) {
gotoAndStop (2);
}
stop();
Symbol 975 MovieClip Frame 2
tellTarget ("_parent.QuestionFixe") {
gotoAndStop (2);
};
stop();
Symbol 979 Button
on (release) {
Set("/Variables:NetFixe", false);
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", false);
Set("/Variables:Stoppe", false);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
tellTarget ("_root.Inventaire") {
gotoAndStop (1);
};
}
Symbol 980 Button
on (release) {
gotoAndStop (2);
}
Symbol 981 MovieClip Frame 1
stop();
Symbol 982 MovieClip Frame 1
if (/Variables:NetFixe == true) {
nextFrame();
}
stop();
Symbol 982 MovieClip Frame 2
stop();
Symbol 996 Button
on (release) {
/Variables:Stoppe == false;
/Variables:InventaireOuvert == false;
Set("/Variables:ObjetRemove", 13);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:Vie", /Variables:Vie + 50);
if (100 < /Variables:Vie) {
Set("/Variables:Vie", 100);
}
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("/Inventaire") {
gotoAndStop (1);
};
}
Symbol 997 Button
on (release) {
gotoAndStop (2);
}
Symbol 998 MovieClip Frame 1
stop();
Symbol 1000 MovieClip Frame 1
stop();
Symbol 1000 MovieClip Frame 2
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 1);
Symbol 1000 MovieClip Frame 3
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 2);
Symbol 1000 MovieClip Frame 4
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 3);
Symbol 1000 MovieClip Frame 5
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 4);
Symbol 1000 MovieClip Frame 6
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 5);
Symbol 1000 MovieClip Frame 7
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 6);
Symbol 1000 MovieClip Frame 8
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 7);
Symbol 1000 MovieClip Frame 9
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 8);
Symbol 1000 MovieClip Frame 10
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 9);
Symbol 1000 MovieClip Frame 11
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 10);
Symbol 1000 MovieClip Frame 12
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 11);
Symbol 1000 MovieClip Frame 13
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 12);
Symbol 1000 MovieClip Frame 14
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 13);
Symbol 1000 MovieClip Frame 15
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
Set("/Variables:ObjetSelect", 14);
Symbol 1003 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) {
if (/Variables:NetFixe == true) {
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);
};
} else {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 5)) {
Set("/Variables:NetFixe", true);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:ObjetCombine", 5);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (2);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
}
Symbol 1004 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 1005 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 4)) {
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 12);
Set("/Variables:ObjetCombine", 4);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (13);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1006 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 3)) {
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 12);
Set("/Variables:ObjetCombine", 3);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (13);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1007 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 1)) {
Set("/Variables:NetFixe", true);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:ObjetCombine", 5);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection/Mat") {
gotoAndStop (2);
};
tellTarget ("../../InvSelection/NomMat") {
gotoAndStop (2);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1008 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 1009 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1010 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 1010 MovieClip Frame 2
stop();
Symbol 1011 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 1011 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1011 MovieClip Frame 3
stop();
Symbol 1014 MovieClip Frame 1
stop();
Symbol 1014 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));
}
gotoAndStop (1);
Symbol 1015 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 1015 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1015 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 1015 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1015 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 1015 MovieClip Frame 6
gotoAndStop (1);
Symbol 1026 Button
on (release) {
gotoAndStop (2);
}
Symbol 1027 Button
on (release) {
gotoAndStop (3);
}
Symbol 1029 Button
on (release) {
gotoAndStop (4);
}
Symbol 1030 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 1030 MovieClip Frame 2
_quality = "LOW";
Symbol 1030 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 1030 MovieClip Frame 4
_quality = "HIGH";
Symbol 1034 Button
on (release) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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);
};
tellTarget ("../") {
gotoAndStop (1);
};
}
Symbol 1035 Button
on (release) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 1040 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 1040 MovieClip Frame 2
TempsTemp = getTimer() - /Save:TempsDepart;
HeuresTemp = TempsTemp / 3600000;
Heures = int(Math.abs(int(HeuresTemp)));
MinutesEnMilli = TempsTemp - (Heures * 3600000);
MinutesTemp = MinutesEnMilli / 60000;
Minutes = int(Math.abs(int(MinutesTemp)));
SecondesEnMilli = MinutesEnMilli - (Minutes * 60000);
SecondesTemp = SecondesEnMilli / 1000;
Secondes = int(Math.abs(int(SecondesTemp)));
if (Heures < 10) {
Heures = "0" + Heures;
}
if (Minutes < 10) {
Minutes = "0" + Minutes;
}
if (Secondes < 10) {
Secondes = "0" + Secondes;
}
TempsEcoule = (((Heures + ":") + Minutes) + ":") + Secondes;
Symbol 1041 MovieClip Frame 1
if (/:Challenge == true) {
nextFrame();
}
stop();
Symbol 1041 MovieClip Frame 2
stop();
Symbol 1042 Button
on (keyPress "o") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
on (keyPress "O") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
Set("/Variables:Stoppe", false);
if (/Variables:Grimpe == false) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
}
gotoAndStop (1);
}
}
on (keyPress "s") {
if (/:Challenge != true) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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: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 (/:Challenge != true) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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: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 (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 1050 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 1052 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 1055 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1058 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 1059 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 1061 MovieClip Frame 1
stop();
Symbol 1061 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 1067 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 1068 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 1071 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 1072 MovieClip Frame 1
stop();
Symbol 1072 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 1074 MovieClip Frame 1
stop();
Symbol 1075 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 1076 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 1077 MovieClip Frame 1
stop();
Symbol 1077 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 1078 MovieClip Frame 1
stop();
Symbol 1078 MovieClip Frame 2
stop();
Symbol 1078 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 1078 MovieClip Frame 6
stop();
Symbol 1079 MovieClip Frame 1
stop();
Symbol 1081 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 1082 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 1088 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 1091 Button
on (keyPress "o") {
if ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
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 ((/Variables:AnimJoue != true) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
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 (/:Challenge != true) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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: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 (/:Challenge != true) {
if (/Variables:EtatActif eq "Tab5dGrimpe") {
Set("/Variables:FrameOeil", getProperty("_root.Oeil1", _currentframe));
}
if (/Variables:Balance == true) {
Set("/Variables:FrameBalance", getProperty("_root.Sub2", _currentframe));
Set("/Variables:FrameSubBalance", getProperty("_root.Sub2.SubBalance", _currentframe));
}
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: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 (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
on (keyPress "L") {
if (/:Challenge != true) {
if (getProperty("_root.Animatiques", _currentframe) == 1) {
Set("/Save:Fichier", "");
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
}
}
Symbol 1092 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 1094 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 1096 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 1096 MovieClip Frame 2
stop();
Symbol 1097 MovieClip Frame 1
Set("/Variables:InventaireOuvert", false);
stop();
Symbol 1097 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
Set("/Variables:InventaireOuvert", true);
if (/Variables:Grimpe == false) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
}
stop();
Instance of Symbol 911 MovieClip "BoutonVolume" in Symbol 1097 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 1097 MovieClip Frame 3
Set("/Variables:InventaireOuvert", true);
stop();
Instance of Symbol 911 MovieClip "BoutonVolume" in Symbol 1097 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 1172 MovieClip Frame 39
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 1172 MovieClip Frame 40
if ((/Variables:EtatActif eq "Tab1") or (/Variables:EtatActif eq "Tab1Tombe")) {
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
setProperty("_root.Meg", _x , 216);
setProperty("_root.Meg", _y , 301);
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
} else if ((/Variables:EtatActif eq "Tab2") or (/Variables:EtatActif eq "Tab2Tombe")) {
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
setProperty("_root.Meg", _x , 474);
setProperty("_root.Meg", _y , 210);
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
} else if ((/Variables:EtatActif eq "Tab2b") or (/Variables:EtatActif eq "Tab2bTombe")) {
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
setProperty("_root.Meg", _x , 133);
setProperty("_root.Meg", _y , 270);
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
} else if ((/Variables:EtatActif eq "Tab3") or (/Variables:EtatActif eq "Tab3Tombe")) {
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
setProperty("_root.Meg", _x , 120);
setProperty("_root.Meg", _y , 317);
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
} else if ((/Variables:EtatActif eq "Tab4") or (/Variables:EtatActif eq "Tab4Tombe")) {
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
setProperty("_root.Meg", _x , 187);
setProperty("_root.Meg", _y , 192);
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
} else if ((/Variables:EtatActif eq "Tab5d") or (/Variables:EtatActif eq "Tab5dTombe")) {
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
setProperty("_root.Meg", _x , 108);
setProperty("_root.Meg", _y , 363);
tellTarget ("_root") {
gotoAndStop ("Tab5d");
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1177 MovieClip Frame 1
if (/Variables:Tab1TentaculeMort == true) {
nextFrame();
}
stop();
Symbol 1192 MovieClip Frame 62
Set("/Variables:Tab1TentaculeMort", true);
tellTarget ("_root.Pic") {
gotoAndStop (2);
};
tellTarget ("_root.Tentacule") {
gotoAndStop ("PasLa");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1264 MovieClip Frame 40
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=6", 0);
Set("/Variables:WinchRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
setProperty("_root.Meg", _x , 408);
setProperty("_root.Meg", _y , 196);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1287 MovieClip Frame 31
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=14", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
if (/Variables:NbFishRamasse == 0) {
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
}
Set("/Variables:NbFishRamasse", /Variables:NbFishRamasse + 1);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1439 MovieClip Frame 37
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=15", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:TorpilleRamasse", true);
Set("/Variables:InvObjet" + /Variables:InvNb, 7);
tellTarget ("_root.SubDevant.Roue") {
gotoAndStop (3);
};
tellTarget ("_root.SubDerriere.Roue") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1464 MovieClip Frame 13
stop();
Symbol 1562 MovieClip Frame 101
Set("/Variables:ObjetRemove", 7);
Set("/Variables:ObjetSelect", 0);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=16", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
Set("/Variables:VolcanPet", true);
tellTarget ("_root.Lumiere") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1574 MovieClip Frame 30
Set("/Variables:NbFishRamasse", /Variables:NbFishRamasse - 1);
Set("/Variables:NbPoissonLache", /Variables:NbPoissonLache + 1);
if (/Variables:NbFishRamasse == 0) {
Set("/Variables:ObjetRemove", 6);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
}
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
if (/Variables:EtatActif eq "Tab5b") {
tellTarget ("_root") {
gotoAndPlay ("Tab5cIni");
};
} else if (/Variables:EtatActif eq "Tab5c") {
tellTarget ("_root") {
gotoAndPlay ("Tab5dIni");
};
} else {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
}
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1602 MovieClip Frame 36
Set("/Variables:CoquePerce", true);
tellTarget ("_root.Coque") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1623 MovieClip Frame 57
Set("/Variables:ChargeRamasse", true);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 9);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1635 MovieClip Frame 1
Set("/Variables:ToolRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 13);
Symbol 1635 MovieClip Frame 38
Set("/Variables:CanotRamasse", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=4", 0);
tellTarget ("_root.Sons") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 8);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1642 MovieClip Frame 13
stop();
Symbol 1645 MovieClip Frame 39
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=10", 0);
Set("/Variables:Tab3TentaculeMort", true);
tellTarget ("_root.Tentacule") {
gotoAndStop ("Entre");
};
tellTarget ("_root.MinePlaceDevant") {
gotoAndStop ("Explose");
};
tellTarget ("_root.MinePlaceDerriere") {
gotoAndStop ("Explose");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1791 MovieClip Frame 1
tellTarget ("_root.Tentacule1") {
gotoAndStop (1);
};
tellTarget ("_root.Tentacule2") {
gotoAndStop (1);
};
tellTarget ("_root.Tentacule3") {
gotoAndStop (1);
};
tellTarget ("_root.Tentacule4") {
gotoAndStop (1);
};
Symbol 1791 MovieClip Frame 198
Set("/Variables:TreuilAttache", true);
Set("/Variables:ObjetRemove", 2);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Treuil") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1808 MovieClip Frame 37
Set("/Variables:SangPris", true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=22", 0);
tellTarget ("_root.Inventaire.ObjetAffiche.Movie") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1826 MovieClip Frame 8
stop();
Symbol 1830 MovieClip Frame 35
Set("/Variables:KrakenAssomme", false);
Set("/Variables:NbTouche", 0);
Set("/Variables:FrameOeil", 1);
setProperty("_root.Sub2.Mine", _x , 0);
setProperty("_root.Sub2.Mine", _y , 0);
tellTarget ("_root.Bouche") {
gotoAndPlay (1);
};
tellTarget ("_root.Oeil1") {
gotoAndStop (1);
};
tellTarget ("_root.Oeil2") {
gotoAndStop (1);
};
tellTarget ("_root.Sub2.Mine") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1845 MovieClip Frame 39
Set("/Variables:Vie", /Variables:Vie - 20);
if (/Variables:Vie < 1) {
Set("/Variables:Vie", 0);
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 1845 MovieClip Frame 40
Set("/Variables:NbRatte", 0);
tellTarget ("_root.Sub2") {
gotoAndStop ("Debut");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1850 MovieClip Frame 97
Set("/Variables:SautePas", true);
tellTarget ("_root.Meg.Obj") {
gotoAndPlay (1);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1854 MovieClip Frame 30
Set("/Variables:NbPoissonLache", /Variables:NbPoissonLache - 1);
Set("/Variables:ObjetSelect", 0);
Set("/Variables:Poisson1Ramasse", false);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndPlay ("Tab5cIni");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1871 MovieClip Frame 54
Set("/Variables:RocheTombe", true);
Set("/Variables:ObjetRemove", 1);
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Collider.CacheRoche") {
gotoAndStop (2);
};
tellTarget ("_root.Roche") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1884 MovieClip Frame 14
Set("/Variables:FiletBloquePorte", true);
Set("/Variables:ObjetRemove", 5);
Set("/Variables:ObjetSelect", 0);
setProperty("_root.Meg", _x , 200);
setProperty("_root.Meg", _y , 85);
tellTarget ("_root.Inventaire.ObjetRemove") {
play();
};
tellTarget ("_root.Filet") {
gotoAndStop (2);
};
tellTarget ("_root.Collider.CacheFilet") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1885 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("/Variables:AnimJoue", false);
stop();
Symbol 1885 MovieClip Frame 2
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 3
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 4
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 5
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 6
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 7
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 8
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 9
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 10
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 11
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 12
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 13
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 14
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 15
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 16
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 17
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 18
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 19
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1885 MovieClip Frame 20
Set("/Variables:AnimJoue", true);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Set("/Variables:Stoppe", true);
Symbol 1890 MovieClip Frame 1
stop();
Symbol 1890 MovieClip Frame 42
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=99", 0);
gotoAndStop (1);
Symbol 1891 MovieClip Frame 2
stop();
Symbol 1891 MovieClip Frame 3
stop();
Symbol 1896 MovieClip Frame 1
if (/Variables:MatRamasse == true) {
nextFrame();
}
stop();
Symbol 1900 MovieClip Frame 1
if (/Variables:Tab1CornicheEcroule == true) {
gotoAndStop (34);
}
stop();
Symbol 1900 MovieClip Frame 2
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 3
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 4
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 5
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 6
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=5", 0);
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 7
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 8
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 9
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 10
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 11
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 12
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 13
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 14
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 15
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 16
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 17
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 18
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 19
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 20
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 21
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 22
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 23
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 24
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 25
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 26
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 27
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 28
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 29
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 30
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 31
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 32
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 33
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
Symbol 1900 MovieClip Frame 34
stop();
Symbol 1903 MovieClip Frame 1
if (/Variables:CoquePerce == true) {
nextFrame();
}
stop();
Symbol 1903 MovieClip Frame 2
stop();
Symbol 1904 MovieClip Frame 1
if (/Variables:Tab1TentaculeMort == true) {
nextFrame();
}
stop();
Symbol 1936 MovieClip Frame 1
stop();
Symbol 1939 MovieClip Frame 1
stop();
Symbol 1939 MovieClip Frame 47
setProperty("_root.Meg", _x , 157.6);
setProperty("_root.Meg", _y , 138.3);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 1967 MovieClip Frame 1
stop();
Symbol 1967 MovieClip Frame 23
Set("/Variables:Play", false);
stop();
Symbol 1967 MovieClip Frame 40
Set("/Variables:Play", false);
stop();
Symbol 1967 MovieClip Frame 44
gotoAndPlay (2);
Symbol 1968 MovieClip Frame 1
if (/Variables:Poisson3Ramasse == true) {
nextFrame();
}
stop();
Symbol 1970 MovieClip Frame 1
stop();
Instance of Symbol 1975 MovieClip in Symbol 1978 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
if (440 < getProperty("_root.Meg", _y)) {
if (/Variables:EtatActif eq "Tab1Tombe") {
if (/Variables:From ne "Tab1Corniche") {
Set("/Variables:From", "Tab1");
}
if (getProperty("_root.Meg", _x) < 170) {
tellTarget ("_root") {
gotoAndPlay ("Tab2bIni");
};
} else {
tellTarget ("_root") {
gotoAndPlay ("Tab2Ini");
};
}
}
if ((/Variables:EtatActif eq "Tab2Tombe") or (/Variables:EtatActif eq "Tab2bTombe")) {
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
}
if (/Variables:EtatActif eq "Tab3Tombe") {
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab4Ini");
};
}
} else if (_root.CacheAtteris.hitTest(_root.Meg._x, _root.Meg._y, true)) {
if (_root.CacheCorniche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1CornicheEcroule == false)) {
Set("/Variables:Tab1CornicheEcroule", true);
Set("/Variables:From", "Tab1Corniche");
tellTarget ("_root.Corniche") {
gotoAndPlay (2);
};
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 5);
Set("../:FrappeCorniche", true);
tellTarget ("../") {
gotoAndPlay ("Atteris");
};
} else if (_root.CacheCorniche.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Tab1CornicheEcroule == true)) {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 5);
} else {
tellTarget ("_parent") {
gotoAndPlay ("Atteris");
};
}
} else {
setProperty("_root.Meg", _y , getProperty("_root.Meg", _y) + 5);
}
}
}
Symbol 1978 MovieClip Frame 16
stop();
Symbol 1978 MovieClip Frame 17
play();
Symbol 1978 MovieClip Frame 18
if (FrappeCorniche == true) {
setProperty("_root.Meg", _x , getProperty("_root.Meg", _x) + 3);
}
tellTarget ("_parent.Bulles") {
play();
};
Symbol 1978 MovieClip Frame 19
if (FrappeCorniche == true) {
FrappeCorniche = false;
gotoAndPlay (10);
}
Symbol 1978 MovieClip Frame 47
if (/Variables:EtatActif eq "Tab1Tombe") {
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
} else if (/Variables:EtatActif eq "Tab2Tombe") {
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
} else if (/Variables:EtatActif eq "Tab2bTombe") {
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
} else if (/Variables:EtatActif eq "Tab3Tombe") {
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
} else if (/Variables:EtatActif eq "Tab4Tombe") {
tellTarget ("_root") {
gotoAndStop ("Tab4");
};
} else if (/Variables:EtatActif eq "Tab5dTombe") {
tellTarget ("_root") {
gotoAndStop ("Tab5d");
};
}
tellTarget ("_parent") {
gotoAndStop ("Marche");
};
Set("/Variables:Stoppe", false);
if (((getProperty("../../", _currentframe) == 7) or (getProperty("../../", _currentframe) == 8)) or (getProperty("../../", _currentframe) == 1)) {
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
} else {
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
}
Symbol 1979 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 1979 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 15
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1979 MovieClip Frame 17
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 26
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 29
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 30
Set("/Variables:Stoppe", false);
play();
Symbol 1979 MovieClip Frame 39
if (/:Idle == false) {
gotoAndStop (1);
}
Symbol 1979 MovieClip Frame 46
gotoAndPlay (31);
Symbol 1979 MovieClip Frame 47
Set("/Variables:Stoppe", true);
Symbol 1979 MovieClip Frame 58
_root:Idle == false;
if (/Variables:SautePas == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SautePas");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndPlay (1);
} else {
Set("/Variables:Stoppe", false);
}
Symbol 1979 MovieClip Frame 59
Set("/Variables:Stoppe", false);
gotoAndPlay (1);
Symbol 1979 MovieClip Frame 60
nextFrame();
Symbol 1979 MovieClip Frame 61
stop();
Symbol 1979 MovieClip Frame 62
stop();
Symbol 1992 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 1992 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 15
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 1992 MovieClip Frame 17
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 26
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 28
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 29
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 41
if (/:Idle == false) {
gotoAndStop (1);
}
Symbol 1992 MovieClip Frame 48
gotoAndPlay (31);
Symbol 1992 MovieClip Frame 52
Set("/Variables:Stoppe", true);
Symbol 1992 MovieClip Frame 63
_root:Idle == false;
if (/Variables:SautePas == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SautePas");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndPlay (1);
} else {
Set("/Variables:Stoppe", false);
}
Symbol 1992 MovieClip Frame 64
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 1992 MovieClip Frame 65
nextFrame();
Symbol 1992 MovieClip Frame 66
stop();
Symbol 1992 MovieClip Frame 67
stop();
Symbol 2011 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2011 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 15
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2011 MovieClip Frame 17
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 26
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 28
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 29
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 39
if (/:Idle == false) {
gotoAndStop (1);
}
Symbol 2011 MovieClip Frame 47
gotoAndPlay (1);
Symbol 2011 MovieClip Frame 48
Set("/Variables:Stoppe", true);
Symbol 2011 MovieClip Frame 60
_root:Idle == false;
if (/Variables:SautePas == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SautePas");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndPlay (1);
} else {
Set("/Variables:Stoppe", false);
}
Symbol 2011 MovieClip Frame 61
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2011 MovieClip Frame 62
nextFrame();
Symbol 2011 MovieClip Frame 63
stop();
Symbol 2011 MovieClip Frame 64
stop();
Symbol 2019 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2019 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 15
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2019 MovieClip Frame 17
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 26
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 28
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 30
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 39
if (/:Idle == false) {
gotoAndStop (1);
}
Symbol 2019 MovieClip Frame 47
gotoAndPlay (31);
Symbol 2019 MovieClip Frame 49
Set("/Variables:Stoppe", true);
Symbol 2019 MovieClip Frame 60
_root:Idle == false;
if (/Variables:SautePas == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SautePas");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndPlay (1);
} else {
Set("/Variables:Stoppe", false);
}
Symbol 2019 MovieClip Frame 61
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2019 MovieClip Frame 62
nextFrame();
Symbol 2019 MovieClip Frame 63
stop();
Symbol 2019 MovieClip Frame 64
stop();
Symbol 2040 MovieClip Frame 1
Set("/Variables:Stoppe", false);
Set("_root:Idle", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2040 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 13
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 15
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2040 MovieClip Frame 17
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 26
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 28
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 29
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 39
if (/:Idle == false) {
gotoAndStop (1);
}
Symbol 2040 MovieClip Frame 47
gotoAndPlay (1);
Symbol 2040 MovieClip Frame 49
Set("/Variables:Stoppe", true);
Symbol 2040 MovieClip Frame 60
_root:Idle == false;
if (/Variables:SautePas == false) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("SautePas");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndPlay (1);
} else {
Set("/Variables:Stoppe", false);
}
Symbol 2040 MovieClip Frame 61
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2041 MovieClip Frame 1
stop();
Symbol 2043 MovieClip Frame 1
stop();
Symbol 2043 MovieClip Frame 46
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 261.9);
setProperty("_root.Meg", _y , 319.4);
Set("/Variables:From", "");
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab1");
};
Symbol 2073 MovieClip Frame 1
if (/Variables:Tab1TentaculeMort == true) {
gotoAndStop (14);
}
stop();
Symbol 2073 MovieClip Frame 13
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
tellTarget ("_root") {
gotoAndStop ("Tab1Stoppe");
};
gotoAndStop (1);
Symbol 2081 MovieClip Frame 1
if (/Variables:Tab1CornicheEcroule == true) {
nextFrame();
}
stop();
Symbol 2095 MovieClip Frame 1
stop();
Instance of Symbol 2094 MovieClip in Symbol 2095 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((/Variables:InventaireOuvert == false) and (getProperty("_root.Animatiques", _currentframe) == 1)) {
tellTarget ("_parent") {
play();
};
tellTarget ("_parent.Obj") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
tellTarget ("_parent.Obj") {
stop();
};
}
}
Symbol 2095 MovieClip Frame 30
Set("/Variables:From", "Tab2");
tellTarget ("_root") {
gotoAndPlay ("Tab1Ini");
};
Symbol 2105 MovieClip Frame 1
if (/Variables:Tab1CornicheEcroule == true) {
if (/Variables:Tab2CornicheEcroule == false) {
setProperty("_root.BateauDevant", _visible , 1);
setProperty("_root.BateauDerriere", _visible , 0);
gotoAndPlay (2);
} else {
setProperty("_root.BateauDevant", _visible , 0);
setProperty("_root.BateauDerriere", _visible , 1);
gotoAndStop (75);
}
} else {
stop();
}
Symbol 2105 MovieClip Frame 2
setProperty("_root.DecoupeBateau", _visible , 0);
Symbol 2105 MovieClip Frame 27
tellTarget ("_root.Tentacule") {
gotoAndStop ("Rentre");
};
Symbol 2105 MovieClip Frame 74
setProperty("_root.DecoupeBateau", _visible , 1);
setProperty("_root.Meg", _x , 471.8);
setProperty("_root.Meg", _y , 202.8);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
Set("/Variables:Stoppe", false);
tellTarget ("_root") {
gotoAndStop ("Tab2");
};
Symbol 2105 MovieClip Frame 75
Set("/Variables:Tab2CornicheEcroule", true);
Set("/Variables:Tab2TentaculeMort", true);
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
setProperty("_root.BateauDevant", _visible , 0);
setProperty("_root.BateauDerriere", _visible , 1);
stop();
Symbol 2115 MovieClip Frame 1
if (/Variables:TorpilleRamasse == true) {
gotoAndStop (3);
} else if (/Variables:SubRouePlace == true) {
gotoAndStop (2);
}
stop();
Symbol 2144 MovieClip Frame 5
tellTarget ("_parent") {
nextFrame();
};
Symbol 2145 MovieClip Frame 1
if (/Variables:Tab2TentaculeMort == true) {
gotoAndStop (15);
}
stop();
Symbol 2145 MovieClip Frame 13
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
gotoAndStop (1);
Symbol 2145 MovieClip Frame 14
stop();
Symbol 2145 MovieClip Frame 15
stop();
Symbol 2148 MovieClip Frame 1
if (/Variables:Tab2CornicheEcroule == true) {
nextFrame();
}
stop();
Symbol 2155 MovieClip Frame 1
stop();
Symbol 2155 MovieClip Frame 46
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 195.7);
setProperty("_root.Meg", _y , 315);
Set("/Variables:From", "");
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab2b");
};
Symbol 2161 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
nextFrame();
}
stop();
Symbol 2162 MovieClip Frame 1
if (/Variables:GrilleRamasse == true) {
nextFrame();
}
stop();
Symbol 2166 MovieClip Frame 1
if (/Variables:Tab3TentaculeMort == true) {
gotoAndStop (15);
}
stop();
Symbol 2166 MovieClip Frame 13
Set("/Variables:Stoppe", true);
if (/Variables:MineLache == true) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappeMine");
};
} else {
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
}
gotoAndStop (1);
tellTarget ("_root") {
gotoAndStop ("Tab3Stoppe");
};
Symbol 2166 MovieClip Frame 14
stop();
Symbol 2166 MovieClip Frame 15
stop();
Symbol 2167 MovieClip Frame 1
stop();
Symbol 2167 MovieClip Frame 47
setProperty("_root.Meg", _x , 236);
setProperty("_root.Meg", _y , 146.4);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (1);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 2168 MovieClip Frame 1
stop();
Symbol 2168 MovieClip Frame 46
setProperty("_root.Meg", _visible , 1);
setProperty("_root.Meg", _x , 187.8);
setProperty("_root.Meg", _y , 349.6);
Set("/Variables:Stoppe", false);
Set("/Variables:From", "");
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab3");
};
Symbol 2170 MovieClip Frame 1
if (/Variables:MineRamasse == true) {
nextFrame();
}
stop();
Symbol 2171 MovieClip Frame 1
stop();
Symbol 2171 MovieClip Frame 30
Set("/Variables:From", "Tab3");
tellTarget ("_root") {
gotoAndPlay ("Tab2bIni");
};
Symbol 2178 MovieClip Frame 1
if (/Variables:Tab3TentaculeMort == true) {
gotoAndStop (46);
} else if (/Variables:MineLache == true) {
gotoAndStop (45);
}
stop();
Symbol 2178 MovieClip Frame 45
stop();
Symbol 2178 MovieClip Frame 46
stop();
Symbol 2180 MovieClip Frame 1
if (/Variables:Poisson2Ramasse == true) {
nextFrame();
}
stop();
Symbol 2196 MovieClip Frame 1
if (/Variables:Poisson1Ramasse == true) {
nextFrame();
}
stop();
Symbol 2201 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
nextFrame();
}
stop();
Symbol 2207 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
nextFrame();
}
stop();
Symbol 2210 MovieClip Frame 1
stop();
Symbol 2213 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
gotoAndStop (2);
}
stop();
Symbol 2213 MovieClip Frame 2
stop();
Symbol 2216 MovieClip Frame 1
if (/Variables:RoueRamasse == true) {
nextFrame();
}
stop();
Symbol 2225 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
gotoAndStop (14);
}
stop();
Symbol 2225 MovieClip Frame 13
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenFrappe");
};
tellTarget ("_root") {
gotoAndStop ("Tab4Stoppe");
};
gotoAndStop (1);
Symbol 2225 MovieClip Frame 14
stop();
Symbol 2227 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
nextFrame();
}
stop();
Symbol 2227 MovieClip Frame 2
stop();
Symbol 2231 MovieClip Frame 1
if (/Variables:NetRamasse == true) {
nextFrame();
}
stop();
Symbol 2235 MovieClip Frame 1
stop();
Symbol 2235 MovieClip Frame 30
Set("/Variables:From", "Tab4");
tellTarget ("_root") {
gotoAndPlay ("Tab3Ini");
};
Symbol 2238 MovieClip Frame 1
if (/Variables:VolcanPet == true) {
nextFrame();
}
stop();
Symbol 2255 MovieClip Frame 1
if (/Variables:FiletBloquePorte == true) {
nextFrame();
}
stop();
Symbol 2255 MovieClip Frame 2
stop();
Symbol 2265 MovieClip Frame 1
if (/Variables:FiletBloquePorte == true) {
nextFrame();
}
stop();
Symbol 2265 MovieClip Frame 2
stop();
Symbol 2268 MovieClip Frame 1
if (/Variables:RocheTombe == true) {
nextFrame();
}
stop();
Symbol 2268 MovieClip Frame 2
stop();
Symbol 2270 MovieClip Frame 1
if (/Variables:CanonRamasse == true) {
nextFrame();
}
stop();
Symbol 2275 MovieClip Frame 1
if (/Variables:RocheTombe == true) {
nextFrame();
}
stop();
Symbol 2275 MovieClip Frame 2
stop();
Symbol 2280 MovieClip Frame 1
stop();
Symbol 2280 MovieClip Frame 79
setProperty("_root.Meg", _x , 270.6);
setProperty("_root.Meg", _y , 114);
setProperty("_root.Meg", _visible , 1);
Set("/Variables:Stoppe", false);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
tellTarget ("_root") {
gotoAndStop ("Tab5d");
};
Symbol 2284 MovieClip Frame 1
stop();
Symbol 2284 MovieClip Frame 59
Set("/Variables:Play", false);
Symbol 2292 MovieClip Frame 1
if (/Variables:TreuilAttache == true) {
nextFrame();
}
stop();
Symbol 2294 MovieClip Frame 1
stop();
Symbol 2296 MovieClip Frame 1
if (/Variables:FiletBloquePorte == true) {
gotoAndStop (30);
} else {
play();
}
Instance of Symbol 2295 MovieClip in Symbol 2296 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
play();
} else {
stop();
}
}
Symbol 2296 MovieClip Frame 29
if (/Variables:FiletBloquePorte == true) {
gotoAndStop (30);
} else {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PoissonSauve");
};
tellTarget ("_root") {
gotoAndStop ("Tab5dStoppe");
};
}
Symbol 2296 MovieClip Frame 30
stop();
Symbol 2304 MovieClip Frame 14
Set("/Variables:BoucheOuverte", true);
Symbol 2304 MovieClip Frame 20
if (/Variables:KrakenAssomme == true) {
stop();
}
Symbol 2304 MovieClip Frame 28
Set("/Variables:BoucheOuverte", false);
Symbol 2304 MovieClip Frame 36
gotoAndPlay (1);
Symbol 2304 MovieClip Frame 57
if (/Variables:KrakenAssomme == true) {
stop();
}
Symbol 2309 MovieClip Frame 1
gotoAndStop(/Variables:FrameOeil);
Symbol 2309 MovieClip Frame 16
if (/Variables:KrakenAssomme == false) {
tellTarget ("_root.Bouche") {
play();
};
tellTarget ("_root.Sub2.Mine") {
prevFrame();
};
gotoAndStop (1);
}
Symbol 2309 MovieClip Frame 17
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=16&stage=21", 0);
Symbol 2309 MovieClip Frame 336
Set("/Variables:Stoppe", true);
Set("/Variables:KrakenAssomme", false);
tellTarget ("_root.Animatiques") {
gotoAndStop ("KrakenReveille");
};
gotoAndStop (1);
Symbol 2311 MovieClip Frame 1
gotoAndStop(/Variables:FrameOeil);
Symbol 2311 MovieClip Frame 17
if (/Variables:KrakenAssomme == false) {
gotoAndStop (1);
}
Symbol 2314 MovieClip Frame 1
stop();
Symbol 2314 MovieClip Frame 49
Set("/Variables:Play", false);
Symbol 2320 MovieClip Frame 1
stop();
Symbol 2352 MovieClip Frame 1
if (/Variables:FrameSubBalance != 1) {
gotoAndPlay(/Variables:FrameSubBalance);
} else {
stop();
}
Instance of Symbol 2349 MovieClip in Symbol 2352 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (Key.isDown(Key.LEFT)) {
tellTarget ("_parent") {
play();
};
} else if (Key.isDown(Key.UP)) {
tellTarget ("../../") {
gotoAndPlay ("Monte");
};
}
}
}
Instance of Symbol 2350 MovieClip in Symbol 2352 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2352 MovieClip Frame 47
Set("/Variables:FrameSubBalance", 1);
if (Key.isDown(Key.LEFT)) {
tellTarget ("_parent") {
gotoAndStop ("Loop");
};
} else {
tellTarget ("../") {
gotoAndStop ("Fin");
};
}
Symbol 2356 MovieClip Frame 1
Set("/Variables:NbRatte", /Variables:NbRatte + 1);
Symbol 2356 MovieClip Frame 7
if (3 < /Variables:NbRatte) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("FrappeChaine");
};
}
Symbol 2357 MovieClip Frame 1
Set("/Variables:MineLance", false);
stop();
Instance of Symbol 2350 MovieClip in Symbol 2357 MovieClip Frame 2
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2357 MovieClip Frame 26
_x = 0;
_y = 0;
gotoAndStop (1);
Symbol 2357 MovieClip Frame 27
stop();
Symbol 2359 MovieClip Frame 1
if (/Variables:FrameSubBalance != 1) {
gotoAndPlay(/Variables:FrameSubBalance);
}
Instance of Symbol 2350 MovieClip in Symbol 2359 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2359 MovieClip Frame 29
Set("/Variables:FrameSubBalance", 1);
if (Key.isDown(Key.LEFT)) {
gotoAndPlay (1);
} else {
tellTarget ("../") {
gotoAndStop ("Fin");
};
}
Instance of Symbol 2350 MovieClip in Symbol 2360 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
tellTarget ("_parent") {
play();
};
} else {
tellTarget ("_parent") {
stop();
};
}
}
Symbol 2360 MovieClip Frame 45
Set("/Variables:FrameSubBalance", 1);
tellTarget ("_parent") {
gotoAndStop ("Debut");
};
Symbol 2364 MovieClip Frame 1
gotoAndPlay(/Variables:FrameSubBalance);
Symbol 2364 MovieClip Frame 49
Set("/Variables:FrameSubBalance", 1);
Symbol 2365 MovieClip Frame 1
gotoAndPlay(/Variables:FrameBalance);
Instance of Symbol 2295 MovieClip in Symbol 2365 MovieClip Frame 1
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
play();
} else {
stop();
}
}
Symbol 2365 MovieClip Frame 25
Set("/Variables:FrameSubBalance", 1);
Symbol 2365 MovieClip Frame 26
Set("/Variables:Balance", true);
stop();
Instance of Symbol 2358 MovieClip in Symbol 2365 MovieClip Frame 26
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
if (((Key.isDown(Key.SPACE) and (/Variables:ObjetSelect == 9)) and (/Variables:MineLance == false)) and (/Variables:KrakenAssomme == false)) {
Set("/Variables:MineLance", true);
setProperty("../Mine", _x , getProperty("../Mine", _x) + getProperty("../SubBalance/Repere", _x));
setProperty("../Mine", _y , getProperty("../Mine", _y) + getProperty("../SubBalance/Repere", _y));
tellTarget ("_parent.Mine") {
gotoAndPlay (2);
};
}
}
}
Symbol 2365 MovieClip Frame 27
prevFrame();
Symbol 2365 MovieClip Frame 33
stop();
Symbol 2365 MovieClip Frame 34
prevFrame();
Symbol 2365 MovieClip Frame 40
stop();
Symbol 2365 MovieClip Frame 41
prevFrame();
Symbol 2365 MovieClip Frame 48
play();
Instance of Symbol 2295 MovieClip in Symbol 2365 MovieClip Frame 48
onClipEvent (enterFrame) {
if ((getProperty("_root.Animatiques", _currentframe) == 1) and (/Variables:InventaireOuvert != true)) {
play();
} else {
stop();
}
}
Symbol 2365 MovieClip Frame 97
Set("/Variables:EtatVide", "Tab5dStoppe");
Set("/Variables:EtatActif", "Tab5d");
Set("/Variables:FrameSubBalance", 1);
Set("/Variables:FrameBalance", 1);
Set("/Variables:From", "Treuil");
Set("/Variables:Balance", false);
tellTarget ("_root") {
gotoAndStop ("Tab5d");
};
Symbol 2390 MovieClip Frame 37
stop();
Symbol 2399 Button
on (release) {
stopAllSounds();
tellTarget ("_root") {
gotoAndStop ("Initialisation");
};
}
Symbol 2400 MovieClip Frame 1
if (/:Challenge == true) {
stop();
} else {
fscommand ("load");
play();
}
Symbol 2400 MovieClip Frame 2
if (/Save:Fichier eq "") {
stop();
} else {
play();
}
Symbol 2400 MovieClip Frame 3
stop();
Symbol 2403 Button
on (release) {
stopAllSounds();
gotoAndPlay (841);
}
Symbol 3280 Button
on (release) {
Set("/:Challenge", true);
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 3282 Button
on (release) {
nextFrame();
}
Symbol 3284 Button
on (release) {
tellTarget ("_root") {
gotoAndPlay ("Start");
};
}
Symbol 3285 MovieClip Frame 1
stop();
Symbol 3285 MovieClip Frame 2
stop();
Symbol 3285 MovieClip Frame 3
stop();