Frame 1
ifFrameLoaded (10) {
gotoAndPlay (3);
}
Frame 2
gotoAndPlay (1);
Frame 3
myArray = new Array();
myArray[0] = "red";
myArray[1] = "yellow";
myArray[2] = 1;
if (myArray[2] == 1) {
gotoAndPlay (5);
}
Frame 4
stop();
Frame 108
s = new Sound();
Instance of Symbol 68 MovieClip "LoadingBar" in Frame 108
onClipEvent (load) {
var totalbytes = 1350000;
}
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 (537) {
if (/:Instru != true) {
tellTarget ("_root.InstructionButton") {
gotoAndStop (2);
};
}
}
if (100 < _root.LoadingBar.Loaded.Percent.Loaded) {
_root.LoadingBar.Loaded.Percent.Loaded = 100;
}
}
Frame 517
s.setVolume(90);
Frame 519
s.setVolume(70);
Frame 521
s.setVolume(50);
Frame 523
s.setVolume(40);
Frame 525
s.setVolume(30);
Frame 527
s.setVolume(20);
Frame 529
s.setVolume(10);
Frame 531
s.setVolume(0);
Frame 533
stopAllSounds();
Frame 534
s.setVolume(100);
Frame 537
Set("/:Instru", true);
stopAllSounds();
nextFrame();
Frame 538
stop();
Frame 539
stop();
Frame 540
stop();
Frame 541
stop();
Frame 542
stop();
Frame 543
stop();
Frame 544
stop();
Frame 556
stopAllSounds();
Frame 557
play();
Frame 560
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=1", 0);
Frame 964
s = new Sound();
Frame 969
gotoAndPlay (971);
Frame 970
setProperty("/Gts", _visible , 0);
gotoAndPlay (1009);
Frame 971
Set("/Variables:TableauSteppen", 1);
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
Frame 972
if (/Variables:From == "Jungle2") {
setProperty("_root.Meg", _x , 575);
setProperty("_root.Meg", _y , 129);
tellTarget ("_root.Meg") {
gotoAndStop (3);
};
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.05);
Set("/Variables:EtatVide", "Jungle1Stoppe");
Set("/Variables:EtatActif", "Jungle1");
Instance of Symbol 2871 MovieClip in Frame 972
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if ((/Variables:Time == 150) and (/Variables:J2 != true)) {
tellTarget ("_root.Moke") {
gotoAndPlay (15);
};
}
Set("/Variables:Time", /Variables:Time + 1);
if (_root.CacheLianeBas.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LianeMonte") {
gotoAndStop (3);
};
setProperty("_root.Meg", _visible , false);
}
if (_root.CacheLianeHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(key.SPACE)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.LianeMonte") {
gotoAndStop (47);
};
setProperty("_root.Meg", _visible , false);
}
if (_root.CacheVersJungle2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndPlay ("Jungle2Init");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if (/Variables:J2 == true) {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 973
stop();
Frame 982
Set("/Variables:TableauSteppen", 2);
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
if (/Variables:J2 != true) {
Set("/Variables:J2", true);
stop();
tellTarget ("/Animatiques") {
gotoAndStop ("MegDerek");
};
} else {
play();
}
Frame 983
if (/Variables:From == "Jungle5") {
setProperty("_root.Meg", _x , 552);
setProperty("_root.Meg", _y , 189);
tellTarget ("_root.Meg") {
gotoAndPlay (4);
};
}
if (/Variables:From == "Jungle3") {
setProperty("_root.Meg", _x , 414);
setProperty("_root.Meg", _y , 374);
tellTarget ("_root.Meg") {
gotoAndPlay (6);
};
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.05);
Set("/Variables:EtatVide", "Jungle2Stoppe");
Set("/Variables:EtatActif", "Jungle2");
Instance of Symbol 2916 MovieClip in Frame 983
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersJungle3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndPlay ("Jungle3Init");
};
}
if (_root.CacheBoisCasse.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Run == true)) {
tellTarget ("/Animatiques") {
gotoAndStop ("BoisCasse");
};
}
if (_root.CacheVersJungle1.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndPlay ("Jungle1init");
};
Set("/Variables:From", "Jungle2");
}
if (_root.CacheVersJungle5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndPlay ("Jungle5init");
};
}
if (((_root.CachePerche.hitTest(Meg._x, Meg._y, true) == true) and Key.isDown(Key.SPACE)) and (/Variables:PercheRamasse != true)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=4", 0);
tellTarget ("_root.Animatiques") {
gotoAndPlay ("SndRamasse");
};
Set("/Variables:PercheRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 1);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (2);
};
tellTarget ("_root.Perche") {
gotoAndStop (2);
};
}
if (((_root.CacheChampignon.hitTest(Meg._x, Meg._y, true) == true) and Key.isDown(Key.SPACE)) and (/Variables:ChampignonRamasse != true)) {
Set("/Variables:ChampignonRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 2);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (3);
};
tellTarget ("/Animatiques") {
gotoAndStop ("RamasseChampignon");
};
}
if (_root.Meg._y < AvPlan._y) {
setProperty("AvPlan", _visible , true);
} else {
setProperty("AvPlan", _visible , 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 / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 984
stop();
Frame 996
Set("/Variables:TableauSteppen", 3);
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
play();
Frame 997
if (/Variables:From == "Jungle4") {
setProperty("_root.Meg", _x , 134);
setProperty("_root.Meg", _y , 297);
setProperty("_root.Meg", _xscale , 31);
setProperty("_root.Meg", _yscale , 31);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.09);
Set("/Variables:EtatVide", "Jungle3Stoppe");
Set("/Variables:EtatActif", "Jungle3");
Instance of Symbol 2936 MovieClip in Frame 997
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (((CacheJump1.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:ObjetSelect == 1)) and (/Variables:Jump != true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Jump", true);
_root.Meg._x = 240;
_root.Meg._y = 235;
tellTarget ("_root.Animatiques") {
gotoAndStop ("JumpBouette");
};
}
if (((CacheJump2.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:ObjetSelect == 1)) and (/Variables:Jump != true)) {
Set("/Variables:Stoppe", true);
Set("/Variables:Jump", true);
_root.Meg._x = 306;
_root.Meg._y = 101;
tellTarget ("_root.Animatiques") {
gotoAndStop ("JumpBouette");
};
}
if (_root.CacheVersJungle2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Jungle3");
tellTarget ("_root") {
gotoAndStop ("Jungle2Init");
};
}
if (_root.CacheVersJungle4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Jungle3");
tellTarget ("_root") {
gotoAndStop ("Jungle4Init");
};
}
if (((CacheStatue.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:ObjetSelect == 1)) and (/Variables:StatueTombee != true)) {
Set("/Variables:StatueTombee", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("BougeStatue");
};
}
if ((CacheFruit.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:FruitRamasse != true)) {
Set("/Variables:FruitRamasse", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("RamasseFruit");
};
}
if (CacheBouette.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("SableMouvants");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 998
stop();
Frame 1009
Set("/Variables:TableauSteppen", 4);
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
play();
Frame 1010
if (/Variables:From == "Jungle1A") {
setProperty("_root.Meg", _x , 78);
setProperty("_root.Meg", _y , 105);
tellTarget ("_root.Meg") {
gotoAndPlay (2);
};
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.08);
Set("/Variables:EtatVide", "Jungle4Stoppe");
Set("/Variables:EtatActif", "Jungle4");
Instance of Symbol 3004 MovieClip in Frame 1010
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (((_root.CacheCrane.hitTest(Meg._x, Meg._y, true) == true) and Key.isDown(Key.SPACE)) and (/Variables:CraneRamasse != true)) {
Set("/Variables:CraneRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 10);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (11);
};
tellTarget ("/Animatiques") {
gotoAndStop ("PrendCrane");
};
tellTarget ("_root.Crane") {
gotoAndStop (2);
};
}
if (_root.CacheVersJungle3.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Jungle4");
tellTarget ("_root") {
gotoAndPlay ("Jungle3Init");
};
}
if (_root.CacheVersJungle1A.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndPlay ("Jungle1AInit");
};
}
if ((((_root.CacheLance.hitTest(Meg._x, Meg._y, true) == true) and Key.isDown(Key.SPACE)) and (/Variables:ObjetSelect == 10)) and (/Variables:PontOk != true)) {
trace("la!");
Set("/Variables:Stoppe", true);
setProperty("_root.Meg", _visible , false);
tellTarget ("_root.Lance") {
gotoAndPlay (2);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 1011
stop();
Frame 1022
Set("/Variables:TableauSteppen", 5);
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
play();
Frame 1023
if (/Variables:From == "Tente") {
setProperty("_root.Meg", _x , 466);
setProperty("_root.Meg", _y , 235);
setProperty("_root.Meg", _xscale , 34);
setProperty("_root.Meg", _yscale , 34);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.08);
Set("/Variables:EtatVide", "Jungle5Stoppe");
Set("/Variables:EtatActif", "Jungle5");
Instance of Symbol 3080 MovieClip in Frame 1023
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.Serpent.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:Vie", /Variables:Vie - 5);
if (/Variables:Vie < 0) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
}
if (_root.CacheJump.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(Key.CONTROL)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Liane") {
gotoAndPlay (2);
};
gotoAndStop ("Jump");
}
if (_root.CacheJump2.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(Key.CONTROL)) {
Set("/Variables:Stoppe", true);
tellTarget ("_root.Liane") {
gotoAndPlay ("Sortie");
};
gotoAndStop ("Jump");
}
if (_root.CacheVersTente.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndStop ("TenteInit");
};
}
if (_root.CacheVersJungle2.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Jungle5");
tellTarget ("_root") {
gotoAndStop ("Jungle2Init");
};
}
if ((_root.CacheTrouTente.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(Key.SPACE)) and (/Variables:FouetPris != true)) {
Set("/Variables:FouetPris", true);
tellTarget ("/Animatiques") {
gotoAndStop ("PrendFouet");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 1024
stop();
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.08);
Set("/Variables:EtatVide", "Jungle5Stoppe");
Set("/Variables:EtatActif", "Jungle5");
Frame 1031
setProperty("_root.Meg", _visible , false);
Frame 1039
Set("/Variables:TableauSteppen", 1);
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
play();
Frame 1040
stop();
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.08);
Set("/Variables:EtatVide", "Jungle1AStoppe");
Set("/Variables:EtatActif", "Jungle1A");
Instance of Symbol 3083 MovieClip in Frame 1040
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CacheVersBaobab.hitTest(_root.Meg._x, _root.Meg._y, true)) {
tellTarget ("_root") {
gotoAndPlay ("BaobabInit");
};
}
if (_root.CacheVersJungle4.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Jungle1A");
tellTarget ("_root") {
gotoAndPlay ("Jungle4Init");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
if (/Variables:MokeAnim < 4) {
tellTarget ("/Animatiques") {
gotoAndStop("Moke" + /Variables:MokeAnim);
};
Set("/Variables:MokeAnim", /Variables:MokeAnim + 1);
}
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 20)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 20))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 20) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 1055
Set("/Variables:TableauSteppen", 1);
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Tableau", "Entree1");
}
Set("/Variables:TableauSteppen", /Variables:TableauSteppen + 1);
if (/Variables:BebitteCours ne "Bebitte") {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
Set("/Variables:Tableau", substring(/Variables:BebitteCours, 8, 7));
} else if (((((/Variables:TableauSteppen != 6) and (/Variables:TableauSteppen != 3)) and (/Variables:Direction == 1)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
}
} else if ((/Variables:TableauSteppen == 6) and ((/Variables:Tableau eq "ZoneDeplace/GtsSteppen") or (/Variables:Tableau eq "Entree24"))) {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (((((/Variables:TableauSteppen == 6) or (/Variables:TableauSteppen == 3)) and (/Variables:Direction == 0)) and (/Variables:VersEntree2 == 1)) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree24");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:Direction", 1);
Set("/Variables:Tableau", "Entree21");
}
} else if ((((/Variables:TableauSteppen != 4) and (/Variables:Direction3 == 1)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
}
} else if ((((/Variables:TableauSteppen == 4) and (/Variables:Direction3 == 0)) and (/Variables:VersEntree2 == 0)) and (/Variables:VersEntree3 == 1)) {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:Direction3", 1);
Set("/Variables:Tableau", "Entree31");
}
}
tellTarget ("Gts") {
gotoAndStop (7);
};
} else {
if (/Variables:TableauSteppen == 6) {
Set("/Variables:Tableau", "Entree2");
} else {
Set("/Variables:Tableau", "Entree" + (/Variables:TableauSteppen - 1));
}
tellTarget ("Gts") {
gotoAndStop(/Variables:TableauSteppen);
};
}
play();
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=22", 0);
Frame 1056
stop();
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 0.08);
Set("/Variables:EtatVide", "BaobabStoppe");
Set("/Variables:EtatActif", "Baobab");
Instance of Symbol 3157 MovieClip in Frame 1056
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (((CacheLancePoudre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:ObjetSelect == 9)) and (/Variables:MokeEntre == true)) {
tellTarget ("_root") {
gotoAndPlay ("Finale");
};
}
if ((_root.CacheLianeBas.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(key.SPACE)) and (/Variables:NoirTombee == true)) {
Set("/Variables:BaobabTop", false);
Set("/Variables:Stoppe", true);
tellTarget ("_root.LianeMonte") {
gotoAndStop (3);
};
setProperty("_root.Meg", _visible , false);
}
if (_root.CacheLianeHaut.hitTest(_root.Meg._x, _root.Meg._y, true) and key.isDown(key.SPACE)) {
Set("/Variables:BaobabTop", false);
Set("/Variables:Stoppe", true);
tellTarget ("_root.LianeMonte") {
gotoAndStop (47);
};
setProperty("_root.Meg", _visible , false);
}
if (_root.CacheVersJungle1A.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:MokeEntre != true)) {
Set("/Variables:MokeEntre", false);
tellTarget ("_root") {
gotoAndPlay ("Jungle1AInit");
};
}
if ((_root.CacheBoisCasse.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Run == true)) and (/Variables:NoirTombee != true)) {
tellTarget ("/Noir") {
play();
};
}
if (((_root.CachePied.hitTest(Meg._x, Meg._y, true) == true) and Key.isDown(Key.SPACE)) and (/Variables:NoirTombee != true)) {
Set("/Variables:NoirTombee", true);
tellTarget ("_root.Noir") {
gotoAndStop (40);
};
tellTarget ("_root.Plancher") {
gotoAndStop (2);
};
tellTarget ("/Animatiques") {
gotoAndStop ("PettePied");
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if (/Variables:MokeEntre != false) {
Flag = false;
}
if (Flag != true) {
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Flag = true;
tellTarget ("_root.Moke") {
play();
};
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 1)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 1))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
stop();
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
Flag = true;
tellTarget ("_root.Moke") {
play();
};
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 1)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 1))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
stop();
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
Flag = true;
tellTarget ("_root.Moke") {
play();
};
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 1)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 1))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
stop();
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
}
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 1071
play();
Frame 1072
Set("/Variables:Delta", _root.Meg._yscale / 6);
Set("/Variables:Decale", 2);
Set("/Variables:EtatVide", "TenteStoppe");
Set("/Variables:EtatActif", "Tente");
tellTarget ("_root.Meg") {
gotoAndStop (6);
};
Frame 1073
stop();
Instance of Symbol 3179 MovieClip in Frame 1073
onClipEvent (enterFrame) {
tellTarget ("_root") {
if (/Variables:Stoppe != true) {
if (_root.CachePanterre.hitTest(_root.Meg._x, _root.Meg._y, true) and (/Variables:Panterre != true)) {
tellTarget ("/Animatiques") {
gotoAndStop ("PanterreGriffe");
};
}
if (_root.CacheVersJungle5.hitTest(_root.Meg._x, _root.Meg._y, true)) {
Set("/Variables:From", "Tente");
tellTarget ("_root") {
gotoAndPlay ("Jungle5Init");
};
}
if (((CacheFouet.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:ObjetSelect == 4)) and (/Variables:Panterre != true)) {
tellTarget ("_root.Animatiques") {
gotoAndStop ("Fouette");
};
}
if (((CacheLivre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:LivreRamasse != true)) and (/Variables:Panterre == true)) {
Set("/Variables:LivreRamasse", true);
tellTarget ("_root.Animatiques") {
gotoAndStop ("PrendLivre");
};
}
if ((((CacheLivre.hitTest(_root.Meg._x, _root.Meg._y, true) and Key.isDown(key.SPACE)) and (/Variables:LivreRamasse == true)) and (/Variables:BocalRamasse != true)) and (/Variables:Panterre == true)) {
Set("/Variables:BocalRamasse", true);
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 6);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (7);
};
tellTarget ("_root.Bocal") {
gotoAndStop (2);
};
}
if (((((!Key.isDown(Key.Down)) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) and (Idle == false)) {
Idle = true;
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Idle");
};
}
if (Key.isDown(Key.SHIFT)) {
Set("/Variables:Run", true);
} else {
Set("/Variables:Run", false);
}
if ((Key.isDown(Key.RIGHT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Right") {
Set("/Variables:Dir", "Right");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Right");
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
}
} else {
Set("/Variables:Dir", "Right");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Right");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
}
}
}
if ((Key.isDown(Key.LEFT) and (!Key.isDown(Key.UP))) and (!Key.isDown(Key.DOWN))) {
if (Key.isDown(Key.CONTROL)) {
if (/Variables:Dir == "Left") {
Set("/Variables:Dir", "Left");
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
Set("/Variables:Dir", "Left");
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
}
} else {
Set("/Variables:Dir", "Left");
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Left");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
}
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
}
}
}
if ((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("Up");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y - (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if ((Key.isDown(Key.DOWN) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) {
Set("/Variables:Dir", "Down");
if (Key.isDown(Key.CONTROL)) {
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
Idle = false;
Set("/Variables:Stoppe", true);
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DOWN");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x, _root.Meg._y + (Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.UP) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Down))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("UpLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y - (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and (!Key.isDown(Key.Right))) and Key.isDown(Key.Left)) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Left");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownLeft");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x - (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if (((Key.isDown(Key.Down) and Key.isDown(Key.Right)) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Set("/Variables:Dir", "Right");
if (Key.isDown(Key.CONTROL)) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
} else {
if (Idle == true) {
tellTarget ("_root.Meg/Obj") {
gotoAndStop (1);
};
Idle = false;
}
tellTarget ("_root.Meg") {
gotoAndStop ("DownRight");
};
tellTarget ("_root.Meg/Obj") {
nextFrame();
};
if (Collider.hitTest(_root.Meg._x + (Variables:Delta * 2), _root.Meg._y + (Variables:Delta * 8), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 7);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
}
if ((((Key.isDown(Key.CONTROL) and (!Key.isDown(Key.Down))) and (!Key.isDown(Key.Right))) and (!Key.isDown(Key.Left))) and (!Key.isDown(Key.Up))) {
Idle = false;
Set("/Variables:Stoppe", true);
tellTarget ("_root.Meg/Obj") {
gotoAndPlay ("Saute");
};
}
if (Trou.hitTest(_root.Meg._x, _root.Meg._y, true) == true) {
Set("/Variables:DeltaTombe", /Trou:Niveau);
tellTarget ("_root.Meg") {
gotoAndStop ("Tombe");
};
Set("/Variables:Stoppe", true);
}
}
if ((/Variables:VersEntree2 == 0) and (/Variables:VersEntree3 == 0)) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (getProperty("/Gts/Bebitte", _visible) == 1) {
setProperty("/Gts/Bebitte", _visible , 0);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 1);
Set("/Variables:BebitteCours", "Bebitte" + /Variables:Tableau);
if (/Variables:BebitteCours eq "BebitteEntree2") {
Set("/Variables:VersEntree2", 1);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:BebitteCours eq "BebitteEntree3") {
Set("/Variables:VersEntree3", 1);
Set("/Variables:Tableau", "Entree31");
} else {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
}
} else {
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 1)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 1))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
stop();
}
} else if (/Variables:VersEntree2 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree2") {
if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Tableau", "Entree22");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Tableau", "Entree23");
Set("/Variables:Direction", 1);
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Tableau", "Entree24");
Set("/Variables:Direction", 1);
} else if ((/Variables:Tableau eq "Entree24") and (getProperty("/Gts", _currentframe) == 3)) {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction", 1);
}
} else if (/Variables:Tableau eq "Entree2") {
Set("/Variables:VersEntree2", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree21") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree2");
} else if (/Variables:Tableau eq "Entree22") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree21");
} else if (/Variables:Tableau eq "Entree23") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree22");
} else if (/Variables:Tableau eq "Entree24") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree23");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction", 0);
Set("/Variables:Tableau", "Entree24");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 1)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 1))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
stop();
}
} else if (/Variables:VersEntree3 == 1) {
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (getProperty("/Gts/" + /Variables:Tableau, _x) + 1)) and ((getProperty("/Gts/" + /Variables:Tableau, _x) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (getProperty("/Gts/" + /Variables:Tableau, _y) + 1))) and ((getProperty("/Gts/" + /Variables:Tableau, _y) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:Tableau, _x));
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:Tableau, _y));
if (/Variables:TableauTemp eq "Entree3") {
if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Tableau", "ZoneDeplace/GtsSteppen");
Set("/Variables:Direction3", 1);
}
} else if (/Variables:Tableau eq "Entree3") {
Set("/Variables:VersEntree3", 0);
setProperty("/Gts/Bebitte", _visible , 1);
setProperty("/Gts/Bebitte" + /Variables:Tableau, _visible , 0);
Set("/Variables:BebitteCours", "Bebitte");
Set("/Variables:Tableau", /Variables:TableauTemp);
} else if (/Variables:Tableau eq "Entree31") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree3");
} else if (/Variables:Tableau eq "ZoneDeplace/GtsSteppen") {
Set("/Variables:Direction3", 0);
Set("/Variables:Tableau", "Entree31");
}
}
} else if ((((getProperty("/Gts/" + /Variables:BebitteCours, _x) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) + 1)) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _x))) and (getProperty("/Gts/" + /Variables:BebitteCours, _y) < (((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) + 1))) and ((((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - 1) < getProperty("/Gts/" + /Variables:BebitteCours, _y))) {
stop();
}
}
if (/Variables:Tableau ne "ZoneDeplace/GtsSteppen") {
DistanceX = getProperty("/Gts/" + /Variables:Tableau, _x) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = getProperty("/Gts/" + /Variables:Tableau, _y) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
} else {
DistanceX = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _x) * (getProperty("/Gts/ZoneDeplace", _xscale) / 100)) + getProperty("/Gts/ZoneDeplace", _x)) - getProperty("/Gts/" + /Variables:BebitteCours, _x);
DistanceY = ((getProperty("/Gts/ZoneDeplace/GtsSteppen", _y) * (getProperty("/Gts/ZoneDeplace", _yscale) / 100)) + getProperty("/Gts/ZoneDeplace", _y)) - getProperty("/Gts/" + /Variables:BebitteCours, _y);
}
if (Math.abs(DistanceY) < Math.abs(DistanceX)) {
MoveX = (DistanceX / Math.abs(DistanceX)) / 2;
MoveY = (DistanceY / Math.abs(DistanceX)) / 2;
} else {
MoveY = (DistanceY / Math.abs(DistanceY)) / 2;
MoveX = (DistanceX / Math.abs(DistanceY)) / 2;
}
setProperty("/Gts/" + /Variables:BebitteCours, _x , getProperty("/Gts/" + /Variables:BebitteCours, _x) + MoveX);
setProperty("/Gts/" + /Variables:BebitteCours, _y , getProperty("/Gts/" + /Variables:BebitteCours, _y) + MoveY);
};
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _x , _root.Meg._x);
setProperty("_root.Gts.ZoneDeplace.GtsSteppen", _y , _root.Meg._y);
}
Frame 1092
gotoAndPlay (1115);
Frame 1099
gotoAndPlay (1115);
Frame 1110
gotoAndPlay (1152);
Frame 1115
stopAllSounds();
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=28", 0);
Frame 1151
stop();
Frame 1189
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=25", 0);
Frame 1264
stopAllSounds();
Frame 1270
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=26", 0);
Frame 1761
stop();
Symbol 6 Button
on (release) {
getURL ("http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash", "_self");
}
Symbol 10 Button
on (release) {
play();
}
Symbol 23 MovieClip Frame 39
stop();
Symbol 45 MovieClip Frame 80
stop();
Symbol 65 MovieClip Frame 9
stop();
Symbol 67 Button
on (release) {
tellTarget ("/") {
gotoAndPlay ("Commence");
};
}
Symbol 68 MovieClip Frame 1
stop();
Symbol 68 MovieClip Frame 12
stop();
Symbol 68 MovieClip Frame 23
stop();
Symbol 68 MovieClip Frame 35
stop();
Symbol 68 MovieClip Frame 48
stop();
Symbol 68 MovieClip Frame 62
stop();
Symbol 68 MovieClip Frame 76
stop();
Symbol 68 MovieClip Frame 90
stop();
Symbol 68 MovieClip Frame 104
stop();
Symbol 68 MovieClip Frame 105
play();
Symbol 68 MovieClip Frame 106
play();
Symbol 68 MovieClip Frame 107
play();
Symbol 68 MovieClip Frame 108
play();
Symbol 68 MovieClip Frame 109
play();
Symbol 68 MovieClip Frame 110
play();
Symbol 68 MovieClip Frame 111
play();
Symbol 68 MovieClip Frame 112
play();
Symbol 68 MovieClip Frame 113
play();
Symbol 68 MovieClip Frame 114
play();
Symbol 68 MovieClip Frame 115
play();
Symbol 68 MovieClip Frame 116
play();
Symbol 68 MovieClip Frame 117
play();
Symbol 68 MovieClip Frame 118
play();
Symbol 68 MovieClip Frame 119
play();
Symbol 68 MovieClip Frame 120
play();
Symbol 68 MovieClip Frame 121
play();
Symbol 68 MovieClip Frame 122
play();
Symbol 68 MovieClip Frame 123
play();
Symbol 68 MovieClip Frame 124
play();
Symbol 68 MovieClip Frame 125
play();
Symbol 68 MovieClip Frame 144
stop();
Symbol 72 Button
on (release) {
tellTarget ("_root") {
gotoAndStop ("Instructions");
};
}
Symbol 73 MovieClip Frame 1
stop();
if (/:ViewInst == true) {
gotoAndStop (2);
}
Symbol 73 MovieClip Frame 2
Set("/:ViewInst", true);
Symbol 96 MovieClip Frame 80
stop();
Symbol 150 MovieClip Frame 69
stop();
Symbol 153 Button
on (release) {
Set("/:Instru", false);
gotoAndPlay (109);
}
Symbol 164 Button
on (release) {
nextFrame();
}
Symbol 173 Button
on (release) {
prevFrame();
}
Symbol 361 Button
on (release) {
stopAllSounds();
gotoAndPlay (964);
}
Symbol 945 MovieClip Frame 1
Fleche = 1;
MokeAnim = 1;
Set("/:Idle", false);
LargeurObjet = 60;
InvNb = 0;
InvNbMax = 10;
InvObjetSelect = 0;
Instructions = "INTRODUCTION\r\nIn Steppenwolf: The X-Creatures Project, you guide the characters through \nan interactive series of action and logic based puzzles. To succeed, your objectives are to:\r\n- Watch the scenes for valuable clues.\n- Collect inventory items to help you overcome obstacles.\n- Survive to the end of the episode.\r\nTo help you along on your quest, the game is divided into two major components:\r\nMAIN GAME SCREEN: Where all the action takes place.\nINVENTORY SCREEN: Where you access stored information and inventory items. \r\n\r\nMAIN GAME SCREEN\r\nThe following keyboard commands are key to your survival:\r\nARROW KEYS: Walk in the appropriate direction. \nSHIFT + ARROW KEYS: Run in the appropriate direction.\nCTRL : Short Jump in the current direction **\nCTRL + SHIFT : Long Jump in the current direction ** \nSPACE: This \"ACTION KEY\" allows you to interact with the interactive \n element closest to the character's current position.\nT: Toggle the current selected item\nI : Open the Inventory Screen\r\n** use COMMAND instead of CTRL on MAC \r\nThe following onscreen items can be viewed throughout the episode\r\nLIFE GAUGE: Located in the top-left corner, this measures \nthe character's current health levels. If it falls to zero, the game is over.\r\nINVENTORY ICON : Located in the top-right corner, clicking on this \n(or press on the \"I\" key) gives you access to the INVENTORY SCREEN.\r\nSELECTED OBJECT ICON : Located in the bottom-right corner, \nidentifies the currently active inventory object. \n(Exchange this object with the next one in the list by pressing \"T\")\r\nGTS SCREEN (Global Tracking System): Located in the bottom-right \ncorner of the screen, the GTS will give you information about your \nposition as well as those of other mobile game objects. The GTS must \nbe selected from the inventory to become visible, and is only available \nwhen SteppenWolf is the player character. \r\n\r\nINVENTORY SCREEN\r\nFrom this page, you can access stored information and inventory \nitems. Note that the game's action is paused while here.\r\nMAIL : Click on the MAIL button to browse from a list of recent email \nmessages from various supporting characters. Click on a message \nto read it, or on the paper clip located at its side to look at an \nattachment. This feature is only available while Meg is the player character.\r\nGTS (Global Tracking System) : When the GTS is active, the bottom-right part \nof the main game screen will show the current game map, updated in real time. \nSteppenWolf is represented by the blue dot; other creatures and game objects, \nif any, will be shown in different colors. Use the GTS to look for useful items, \navoid dangerous situations or find your way if you are lost. This feature is only \navailable while SteppenWolf is the current player character.\r\nITEMS : When active, you can scroll through the inventory items \naccumulated since the beginning of the episode. Clicking on an item \nwill make it active. Some inventory items can be combined into more \nelaborate objects by dragging a new item to the main display window \nwhile another item is active. For example, making an antidote potion \nmay require several ingredients. If you drag a different object to the \nmain display window while it is already showing something else, the \ntwo will automatically merge into one if appropriate. (Otherwise, the\nnew item simply replaces the old one as active object.)\r\nOK : Returns to the MAIN GAME SCREEN.\nHELP : Returns to the game instructions at any time during the episode.\nQUIT : Leaves the current episode.\nQUALITY : If the animation is choppy or slow, select a lower image quality.\nVOLUME : This slider allows you to set the sound volume.\r\nMINIMUM SYSTEM REQUIREMENTS:\r\nWindows 95/98/NT/2000\nMinimum 200MHz processor, Windows compatible sound card, 24 bit display.\r\nMacintosh OS\nMinimum 200MHz PowerPC processor, 24 bit display.\n";
InvObjet1 = 0;
InvObjet2 = 0;
InvObjet3 = 0;
InvObjet4 = 0;
InvObjet5 = 0;
InvObjet6 = 0;
InvObjet7 = 0;
InvObjet8 = 0;
InvObjet9 = 0;
InvObjet10 = 0;
Vie = 100;
ObjetSelect = 0;
Acceleration = 0;
Tableau = "Entree1";
DeplaceEntree2 = 20;
TableauTemp = "Entree1";
BebitteCours = "Bebitte";
DernierRan = 2;
Direction = 1;
Direction3 = 1;
Set("/Variables:VersEntree2", 0);
Set("/Variables:VersEntree3", 0);
Tableau = "Entree1";
DeplaceEntree2 = 20;
TableauTemp = "Entree1";
BebitteCours = "Bebitte";
DernierRan = 2;
Direction = 1;
Direction3 = 1;
VersEntree2 = 0;
VersEntree3 = 0;
TableauSteppen = 2;
Symbol 959 MovieClip Frame 1
setProperty("BebitteEntree1", _visible , 0);
setProperty("BebitteEntree2", _visible , 0);
setProperty("BebitteEntree3", _visible , 0);
setProperty("BebitteEntree4", _visible , 0);
setProperty("Bebitte", _visible , 1);
Symbol 959 MovieClip Frame 2
Set("/Variables:TableauTemp", "Entree1");
stop();
Symbol 959 MovieClip Frame 3
Set("/Variables:TableauTemp", "Entree2");
stop();
Symbol 959 MovieClip Frame 4
Set("/Variables:TableauTemp", "Entree3");
stop();
Symbol 959 MovieClip Frame 5
Set("/Variables:TableauTemp", "Entree4");
stop();
Symbol 959 MovieClip Frame 6
Set("/Variables:TableauTemp", "Entree2");
stop();
Symbol 959 MovieClip Frame 7
Set("/Variables:TableauTemp", "Entree1");
stop();
Symbol 993 MovieClip Frame 1
stop();
gotoAndStop(/Variables:ObjetSelect + 1);
Symbol 993 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 993 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 993 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 993 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 993 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 993 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 993 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 993 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 993 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 993 MovieClip Frame 11
Set("/Variables:ObjetSelect", 10);
Symbol 1001 MovieClip Frame 1
Set("/Variables:GageLargeur", _width);
Symbol 1001 MovieClip Frame 2
setProperty("Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
stop();
Symbol 1007 Button
on (release) {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
Symbol 1009 Button
on (keyPress "t") {
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: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") {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
on (keyPress "I") {
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
play();
}
Symbol 1010 MovieClip Frame 1
stop();
Symbol 1010 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 1022 Button
on (press) {
startDrag ("", false, left, top, right, bottom);
dragging = true;
}
on (release, releaseOutside) {
stopDrag();
dragging = false;
}
Symbol 1034 Button
on (release) {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 1044 Button
on (release) {
Set("/Variables:TransMail", /Variables:Instructions);
if (_currentframe == 2) {
tellTarget ("InvSelection") {
gotoAndStop (1);
};
}
tellTarget ("MailMovie") {
gotoAndPlay (3);
};
}
Symbol 1055 Button
on (release) {
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 183);
setProperty("/Gts", _y , 173);
setProperty("/Gts", _xscale , 40);
setProperty("/Gts", _yscale , 40);
Set("/Variables:ObjetSelect", 0);
Set("/Variables:TransMail", "");
tellTarget ("MailMovie") {
gotoAndStop (1);
};
nextFrame();
}
Symbol 1057 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 1058 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 1060 MovieClip Frame 1
stop();
Symbol 1060 MovieClip Frame 2
stop();
Symbol 1060 MovieClip Frame 3
stop();
Symbol 1063 MovieClip Frame 1
stop();
Symbol 1063 MovieClip Frame 4
gotoAndPlay (2);
Symbol 1078 MovieClip Frame 1
stop();
Symbol 1078 MovieClip Frame 2
Set("/Variables:ObjetSelect", 1);
Symbol 1078 MovieClip Frame 3
Set("/Variables:ObjetSelect", 2);
Symbol 1078 MovieClip Frame 4
Set("/Variables:ObjetSelect", 3);
Symbol 1078 MovieClip Frame 5
Set("/Variables:ObjetSelect", 4);
Symbol 1078 MovieClip Frame 6
Set("/Variables:ObjetSelect", 5);
Symbol 1078 MovieClip Frame 7
Set("/Variables:ObjetSelect", 6);
Symbol 1078 MovieClip Frame 8
Set("/Variables:ObjetSelect", 7);
Symbol 1078 MovieClip Frame 9
Set("/Variables:ObjetSelect", 8);
Symbol 1078 MovieClip Frame 10
Set("/Variables:ObjetSelect", 9);
Symbol 1078 MovieClip Frame 11
Set("/Variables:ObjetSelect", 10);
Symbol 1081 Button
on (press) {
tellTarget ("../../MailMovie") {
gotoAndStop (1);
};
tellTarget ("../../InvArrete") {
gotoAndStop ("Arret");
};
Set("/Variables:Xposition", _x);
Set("/Variables:Yposition", _y);
this.swapDepths(1);
startDrag ("");
}
on (release, releaseOutside) {
stopDrag();
tellTarget ("../../InvArrete") {
gotoAndPlay (1);
};
_x = /Variables:Xposition;
_y = /Variables:Yposition;
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
Symbol 1082 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 == 6)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=17", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 7);
Set("/Variables:ObjetCombine", 6);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (8);
};
} else if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 8)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=18", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 8);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1083 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 == 6)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=17", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 8);
Set("/Variables:ObjetCombine", 6);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (9);
};
} else if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 7)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=18", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 7);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1084 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 == 2)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=17", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 7);
Set("/Variables:ObjetCombine", 2);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (8);
};
} else if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 3)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=17", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 8);
Set("/Variables:ObjetCombine", 3);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (9);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1085 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 == 2)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=18", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 2);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else if ((_droptarget eq "/Inventaire/DropZone") and (/Variables:ObjetSelect == 3)) {
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=18", 0);
Set("/Variables:InvNb", /Variables:InvNb - 1);
Set("/Variables:Inv" + _name, 9);
Set("/Variables:ObjetCombine", 3);
tellTarget ("../../ControlCombine") {
play();
};
tellTarget ("../../InvSelection") {
gotoAndStop (10);
};
} else {
Set("/Variables:Frame", _currentframe);
tellTarget ("../../InvSelection") {
gotoAndStop(/Variables:Frame);
};
}
}
Symbol 1086 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1087 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1088 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 1088 MovieClip Frame 2
stop();
Symbol 1089 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 1089 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1089 MovieClip Frame 3
stop();
Symbol 1092 MovieClip Frame 1
stop();
Symbol 1092 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 1093 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 1093 MovieClip Frame 2
gotoAndPlay (1);
Symbol 1093 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 1093 MovieClip Frame 4
gotoAndPlay (1);
Symbol 1093 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 1093 MovieClip Frame 6
gotoAndStop (1);
Symbol 1104 Button
on (release) {
gotoAndStop (2);
}
Symbol 1105 Button
on (release) {
gotoAndStop (3);
}
Symbol 1107 Button
on (release) {
gotoAndStop (4);
}
Symbol 1108 MovieClip Frame 1
stop();
if (_quality == "LOW") {
gotoAndStop (2);
}
if (_quality == "MEDIUM") {
gotoAndStop (3);
}
Symbol 1108 MovieClip Frame 2
_quality = "LOW";
Symbol 1108 MovieClip Frame 3
_quality = "MEDIUM";
Symbol 1108 MovieClip Frame 4
_quality = "HIGH";
Symbol 1109 Button
on (keyPress "o") {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
on (keyPress "O") {
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 1117 Button
on (release) {
Set("/Variables:TransMail", /Variables:Mail1);
tellTarget ("../../") {
play();
};
}
Symbol 1119 Button
on (release) {
Set("/Variables:Attachement", substring(_name, 4, 1));
tellTarget ("../../../") {
gotoAndPlay ("Attachement");
};
}
Symbol 1122 MovieClip Frame 1
gotoAndStop(eval ("/Variables:Inv" + _name) + 1);
Symbol 1125 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 1126 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 1128 MovieClip Frame 1
stop();
Symbol 1128 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 1135 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 1136 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 1139 Button
on (release) {
Set("/Variables:TransMail", "");
TexteMail = "";
if (getProperty("../", _currentframe) == 3) {
gotoAndStop (2);
} else {
tellTarget ("../InvSelection") {
gotoAndStop(/Variables:ObjetSelect + 1);
};
gotoAndStop (1);
}
}
Symbol 1140 MovieClip Frame 1
stop();
Symbol 1140 MovieClip Frame 3
_parent.TexteMail.scroll = _parent.TexteMail.scroll + /Variables:Scroll;
prevFrame();
play();
Symbol 1144 MovieClip Frame 1
gotoAndStop(/Variables:Attachement);
Symbol 1144 MovieClip Frame 2
stop();
Symbol 1145 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 1146 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 1147 MovieClip Frame 1
stop();
Symbol 1147 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 1148 MovieClip Frame 1
stop();
Symbol 1148 MovieClip Frame 2
stop();
Symbol 1148 MovieClip Frame 4
TexteMail = /Variables:TransMail;
stop();
Symbol 1148 MovieClip Frame 6
stop();
Symbol 1151 MovieClip Frame 1
stop();
Symbol 1159 Button
on (release) {
if (getProperty("/Gts", _visible) == 1) {
Set("/Variables:CacheGts", true);
setProperty("/Gts", _visible , 0);
}
Set("/Variables:TransMail", "");
tellTarget ("../MailMovie") {
gotoAndStop (1);
};
nextFrame();
}
Symbol 1166 Button
on (release) {
_level0.gotoAndPlay(1);
unloadMovieNum (10);
}
Symbol 1169 Button
on (release) {
if (/Variables:CacheGts == true) {
Set("/Variables:CacheGts", "false");
setProperty("/Gts", _visible , 1);
}
gotoAndStop (1);
}
Symbol 1170 MovieClip Frame 1
stop();
Symbol 1172 Button
on (release) {
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 1173 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 1178 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 1181 Button
on (keyPress "o") {
_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") {
_root.Inventaire.swapdepths(_root.Gts);
setProperty("/Gts", _x , 536);
setProperty("/Gts", _y , 357);
setProperty("/Gts", _xscale , 20);
setProperty("/Gts", _yscale , 20);
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
gotoAndStop (1);
}
Symbol 1182 Button
on (release) {
setProperty("/Gts", _visible , 1);
nextFrame();
}
Symbol 1185 Button
on (release) {
setProperty("/Gts", _visible , 0);
prevFrame();
}
Symbol 1187 MovieClip Frame 1
if (getProperty("/Gts", _visible) == 1) {
nextFrame();
}
stop();
Symbol 1187 MovieClip Frame 2
stop();
Symbol 1188 MovieClip Frame 1
stop();
Symbol 1188 MovieClip Frame 2
Set("/Variables:ObjetSelect", 0);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
stop();
Instance of Symbol 1023 MovieClip "BoutonVolume" in Symbol 1188 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 1188 MovieClip Frame 3
stop();
Instance of Symbol 1023 MovieClip "BoutonVolume" in Symbol 1188 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 1255 MovieClip Frame 1
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=13", 0);
tellTarget ("_root") {
gotoAndStop ("Jungle2Stoppe");
};
Symbol 1255 MovieClip Frame 22
tellTarget ("_root") {
gotoAndStop ("Meurt");
};
Symbol 1325 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle3Stoppe");
};
Symbol 1325 MovieClip Frame 81
tellTarget ("_root") {
gotoAndStop ("Meurt");
};
Symbol 1381 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle3Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=19", 0);
Symbol 1381 MovieClip Frame 23
Set("/Variables:Stoppe", false);
Set("/Variables:Jump", false);
tellTarget ("_root") {
gotoAndStop ("Jungle3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1419 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle3Stoppe");
};
tellTarget ("_root.Statue1") {
gotoAndStop (2);
};
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=15", 0);
Symbol 1419 MovieClip Frame 28
tellTarget ("_root") {
gotoAndStop ("Jungle3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1455 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle3Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=16", 0);
Symbol 1455 MovieClip Frame 28
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 3);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (4);
};
tellTarget ("_root") {
gotoAndStop ("Jungle3");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1483 MovieClip Frame 12
stop();
Symbol 1499 Button
on (keyPress "<Space>") {
gotoAndStop (124);
}
Symbol 1674 MovieClip Frame 3
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=3", 0);
Symbol 1674 MovieClip Frame 124
tellTarget ("_root") {
play();
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1741 MovieClip Frame 31
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
Symbol 1741 MovieClip Frame 33
Set("/Variables:Vie", /Variables:Vie - 25);
if (/Variables:Vie < 0) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Set("/Variables:From", "Tente");
tellTarget ("_root") {
gotoAndStop ("Jungle5Init");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1770 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle5Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=7", 0);
Set("/Variables:FouetPris", true);
Symbol 1770 MovieClip Frame 17
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 4);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (5);
};
tellTarget ("_root") {
gotoAndStop ("Jungle5");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1841 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("TenteStoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=8", 0);
Symbol 1841 MovieClip Frame 52
Set("/Variables:Panterre", true);
tellTarget ("_root.Panterre") {
gotoAndStop (2);
};
tellTarget ("_root") {
gotoAndStop ("Tente");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1857 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("TenteStoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=9", 0);
Symbol 1857 MovieClip Frame 20
Set("/Variables:InvNb", /Variables:InvNb + 1);
Set("/Variables:InvObjet" + /Variables:InvNb, 5);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=10", 0);
tellTarget ("_root.Inventaire.ObjetAffiche") {
gotoAndStop (6);
};
tellTarget ("_root") {
gotoAndStop ("Tente");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 1902 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle2Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=14", 0);
Symbol 1902 MovieClip Frame 24
tellTarget ("_root") {
gotoAndStop ("Jungle2");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2014 MovieClip Frame 1
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=23", 0);
tellTarget ("_root") {
gotoAndStop ("BaobabStoppe");
};
Symbol 2014 MovieClip Frame 31
tellTarget ("_root") {
gotoAndStop ("Baobab");
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2019 MovieClip Frame 1
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=27", 0);
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 2019 MovieClip Frame 19
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
Symbol 2052 MovieClip Frame 15
tellTarget ("_root") {
gotoAndPlay ("Meurt");
};
Symbol 2066 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop ("Jungle4Stoppe");
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=20", 0);
Symbol 2066 MovieClip Frame 44
tellTarget ("_root") {
gotoAndStop ("Jungle4");
};
tellTarget ("_parent") {
gotoAndPlay (1);
};
Symbol 2081 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 2081 MovieClip Frame 50
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2082 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 2082 MovieClip Frame 13
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2084 MovieClip Frame 1
tellTarget ("_root") {
gotoAndStop(/Variables:EtatVide);
};
Symbol 2084 MovieClip Frame 28
tellTarget ("/") {
gotoAndStop(/Variables:EtatActif);
};
tellTarget ("_parent") {
gotoAndStop (1);
};
Symbol 2087 MovieClip Frame 1
stop();
Symbol 2087 MovieClip Frame 137
stop();
Symbol 2087 MovieClip Frame 144
stop();
Symbol 2087 MovieClip Frame 200
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (202);
}
Symbol 2087 MovieClip Frame 201
gotoAndPlay (203);
Symbol 2087 MovieClip Frame 207
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 2087 MovieClip Frame 209
gotoAndStop (1);
Symbol 2087 MovieClip Frame 213
gotoAndStop (1);
Symbol 2088 MovieClip Frame 1
stop();
Symbol 2088 MovieClip Frame 2
Set("/Variables:MegCri", true);
if (50 < random(100)) {
gotoAndPlay (6);
}
Symbol 2088 MovieClip Frame 5
gotoAndPlay (10);
Symbol 2088 MovieClip Frame 14
Set("/Variables:MegCri", false);
gotoAndStop (1);
Symbol 2101 MovieClip Frame 1
stop();
if (/Variables:J2 == true) {
gotoAndStop (2);
}
Symbol 2157 MovieClip Frame 1
Set("/Variables:Time", 0);
if (/Variables:J2 == true) {
gotoAndStop (70);
}
Symbol 2157 MovieClip Frame 10
stop();
Symbol 2157 MovieClip Frame 66
tellTarget ("/Animatiques") {
gotoAndStop ("MokoBouffe");
};
stop();
Symbol 2316 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2316 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2316 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2316 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2316 MovieClip Frame 8
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2316 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2316 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2316 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2316 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2316 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2316 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 2316 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (47);
}
Symbol 2316 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2316 MovieClip Frame 72
gotoAndPlay (45);
Symbol 2316 MovieClip Frame 97
Set("/Variables:Stoppe", true);
Symbol 2316 MovieClip Frame 98
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2316 MovieClip Frame 99
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2316 MovieClip Frame 100
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2316 MovieClip Frame 101
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 2), _root.Meg._y + (/Variables:Delta * 2), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 5), _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2316 MovieClip Frame 104
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2316 MovieClip Frame 106
gotoAndPlay (1);
Symbol 2450 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2450 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2450 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2450 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2450 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2450 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2450 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2450 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2450 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2450 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2450 MovieClip Frame 40
Set("/Variables:Stoppe", false);
play();
Symbol 2450 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2450 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2450 MovieClip Frame 73
gotoAndPlay (45);
Symbol 2450 MovieClip Frame 111
Set("/Variables:Stoppe", true);
Symbol 2450 MovieClip Frame 113
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2450 MovieClip Frame 114
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2450 MovieClip Frame 115
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2450 MovieClip Frame 116
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
Symbol 2450 MovieClip Frame 117
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y + (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y + /Variables:Delta) - (/Variables:Delta / 3));
setProperty("_root.Meg", _xscale , _root.Meg._xscale + /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale + /Variables:Decale);
}
}
Symbol 2450 MovieClip Frame 119
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2450 MovieClip Frame 120
gotoAndStop (1);
Symbol 2546 MovieClip Frame 1
Set("_root:Idle", false);
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2546 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2546 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2546 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2546 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2546 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2546 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2546 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2546 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2546 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2546 MovieClip Frame 38
Set("/Variables:Stoppe", false);
play();
Symbol 2546 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (49);
}
Symbol 2546 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2546 MovieClip Frame 68
gotoAndPlay (45);
Symbol 2546 MovieClip Frame 95
Set("/Variables:Stoppe", true);
Symbol 2546 MovieClip Frame 96
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2546 MovieClip Frame 97
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2546 MovieClip Frame 98
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2546 MovieClip Frame 99
if (/Variables:Dir == "Right") {
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x + (/Variables:Delta * 4));
}
}
if (/Variables:Dir == "Left") {
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 6), _root.Meg._y, true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 3));
}
setProperty("_root.Meg", _x , _root.Meg._x - (/Variables:Delta * 4));
}
}
Symbol 2546 MovieClip Frame 102
Set("/Variables:Stoppe", false);
/:Idle == true;
Symbol 2546 MovieClip Frame 104
gotoAndStop (1);
Symbol 2710 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
stop();
Symbol 2710 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2710 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2710 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2710 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2710 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2710 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2710 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2710 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2710 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2710 MovieClip Frame 36
Set("/Variables:Stoppe", false);
play();
Symbol 2710 MovieClip Frame 41
if (random(20) == 10) {
gotoAndPlay (46);
}
Symbol 2710 MovieClip Frame 42
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (41);
}
Symbol 2710 MovieClip Frame 73
gotoAndPlay (40);
Symbol 2710 MovieClip Frame 101
Set("/Variables:Stoppe", true);
Symbol 2710 MovieClip Frame 102
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2710 MovieClip Frame 103
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2710 MovieClip Frame 104
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2710 MovieClip Frame 105
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2710 MovieClip Frame 106
if (_root.Collider.hitTest(_root.Meg._x + (/Variables:Delta * 5), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Right") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x + /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
if (_root.Collider.hitTest(_root.Meg._x - (/Variables:Delta * 2), _root.Meg._y - (/Variables:Delta * 8), true) == false) {
if (/Variables:Dir == "Left") {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _x , _root.Meg._x - /Variables:Delta);
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
}
Symbol 2710 MovieClip Frame 110
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2710 MovieClip Frame 111
gotoAndStop (1);
Symbol 2831 MovieClip Frame 1
Set("/Variables:Stoppe", false);
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2831 MovieClip Frame 3
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2831 MovieClip Frame 5
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2831 MovieClip Frame 7
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2831 MovieClip Frame 9
if (/Variables:Run == true) {
gotoAndStop (20);
}
Symbol 2831 MovieClip Frame 11
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2831 MovieClip Frame 20
Set("/Variables:Stoppe", false);
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2831 MovieClip Frame 22
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2831 MovieClip Frame 24
if (/Variables:Run != true) {
gotoAndStop (1);
}
Symbol 2831 MovieClip Frame 26
if (/Variables:Run == true) {
gotoAndStop (20);
} else {
gotoAndStop (1);
}
Symbol 2831 MovieClip Frame 37
Set("/Variables:Stoppe", false);
play();
Symbol 2831 MovieClip Frame 45
if (random(20) == 10) {
gotoAndPlay (51);
}
Symbol 2831 MovieClip Frame 46
if (/:Idle == false) {
gotoAndStop (1);
} else {
gotoAndPlay (45);
}
Symbol 2831 MovieClip Frame 80
gotoAndPlay (45);
Symbol 2831 MovieClip Frame 122
Set("/Variables:Stoppe", true);
Symbol 2831 MovieClip Frame 123
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2831 MovieClip Frame 124
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2831 MovieClip Frame 125
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2831 MovieClip Frame 126
if (_root.Collider.hitTest(_root.Meg._x, _root.Meg._y - (/Variables:Delta * 5), true) == false) {
if (/Variables:Run == true) {
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
Set("/Variables:Delta", _root.Meg._yscale / 6);
setProperty("_root.Meg", _y , (_root.Meg._y - (/Variables:Delta / 2)) - ((/Variables:Delta / 3) / 2));
setProperty("_root.Meg", _xscale , _root.Meg._xscale - /Variables:Decale);
setProperty("_root.Meg", _yscale , _root.Meg._yscale - /Variables:Decale);
}
Symbol 2831 MovieClip Frame 130
Set("/Variables:Stoppe", false);
_root:Idle == false;
Symbol 2831 MovieClip Frame 132
gotoAndStop (1);
Symbol 2833 MovieClip Frame 4
tellTarget ("/Animatiques") {
gotoAndStop ("TombeDansEau");
};
setProperty("_root.Meg", _visible , false);
stop();
Symbol 2834 MovieClip Frame 1
stop();
Symbol 2867 MovieClip Frame 1
stop();
Instance of Symbol 2852 MovieClip in Symbol 2867 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
gotoAndStop(80 - _currentframe);
};
}
if (Key.isDown(Key.UP)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
Symbol 2867 MovieClip Frame 41
setProperty("_root.Meg", _x , 469);
setProperty("_root.Meg", _y , 134);
setProperty("_root.Meg", _visible , true);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=2", 0);
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Instance of Symbol 2863 MovieClip in Symbol 2867 MovieClip Frame 41
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (Key.isDown(Key.UP)) {
tellTarget ("_parent") {
gotoAndStop(80 - _currentframe);
};
}
}
Symbol 2867 MovieClip Frame 81
setProperty("_root.Meg", _x , 466);
setProperty("_root.Meg", _y , 231);
setProperty("_root.Meg", _visible , true);
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 2869 MovieClip Frame 1
stop();
Symbol 2896 MovieClip Frame 1
stop();
Instance of Symbol 2889 MovieClip in Symbol 2896 MovieClip Frame 1
onClipEvent (enterFrame) {
if (random(50) == 10) {
tellTarget ("_parent") {
play();
};
}
}
Symbol 2899 MovieClip Frame 1
stop();
if (/Variables:PercheRamasse == true) {
gotoAndStop (2);
}
Symbol 2915 MovieClip Frame 1
stop();
Symbol 2918 MovieClip Frame 1
Niveau = "3";
Symbol 2921 MovieClip Frame 1
stop();
if (/Variables:StatueTombee == true) {
gotoAndStop (2);
}
Symbol 2921 MovieClip Frame 2
tellTarget ("_root.Statue2") {
gotoAndStop (2);
};
Symbol 2932 MovieClip Frame 1
stop();
if (/Variables:StatueTombee == true) {
gotoAndStop (2);
}
Symbol 2932 MovieClip Frame 2
tellTarget ("_root.Statue2") {
gotoAndStop (2);
};
Symbol 2935 MovieClip Frame 1
stop();
if (/Variables:StatueTombee == true) {
gotoAndStop (2);
}
Symbol 2942 MovieClip Frame 1
stop();
if (/Variables:CraneRamasse == true) {
gotoAndStop (2);
}
Symbol 2967 MovieClip Frame 1
stop();
if (/Variables:PontOk == true) {
gotoAndStop (9);
}
Symbol 2967 MovieClip Frame 9
stop();
Set("/Variables:PontOk", true);
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
Symbol 2997 MovieClip Frame 1
stop();
Symbol 2997 MovieClip Frame 13
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=21", 0);
Symbol 2997 MovieClip Frame 16
tellTarget ("_root.Pont") {
play();
};
Symbol 2997 MovieClip Frame 24
setProperty("_root.Meg", _visible , true);
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 3003 MovieClip Frame 1
stop();
if (/Variables:PontOk == true) {
gotoAndStop (2);
}
Symbol 3048 MovieClip Frame 1
stop();
Symbol 3048 MovieClip Frame 68
gotoAndPlay (2);
Symbol 3077 MovieClip Frame 1
stop();
Symbol 3077 MovieClip Frame 5
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=5", 0);
Symbol 3077 MovieClip Frame 40
stop();
Instance of Symbol 3070 MovieClip in Symbol 3077 MovieClip Frame 40
onClipEvent (enterFrame) {
if (key.isDown(Key.LEFT) or key.isDown(Key.RIGHT)) {
tellTarget ("_parent") {
play();
};
}
}
Instance of Symbol 3071 MovieClip in Symbol 3077 MovieClip Frame 56
onClipEvent (enterFrame) {
if (key.isDown(Key.CONTROL)) {
tellTarget ("_parent") {
gotoAndPlay ("JumpDroite");
};
}
}
Instance of Symbol 3072 MovieClip in Symbol 3077 MovieClip Frame 61
onClipEvent (enterFrame) {
if (key.isDown(Key.CONTROL)) {
tellTarget ("_parent") {
gotoAndPlay ("JumpGauche");
};
}
}
Instance of Symbol 3071 MovieClip in Symbol 3077 MovieClip Frame 67
onClipEvent (enterFrame) {
if (key.isDown(Key.CONTROL)) {
tellTarget ("_parent") {
gotoAndPlay ("JumpDroite");
};
}
}
Symbol 3077 MovieClip Frame 69
gotoAndPlay (28);
Instance of Symbol 3072 MovieClip in Symbol 3077 MovieClip Frame 76
onClipEvent (enterFrame) {
if (key.isDown(Key.CONTROL)) {
tellTarget ("_parent") {
gotoAndPlay ("JumpGauche");
};
}
}
Instance of Symbol 3071 MovieClip in Symbol 3077 MovieClip Frame 82
onClipEvent (enterFrame) {
if (key.isDown(Key.CONTROL)) {
tellTarget ("_parent") {
gotoAndPlay ("JumpDroite");
};
}
}
Symbol 3077 MovieClip Frame 84
gotoAndPlay (28);
Symbol 3077 MovieClip Frame 87
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=6", 0);
Symbol 3077 MovieClip Frame 94
tellTarget ("_root.Serpent") {
play();
};
Symbol 3077 MovieClip Frame 95
setProperty("_root.Meg", _x , 242);
setProperty("_root.Meg", _y , 163);
setProperty("_root.Meg", _xscale , 34);
setProperty("_root.Meg", _yscale , 34);
setProperty("_root.Meg", _visible , true);
tellTarget ("_root") {
gotoAndStop ("Jungle5");
};
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 3077 MovieClip Frame 109
tellTarget ("_root.Serpent") {
gotoAndStop (1);
};
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=11", 0);
Symbol 3077 MovieClip Frame 144
gotoAndStop (40);
Symbol 3077 MovieClip Frame 147
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=12", 0);
Symbol 3077 MovieClip Frame 157
setProperty("_root.Meg", _x , 61);
setProperty("_root.Meg", _y , 95);
setProperty("_root.Meg", _xscale , 31);
setProperty("_root.Meg", _yscale , 31);
setProperty("_root.Meg", _visible , true);
tellTarget ("_root") {
gotoAndStop ("Jungle5");
};
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 3079 MovieClip Frame 1
stop();
Symbol 3082 MovieClip Frame 1
stop();
Symbol 3094 MovieClip Frame 1
stop();
if (/Variables:NoirTombee == true) {
nextFrame();
}
Symbol 3136 MovieClip Frame 1
stop();
if (/Variables:NoirTombee == true) {
gotoAndStop (40);
}
Symbol 3136 MovieClip Frame 14
Set("/Variables:Vie", /Variables:Vie - 45);
if (/Variables:Vie < 0) {
tellTarget ("_root") {
gotoAndPlay ("MegMeurt");
};
Set("/Variables:Vie", 0);
}
setProperty("/Inventaire/BarreVie2/BarreVie3/Gage2", _width , /Variables:GageLargeur * (/Variables:Vie / 100));
Symbol 3136 MovieClip Frame 17
tellTarget ("_root.Sons") {
gotoAndPlay ("MegCri");
};
Symbol 3136 MovieClip Frame 37
gotoAndPlay (3);
Symbol 3136 MovieClip Frame 39
gotoAndPlay (3);
Symbol 3151 MovieClip Frame 1
stop();
Symbol 3151 MovieClip Frame 2
Set("/Variables:MokeEntre", true);
tellTarget ("_root.Collider") {
gotoAndStop (2);
};
Symbol 3151 MovieClip Frame 8
if (/Variables:BaobabTop != true) {
tellTarget ("_root.Animatiques") {
gotoAndPlay ("MokoBouffe");
};
}
Symbol 3151 MovieClip Frame 95
stop();
tellTarget ("_root.Animatiques") {
gotoAndPlay ("MokoBouffe");
};
Symbol 3153 MovieClip Frame 1
stop();
Instance of Symbol 2852 MovieClip in Symbol 3153 MovieClip Frame 2
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
gotoAndStop(80 - _currentframe);
};
}
if (Key.isDown(Key.UP)) {
tellTarget ("_parent") {
nextFrame();
};
}
}
Symbol 3153 MovieClip Frame 41
Set("/Variables:BaobabTop", true);
setProperty("_root.Meg", _x , 327);
setProperty("_root.Meg", _y , 93);
setProperty("_root.Meg", _visible , true);
Set("/Variables:Stoppe", false);
gotoAndStop (1);
loadVariablesNum ("/web/steppenwolf/tracking.jsp?episode=4&stage=24", 0);
Instance of Symbol 2863 MovieClip in Symbol 3153 MovieClip Frame 41
onClipEvent (enterFrame) {
if (Key.isDown(Key.DOWN)) {
tellTarget ("_parent") {
nextFrame();
};
}
if (Key.isDown(Key.UP)) {
tellTarget ("_parent") {
gotoAndStop(80 - _currentframe);
};
}
}
Symbol 3153 MovieClip Frame 81
Set("/Variables:BaobabTop", false);
setProperty("_root.Meg", _x , 328);
setProperty("_root.Meg", _y , 279);
setProperty("_root.Meg", _visible , true);
Set("/Variables:Stoppe", false);
gotoAndStop (1);
Symbol 3156 MovieClip Frame 1
stop();
Symbol 3171 MovieClip Frame 1
stop();
if (/Variables:FouetPris == true) {
gotoAndStop (2);
}
Symbol 3175 MovieClip Frame 1
stop();
if (/Variables:Panterre == true) {
gotoAndStop (2);
}
Symbol 3176 MovieClip Frame 1
stop();
if (/Variables:BocalRamasse == true) {
gotoAndStop (2);
}
Symbol 3178 MovieClip Frame 1
stop();
Symbol 3207 Button
on (release) {
stopAllSounds();
gotoAndPlay (964);
}